|
|
@@ -4,13 +4,23 @@
|
|
4
|
4
|
<div class="div_parent">
|
|
5
|
5
|
<div class="top">
|
|
6
|
6
|
<div class="top_left">
|
|
7
|
|
- <span style="margin-right: 40px">设备类型:afsggh</span>
|
|
8
|
|
- <span style="margin-right: 40px">设备名称::扦样机</span>
|
|
9
|
|
- <span style="margin-right: 40px">设备编号:sbbh001</span>
|
|
|
7
|
+ <span style="margin-right: 40px"
|
|
|
8
|
+ >设备类型:{{ this.$route.query.equipmentCategory }}</span
|
|
|
9
|
+ >
|
|
|
10
|
+ <span style="margin-right: 40px"
|
|
|
11
|
+ >设备名称:{{ this.$route.query.equipmentName }}</span
|
|
|
12
|
+ >
|
|
|
13
|
+ <span style="margin-right: 40px"
|
|
|
14
|
+ >设备编号:{{ this.$route.query.equipmentNumber }}</span
|
|
|
15
|
+ >
|
|
10
|
16
|
</div>
|
|
11
|
17
|
<div class="top_right">
|
|
12
|
18
|
<span style="margin-right: 10px">设备管理类型:</span>
|
|
13
|
|
- <el-select v-model="value" @change="valueChange($event)">
|
|
|
19
|
+ <el-select
|
|
|
20
|
+ v-model="value"
|
|
|
21
|
+ @change="valueChange($event)"
|
|
|
22
|
+ :disabled="disabledSelect"
|
|
|
23
|
+ >
|
|
14
|
24
|
<el-option
|
|
15
|
25
|
v-for="item in options"
|
|
16
|
26
|
:key="item.value"
|
|
|
@@ -95,23 +105,33 @@
|
|
95
|
105
|
tableDataAudit.length &&
|
|
96
|
106
|
value != 'sbtz' &&
|
|
97
|
107
|
value != 'sbdwgl' &&
|
|
98
|
|
- ((step == 1&&value == 'sbwx') ||((step == 1&&value == 'sbbf')))
|
|
99
|
|
-
|
|
|
108
|
+ ((step == 1 && value == 'sbwx') ||
|
|
|
109
|
+ (step == 1 && value == 'sbbf') ||
|
|
|
110
|
+ (step == 1 && value == 'sbly') ||
|
|
|
111
|
+ (step == 1 && value == 'sbgh') ||
|
|
|
112
|
+ (step == 2 && value == 'sbgh') ||
|
|
|
113
|
+ (step == 2 && value == 'sbly'))
|
|
100
|
114
|
"
|
|
101
|
115
|
style="height: 400px; margin-top: 10px"
|
|
102
|
116
|
>
|
|
103
|
117
|
<div class="tf_title">
|
|
104
|
118
|
<i class="iconfont iconshu"></i>
|
|
105
|
|
- <span v-if="(stepActive == 0 || step == 1)&&value=='sbwx'"
|
|
|
119
|
+ <span v-if="(stepActive == 0 || step == 1) && value == 'sbwx'"
|
|
106
|
120
|
>流程(设施维修审批)</span
|
|
107
|
121
|
>
|
|
108
|
|
- <span v-if="(stepActive == 0 || step == 1)&&value=='sbbf'"
|
|
|
122
|
+ <span v-if="(stepActive == 0 || step == 1) && value == 'sbbf'"
|
|
109
|
123
|
>流程(设施报废审批)</span
|
|
110
|
124
|
>
|
|
111
|
|
- <!-- <span v-if="stepActive == 1 || step == 2">流程(设施维修预算审批)</span> -->
|
|
|
125
|
+ <span v-if="(stepActive == 0 || step == 1) && value == 'sbly'"
|
|
|
126
|
+ >流程(设施领用审批)</span
|
|
|
127
|
+ >
|
|
|
128
|
+
|
|
|
129
|
+ <span v-if="(stepActive == 1 || step == 2) && value == 'sbly'"
|
|
|
130
|
+ >流程(设施归还审批)</span
|
|
|
131
|
+ >
|
|
112
|
132
|
</div>
|
|
113
|
|
- <div class="tf_title_right" v-if="value=='sbwx'">
|
|
114
|
|
- <span style="margin-right: 10px" >提交给总经理和分公司审批</span>
|
|
|
133
|
+ <div class="tf_title_right" v-if="value == 'sbwx'">
|
|
|
134
|
+ <span style="margin-right: 10px">提交给总经理和分公司审批</span>
|
|
115
|
135
|
<el-switch
|
|
116
|
136
|
v-model="isAudit"
|
|
117
|
137
|
:disabled="disabled"
|
|
|
@@ -277,6 +297,7 @@ export default {
|
|
277
|
297
|
isAudit: 1,
|
|
278
|
298
|
tableDataAuditCopy: [],
|
|
279
|
299
|
value: "sbwx",
|
|
|
300
|
+ disabledSelect: true,
|
|
280
|
301
|
options: [
|
|
281
|
302
|
{
|
|
282
|
303
|
value: "sbwx",
|
|
|
@@ -300,7 +321,7 @@ export default {
|
|
300
|
321
|
},
|
|
301
|
322
|
],
|
|
302
|
323
|
// 操作类型
|
|
303
|
|
- workName:"",
|
|
|
324
|
+ workName: "",
|
|
304
|
325
|
}
|
|
305
|
326
|
},
|
|
306
|
327
|
methods: {
|
|
|
@@ -333,14 +354,19 @@ export default {
|
|
333
|
354
|
type = this.value
|
|
334
|
355
|
}
|
|
335
|
356
|
|
|
336
|
|
- // else if(this.stepActive == 1){
|
|
337
|
|
- // type = "sswxys"
|
|
338
|
|
- // }
|
|
|
357
|
+ if (this.stepActive == 0 && this.value == "sbly") {
|
|
|
358
|
+ type = "sbly"
|
|
|
359
|
+ } else if (
|
|
|
360
|
+ (this.stepActive == 1 && this.value == "sbgh") ||
|
|
|
361
|
+ (this.stepActive == 2 && this.value == "sbgh")
|
|
|
362
|
+ ) {
|
|
|
363
|
+ type = "sbgh"
|
|
|
364
|
+ }
|
|
|
365
|
+
|
|
339
|
366
|
var userId = this.userInfo.uid
|
|
340
|
367
|
var depotId = this.userInfo.depotId
|
|
341
|
368
|
getProcessList(type, userId, depotId).then((res) => {
|
|
342
|
369
|
if (res.code == 200) {
|
|
343
|
|
-
|
|
344
|
370
|
for (let i = 0; i < res.data.length; i++) {
|
|
345
|
371
|
var ele = res.data[i]
|
|
346
|
372
|
if (ele.auditState != null) {
|
|
|
@@ -348,7 +374,7 @@ export default {
|
|
348
|
374
|
}
|
|
349
|
375
|
this.process.push(ele)
|
|
350
|
376
|
}
|
|
351
|
|
-
|
|
|
377
|
+
|
|
352
|
378
|
if (this.process[0].content == 0) {
|
|
353
|
379
|
this.process[0].content = this.userInfo.uid
|
|
354
|
380
|
}
|
|
|
@@ -370,9 +396,15 @@ export default {
|
|
370
|
396
|
if (this.stepActive == 0) {
|
|
371
|
397
|
type = this.value
|
|
372
|
398
|
}
|
|
373
|
|
- // else if(this.stepActive == 1){
|
|
374
|
|
- // type = "sswxys"
|
|
375
|
|
- // }
|
|
|
399
|
+ console.log(this.value, "type....")
|
|
|
400
|
+ if (this.stepActive == 0 && this.value == "sbly") {
|
|
|
401
|
+ type = "sbly"
|
|
|
402
|
+ } else if (
|
|
|
403
|
+ (this.stepActive == 1 && this.value == "sbly") ||
|
|
|
404
|
+ (this.stepActive == 2 && this.value == "sbgh")
|
|
|
405
|
+ ) {
|
|
|
406
|
+ type = "sbgh"
|
|
|
407
|
+ }
|
|
376
|
408
|
var userId = this.userInfo.uid
|
|
377
|
409
|
var depotId = this.userInfo.depotId
|
|
378
|
410
|
let process = []
|
|
|
@@ -385,7 +417,7 @@ export default {
|
|
385
|
417
|
}
|
|
386
|
418
|
process.push(ele)
|
|
387
|
419
|
}
|
|
388
|
|
- console.log(this.process,"this.process")
|
|
|
420
|
+ console.log(process, "this.process???")
|
|
389
|
421
|
if (process[0].content == 0) {
|
|
390
|
422
|
process[0].content = this.userInfo.uid
|
|
391
|
423
|
}
|
|
|
@@ -438,22 +470,21 @@ export default {
|
|
438
|
470
|
}
|
|
439
|
471
|
|
|
440
|
472
|
if (finish) {
|
|
441
|
|
- console.log("/////",this.stepActive)
|
|
442
|
|
-
|
|
|
473
|
+ console.log("/////", this.stepActive)
|
|
|
474
|
+
|
|
443
|
475
|
// if (this.stepActive == 0 || this.stepActive == 1) {
|
|
444
|
|
- if (this.stepActive == 0) {
|
|
445
|
|
-
|
|
446
|
|
- this.button = "保存并提交"
|
|
|
476
|
+ if (
|
|
|
477
|
+ this.stepActive == 0 ||
|
|
|
478
|
+ (this.stepActive == 1 && this.value == "sbly")
|
|
|
479
|
+ ) {
|
|
|
480
|
+ this.button = "保存并提交"
|
|
447
|
481
|
} else {
|
|
448
|
482
|
this.button = "完成"
|
|
449
|
483
|
}
|
|
450
|
|
- if(this.value=="sbtz" ||this.value=="sbdwgl"){
|
|
451
|
|
- this.button="保存";
|
|
452
|
|
- this.auditState=4;
|
|
453
|
|
-
|
|
|
484
|
+ if (this.value == "sbtz" || this.value == "sbdwgl") {
|
|
|
485
|
+ this.button = "保存"
|
|
|
486
|
+ this.auditState = 4
|
|
454
|
487
|
}
|
|
455
|
|
-
|
|
456
|
|
-
|
|
457
|
488
|
} else {
|
|
458
|
489
|
if (this.step == 1) {
|
|
459
|
490
|
if (this.value == "sbtz" || this.value == "sbdwgl") {
|
|
|
@@ -469,6 +500,7 @@ export default {
|
|
469
|
500
|
//点击每步时
|
|
470
|
501
|
stepClick(index) {
|
|
471
|
502
|
//this.step = index + 1
|
|
|
503
|
+ console.log(index, this.stepActive, "?????")
|
|
472
|
504
|
console.log(this.step, this.stepActive + 1)
|
|
473
|
505
|
|
|
474
|
506
|
if (index > this.stepActive) {
|
|
|
@@ -512,29 +544,35 @@ export default {
|
|
512
|
544
|
console.log(this.totalData, "???????????")
|
|
513
|
545
|
this.tableData = this.totalData[1].list
|
|
514
|
546
|
console.log(this.tableData)
|
|
|
547
|
+ if (
|
|
|
548
|
+ this.$route.query.workName == "设备资产转移申请" ||
|
|
|
549
|
+ this.$route.query.workName == "设备领用申请"
|
|
|
550
|
+ ) {
|
|
|
551
|
+ this.tableDataAudit = JSON.parse(
|
|
|
552
|
+ JSON.stringify(this.totalData[1].audit)
|
|
|
553
|
+ )
|
|
515
|
554
|
|
|
516
|
|
- // this.isAudit = this.totalData[1].step.isAudit
|
|
517
|
|
- // if (!this.isAudit && this.isAudit != 0) {
|
|
518
|
|
- // this.isAudit = 1
|
|
519
|
|
- // }
|
|
520
|
|
- // if (this.isAudit == 1) {
|
|
521
|
|
- // this.tableDataAudit = JSON.parse(
|
|
522
|
|
- // JSON.stringify(this.totalData[1].audit)
|
|
523
|
|
- // )
|
|
524
|
|
- // } else if (this.isAudit == 0) {
|
|
525
|
|
- // this.tableDataAudit = JSON.parse(
|
|
526
|
|
- // JSON.stringify(this.totalData[1].audit)
|
|
527
|
|
- // ).slice(0, 3)
|
|
528
|
|
- // }
|
|
529
|
|
- // for (let i = 0; i < this.tableDataAudit.length; i++) {
|
|
530
|
|
- // var ele = this.tableDataAudit[i]
|
|
531
|
|
- // if (ele.auditState == 0) {
|
|
532
|
|
- // this.processActive = i
|
|
533
|
|
- // } else {
|
|
534
|
|
- // this.processActive = this.tableDataAudit.length
|
|
535
|
|
- // }
|
|
536
|
|
- // }
|
|
537
|
|
- //this.button = "保存并提交"
|
|
|
555
|
+ console.log(this.tableDataAudit, "this.totalData[1].audit")
|
|
|
556
|
+
|
|
|
557
|
+ for (let i = 0; i < this.tableDataAudit.length; i++) {
|
|
|
558
|
+ var ele = this.tableDataAudit[i]
|
|
|
559
|
+ if (ele.auditState == 0) {
|
|
|
560
|
+ this.processActive = i
|
|
|
561
|
+ } else {
|
|
|
562
|
+ this.processActive = this.tableDataAudit.length
|
|
|
563
|
+ }
|
|
|
564
|
+ }
|
|
|
565
|
+ this.button = "保存并提交"
|
|
|
566
|
+
|
|
|
567
|
+ if (this.$route.query.sbType == "sbly") {
|
|
|
568
|
+ this.isShow = false
|
|
|
569
|
+ this.disabled = true
|
|
|
570
|
+ }
|
|
|
571
|
+ }
|
|
|
572
|
+ if (this.$route.query.type == 3) {
|
|
|
573
|
+ this.disabled = true
|
|
|
574
|
+ this.isShow = false
|
|
|
575
|
+ }
|
|
538
|
576
|
} else if (this.step == 3) {
|
|
539
|
577
|
// this.isShow = true
|
|
540
|
578
|
this.tableData = this.totalData[2].list
|
|
|
@@ -616,9 +654,14 @@ export default {
|
|
616
|
654
|
// type = "sbwx"
|
|
617
|
655
|
type = this.value
|
|
618
|
656
|
}
|
|
619
|
|
- // else if(this.stepActive == 1){
|
|
620
|
|
- // type = "sswxys"
|
|
621
|
|
- // }
|
|
|
657
|
+ if (this.stepActive == 0 && this.value == "sbly") {
|
|
|
658
|
+ type = "sbly"
|
|
|
659
|
+ } else if (
|
|
|
660
|
+ (this.stepActive == 1 && this.value == "sbly") ||
|
|
|
661
|
+ (this.stepActive == 2 && this.value == "sbgh")
|
|
|
662
|
+ ) {
|
|
|
663
|
+ type = "sbgh"
|
|
|
664
|
+ }
|
|
622
|
665
|
var data = {
|
|
623
|
666
|
//流程类型
|
|
624
|
667
|
type: type,
|
|
|
@@ -696,7 +739,8 @@ export default {
|
|
696
|
739
|
index++
|
|
697
|
740
|
) {
|
|
698
|
741
|
const element = this.totalData[this.stepActive].list[index]
|
|
699
|
|
- if (element.subData == 1 && this.step == 1) {
|
|
|
742
|
+ // if (element.subData == 1 && this.step == 1) {
|
|
|
743
|
+ if (element.subData == 1 && (this.step == 1||this.step==2)) {
|
|
700
|
744
|
this.$message("只有选择是才能发起申请")
|
|
701
|
745
|
|
|
702
|
746
|
status = 1
|
|
|
@@ -776,6 +820,10 @@ export default {
|
|
776
|
820
|
// this.getUpdateList()
|
|
777
|
821
|
} else {
|
|
778
|
822
|
this.auditState = 4
|
|
|
823
|
+ if (this.workName == "设备资产转移申请") {
|
|
|
824
|
+ this.value = "sbgh"
|
|
|
825
|
+ }
|
|
|
826
|
+
|
|
779
|
827
|
this.getUpdateList()
|
|
780
|
828
|
}
|
|
781
|
829
|
//this.getUpdateList()
|
|
|
@@ -788,17 +836,24 @@ export default {
|
|
788
|
836
|
getCheckList() {
|
|
789
|
837
|
var processId = this.processId
|
|
790
|
838
|
checkList(processId).then((res) => {
|
|
791
|
|
- console.log(res.data, "查看数据");
|
|
|
839
|
+ console.log(res.data, "查看数据")
|
|
792
|
840
|
console.log(this.stepActive)
|
|
793
|
841
|
if (res.code == 200) {
|
|
794
|
|
- this.totalData = res.data.process
|
|
|
842
|
+ this.totalData = res.data.process;
|
|
|
843
|
+ if(this.$route.query.sbType=="sbly"&&this.$route.query.type==2){
|
|
|
844
|
+ let subData2=this.totalData[1].list[0].subData;
|
|
|
845
|
+ if(subData2==null){
|
|
|
846
|
+ this.disabled=false;
|
|
|
847
|
+ this.isShow=true
|
|
|
848
|
+ }
|
|
|
849
|
+ }
|
|
795
|
850
|
let ongoingStep = this.stepActive
|
|
796
|
|
- if(this.value=="sbtz"||this.value=="sbdwgl"){
|
|
797
|
|
- this.tableData = res.data.process[0].list
|
|
798
|
|
- }else{
|
|
|
851
|
+ if (this.value == "sbtz" || this.value == "sbdwgl") {
|
|
|
852
|
+ this.tableData = res.data.process[0].list
|
|
|
853
|
+ } else {
|
|
799
|
854
|
this.tableData = res.data.process[ongoingStep].list
|
|
800
|
|
- }
|
|
801
|
|
-
|
|
|
855
|
+ }
|
|
|
856
|
+
|
|
802
|
857
|
this.isAudit = res.data.process[ongoingStep].step.isAudit
|
|
803
|
858
|
if (!this.isAudit && this.isAudit != 0) {
|
|
804
|
859
|
this.isAudit = 1
|
|
|
@@ -816,7 +871,7 @@ export default {
|
|
816
|
871
|
}
|
|
817
|
872
|
this.process.push(ele)
|
|
818
|
873
|
}
|
|
819
|
|
- console.log(this.process,"process")
|
|
|
874
|
+ console.log(this.process, "process")
|
|
820
|
875
|
if (this.process[0].content == 0) {
|
|
821
|
876
|
this.process[0].content = this.userInfo.uid
|
|
822
|
877
|
} else {
|
|
|
@@ -836,10 +891,7 @@ export default {
|
|
836
|
891
|
this.detailProcessList()
|
|
837
|
892
|
this.tableShow()
|
|
838
|
893
|
}
|
|
839
|
|
- // this.totalData[0].list.splice(1, 0, {
|
|
840
|
|
- // details: "是,否",
|
|
841
|
|
- // process: this.process,
|
|
842
|
|
- // })
|
|
|
894
|
+
|
|
843
|
895
|
}
|
|
844
|
896
|
})
|
|
845
|
897
|
},
|
|
|
@@ -918,10 +970,10 @@ export default {
|
|
918
|
970
|
|
|
919
|
971
|
//下拉框的值改变时
|
|
920
|
972
|
valueChange(event) {
|
|
921
|
|
- console.log(this.$route.query.equipmentNameCode,"equipmentNameCode")
|
|
|
973
|
+ console.log(this.$route.query.equipmentNameCode, "equipmentNameCode")
|
|
922
|
974
|
this.step = this.stepActive + 1
|
|
923
|
|
- this.value = event;
|
|
924
|
|
- this.process=[];
|
|
|
975
|
+ this.value = event
|
|
|
976
|
+ this.process = []
|
|
925
|
977
|
console.log(this.value)
|
|
926
|
978
|
if (event == "sbtz" || event == "sbdwgl") {
|
|
927
|
979
|
this.processFirst()
|
|
|
@@ -944,7 +996,7 @@ export default {
|
|
944
|
996
|
auditState: this.auditState,
|
|
945
|
997
|
processId: this.processId,
|
|
946
|
998
|
equipmentId: this.$route.query.equipmentId,
|
|
947
|
|
- equipmentNameCode: localStorage.getItem("equipmentNameCode"),
|
|
|
999
|
+ equipmentNameCode: localStorage.getItem("equipmentNameCode"),
|
|
948
|
1000
|
subList: this.subList,
|
|
949
|
1001
|
}
|
|
950
|
1002
|
yjbgAdd(data).then((res) => {
|
|
|
@@ -968,49 +1020,71 @@ export default {
|
|
968
|
1020
|
},
|
|
969
|
1021
|
|
|
970
|
1022
|
mounted() {
|
|
971
|
|
- this.workName=this.$route.query.workName;
|
|
972
|
|
- if(this.workName=="设备维修"){
|
|
973
|
|
- this.value="sbwx"
|
|
974
|
|
- }else if(this.workName=="设备定位管理"){
|
|
975
|
|
- this.value="sbdwgl"
|
|
976
|
|
- }else if(this.workName=="设备领用归还"){
|
|
977
|
|
- this.value="sblygh"
|
|
978
|
|
- }else if(this.workName=="设备报废"){
|
|
979
|
|
- this.value="sbbf"
|
|
980
|
|
- }else if(this.workName=="设备台账"){
|
|
981
|
|
- this.value="sbtz"
|
|
982
|
|
- }
|
|
|
1023
|
+ this.workName = this.$route.query.workName
|
|
|
1024
|
+ if (this.workName == "设备维修") {
|
|
|
1025
|
+ this.value = "sbwx"
|
|
|
1026
|
+ } else if (this.workName == "设备定位管理") {
|
|
|
1027
|
+ this.value = "sbdwgl"
|
|
|
1028
|
+ } else if (
|
|
|
1029
|
+ this.workName == "设备领用申请" ||
|
|
|
1030
|
+ this.workName == "设备资产转移申请"
|
|
|
1031
|
+ ) {
|
|
|
1032
|
+ this.value = "sbly"
|
|
|
1033
|
+ } else if (this.workName == "设备报废") {
|
|
|
1034
|
+ this.value = "sbbf"
|
|
|
1035
|
+ } else if (this.workName == "设备台账") {
|
|
|
1036
|
+ this.value = "sbtz"
|
|
|
1037
|
+ }
|
|
983
|
1038
|
//获取当前缓存的用户信息
|
|
984
|
1039
|
this.userInfo = JSON.parse(getUser())
|
|
985
|
1040
|
this.step = this.stepActive + 1
|
|
986
|
1041
|
this.getUserList()
|
|
|
1042
|
+
|
|
|
1043
|
+ if (this.stepActive == 0) {
|
|
|
1044
|
+ this.button = "保存并提交"
|
|
|
1045
|
+ } else {
|
|
|
1046
|
+ this.button = "暂存"
|
|
|
1047
|
+ }
|
|
|
1048
|
+ if (this.stepActive == 1 && this.$route.query.sbType == "sbly") {
|
|
|
1049
|
+ this.button = "保存并提交"
|
|
|
1050
|
+ }
|
|
|
1051
|
+ // if (this.stepActive == 2 && this.$route.query.sbType == "sbgh") {
|
|
|
1052
|
+ // this.button = "暂存"
|
|
|
1053
|
+ // }
|
|
|
1054
|
+
|
|
987
|
1055
|
if (this.$route.query.type == 1) {
|
|
988
|
1056
|
this.isShow = true
|
|
989
|
1057
|
this.disabled = false
|
|
|
1058
|
+ this.disabledSelect = false
|
|
990
|
1059
|
this.processFirst()
|
|
991
|
1060
|
this.processList()
|
|
992
|
1061
|
} else if (this.$route.query.type == 2) {
|
|
993
|
|
- this.isShow = true
|
|
994
|
|
- this.disabled = false
|
|
|
1062
|
+ // this.value=this.$route.query.sbType
|
|
995
|
1063
|
this.stepActive = parseInt(this.$route.query.ongoingStep)
|
|
996
|
1064
|
this.processId = this.$route.query.processId
|
|
|
1065
|
+ if (this.stepActive == 1 && this.$route.query.sbType == "sbly") {
|
|
|
1066
|
+ this.isShow = false
|
|
|
1067
|
+ this.disabled = true
|
|
|
1068
|
+ this.disabledSelect = false
|
|
|
1069
|
+ } else {
|
|
|
1070
|
+ this.isShow = true
|
|
|
1071
|
+ this.disabled = false
|
|
|
1072
|
+ this.disabledSelect = false
|
|
|
1073
|
+ }
|
|
997
|
1074
|
this.step = this.stepActive + 1
|
|
998
|
1075
|
this.getCheckList()
|
|
999
|
1076
|
} else if (this.$route.query.type == 3) {
|
|
|
1077
|
+ // this.value=this.$route.query.sbType
|
|
|
1078
|
+
|
|
1000
|
1079
|
this.isShow = false
|
|
1001
|
1080
|
this.disabled = true
|
|
|
1081
|
+ this.disabledSelect = true
|
|
1002
|
1082
|
this.processId = this.$route.query.processId
|
|
1003
|
1083
|
//高亮显示
|
|
1004
|
1084
|
this.stepActive = parseInt(this.$route.query.ongoingStep)
|
|
1005
|
1085
|
this.step = this.stepActive + 1
|
|
1006
|
1086
|
this.getCheckList()
|
|
1007
|
1087
|
}
|
|
1008
|
|
-
|
|
1009
|
|
- if (this.stepActive == 0 || this.stepActive == 3) {
|
|
1010
|
|
- this.button = "保存并提交"
|
|
1011
|
|
- } else {
|
|
1012
|
|
- this.button = "暂存"
|
|
1013
|
|
- }
|
|
1014
|
1088
|
},
|
|
1015
|
1089
|
}
|
|
1016
|
1090
|
</script>
|