CRM:合同的 code review

(cherry picked from commit 956f19d9d0)
This commit is contained in:
YunaiV
2024-02-01 13:38:14 +08:00
committed by shizhong
parent 82fbaa16a3
commit ff84ef64a5
15 changed files with 75 additions and 28 deletions

View File

@ -339,10 +339,14 @@ const handleDelete = async (id: number) => {
await getList()
} catch {}
}
/** 导入按钮操作 */
// TODO @puhui999importFormRef 简化下
const customerImportFormRef = ref<InstanceType<typeof CustomerImportForm>>()
const handleImport = () => {
customerImportFormRef.value?.open()
}
/** 导出按钮操作 */
const handleExport = async () => {
try {