diff --git a/src/pages/index/index.js b/src/pages/index/index.js index 5cc95d1a..597994fc 100644 --- a/src/pages/index/index.js +++ b/src/pages/index/index.js @@ -204,12 +204,10 @@ function handler(data, sn) { router.push(arr2[0].modulePath) } } else { - if (data.styleType == 1 || !data.styleType) { + if ((data.styleType != 2 && data.styleType != 3) || !data.styleType) { router.push('/projectIndex') } else if (data.styleType == 2) { router.push('/projectV2/taskList') - } else if (data.styleType == 7) { - router.push('/projectIndex') } else { router.push('/projectV3/taskList') } diff --git a/src/views/home/login_v1.vue b/src/views/home/login_v1.vue index cf8ab3a7..7ef130bd 100644 --- a/src/views/home/login_v1.vue +++ b/src/views/home/login_v1.vue @@ -840,12 +840,10 @@ export default { } } else { // styleType == 3 衢州版 - if (data.styleType == 1 || !data.styleType) { + if ((data.styleType != 2 && data.styleType != 3) || !data.styleType) { this.$router.push('/projectIndex') } else if (data.styleType == 2) { this.$router.push('/projectV2/taskList') - } else if (data.styleType == 7) { - this.$router.push('/projectIndex') } else { this.$router.push('/projectV3/taskList') } diff --git a/src/views/homeTwo/login_v1.vue b/src/views/homeTwo/login_v1.vue index 48853a59..abef2699 100644 --- a/src/views/homeTwo/login_v1.vue +++ b/src/views/homeTwo/login_v1.vue @@ -454,7 +454,7 @@ export default { this.$router.push(companyModule[0].modulePath); break; case 5: - if (data.styleType == 1 || !data.styleType) { + if ((data.styleType != 2 && data.styleType != 3) || !data.styleType) { this.$router.push("/projectIndex"); } else { this.$router.push("/projectV2/taskList"); @@ -462,7 +462,7 @@ export default { this.$store.commit("setProjectSn", data.sn); break; case 6: - if (data.styleType == 1 || !data.styleType) { + if ((data.styleType != 2 && data.styleType != 3) || !data.styleType) { this.$router.push("/projectIndex"); } else { this.$router.push("/projectV2/taskList"); diff --git a/src/views/projectAdmin/projectList.vue b/src/views/projectAdmin/projectList.vue index d047e02d..7119702c 100644 --- a/src/views/projectAdmin/projectList.vue +++ b/src/views/projectAdmin/projectList.vue @@ -129,12 +129,12 @@ > 进入衢州版本 -
{{$t('message.companyDiagram.goProjectBackEnd')}}
-
{{$t('message.companyDiagram.goDevCenter')}}
diff --git a/src/views/projectFront/towerCrane/alarmAnalysis.vue b/src/views/projectFront/towerCrane/alarmAnalysis.vue index eb28d3ac..2c6961ea 100644 --- a/src/views/projectFront/towerCrane/alarmAnalysis.vue +++ b/src/views/projectFront/towerCrane/alarmAnalysis.vue @@ -1,7 +1,7 @@