mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-19 21:35:06 +08:00
CRM-合同:完善 TODO
This commit is contained in:
@ -124,7 +124,7 @@ const openForm = () => {
|
||||
/** 客户转移 */
|
||||
const crmTransferFormRef = ref<InstanceType<typeof CrmTransferForm>>() // 客户转移表单 ref
|
||||
const transfer = () => {
|
||||
crmTransferFormRef.value?.open('客户转移', customerId.value, CustomerApi.transfer)
|
||||
crmTransferFormRef.value?.open('客户转移', customerId.value, CustomerApi.transferCustomer)
|
||||
}
|
||||
|
||||
/** 锁定客户 */
|
||||
|
@ -208,7 +208,7 @@
|
||||
|
||||
<!-- 表单弹窗:添加/修改 -->
|
||||
<CustomerForm ref="formRef" @success="getList" />
|
||||
<CustomerImportForm ref="customerImportFormRef" @success="getList" />
|
||||
<CustomerImportForm ref="importFormRef" @success="getList" />
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
@ -341,10 +341,9 @@ const handleDelete = async (id: number) => {
|
||||
}
|
||||
|
||||
/** 导入按钮操作 */
|
||||
// TODO @puhui999:importFormRef 简化下
|
||||
const customerImportFormRef = ref<InstanceType<typeof CustomerImportForm>>()
|
||||
const importFormRef = ref<InstanceType<typeof CustomerImportForm>>()
|
||||
const handleImport = () => {
|
||||
customerImportFormRef.value?.open()
|
||||
importFormRef.value?.open()
|
||||
}
|
||||
|
||||
/** 导出按钮操作 */
|
||||
|
Reference in New Issue
Block a user