Przeglądaj źródła

fix: 修复跳转工程信息化,传参错误问题

yunxing 4 lat temu
rodzic
commit
a27432b9d0

+ 3 - 3
src/views/equipment/table/rcwxTable.vue

@@ -251,10 +251,10 @@ export default {
     },
     //跳转工单编号
     staff(row) {
-      console.log(row);
-      if (row.wonum) {
+    //   console.log(row);
+      if (row.workorderid) {
         window.open(
-          `http://gcgl.wanda.cn/maximo/ui/?event=loadapp&value=JXWO&uniqueid=${row.wonum}`
+          `http://gcgl.wanda.cn/maximo/ui/?event=loadapp&value=JXWO&uniqueid=${row.workorderid}`
         );
       }
     },

+ 2 - 2
src/views/equipment/table/wxTable.vue

@@ -190,8 +190,8 @@ export default {
         },
         //跳转工单编号
         staff(row) {
-            if (row.wonum) {
-                window.open(`http://gcgl.wanda.cn/maximo/ui/?event=loadapp&value=JXWO&uniqueid=${row.wonum}`)
+            if (row.workorderid) {
+                window.open(`http://gcgl.wanda.cn/maximo/ui/?event=loadapp&value=JXWO&uniqueid=${row.workorderid}`)
             }
         },
         //多余输入框监听

+ 2 - 2
src/views/room/room4.vue

@@ -158,9 +158,9 @@ export default {
     },
     //跳转工单编号
     staff(row) {
-      if (row.wonum) {
+      if (row.workorderid) {
         window.open(
-          `http://gcgl.wanda.cn/maximo/ui/?event=loadapp&value=JXWO&uniqueid=${row.wonum}`
+          `http://gcgl.wanda.cn/maximo/ui/?event=loadapp&value=JXWO&uniqueid=${row.workorderid}`
         );
       }
     },