mengy 3 年 前
コミット
c087c90155

+ 1 - 1
shanXiPlatform/src/views/facilitiesEquipment/facilitiesManagement/maintenance/completed.vue

@@ -308,7 +308,7 @@ export default {
308 308
   }
309 309
 }
310 310
 </style>
311
-<style>
311
+<style scoped>
312 312
 /* .backBtn.is-plain {
313 313
   color: #037d41;
314 314
   background-color: #fff;

+ 1 - 1
shanXiPlatform/src/views/medicamentManagement/medicamentApplication/completed.vue

@@ -336,7 +336,7 @@ export default {
336 336
   }
337 337
 }
338 338
 </style>
339
-<style>
339
+<style scoped>
340 340
 /* .backBtn.is-plain {
341 341
   color: #037d41;
342 342
   background-color: #fff;

+ 1 - 1
shanXiPlatform/src/views/reservesManagement/fumigationManagement/completed.vue

@@ -300,7 +300,7 @@ export default {
300 300
   }
301 301
 }
302 302
 </style>
303
-<style>
303
+<style scoped>
304 304
 /* .backBtn.is-plain {
305 305
   color: #037d41;
306 306
   background-color: #fff;

+ 41 - 7
shanXiPlatform/src/views/reservesManagement/fumigationManagement/steps.vue

@@ -215,6 +215,39 @@ export default {
215 215
         }
216 216
       })
217 217
     },
218
+    detailProcessList() {
219
+      var type =  null;
220
+      if(this.stepActive == 0 || this.stepActive == 1 || this.stepActive == 2){
221
+        type = "xzjh"
222
+      }else if(this.stepActive == 3 || this.stepActive == 4){
223
+        type = "xzsq"
224
+      }
225
+      var userId = this.userInfo.uid
226
+      var depotId = this.userInfo.depotId
227
+      let process = []
228
+      getProcessList(type, userId, depotId).then((res) => {
229
+        if (res.code == 200) {
230
+          for (let i = 0; i < res.data.length; i++) {
231
+            var ele = res.data[i]
232
+            if (ele.auditState != null) {
233
+              this.processActive = i
234
+            }
235
+            process.push(ele)
236
+          }
237
+          if (process[0].content == 0) {
238
+            process[0].content = this.userInfo.uid
239
+          }
240
+          // this.tableDataAudit = process
241
+
242
+          //申请人
243
+          this.applyPeople = process[0].content
244
+          //审批人
245
+          // this.toPeople=process[1].content;
246
+          //提交人
247
+          this.fromPeople = process[0].content
248
+        }
249
+      })
250
+    },
218 251
 
219 252
     //初始化应该显示第几步的表格、
220 253
     tableShow() {
@@ -490,14 +523,15 @@ export default {
490 523
               if (ele.auditState == 0) {
491 524
                 this.processActive = i
492 525
               }
493
-              // this.process.push(ele)
494
-              // if (this.process[0].content == 0) {
495
-              //   this.process[0].content = this.userInfo.uid
496
-              // } else {
497
-              //   this.process[0].content = res.data.process[ongoingStep].audit[0].content
498
-              // }
526
+              this.process.push(ele)
527
+            }
528
+            if (this.process[0].content == 0) {
529
+              this.process[0].content = this.userInfo.uid
530
+            } else {
531
+              this.process[0].content = res.data.process[ongoingStep].audit[0].content
499 532
             }
500
-            this.processList()
533
+            this.tableDataAudit = this.process
534
+            this.detailProcessList()
501 535
             this.tableShow()
502 536
           }
503 537
           // this.totalData[0].list.splice(1, 0, {

+ 1 - 1
shanXiPlatform/src/views/reservesManagement/mechanicalVentilation/completed.vue

@@ -308,7 +308,7 @@ export default {
308 308
   }
309 309
 }
310 310
 </style>
311
-<style>
311
+<style scoped>
312 312
 /* .backBtn.is-plain {
313 313
   color: #037d41;
314 314
   background-color: #fff;