weieryang лет назад: 3
Родитель
Сommit
4a87c8f032

+ 9 - 0
anyangWebAPP/pages.json

@@ -202,6 +202,15 @@
202 202
             }
203 203
             
204 204
         }
205
+        ,{
206
+            "path" : "pages/myTask/workOrderList/workOrderDetail/buttons/components/button_38/button_38/button_38",
207
+            "style" :                                                                                    
208
+            {
209
+                "navigationBarTitleText": "",
210
+                "enablePullDownRefresh": false
211
+            }
212
+            
213
+        }
205 214
     ],
206 215
 	"globalStyle": {
207 216
 		"navigationBarTextStyle": "white",

+ 90 - 46
anyangWebAPP/pages/myTask/workOrderList/workOrderDetail/buttons/buttons.vue

@@ -6,13 +6,15 @@
6 6
 			{{ item.value }}
7 7
 		</button>
8 8
 		<button class="mini-btn" type="default" size="mini" @click="superviseBtn" v-show="tap == '正在办理'">催办</button>
9
-		<button class="mini-btn" type="default" size="mini" @click="additionalReplyBtn" v-show="tap == '三级已办未果'">追加回复</button>
9
+		<button class="mini-btn" type="default" size="mini" @click="additionalReplyBtn"
10
+			v-show="tap == '三级已办未果'">追加回复</button>
10 11
 		<!-- 弹框 -->
11 12
 		<view>
12 13
 			<uni-popup ref="inputDialog" type="dialog">
13 14
 				<uni-popup-dialog ref="inputClose" mode="input" title="输入内容" @confirm="dialogInputConfirm">
14 15
 					<view style="width:100%;">
15
-						<uni-data-select v-model="days" :clear="false" :localdata="datatime" placeholder = "请选择申请延时时间" v-show="auditPlaceholder == '请输入申请延时原因'" style="margin-bottom: 30px;"></uni-data-select>
16
+						<uni-data-select v-model="days" :clear="false" :localdata="datatime" placeholder="请选择申请延时时间"
17
+							v-show="auditPlaceholder == '请输入申请延时原因'" style="margin-bottom: 30px;"></uni-data-select>
16 18
 						<uni-easyinput type="textarea" autoHeight v-model="cbreason" :placeholder="auditPlaceholder" />
17 19
 					</view>
18 20
 				</uni-popup-dialog>
@@ -46,14 +48,15 @@
46 48
 		},
47 49
 		data() {
48 50
 			return {
51
+				clickKey: 0,
49 52
 				days: '',
50 53
 				datatime: [{
51 54
 					text: '一天',
52 55
 					value: 1
53
-				},{
56
+				}, {
54 57
 					text: '三天',
55 58
 					value: 3
56
-				},{
59
+				}, {
57 60
 					text: '五天',
58 61
 					value: 5
59 62
 				}],
@@ -67,27 +70,28 @@
67 70
 		},
68 71
 		methods: {
69 72
 			callBtnMethods(key) {
70
-				if(key == 3) { // 删除
73
+				this.clickKey = key;
74
+				if (key == 3) { // 删除
71 75
 					this.confirmationAPI("WorkOrder/DelWorkOrder", "删除", "是否要删除", "取消了删除")
72
-				}else if(key == 4) { // 提交
76
+				} else if (key == 4) { // 提交
73 77
 					this.confirmationAPI("WorkOrder/SubmitWorkOrder", "提交", "是否要提交", "取消了提交")
74
-				}else if(key == 10) { // 收回
78
+				} else if (key == 10) { // 收回
75 79
 					this.confirmationAPI("WorkOrder/TakeBackWorkOrder", "收回", "是否要收回", "取消了收回")
76
-				}else if(key == 11) { // 查收
80
+				} else if (key == 11) { // 查收
77 81
 					this.confirmationAPI("WorkOrder/ReceiveWorkOrder", "查收", "是否要查收", "取消了查收")
78
-				}else if(key == 25) { // 签收
82
+				} else if (key == 25) { // 签收
79 83
 					this.confirmationAPI("WorkOrder/SignWorkOrder", "签收", "是否要签收", "取消了签收")
80
-				}else if(key == 27) { // 撤单
84
+				} else if (key == 27) { // 撤单
81 85
 					this.confirmationAPI("WorkOrder/WithdrawDWorkOrder", "撤单", "是否要撤单", "取消了撤单")
82
-				}else if(key == 14) { // 申请延时
86
+				} else if (key == 14) { // 申请延时
83 87
 					this.cbreason = ''
84 88
 					this.auditPlaceholder = '请输入申请延时原因'
85 89
 					this.$refs.inputDialog.open()
86
-				}else if(key == 32) { // 驳回重办
90
+				} else if (key == 32) { // 驳回重办
87 91
 					this.cbreason = ''
88 92
 					this.auditPlaceholder = '请输入驳回重办原因'
89 93
 					this.$refs.inputDialog.open()
90
-				}else if(key == 51) { // 51审核通过
94
+				} else if (key == 51) { // 51审核通过
91 95
 					uni.showLoading({
92 96
 						title: '加载中'
93 97
 					})
@@ -103,29 +107,37 @@
103 107
 							}
104 108
 						}
105 109
 					});
106
-				}else if(key == 52) { // 52不通过原因
110
+				} else if (key == 52) { // 52不通过原因
107 111
 					this.cbreason = ''
108 112
 					this.auditPlaceholder = '请输入审核不通过原因'
109 113
 					this.$refs.inputDialog.open()
110
-				}else if(key == 53) { // 53审核通过转办
114
+				} else if (key == 53) { // 53审核通过转办
111 115
 					this.cbreason = ''
112 116
 					this.auditPlaceholder = '请输入审核通过并转办原因'
113 117
 					this.$refs.inputDialog.open()
114
-				}else if(key == 21) { // 21回退
118
+				} else if (key == 21) { // 21回退
115 119
 					this.cbreason = ''
116 120
 					this.auditPlaceholder = '请输入回退原因'
117 121
 					this.$refs.inputDialog.open()
118
-				}else if(key == 29) { // 21转督办
122
+				} else if (key == 29) { // 21转督办
119 123
 					this.cbreason = ''
120 124
 					this.auditPlaceholder = '请输入转督办原因'
121 125
 					this.$refs.inputDialog.open()
122
-				}
123
-				else {
126
+				} else if (key == 39) { // 39 退回(审核员)
127
+					this.cbreason = ''
128
+					this.auditPlaceholder = '请输入退回原因'
129
+					this.$refs.inputDialog.open()
130
+				} else if (key == 38) { // 39 退回(审核员)
131
+					this.cbreason = ''
132
+					this.auditPlaceholder = '请输入退回原因'
133
+					this.$refs.inputDialog.open()
134
+				} else {
124 135
 					uni.navigateTo({
125
-						url: "/pages/myTask/workOrderList/workOrderDetail/buttons/components/button_" + key + "/wid="+ this.wid,
136
+						url: "/pages/myTask/workOrderList/workOrderDetail/buttons/components/button_" + key +
137
+							"/wid=" + this.wid,
126 138
 					})
127 139
 				}
128
-				
140
+
129 141
 			},
130 142
 			// 1查看
131 143
 			viewBtn() {
@@ -230,17 +242,18 @@
230 242
 			// 59追加回复
231 243
 			additionalReplyBtn() {
232 244
 				uni.navigateTo({
233
-					url: "/pages/workOrderDetail/components/detailAdditionalReply/detailAdditionalReply?wid=" + this.wid,
245
+					url: "/pages/workOrderDetail/components/detailAdditionalReply/detailAdditionalReply?wid=" +
246
+						this.wid,
234 247
 				})
235 248
 			},
236 249
 			// 派单
237
-			sendOrdersBtn(){
250
+			sendOrdersBtn() {
238 251
 				uni.navigateTo({
239 252
 					url: "/pages/workOrderDetail/components/detailReassignment/detailReassignment?wid=" + this.wid,
240 253
 				})
241 254
 			},
242 255
 			// 回退
243
-			rollbackBtn(){
256
+			rollbackBtn() {
244 257
 				this.cbreason = ''
245 258
 				this.auditPlaceholder = '请输入回退原因'
246 259
 				this.$refs.inputDialog.open()
@@ -252,7 +265,7 @@
252 265
 				this.$refs.inputDialog.open()
253 266
 			},
254 267
 			//催办
255
-			superviseBtn(){
268
+			superviseBtn() {
256 269
 				this.confirmationAPI("WorkOrder/Reminders", "信息", "是否要催办", "取消了催办")
257 270
 			},
258 271
 			//签收
@@ -281,7 +294,21 @@
281 294
 					this.$mHelper.toast(this.auditPlaceholder)
282 295
 					return
283 296
 				}
284
-				if (this.auditPlaceholder === '请输入审核通过并转办原因') {
297
+				
298
+				if (this.clickKey === 39) {
299
+					const addParams = {
300
+						reason: this.cbreason,
301
+						iszb: 1,
302
+						ids: this.wid
303
+					}
304
+					this.workOrderContent("WorkOrder/SubReloadWorkOrder", addParams)
305
+				} else if (this.clickKey === 29) {
306
+					const addParams = {
307
+						reason: this.cbreason,
308
+						workorderid: this.wid
309
+					}
310
+					this.workOrderContent("WorkOrder/RefuseWorkOrder", addParams)
311
+				} else if (this.auditPlaceholder === '请输入审核通过并转办原因') {
285 312
 					this.toExamineWorkOrder(2, '')
286 313
 				} else if (this.auditPlaceholder === '请输入不通过原因') {
287 314
 					uni.showModal({
@@ -301,20 +328,37 @@
301 328
 					});
302 329
 
303 330
 				} else if (this.auditPlaceholder === '请输入申请延时原因') {
304
-					const addParams = {reason: this.cbreason,workorderid:this.wid,newlimittime:this.days}
331
+					const addParams = {
332
+						reason: this.cbreason,
333
+						workorderid: this.wid,
334
+						newlimittime: this.days
335
+					}
305 336
 					this.workOrderContent("WorkOrder/DelayWorkOrder", addParams)
306 337
 				} else if (this.auditPlaceholder === '请输入驳回重办原因') {
307
-					const addParams = {reason: this.cbreason,id: this.wid}
308
-					this.workOrderContent("WorkOrder/RejReloadWorkOrder",addParams)
338
+					const addParams = {
339
+						reason: this.cbreason,
340
+						id: this.wid
341
+					}
342
+					this.workOrderContent("WorkOrder/RejReloadWorkOrder", addParams)
309 343
 				} else if (this.auditPlaceholder === '请输入回退原因') {
310
-					const addParams = {backreason: this.cbreason,workorderid: this.wid}
311
-					this.workOrderContent("WorkOrder/ReturnWorkOrder",addParams)
312
-				}else if (this.auditPlaceholder === '请输入转督办原因') {
313
-					const addParams = {overseeopinion: this.cbreason,workorderid: this.wid,type: 1}
314
-					this.workOrderContent("WorkOrder/RemindWorkOrder",addParams)
315
-				}else if(this.auditPlaceholder === '请输入退回原因') {
316
-					const addParams = {reason: this.cbreason,workorderid: this.wid}
317
-					this.workOrderContent("WorkOrder/BackWorkOrder",addParams)
344
+					const addParams = {
345
+						backreason: this.cbreason,
346
+						workorderid: this.wid
347
+					}
348
+					this.workOrderContent("WorkOrder/ReturnWorkOrder", addParams)
349
+				} else if (this.auditPlaceholder === '请输入转督办原因') {
350
+					const addParams = {
351
+						overseeopinion: this.cbreason,
352
+						workorderid: this.wid,
353
+						type: 1
354
+					}
355
+					this.workOrderContent("WorkOrder/RemindWorkOrder", addParams)
356
+				} else if (this.auditPlaceholder === '请输入退回原因') {
357
+					const addParams = {
358
+						reason: this.cbreason,
359
+						workorderid: this.wid
360
+					}
361
+					this.workOrderContent("WorkOrder/BackWorkOrder", addParams)
318 362
 				}
319 363
 			},
320 364
 
@@ -328,17 +372,17 @@
328 372
 					issms: 0,
329 373
 					token: uni.getStorageSync("token")
330 374
 				}
331
-				this.$mHelper.httpPost("WorkOrder/ToExamineWorkOrder",params,1)
375
+				this.$mHelper.httpPost("WorkOrder/ToExamineWorkOrder", params, 1)
332 376
 			},
333 377
 
334 378
 			// 确认框方法,带输入框
335
-			workOrderContent(url,addParams) {
379
+			workOrderContent(url, addParams) {
336 380
 				const objParams = {
337 381
 					token: uni.getStorageSync("token"),
338 382
 				}
339 383
 				let params = Object.assign(addParams, objParams);
340
-				this.$mHelper.httpPost(url,params,1)
341
-				
384
+				this.$mHelper.httpPost(url, params, 1)
385
+
342 386
 			},
343 387
 			//确认框方法
344 388
 			confirmationAPI(url, title, content, canceContent) {
@@ -350,20 +394,20 @@
350 394
 							let params = {
351 395
 								token: uni.getStorageSync("token")
352 396
 							}
353
-							if(title == '删除' || title == '提交') {
397
+							if (title == '删除' || title == '提交') {
354 398
 								params.ids = this.wid
355
-							}else{
399
+							} else {
356 400
 								params.workorderid = this.wid
357 401
 							}
358
-							
359
-							this.$mHelper.httpPost(url,params,1)
402
+
403
+							this.$mHelper.httpPost(url, params, 1)
360 404
 						} else if (res.cancel) {
361 405
 							this.$mHelper.toast(canceContent);
362 406
 						}
363 407
 					}
364 408
 				})
365 409
 			},
366
-			
410
+
367 411
 		}
368 412
 	}
369 413
 </script>

+ 22 - 0
anyangWebAPP/pages/myTask/workOrderList/workOrderDetail/buttons/components/button_38/button_38/button_38.vue

@@ -0,0 +1,22 @@
1
+<template>
2
+	<view>
3
+		
4
+	</view>
5
+</template>
6
+
7
+<script>
8
+	export default {
9
+		data() {
10
+			return {
11
+				
12
+			}
13
+		},
14
+		methods: {
15
+			
16
+		}
17
+	}
18
+</script>
19
+
20
+<style>
21
+
22
+</style>

+ 12 - 0
anyangWebAPP/utils/listUrl.js

@@ -60,6 +60,18 @@ const urlData = {
60 60
 	},
61 61
 	'yblsh': { //审核员-已办待回访
62 62
 		url: 'WorkOrder/GetZXDealList',
63
+		tabs: [
64
+			{
65
+				label: '热线件',
66
+				value: 0,
67
+				field: 'db',
68
+			},
69
+			{
70
+				label: '督办件',
71
+				value: 1,
72
+				field: 'db',
73
+			}
74
+		],
63 75
 		params: {
64 76
 			state: 7,
65 77
 			tab: 0,