详情动态表单按钮不显示,我的流程流程分类显示问题
This commit is contained in:
parent
6b25601936
commit
269aabd6df
@ -404,9 +404,9 @@ const getDetail = () => {
|
|||||||
data.formVariables
|
data.formVariables
|
||||||
)
|
)
|
||||||
nextTick().then(() => {
|
nextTick().then(() => {
|
||||||
fApi.value?.btn.show(false)
|
fApi.value?.fapi?.btn.show(false)
|
||||||
fApi.value?.resetBtn.show(false)
|
fApi.value?.fapi?.resetBtn.show(false)
|
||||||
fApi.value?.btn.disabled(true)
|
fApi.value?.fapi?.disabled(true)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -12,6 +12,10 @@
|
|||||||
@click="handleCreate"
|
@click="handleCreate"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
<!-- 流程分类 -->
|
||||||
|
<template #category_default="{ row }">
|
||||||
|
<DictTag :type="DICT_TYPE.BPM_MODEL_CATEGORY" :value="Number(row?.category)" />
|
||||||
|
</template>
|
||||||
<!-- 当前审批任务 -->
|
<!-- 当前审批任务 -->
|
||||||
<template #tasks_default="{ row }">
|
<template #tasks_default="{ row }">
|
||||||
<el-button v-for="task in row.tasks" :key="task.id" link>
|
<el-button v-for="task in row.tasks" :key="task.id" link>
|
||||||
@ -40,6 +44,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
// 全局相关的 import
|
// 全局相关的 import
|
||||||
import { ElMessageBox } from 'element-plus'
|
import { ElMessageBox } from 'element-plus'
|
||||||
|
import { DICT_TYPE } from '@/utils/dict'
|
||||||
|
|
||||||
// 业务相关的 import
|
// 业务相关的 import
|
||||||
import * as ProcessInstanceApi from '@/api/bpm/processInstance'
|
import * as ProcessInstanceApi from '@/api/bpm/processInstance'
|
||||||
|
@ -33,7 +33,12 @@ const crudSchemas = reactive<VxeCrudSchema>({
|
|||||||
field: 'category',
|
field: 'category',
|
||||||
dictType: DICT_TYPE.BPM_MODEL_CATEGORY,
|
dictType: DICT_TYPE.BPM_MODEL_CATEGORY,
|
||||||
dictClass: 'number',
|
dictClass: 'number',
|
||||||
isSearch: true
|
isSearch: true,
|
||||||
|
table: {
|
||||||
|
slots: {
|
||||||
|
default: 'category_default'
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '当前审批任务',
|
title: '当前审批任务',
|
||||||
|
Loading…
Reference in New Issue
Block a user