fix: 【BPM 工作流】修复流程表单操作列宽,消除控制台警告
parent
7762059537
commit
e3948bbc50
|
@ -105,7 +105,7 @@ export function useGridColumns<T = BpmFormApi.FormVO>(
|
||||||
{
|
{
|
||||||
field: 'operation',
|
field: 'operation',
|
||||||
title: '操作',
|
title: '操作',
|
||||||
minWidth: 150,
|
minWidth: 200,
|
||||||
align: 'center',
|
align: 'center',
|
||||||
fixed: 'right',
|
fixed: 'right',
|
||||||
cellRender: {
|
cellRender: {
|
||||||
|
|
|
@ -17,7 +17,7 @@ defineOptions({ name: 'BpmFormEditor' });
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
copyId?: number | string;
|
copyId?: number | string;
|
||||||
id?: number;
|
id?: number | string;
|
||||||
type: 'copy' | 'create' | 'edit';
|
type: 'copy' | 'create' | 'edit';
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
|
|
|
@ -105,7 +105,9 @@ function onCancel(row: BpmProcessInstanceApi.ProcessInstanceVO) {
|
||||||
content: '请输入取消原因',
|
content: '请输入取消原因',
|
||||||
title: '取消流程',
|
title: '取消流程',
|
||||||
modelPropName: 'value',
|
modelPropName: 'value',
|
||||||
});
|
})
|
||||||
|
.then(() => {})
|
||||||
|
.catch(() => {});
|
||||||
}
|
}
|
||||||
|
|
||||||
/** 查看流程实例 */
|
/** 查看流程实例 */
|
||||||
|
@ -129,7 +131,6 @@ function onRefresh() {
|
||||||
<DocAlert title="工作流手册" url="https://doc.iocoder.cn/bpm" />
|
<DocAlert title="工作流手册" url="https://doc.iocoder.cn/bpm" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<FormModal @success="onRefresh" />
|
|
||||||
<Grid table-title="流程实例" />
|
<Grid table-title="流程实例" />
|
||||||
</Page>
|
</Page>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue