154
154
:rows =" 3"
155
155
/>
156
156
</el-form-item >
157
-
158
157
<el-form-item >
159
158
<el-button :disabled =" formLoading" type =" primary" @click =" handleCopy" >
160
159
{{ getButtonDisplayName(OperationButtonType.COPY) }}
207
206
:rows =" 3"
208
207
/>
209
208
</el-form-item >
210
-
211
209
<el-form-item >
212
210
<el-button :disabled =" formLoading" type =" primary" @click =" handleTransfer()" >
213
211
{{ getButtonDisplayName(OperationButtonType.TRANSFER) }}
232
230
{{ getButtonDisplayName(OperationButtonType.DELEGATE) }}
233
231
</div >
234
232
</template >
235
-
236
233
<div class =" flex flex-col flex-1 pt-20px px-20px" v-loading =" formLoading" >
237
234
<el-form
238
235
label-position =" top"
252
249
/>
253
250
</el-select >
254
251
</el-form-item >
255
-
256
252
<el-form-item label =" 审批意见" prop =" reason" >
257
253
<el-input
258
254
v-model =" genericForm.reason"
262
258
:rows =" 3"
263
259
/>
264
260
</el-form-item >
265
-
266
261
<el-form-item >
267
262
<el-button :disabled =" formLoading" type =" primary" @click =" handleDelegate()" >
268
263
{{ getButtonDisplayName(OperationButtonType.DELEGATE) }}
287
282
{{ getButtonDisplayName(OperationButtonType.ADD_SIGN) }}
288
283
</div >
289
284
</template >
290
-
291
285
<div class =" flex flex-col flex-1 pt-20px px-20px" v-loading =" formLoading" >
292
286
<el-form
293
287
label-position =" top"
307
301
/>
308
302
</el-select >
309
303
</el-form-item >
310
-
311
304
<el-form-item label =" 审批意见" prop =" reason" >
312
305
<el-input
313
306
v-model =" genericForm.reason"
343
336
<Icon :size =" 14" icon =" ep:semi-select" />  ; 减签
344
337
</div >
345
338
</template >
346
-
347
339
<div class =" flex flex-col flex-1 pt-20px px-20px" v-loading =" formLoading" >
348
340
<el-form
349
341
label-position =" top"
363
355
/>
364
356
</el-select >
365
357
</el-form-item >
366
-
367
358
<el-form-item label =" 审批意见" prop =" reason" >
368
359
<el-input
369
360
v-model =" genericForm.reason"
490
481
>
491
482
<Icon :size =" 14" icon =" ep:refresh" />  ; 再次提交
492
483
</div >
493
-
494
484
</div >
495
485
</template >
496
486
<script lang="ts" setup>
@@ -787,10 +777,10 @@ const handleReCreate = async () => {
787
777
}
788
778
789
779
/** 获取减签人员标签 */
790
- const getDeleteSignUserLabel = (task : any ) : string => {
780
+ const getDeleteSignUserLabel = (task : any ): string => {
791
781
const deptName = task ?.assigneeUser ?.deptName || task ?.ownerUser ?.deptName
792
782
const nickname = task ?.assigneeUser ?.nickname || task ?.ownerUser ?.nickname
793
- return ` ${nickname } ( 所属部门:${deptName } ) ` ;
783
+ return ` ${nickname } ( 所属部门:${deptName } ) `
794
784
}
795
785
/** 处理减签 */
796
786
const handlerDeleteSign = async () => {
@@ -805,7 +795,7 @@ const handlerDeleteSign = async () => {
805
795
// 1.2 提交减签
806
796
const data = {
807
797
id: genericForm .value .deleteSignTaskId ,
808
- reason: genericForm .value .reason ,
798
+ reason: genericForm .value .reason
809
799
}
810
800
await TaskApi .signDeleteTask (data )
811
801
message .success (' 减签成功' )
0 commit comments