File tree Expand file tree Collapse file tree 3 files changed +14
-4
lines changed
src/views/bpm/processInstance Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -404,9 +404,9 @@ const getDetail = () => {
404
404
data .formVariables
405
405
)
406
406
nextTick ().then (() => {
407
- fApi .value ?.btn .show (false )
408
- fApi .value ?.resetBtn .show (false )
409
- fApi .value ?.btn .disabled (true )
407
+ fApi .value ?.fapi ?. btn .show (false )
408
+ fApi .value ?.fapi ?. resetBtn .show (false )
409
+ fApi .value ?.fapi ? .disabled (true )
410
410
})
411
411
}
412
412
Original file line number Diff line number Diff line change 12
12
@click =" handleCreate"
13
13
/>
14
14
</template >
15
+ <!-- 流程分类 -->
16
+ <template #category_default =" { row } " >
17
+ <DictTag :type =" DICT_TYPE.BPM_MODEL_CATEGORY" :value =" Number(row?.category)" />
18
+ </template >
15
19
<!-- 当前审批任务 -->
16
20
<template #tasks_default =" { row } " >
17
21
<el-button v-for =" task in row.tasks" :key =" task.id" link >
40
44
<script setup lang="ts">
41
45
// 全局相关的 import
42
46
import { ElMessageBox } from ' element-plus'
47
+ import { DICT_TYPE } from ' @/utils/dict'
43
48
44
49
// 业务相关的 import
45
50
import * as ProcessInstanceApi from ' @/api/bpm/processInstance'
Original file line number Diff line number Diff line change @@ -33,7 +33,12 @@ const crudSchemas = reactive<VxeCrudSchema>({
33
33
field : 'category' ,
34
34
dictType : DICT_TYPE . BPM_MODEL_CATEGORY ,
35
35
dictClass : 'number' ,
36
- isSearch : true
36
+ isSearch : true ,
37
+ table : {
38
+ slots : {
39
+ default : 'category_default'
40
+ }
41
+ }
37
42
} ,
38
43
{
39
44
title : '当前审批任务' ,
You can’t perform that action at this time.
0 commit comments