按钮样式调整
This commit is contained in:
@ -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 {
|
||||
|
||||
@ -91,7 +91,7 @@
|
||||
schemaIdComputedRef.value = currentRoute.value.meta.schemaId
|
||||
const [registerModal, { openModal }] = useModal();
|
||||
const formName='评价体系';
|
||||
const [registerTable, { reload, }] = useTable({
|
||||
const [registerTable, { reload, clearSelectedRowKeys }] = useTable({
|
||||
title: '' || (formName + '列表'),
|
||||
api: getLngGradeSystemPage,
|
||||
rowKey: 'id',
|
||||
@ -108,6 +108,7 @@
|
||||
return { ...params, FormId: formIdComputedRef.value, PK: 'id' };
|
||||
},
|
||||
afterFetch: (res) => {
|
||||
clearSelectedRowKeys()
|
||||
tableRef.value.setToolBarWidth();
|
||||
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user