feat: CRM 客户限制

This commit is contained in:
Wanwan 2023-11-12 14:34:25 +08:00
parent a7f86dfd8b
commit 702f23e672
2 changed files with 5 additions and 3 deletions

View File

@ -84,6 +84,8 @@ import CustomerLimitConfigForm from '@/views/crm/customerLimitConfig/CustomerLim
import { LimitConfType } from '@/views/crm/customerLimitConfig/customerLimitConf'
import { DICT_TYPE } from '@/utils/dict'
defineOptions({ name: 'CustomerLimitConfDetails' })
const message = useMessage() //
const { t } = useI18n() //

View File

@ -3,17 +3,17 @@
<ContentWrap>
<el-tabs tab-position="left">
<el-tab-pane label="拥有客户数限制">
<CustomerQuantityLimit :confType="LimitConfType.CUSTOMER_QUANTITY_LIMIT" />
<CustomerLimitConfDetails :confType="LimitConfType.CUSTOMER_QUANTITY_LIMIT" />
</el-tab-pane>
<el-tab-pane label="锁定客户数限制">
<CustomerQuantityLimit :confType="LimitConfType.CUSTOMER_LOCK_LIMIT" />
<CustomerLimitConfDetails :confType="LimitConfType.CUSTOMER_LOCK_LIMIT" />
</el-tab-pane>
</el-tabs>
</ContentWrap>
</template>
<script setup lang="ts">
import CustomerQuantityLimit from '@/views/crm/customerLimitConfig/CustomerQuantityLimit.vue'
import CustomerLimitConfDetails from '@/views/crm/customerLimitConfig/CustomerLimitConfDetails.vue'
import { LimitConfType } from '@/views/crm/customerLimitConfig/customerLimitConf'
defineOptions({ name: 'CrmCustomerLimitConfig' })