Browse Source

巡检匹配条件纠正

xiaohaizhao 1 năm trước cách đây
mục cha
commit
1e2bb410d4

+ 1 - 1
packageA/workOrder/detail.vue

@@ -118,7 +118,7 @@ export default {
                 if (this.cutoff(res.msg)) return;
                 let detail = res.data;
                 switch (detail.sourcetable) {
-                    case "w_eventid":
+                    case "sa_patrolplan":
                         detail.source = "巡检," + (detail.planno || ' --')
                         break;
                     case "w_event_log":

+ 2 - 2
packageA/workOrder/index.vue

@@ -63,7 +63,7 @@ export default {
                 content.pageTotal = res.pageTotal;
                 let list = res.data.map(v => {
                     switch (v.sourcetable) {
-                        case "w_eventid":
+                        case "sa_patrolplan":
                             v.source = "巡检:" + (v.planno || ' --')
                             break;
                         case "w_event_log":
@@ -96,7 +96,7 @@ export default {
                 this.empty = !res.data.length;
                 let list = res.data.map(v => {
                     switch (v.sourcetable) {
-                        case "w_eventid":
+                        case "sa_patrolplan":
                             v.source = "巡检:" + (v.planno || ' --')
                             break;
                         case "w_event_log":

+ 1 - 1
pages/index/modules/workorderList.vue

@@ -97,7 +97,7 @@ export default {
                 content.pageTotal = res.pageTotal;
                 let list = res.data.map(v => {
                     switch (v.sourcetable) {
-                        case "w_eventid":
+                        case "sa_patrolplan":
                             v.source = "巡检," + (v.planno || ' --')
                             break;
                         case "w_event_log":