按钮样式调整

This commit is contained in:
‘huanghaiixia’
2025-12-15 14:10:53 +08:00
parent 231dc1d936
commit e5a9545c55
18 changed files with 51 additions and 33 deletions

View File

@ -115,7 +115,7 @@
const visibleFlowRecordModal = ref(false);
const [registerModal, { openModal }] = useModal();
const formName='客户';
const [registerTable, { reload, }] = useTable({
const [registerTable, { reload, clearSelectedRowKeys }] = useTable({
title: '' || (formName + '列表'),
api: getLngCustomerPage,
rowKey: 'id',
@ -132,6 +132,7 @@
return { ...params, FormId: formIdComputedRef.value, PK: 'id' };
},
afterFetch: (res) => {
clearSelectedRowKeys()
tableRef.value.setToolBarWidth();
},
@ -162,7 +163,7 @@
if (!actionButtonConfig?.value.some(element => element.code == 'view')) {
return;
}
const { processId, taskIds, schemaId } = record.workflowData || {};
const { processId, taskIds, schemaId, status } = record.workflowData || {};
if (taskIds && taskIds.length) {
router.push({
path: '/flow/' + schemaId + '/' + (processId || '') + '/approveFlow',
@ -181,7 +182,8 @@
taskId: '',
formName: formName,
formId:currentRoute.value.meta.formId,
id: record.id
id: record.id,
status
}
});
} else {