Browse Source

fix:修改日常维保跳转失败问题

zhangjiaqi 3 years ago
parent
commit
03382ae7f9
1 changed files with 5 additions and 5 deletions
  1. 5 5
      src/views/equipment/table/newrcwbTable.vue

+ 5 - 5
src/views/equipment/table/newrcwbTable.vue

@@ -289,26 +289,26 @@ export default {
       if (row.apptype == "外委" || row.apptype == "自维") {
         if (row.taskCode) {
           window.open(
-            `http://gcgl.wanda.cn/maximo/ui/?event=loadapp&value=WB_GZGL&uniqueid=${row.wb_gzglid}`
+            `http://gcgl.wanda.cn/maximo/ui/?event=loadapp&value=WB_GZGL&uniqueid=${row.taskCode}`
           );
         }
       } else if (row.apptype == "安全维保") {
         window.open(
-          `http://gcgl.wanda.cn/maximo/ui/?event=loadapp&value=AQ_WB_GZGL&uniqueid=${row.wb_gzglid}`
+          `http://gcgl.wanda.cn/maximo/ui/?event=loadapp&value=AQ_WB_GZGL&uniqueid=${row.taskCode}`
         );
       }
     },
     // 工单
     ycgd(row) {
       if (row.apptype == "外委" || row.apptype == "自维") {
-        if (row.wb_gzglid) {
+        if (row.taskCode) {
           window.open(
-            `http://gcgl.wanda.cn/maximo/ui/?event=loadapp&value=WB_GZGL&uniqueid=${row.wb_gzglid}`
+            `http://gcgl.wanda.cn/maximo/ui/?event=loadapp&value=WB_GZGL&uniqueid=${row.taskCode}`
           );
         }
       } else if (row.apptype == "安全维保") {
         window.open(
-          `http://gcgl.wanda.cn/maximo/ui/?event=loadapp&value=WB_GZGL&uniqueid=${row.wb_gzglid}`
+          `http://gcgl.wanda.cn/maximo/ui/?event=loadapp&value=WB_GZGL&uniqueid=${row.taskCode}`
         );
       }
     },