|
|
@@ -43,7 +43,11 @@
|
|
43
|
43
|
},
|
|
44
|
44
|
watch: {
|
|
45
|
45
|
orderButtonData(val) {
|
|
46
|
|
- console.log(this.orderButtonData)
|
|
|
46
|
+ this.orderButtonData.forEach(v=>{
|
|
|
47
|
+ if(v.key == 1) {
|
|
|
48
|
+ v.value = '查看'
|
|
|
49
|
+ }
|
|
|
50
|
+ })
|
|
47
|
51
|
}
|
|
48
|
52
|
},
|
|
49
|
53
|
data() {
|
|
|
@@ -112,6 +116,10 @@
|
|
112
|
116
|
this.cbreason = ''
|
|
113
|
117
|
this.auditPlaceholder = '请输入驳回重办原因'
|
|
114
|
118
|
this.$refs.inputDialog.open()
|
|
|
119
|
+ } else if (key == 35) { // 35拒绝
|
|
|
120
|
+ this.cbreason = ''
|
|
|
121
|
+ this.auditPlaceholder = '请输入拒绝原因'
|
|
|
122
|
+ this.$refs.inputDialog.open()
|
|
115
|
123
|
} else if (key == 38) { // 39 退回(审核员)
|
|
116
|
124
|
this.cbreason = ''
|
|
117
|
125
|
this.auditPlaceholder = '请输入退回原因'
|
|
|
@@ -177,6 +185,12 @@
|
|
177
|
185
|
iszb: 1,
|
|
178
|
186
|
ids: this.wid
|
|
179
|
187
|
}
|
|
|
188
|
+ this.workOrderContent("WorkOrder/SubReloadWorkOrder", addParams)
|
|
|
189
|
+ } else if (this.clickKey === 38) {
|
|
|
190
|
+ const addParams = {
|
|
|
191
|
+ reason: this.cbreason,
|
|
|
192
|
+ workorderid: this.wid
|
|
|
193
|
+ }
|
|
180
|
194
|
this.workOrderContent("WorkOrder/RefuseWorkOrder", addParams)
|
|
181
|
195
|
} else if (this.auditPlaceholder === '请输入审核通过并转办原因') {
|
|
182
|
196
|
this.toExamineWorkOrder(2)
|
|
|
@@ -208,12 +222,6 @@
|
|
208
|
222
|
type: 1
|
|
209
|
223
|
}
|
|
210
|
224
|
this.workOrderContent("WorkOrder/RemindWorkOrder", addParams)
|
|
211
|
|
- } else if (this.auditPlaceholder === '请输入退回原因') {
|
|
212
|
|
- const addParams = {
|
|
213
|
|
- reason: this.cbreason,
|
|
214
|
|
- workorderid: this.wid
|
|
215
|
|
- }
|
|
216
|
|
- this.workOrderContent("WorkOrder/BackWorkOrder", addParams)
|
|
217
|
225
|
} else if(this.auditPlaceholder === '请输入提交重办原因') {
|
|
218
|
226
|
const addParams = {reason: this.cbreason,ids: this.wid,iszb: 1}
|
|
219
|
227
|
this.workOrderContent("WorkOrder/SubReloadWorkOrder",addParams)
|
|
|
@@ -226,6 +234,9 @@
|
|
226
|
234
|
}else if(this.auditPlaceholder === '请输入拒收原因') {
|
|
227
|
235
|
const addParams = {reason: this.cbreason,workorderid: this.wid}
|
|
228
|
236
|
this.workOrderContent("WorkOrder/RefuseWorkOrder",addParams)
|
|
|
237
|
+ }else if(this.auditPlaceholder === '请输入拒绝原因') {
|
|
|
238
|
+ const addParams = {reason: this.cbreason,workorderid: this.wid}
|
|
|
239
|
+ this.workOrderContent("WorkOrder/RejectWorkOrder",addParams)
|
|
229
|
240
|
}
|
|
230
|
241
|
|
|
231
|
242
|
},
|