jiangbiao 2 лет назад
Родитель
Сommit
fcc372314e

+ 4 - 2
ui/src/views/apply/lock/lock-aeu.vue

@@ -399,10 +399,12 @@ export default {
         this.detail.data = {};
         getInfoByLock(lockCode).then(res => {
           if (res.data.type == 1) {
-            this.detail.open1 = true
+            // this.detail.open1 = true
+            this.$router.push({ path: '/process/offlinevalve', query: { lockNo: lockCode }});
           }
           if (res.data.type == 2) {
-            this.detail.open2 = true
+            // this.detail.open2 = true
+            this.$router.push({ path: '/process/safetychange', query: { lockNo: lockCode }});
           }
           if (res.data.type == 3) {
             this.detail.open3 = true

+ 1 - 0
ui/src/views/apply/lock/lock-eu.vue

@@ -404,6 +404,7 @@ export default {
             this.$router.push({ path: '/process/offlinevalve', query: { lockNo: lockCode }});
           }
           if (res.data.type == 2) {
+            // this.detail.open2 = true
             this.$router.push({ path: '/process/safetychange', query: { lockNo: lockCode }});
           }
           if (res.data.type == 3) {

+ 4 - 2
ui/src/views/apply/lock/lock-pgu.vue

@@ -399,10 +399,12 @@ export default {
         this.detail.data = {};
         getInfoByLock(lockCode).then(res => {
           if (res.data.type == 1) {
-            this.detail.open1 = true
+            // this.detail.open1 = true
+            this.$router.push({ path: '/process/offlinevalve', query: { lockNo: lockCode }});
           }
           if (res.data.type == 2) {
-            this.detail.open2 = true
+            // this.detail.open2 = true
+            this.$router.push({ path: '/process/safetychange', query: { lockNo: lockCode }});
           }
           if (res.data.type == 3) {
             this.detail.open3 = true

+ 4 - 2
ui/src/views/apply/lock/lock-sctu.vue

@@ -399,10 +399,12 @@ export default {
         this.detail.data = {};
         getInfoByLock(lockCode).then(res => {
           if (res.data.type == 1) {
-            this.detail.open1 = true
+            // this.detail.open1 = true
+            this.$router.push({ path: '/process/offlinevalve', query: { lockNo: lockCode }});
           }
           if (res.data.type == 2) {
-            this.detail.open2 = true
+            // this.detail.open2 = true
+            this.$router.push({ path: '/process/safetychange', query: { lockNo: lockCode }});
           }
           if (res.data.type == 3) {
             this.detail.open3 = true

+ 4 - 2
ui/src/views/apply/lock/lock-sub.vue

@@ -399,10 +399,12 @@ export default {
         this.detail.data = {};
         getInfoByLock(lockCode).then(res => {
           if (res.data.type == 1) {
-            this.detail.open1 = true
+            // this.detail.open1 = true
+            this.$router.push({ path: '/process/offlinevalve', query: { lockNo: lockCode }});
           }
           if (res.data.type == 2) {
-            this.detail.open2 = true
+            // this.detail.open2 = true
+            this.$router.push({ path: '/process/safetychange', query: { lockNo: lockCode }});
           }
           if (res.data.type == 3) {
             this.detail.open3 = true