📖 CRM:跟进记录的 code review

This commit is contained in:
YunaiV
2024-01-15 21:30:25 +08:00
parent 163613e90c
commit 9fa769b16a
15 changed files with 40 additions and 44 deletions

View File

@ -1,3 +1,4 @@
<!-- 跟进记录的添加表单弹窗 -->
<template>
<Dialog v-model="dialogVisible" :title="dialogTitle" width="50%">
<el-form
@ -30,11 +31,13 @@
/>
</el-form-item>
</el-col>
<!-- TODO @puhui999不搞富文本哈然后加个附件图片两个 form-item -->
<el-col :span="24">
<el-form-item label="跟进内容" prop="content">
<Editor v-model="formData.content" height="300px" />
</el-form-item>
</el-col>
<!-- TODO @puhui999因为不考虑编辑的情况是不是关联要是个弹窗选择哈 -->
<el-col :span="24">
<el-form-item label="关联联系人" prop="contactIds">
<el-select v-model="formData.contactIds" multiple placeholder="请选择">
@ -90,7 +93,6 @@ import { BusinessList, ContactList } from './components'
import * as ContactApi from '@/api/crm/contact'
import * as BusinessApi from '@/api/crm/business'
/** 跟进记录 表单 */
defineOptions({ name: 'FollowUpRecordForm' })
const { t } = useI18n() // 国际化