|
@@ -4,19 +4,24 @@ |
|
@@ -4,19 +4,24 @@ |
|
4
|
<el-table v-loading="loading" :data="policyList" @row-click="handleUpdate">
|
4
|
<el-table v-loading="loading" :data="policyList" @row-click="handleUpdate">
|
|
5
|
<el-table-column type="selection" width="55" align="center" />
|
5
|
<el-table-column type="selection" width="55" align="center" />
|
|
6
|
<el-table-column label="序号" width="55" type="index" />
|
6
|
<el-table-column label="序号" width="55" type="index" />
|
|
|
|
7
|
+ <el-table-column label="登记时间" width="160" align="center">
|
|
|
|
8
|
+ <template #default="{ row }">
|
|
|
|
9
|
+ <span>{{ row.initialRegistration || row.createTime }}</span>
|
|
|
|
10
|
+ </template>
|
|
|
|
11
|
+ </el-table-column>
|
|
|
|
12
|
+
|
|
7
|
<el-table-column
|
13
|
<el-table-column
|
|
8
|
- label="登记时间"
|
|
|
|
9
|
- prop="initialRegistrationTime"
|
14
|
+ label="车牌号"
|
|
|
|
15
|
+ prop="licensePlateNumber"
|
|
10
|
width="150"
|
16
|
width="150"
|
|
11
|
align="center"
|
17
|
align="center"
|
|
12
|
/>
|
18
|
/>
|
|
13
|
<el-table-column
|
19
|
<el-table-column
|
|
14
|
- label="车牌号"
|
|
|
|
15
|
- prop="licensePlateNumber"
|
|
|
|
16
|
- width="150"
|
20
|
+ label="车架号"
|
|
|
|
21
|
+ width="180"
|
|
|
|
22
|
+ prop="frameNumber"
|
|
17
|
align="center"
|
23
|
align="center"
|
|
18
|
/>
|
24
|
/>
|
|
19
|
- <el-table-column label="车架号" prop="frameNumber" align="center" />
|
|
|
|
20
|
<el-table-column
|
25
|
<el-table-column
|
|
21
|
label="车主姓名"
|
26
|
label="车主姓名"
|
|
22
|
prop="name"
|
27
|
prop="name"
|
|
@@ -45,7 +50,7 @@ |
|
@@ -45,7 +50,7 @@ |
|
45
|
<el-table-column
|
50
|
<el-table-column
|
|
46
|
label="订单分配时间"
|
51
|
label="订单分配时间"
|
|
47
|
prop="distributionTime"
|
52
|
prop="distributionTime"
|
|
48
|
- width="150"
|
53
|
+ width="160"
|
|
49
|
align="center"
|
54
|
align="center"
|
|
50
|
/>
|
55
|
/>
|
|
51
|
<el-table-column
|
56
|
<el-table-column
|
|
@@ -57,7 +62,7 @@ |
|
@@ -57,7 +62,7 @@ |
|
57
|
<el-table-column
|
62
|
<el-table-column
|
|
58
|
label="承接时间"
|
63
|
label="承接时间"
|
|
59
|
prop="companyEmployeeUndertakeTime"
|
64
|
prop="companyEmployeeUndertakeTime"
|
|
60
|
- width="150"
|
65
|
+ width="160"
|
|
61
|
align="center"
|
66
|
align="center"
|
|
62
|
/>
|
67
|
/>
|
|
63
|
<el-table-column
|
68
|
<el-table-column
|
|
@@ -67,39 +72,56 @@ |
|
@@ -67,39 +72,56 @@ |
|
67
|
width="150"
|
72
|
width="150"
|
|
68
|
align="center"
|
73
|
align="center"
|
|
69
|
/>
|
74
|
/>
|
|
70
|
- <el-table-column label="操作" align="center" width="360" fixed="right">
|
75
|
+ <el-table-column
|
|
|
|
76
|
+ label="操作"
|
|
|
|
77
|
+ align="center"
|
|
|
|
78
|
+ min-width="240"
|
|
|
|
79
|
+ fixed="right"
|
|
|
|
80
|
+ >
|
|
71
|
<template #default="{ row }">
|
81
|
<template #default="{ row }">
|
|
72
|
- <el-button type="primary" v-hasPermi="['policy:pending:continue']">{{
|
|
|
|
73
|
- row.orderProgress === "已承接" ? "承接回馈" : "承接"
|
|
|
|
74
|
- }}</el-button>
|
|
|
|
75
|
- <el-button type="primary" v-hasPermi="['policy:pending:sharing']"
|
82
|
+ <el-button
|
|
|
|
83
|
+ type="primary"
|
|
|
|
84
|
+ v-hasPermi="['policy:pending:continue']"
|
|
|
|
85
|
+ @click.stop="handleContinue(row)"
|
|
|
|
86
|
+ >{{
|
|
|
|
87
|
+ row.orderProgress === "已承接" ? "承接回馈" : "承接"
|
|
|
|
88
|
+ }}</el-button
|
|
|
|
89
|
+ >
|
|
|
|
90
|
+ <el-button
|
|
|
|
91
|
+ type="primary"
|
|
|
|
92
|
+ v-hasPermi="['policy:pending:sharing']"
|
|
|
|
93
|
+ @click.stop="handleSharing(row.taskId)"
|
|
76
|
>分配</el-button
|
94
|
>分配</el-button
|
|
77
|
>
|
95
|
>
|
|
78
|
- <el-button type="primary" v-hasPermi="['policy:pending:transfer']"
|
96
|
+ <el-button
|
|
|
|
97
|
+ type="primary"
|
|
|
|
98
|
+ v-show="row.orderProgress !== '已承接'"
|
|
|
|
99
|
+ v-hasPermi="['policy:pending:transfer']"
|
|
|
|
100
|
+ @click.stop="handleSharing(row.taskId)"
|
|
79
|
>转办</el-button
|
101
|
>转办</el-button
|
|
80
|
>
|
102
|
>
|
|
81
|
<el-button
|
103
|
<el-button
|
|
82
|
type="primary"
|
104
|
type="primary"
|
|
83
|
v-show="hasRole"
|
105
|
v-show="hasRole"
|
|
84
|
- @click="handleSuccess(0, row.taskId)"
|
106
|
+ @click.stop="handleSuccess('0', row.taskId)"
|
|
85
|
>通过</el-button
|
107
|
>通过</el-button
|
|
86
|
>
|
108
|
>
|
|
87
|
<el-button
|
109
|
<el-button
|
|
88
|
type="primary"
|
110
|
type="primary"
|
|
89
|
v-show="hasRole"
|
111
|
v-show="hasRole"
|
|
90
|
- @click="handleFallback(1, row.taskId)"
|
112
|
+ @click.stop="handleFallback('1', row.taskId)"
|
|
91
|
>退回</el-button
|
113
|
>退回</el-button
|
|
92
|
>
|
114
|
>
|
|
93
|
<el-button
|
115
|
<el-button
|
|
94
|
type="primary"
|
116
|
type="primary"
|
|
95
|
v-show="hasRole"
|
117
|
v-show="hasRole"
|
|
96
|
- @click="handleVoid(2, row.taskId)"
|
118
|
+ @click.stop="handleVoid('2', row.taskId)"
|
|
97
|
>作废</el-button
|
119
|
>作废</el-button
|
|
98
|
>
|
120
|
>
|
|
99
|
<el-button
|
121
|
<el-button
|
|
100
|
type="primary"
|
122
|
type="primary"
|
|
101
|
v-show="hasRole"
|
123
|
v-show="hasRole"
|
|
102
|
- @click="handleAuthCompany(0, row.taskId)"
|
124
|
+ @click.stop="handleAuthCompany('0', row.taskId)"
|
|
103
|
>分配承保公司</el-button
|
125
|
>分配承保公司</el-button
|
|
104
|
>
|
126
|
>
|
|
105
|
</template>
|
127
|
</template>
|
|
@@ -121,9 +143,12 @@ |
|
@@ -121,9 +143,12 @@ |
|
121
|
width="500"
|
143
|
width="500"
|
|
122
|
append-to-body
|
144
|
append-to-body
|
|
123
|
>
|
145
|
>
|
|
124
|
- <QuillEditor
|
|
|
|
125
|
- :value="deprecatedForm.deprecatedReason"
|
|
|
|
126
|
- @updateValue="getMsg"
|
146
|
+ <el-input
|
|
|
|
147
|
+ v-model="deprecatedForm.deprecatedReason"
|
|
|
|
148
|
+ style="width: 240px"
|
|
|
|
149
|
+ :rows="2"
|
|
|
|
150
|
+ type="textarea"
|
|
|
|
151
|
+ placeholder="请输入作废原因"
|
|
127
|
/>
|
152
|
/>
|
|
128
|
<template #footer>
|
153
|
<template #footer>
|
|
129
|
<div class="dialog-footer">
|
154
|
<div class="dialog-footer">
|
|
@@ -150,7 +175,7 @@ |
|
@@ -150,7 +175,7 @@ |
|
150
|
/>
|
175
|
/>
|
|
151
|
<el-button type="primary" @click="getDeptList">查询</el-button>
|
176
|
<el-button type="primary" @click="getDeptList">查询</el-button>
|
|
152
|
</div>
|
177
|
</div>
|
|
153
|
- <el-radio-group v-model="companyForm.deptId" @change="handleDeptChange">
|
178
|
+ <el-radio-group v-model="companyForm.deptId">
|
|
154
|
<el-radio
|
179
|
<el-radio
|
|
155
|
v-for="item in deptOptions"
|
180
|
v-for="item in deptOptions"
|
|
156
|
:key="item.deptId"
|
181
|
:key="item.deptId"
|
|
@@ -167,25 +192,50 @@ |
|
@@ -167,25 +192,50 @@ |
|
167
|
</template>
|
192
|
</template>
|
|
168
|
</el-dialog>
|
193
|
</el-dialog>
|
|
169
|
|
194
|
|
|
|
|
195
|
+ <!-- 转办分配对话框 -->
|
|
|
|
196
|
+ <el-dialog
|
|
|
|
197
|
+ v-model="transferShow"
|
|
|
|
198
|
+ title="请选择人员:"
|
|
|
|
199
|
+ width="500"
|
|
|
|
200
|
+ append-to-body
|
|
|
|
201
|
+ >
|
|
|
|
202
|
+ <div class="company_box">
|
|
|
|
203
|
+ <el-radio-group v-model="transferForm.username">
|
|
|
|
204
|
+ <el-radio
|
|
|
|
205
|
+ v-for="item in transferOptions"
|
|
|
|
206
|
+ :key="item.userName"
|
|
|
|
207
|
+ :label="item.userName"
|
|
|
|
208
|
+ >{{ item.userName }}</el-radio
|
|
|
|
209
|
+ >
|
|
|
|
210
|
+ </el-radio-group>
|
|
|
|
211
|
+ </div>
|
|
|
|
212
|
+ <template #footer>
|
|
|
|
213
|
+ <div class="dialog-footer">
|
|
|
|
214
|
+ <el-button @click="companyShow = false">取消</el-button>
|
|
|
|
215
|
+ <el-button type="primary" @click="submitTransfer">确定</el-button>
|
|
|
|
216
|
+ </div>
|
|
|
|
217
|
+ </template>
|
|
|
|
218
|
+ </el-dialog>
|
|
|
|
219
|
+
|
|
170
|
<!-- 编辑对话框 -->
|
220
|
<!-- 编辑对话框 -->
|
|
171
|
- <el-dialog v-model="open" :title="title" width="700" append-to-body>
|
|
|
|
172
|
- <el-form :model="form" :rules="rules" ref="policyRef" label-width="100px">
|
221
|
+ <el-dialog v-model="open" title="保单信息" width="700" append-to-body>
|
|
|
|
222
|
+ <el-form :model="form" ref="policyRef" label-width="100px">
|
|
173
|
<el-row>
|
223
|
<el-row>
|
|
174
|
<el-col :span="12">
|
224
|
<el-col :span="12">
|
|
175
|
- <el-form-item label="车牌号" prop="carNum">
|
225
|
+ <el-form-item label="车牌号" prop="licensePlateNumber">
|
|
176
|
<el-input
|
226
|
<el-input
|
|
177
|
- v-model="form.carNum"
|
227
|
+ v-model="form.licensePlateNumber"
|
|
178
|
placeholder="请输入车牌号"
|
228
|
placeholder="请输入车牌号"
|
|
179
|
- maxlength="30"
|
229
|
+ :disabled="hasRole"
|
|
180
|
/>
|
230
|
/>
|
|
181
|
</el-form-item>
|
231
|
</el-form-item>
|
|
182
|
</el-col>
|
232
|
</el-col>
|
|
183
|
<el-col :span="12">
|
233
|
<el-col :span="12">
|
|
184
|
- <el-form-item label="车架号" prop="frameNum">
|
234
|
+ <el-form-item label="车架号" prop="frameNumber">
|
|
185
|
<el-input
|
235
|
<el-input
|
|
186
|
- v-model="form.frameNum"
|
236
|
+ v-model="form.frameNumber"
|
|
|
|
237
|
+ :disabled="hasRole"
|
|
187
|
placeholder="请输入车架号"
|
238
|
placeholder="请输入车架号"
|
|
188
|
- maxlength="30"
|
|
|
|
189
|
/>
|
239
|
/>
|
|
190
|
</el-form-item>
|
240
|
</el-form-item>
|
|
191
|
</el-col>
|
241
|
</el-col>
|
|
@@ -195,8 +245,8 @@ |
|
@@ -195,8 +245,8 @@ |
|
195
|
<el-form-item label="车主姓名" prop="name">
|
245
|
<el-form-item label="车主姓名" prop="name">
|
|
196
|
<el-input
|
246
|
<el-input
|
|
197
|
v-model="form.name"
|
247
|
v-model="form.name"
|
|
|
|
248
|
+ :disabled="hasRole"
|
|
198
|
placeholder="请输入车主姓名"
|
249
|
placeholder="请输入车主姓名"
|
|
199
|
- maxlength="11"
|
|
|
|
200
|
/>
|
250
|
/>
|
|
201
|
</el-form-item>
|
251
|
</el-form-item>
|
|
202
|
</el-col>
|
252
|
</el-col>
|
|
@@ -204,36 +254,120 @@ |
|
@@ -204,36 +254,120 @@ |
|
204
|
<el-form-item label="联系电话" prop="phone">
|
254
|
<el-form-item label="联系电话" prop="phone">
|
|
205
|
<el-input
|
255
|
<el-input
|
|
206
|
v-model="form.phone"
|
256
|
v-model="form.phone"
|
|
|
|
257
|
+ :disabled="hasRole"
|
|
207
|
placeholder="请输入联系电话"
|
258
|
placeholder="请输入联系电话"
|
|
208
|
- maxlength="50"
|
|
|
|
209
|
/>
|
259
|
/>
|
|
210
|
</el-form-item>
|
260
|
</el-form-item>
|
|
211
|
</el-col>
|
261
|
</el-col>
|
|
212
|
</el-row>
|
262
|
</el-row>
|
|
213
|
<el-row>
|
263
|
<el-row>
|
|
214
|
<el-col :span="12">
|
264
|
<el-col :span="12">
|
|
215
|
- <el-form-item label="登记时间" prop="createTime">
|
265
|
+ <el-form-item label="车辆类型" prop="vehicleType">
|
|
216
|
<el-input
|
266
|
<el-input
|
|
217
|
- v-model="form.createTime"
|
267
|
+ v-model="form.vehicleType"
|
|
|
|
268
|
+ :disabled="hasRole"
|
|
218
|
placeholder="请输入登记时间"
|
269
|
placeholder="请输入登记时间"
|
|
219
|
/>
|
270
|
/>
|
|
220
|
</el-form-item>
|
271
|
</el-form-item>
|
|
221
|
</el-col>
|
272
|
</el-col>
|
|
222
|
<el-col :span="12">
|
273
|
<el-col :span="12">
|
|
223
|
- <el-form-item label="上年承保公司" prop="company">
|
274
|
+ <el-form-item label="车辆使用性质" prop="vehicleNature">
|
|
224
|
<el-input
|
275
|
<el-input
|
|
225
|
- v-model="form.company"
|
|
|
|
226
|
- placeholder="请输入上年承保公司"
|
|
|
|
227
|
- maxlength="50"
|
276
|
+ v-model="form.vehicleNature"
|
|
|
|
277
|
+ :disabled="hasRole"
|
|
|
|
278
|
+ placeholder="请输入办理人"
|
|
228
|
/>
|
279
|
/>
|
|
229
|
</el-form-item>
|
280
|
</el-form-item>
|
|
230
|
</el-col>
|
281
|
</el-col>
|
|
231
|
</el-row>
|
282
|
</el-row>
|
|
|
|
283
|
+ <el-row>
|
|
|
|
284
|
+ <el-col :span="12">
|
|
|
|
285
|
+ <el-form-item label="核定载客数" prop="passengersNumber">
|
|
|
|
286
|
+ <el-input
|
|
|
|
287
|
+ v-model="form.passengersNumber"
|
|
|
|
288
|
+ :disabled="hasRole"
|
|
|
|
289
|
+ placeholder="请输入办理人"
|
|
|
|
290
|
+ />
|
|
|
|
291
|
+ </el-form-item>
|
|
|
|
292
|
+ </el-col>
|
|
|
|
293
|
+ <el-col :span="12">
|
|
|
|
294
|
+ <el-form-item label="核定载质量" prop="passengerCapacity">
|
|
|
|
295
|
+ <el-input
|
|
|
|
296
|
+ v-model="form.passengerCapacity"
|
|
|
|
297
|
+ :disabled="hasRole"
|
|
|
|
298
|
+ placeholder="请输入承保公司"
|
|
|
|
299
|
+ />
|
|
|
|
300
|
+ </el-form-item>
|
|
|
|
301
|
+ </el-col>
|
|
|
|
302
|
+ </el-row>
|
|
|
|
303
|
+ <el-row>
|
|
|
|
304
|
+ <el-col :span="12">
|
|
|
|
305
|
+ <el-form-item label="排量毫升" prop="emissions">
|
|
|
|
306
|
+ <el-input
|
|
|
|
307
|
+ v-model="form.emissions"
|
|
|
|
308
|
+ :disabled="hasRole"
|
|
|
|
309
|
+ placeholder="请输入办理人"
|
|
|
|
310
|
+ />
|
|
|
|
311
|
+ </el-form-item>
|
|
|
|
312
|
+ </el-col>
|
|
|
|
313
|
+ <el-col :span="12">
|
|
|
|
314
|
+ <el-form-item label="中文品牌" prop="vehicleBrand">
|
|
|
|
315
|
+ <el-input
|
|
|
|
316
|
+ v-model="form.vehicleBrand"
|
|
|
|
317
|
+ :disabled="hasRole"
|
|
|
|
318
|
+ placeholder="请输入办理人"
|
|
|
|
319
|
+ />
|
|
|
|
320
|
+ </el-form-item>
|
|
|
|
321
|
+ </el-col>
|
|
|
|
322
|
+ </el-row>
|
|
|
|
323
|
+ <el-row>
|
|
|
|
324
|
+ <el-col :span="12">
|
|
|
|
325
|
+ <el-form-item label="车辆型号" prop="vehicleModel">
|
|
|
|
326
|
+ <el-input
|
|
|
|
327
|
+ v-model="form.vehicleModel"
|
|
|
|
328
|
+ :disabled="hasRole"
|
|
|
|
329
|
+ placeholder="请输入办理人"
|
|
|
|
330
|
+ />
|
|
|
|
331
|
+ </el-form-item>
|
|
|
|
332
|
+ </el-col>
|
|
|
|
333
|
+ <el-col :span="12">
|
|
|
|
334
|
+ <el-form-item label="准牵引准质量" prop="tractionMass">
|
|
|
|
335
|
+ <el-input
|
|
|
|
336
|
+ v-model="form.tractionMass"
|
|
|
|
337
|
+ :disabled="hasRole"
|
|
|
|
338
|
+ placeholder="请输入办理人"
|
|
|
|
339
|
+ />
|
|
|
|
340
|
+ </el-form-item>
|
|
|
|
341
|
+ </el-col>
|
|
|
|
342
|
+ </el-row>
|
|
|
|
343
|
+ <el-row>
|
|
|
|
344
|
+ <el-col :span="12">
|
|
|
|
345
|
+ <el-form-item label="保险需求" prop="requirements">
|
|
|
|
346
|
+ <el-input
|
|
|
|
347
|
+ v-model="form.requirements"
|
|
|
|
348
|
+ :disabled="hasRole"
|
|
|
|
349
|
+ placeholder="请输入办理人"
|
|
|
|
350
|
+ />
|
|
|
|
351
|
+ </el-form-item>
|
|
|
|
352
|
+ </el-col>
|
|
|
|
353
|
+ <el-col :span="12">
|
|
|
|
354
|
+ <el-form-item label="承保单号" prop="policyNumber">
|
|
|
|
355
|
+ <el-input
|
|
|
|
356
|
+ v-model="form.policyNumber"
|
|
|
|
357
|
+ :disabled="hasRole"
|
|
|
|
358
|
+ placeholder="请输入承保单号"
|
|
|
|
359
|
+ />
|
|
|
|
360
|
+ </el-form-item>
|
|
|
|
361
|
+ </el-col>
|
|
|
|
362
|
+ </el-row>
|
|
|
|
363
|
+ <el-form-item label="保单回馈" prop="progress">
|
|
|
|
364
|
+ <QuillEditor :value="form.comment" @updateValue="getMsg" />
|
|
|
|
365
|
+ </el-form-item>
|
|
232
|
</el-form>
|
366
|
</el-form>
|
|
233
|
<template #footer>
|
367
|
<template #footer>
|
|
234
|
<div class="dialog-footer">
|
368
|
<div class="dialog-footer">
|
|
235
|
<el-button @click="open = false">取消</el-button>
|
369
|
<el-button @click="open = false">取消</el-button>
|
|
236
|
- <el-button type="primary" @click="open = false">确定</el-button>
|
370
|
+ <el-button type="primary" @click="submit">提交回馈</el-button>
|
|
237
|
</div>
|
371
|
</div>
|
|
238
|
</template>
|
372
|
</template>
|
|
239
|
</el-dialog>
|
373
|
</el-dialog>
|
|
@@ -241,15 +375,23 @@ |
|
@@ -241,15 +375,23 @@ |
|
241
|
</template>
|
375
|
</template>
|
|
242
|
|
376
|
|
|
243
|
<script setup>
|
377
|
<script setup>
|
|
244
|
-import { queryMyList, disposeUser } from "@/api/policy/index";
|
378
|
+import {
|
|
|
|
379
|
+ queryMyList,
|
|
|
|
380
|
+ disposeUser,
|
|
|
|
381
|
+ transfer,
|
|
|
|
382
|
+ getUserList,
|
|
|
|
383
|
+} from "@/api/policy/index";
|
|
245
|
import { listDept } from "@/api/system/dept";
|
384
|
import { listDept } from "@/api/system/dept";
|
|
246
|
-import { onMounted, ref } from "vue";
|
385
|
+import { ref } from "vue";
|
|
247
|
const { proxy } = getCurrentInstance();
|
386
|
const { proxy } = getCurrentInstance();
|
|
248
|
const loading = ref(false);
|
387
|
const loading = ref(false);
|
|
249
|
const total = ref(0);
|
388
|
const total = ref(0);
|
|
250
|
const title = ref("保单信息");
|
389
|
const title = ref("保单信息");
|
|
251
|
const open = ref(false);
|
390
|
const open = ref(false);
|
|
|
|
391
|
+const timer = ref(null);
|
|
252
|
const form = ref({});
|
392
|
const form = ref({});
|
|
|
|
393
|
+const transferShow = ref(false);
|
|
|
|
394
|
+const transferForm = ref({});
|
|
253
|
const hasRole = computed(() => {
|
395
|
const hasRole = computed(() => {
|
|
254
|
return proxy.$auth.hasRole("associationemployee");
|
396
|
return proxy.$auth.hasRole("associationemployee");
|
|
255
|
});
|
397
|
});
|
|
@@ -272,6 +414,7 @@ const rules = ref({ |
|
@@ -272,6 +414,7 @@ const rules = ref({ |
|
272
|
});
|
414
|
});
|
|
273
|
const companyShow = ref(false);
|
415
|
const companyShow = ref(false);
|
|
274
|
const deptOptions = ref([]);
|
416
|
const deptOptions = ref([]);
|
|
|
|
417
|
+const transferOptions = ref([]);
|
|
275
|
const company = ref(2);
|
418
|
const company = ref(2);
|
|
276
|
const deprecatedShow = ref(false);
|
419
|
const deprecatedShow = ref(false);
|
|
277
|
const deprecatedForm = ref({});
|
420
|
const deprecatedForm = ref({});
|
|
@@ -293,16 +436,37 @@ const getList = async () => { |
|
@@ -293,16 +436,37 @@ const getList = async () => { |
|
293
|
total.value = data.total;
|
436
|
total.value = data.total;
|
|
294
|
loading.value = false;
|
437
|
loading.value = false;
|
|
295
|
};
|
438
|
};
|
|
|
|
439
|
+// 承接
|
|
|
|
440
|
+const handleContinue = (row) => {
|
|
|
|
441
|
+ if (row.orderProgress === "待承接") {
|
|
|
|
442
|
+ proxy.$modal
|
|
|
|
443
|
+ .confirm("是否要承接该保单")
|
|
|
|
444
|
+ .then(function () {})
|
|
|
|
445
|
+ .then(() => {
|
|
|
|
446
|
+ disposeUser({}, row.taskId).then((res) => {
|
|
|
|
447
|
+ proxy.$modal.msgSuccess("承接成功");
|
|
|
|
448
|
+ getList();
|
|
|
|
449
|
+ });
|
|
|
|
450
|
+ })
|
|
|
|
451
|
+ .catch(() => {
|
|
|
|
452
|
+ proxy.$modal.msg("已取消");
|
|
|
|
453
|
+ });
|
|
|
|
454
|
+ } else {
|
|
|
|
455
|
+ reset();
|
|
|
|
456
|
+ form.value = row;
|
|
|
|
457
|
+ open.value = true;
|
|
|
|
458
|
+ }
|
|
|
|
459
|
+};
|
|
|
|
460
|
+
|
|
296
|
// 通过保单
|
461
|
// 通过保单
|
|
297
|
const handleSuccess = (associationapprove, taskId) => {
|
462
|
const handleSuccess = (associationapprove, taskId) => {
|
|
298
|
- ElMessageBox.confirm("是否通过该保单?", {
|
|
|
|
299
|
- confirmButtonText: "确认通过",
|
|
|
|
300
|
- cancelButtonText: "取消",
|
|
|
|
301
|
- type: "warning",
|
|
|
|
302
|
- })
|
463
|
+ proxy.$modal
|
|
|
|
464
|
+ .confirm("是否通过该保单")
|
|
|
|
465
|
+ .then(function () {})
|
|
303
|
.then(() => {
|
466
|
.then(() => {
|
|
304
|
disposeUser({ associationapprove }, taskId).then((res) => {
|
467
|
disposeUser({ associationapprove }, taskId).then((res) => {
|
|
305
|
proxy.$modal.msgSuccess("保单已通过");
|
468
|
proxy.$modal.msgSuccess("保单已通过");
|
|
|
|
469
|
+ getList();
|
|
306
|
});
|
470
|
});
|
|
307
|
})
|
471
|
})
|
|
308
|
.catch(() => {
|
472
|
.catch(() => {
|
|
@@ -311,14 +475,13 @@ const handleSuccess = (associationapprove, taskId) => { |
|
@@ -311,14 +475,13 @@ const handleSuccess = (associationapprove, taskId) => { |
|
311
|
};
|
475
|
};
|
|
312
|
// 退回保单
|
476
|
// 退回保单
|
|
313
|
const handleFallback = (associationapprove, taskId) => {
|
477
|
const handleFallback = (associationapprove, taskId) => {
|
|
314
|
- ElMessageBox.confirm("是否退回该保单?", {
|
|
|
|
315
|
- confirmButtonText: "确认退回",
|
|
|
|
316
|
- cancelButtonText: "取消",
|
|
|
|
317
|
- type: "warning",
|
|
|
|
318
|
- })
|
478
|
+ proxy.$modal
|
|
|
|
479
|
+ .confirm("是否通过该保单")
|
|
|
|
480
|
+ .then(function () {})
|
|
319
|
.then(() => {
|
481
|
.then(() => {
|
|
320
|
disposeUser({ associationapprove }, taskId).then((res) => {
|
482
|
disposeUser({ associationapprove }, taskId).then((res) => {
|
|
321
|
proxy.$modal.msgSuccess("保单已退回");
|
483
|
proxy.$modal.msgSuccess("保单已退回");
|
|
|
|
484
|
+ getList();
|
|
322
|
});
|
485
|
});
|
|
323
|
})
|
486
|
})
|
|
324
|
.catch(() => {
|
487
|
.catch(() => {
|
|
@@ -342,7 +505,8 @@ const sunmitDeprecated = () => { |
|
@@ -342,7 +505,8 @@ const sunmitDeprecated = () => { |
|
342
|
};
|
505
|
};
|
|
343
|
const taskId = deprecatedForm.value.taskId;
|
506
|
const taskId = deprecatedForm.value.taskId;
|
|
344
|
disposeUser(data, taskId).then((res) => {
|
507
|
disposeUser(data, taskId).then((res) => {
|
|
345
|
- proxy.$modal.msgSuccess("保单已退回");
|
508
|
+ getList();
|
|
|
|
509
|
+ proxy.$modal.msgSuccess("保单已作废");
|
|
346
|
});
|
510
|
});
|
|
347
|
};
|
511
|
};
|
|
348
|
// 分配承保公司
|
512
|
// 分配承保公司
|
|
@@ -355,6 +519,17 @@ const handleAuthCompany = (associationapprove, taskId) => { |
|
@@ -355,6 +519,17 @@ const handleAuthCompany = (associationapprove, taskId) => { |
|
355
|
getDeptList();
|
519
|
getDeptList();
|
|
356
|
};
|
520
|
};
|
|
357
|
|
521
|
|
|
|
|
522
|
+// 获取人员列表
|
|
|
|
523
|
+const getUser = async () => {
|
|
|
|
524
|
+ const { data } = await getUserList();
|
|
|
|
525
|
+ transferOptions.value = data;
|
|
|
|
526
|
+};
|
|
|
|
527
|
+// 转办或分配
|
|
|
|
528
|
+const handleSharing = (id) => {
|
|
|
|
529
|
+ transferForm.value.taskId = id;
|
|
|
|
530
|
+ getUser();
|
|
|
|
531
|
+ transferShow.value = true;
|
|
|
|
532
|
+};
|
|
358
|
/** 查询部门列表 */
|
533
|
/** 查询部门列表 */
|
|
359
|
const getDeptList = () => {
|
534
|
const getDeptList = () => {
|
|
360
|
loading.value = true;
|
535
|
loading.value = true;
|
|
@@ -382,6 +557,7 @@ function reset() { |
|
@@ -382,6 +557,7 @@ function reset() { |
|
382
|
function handleUpdate(row) {
|
557
|
function handleUpdate(row) {
|
|
383
|
reset();
|
558
|
reset();
|
|
384
|
form.value = row;
|
559
|
form.value = row;
|
|
|
|
560
|
+ form.value.comment = "";
|
|
385
|
open.value = true;
|
561
|
open.value = true;
|
|
386
|
}
|
562
|
}
|
|
387
|
/** 提交通过分配承保公司 */
|
563
|
/** 提交通过分配承保公司 */
|
|
@@ -392,13 +568,43 @@ function submitForm() { |
|
@@ -392,13 +568,43 @@ function submitForm() { |
|
392
|
};
|
568
|
};
|
|
393
|
const taskId = companyForm.value.taskId;
|
569
|
const taskId = companyForm.value.taskId;
|
|
394
|
disposeUser(data, taskId).then((res) => {
|
570
|
disposeUser(data, taskId).then((res) => {
|
|
395
|
- companyShow.value = true;
|
571
|
+ companyShow.value = false;
|
|
|
|
572
|
+ getList();
|
|
|
|
573
|
+ proxy.$modal.msgSuccess("保单已分配成功");
|
|
|
|
574
|
+ });
|
|
|
|
575
|
+}
|
|
|
|
576
|
+
|
|
|
|
577
|
+/** 提交通过分配转办人员 */
|
|
|
|
578
|
+function submitTransfer() {
|
|
|
|
579
|
+ const data = {
|
|
|
|
580
|
+ username: transferForm.value.username,
|
|
|
|
581
|
+ };
|
|
|
|
582
|
+ const taskId = transferForm.value.taskId;
|
|
|
|
583
|
+ transfer(data, taskId).then((res) => {
|
|
|
|
584
|
+ transferShow.value = false;
|
|
|
|
585
|
+ getList();
|
|
396
|
proxy.$modal.msgSuccess("保单已分配成功");
|
586
|
proxy.$modal.msgSuccess("保单已分配成功");
|
|
397
|
});
|
587
|
});
|
|
398
|
}
|
588
|
}
|
|
399
|
|
589
|
|
|
|
|
590
|
+// 提交承接回馈
|
|
|
|
591
|
+const submit = () => {
|
|
|
|
592
|
+ const data = {
|
|
|
|
593
|
+ policystatus: "2",
|
|
|
|
594
|
+ message: form.value.comment,
|
|
|
|
595
|
+ policynumber: form.value.policyNumber,
|
|
|
|
596
|
+ };
|
|
|
|
597
|
+ disposeUser(data, form.value.taskId).then((res) => {
|
|
|
|
598
|
+ getList();
|
|
|
|
599
|
+ proxy.$modal.msgSuccess("回馈成功");
|
|
|
|
600
|
+ });
|
|
|
|
601
|
+};
|
|
|
|
602
|
+
|
|
400
|
const getMsg = (val) => {
|
603
|
const getMsg = (val) => {
|
|
401
|
- deprecatedForm.value.deprecatedReason = val;
|
604
|
+ clearTimeout(timer.value);
|
|
|
|
605
|
+ timer.value = setTimeout(() => {
|
|
|
|
606
|
+ form.value.message = val;
|
|
|
|
607
|
+ }, 1000);
|
|
402
|
};
|
608
|
};
|
|
403
|
|
609
|
|
|
404
|
getList();
|
610
|
getList();
|