seimin 1 ヶ月 前
コミット
3b5cc0134b
共有1 個のファイルを変更した3 個の追加1 個の削除を含む
  1. 3 1
      pages/inspection/inspectionScanning/inspectionScanning.vue

+ 3 - 1
pages/inspection/inspectionScanning/inspectionScanning.vue

@@ -77,7 +77,7 @@
77 77
   
78 78
   // 数据
79 79
   const dataInfo = reactive({
80
-    tabs: [{id: 0, name: '巡检工单', value: 'todo', num: ''}, {id: 1, name: '历史工单', value: 'close', num: ''}],
80
+    tabs: [{id: 0, name: '巡检工单', value: 'todo', num: ''}, {id: 1, name: '历史工单', value: '', num: ''}],
81 81
     tabActiveId: 0,//当前选择的tab
82 82
     list: [],//工单列表
83 83
     idx: 0,//页码
@@ -141,6 +141,7 @@
141 141
         "sum": 10,
142 142
         "inspectionTask": {
143 143
           "queryTask": tabActiveObj.value || undefined,
144
+          "status": tabActiveObj.value ? undefined : { "value": 2 },
144 145
           "assignAccount": tabActiveObj.id == 0 ? loginUserStore.loginUser.user.account : undefined,
145 146
           "inspectionNodeDTO":{
146 147
             code: dataInfo.inspectionNodeCode,
@@ -183,6 +184,7 @@
183 184
             "sum": 1,
184 185
             "inspectionTask": {
185 186
               "queryTask": tabActiveObj.value || undefined,
187
+              "status": tabActiveObj.value ? undefined : { "value": 2 },
186 188
               "assignAccount": tabActiveObj.id == 0 ? loginUserStore.loginUser.user.account : undefined,
187 189
               "inspectionNodeDTO":{
188 190
                 code: dataInfo.inspectionNodeCode,