crm:code review 客户配置管理

This commit is contained in:
YunaiV
2023-11-18 22:11:42 +08:00
parent c06223decd
commit 526172af60
6 changed files with 21 additions and 24 deletions

View File

@@ -144,4 +144,3 @@ onMounted(() => {
getList()
})
</script>
<style scoped lang="scss"></style>

View File

@@ -83,6 +83,7 @@ const formRules = reactive({
maxCount: [{ required: true, message: '数量上限不能为空', trigger: 'blur' }]
})
const formRef = ref() // 表单 Ref
// TODO @芋艿:看看怎么搞个部门选择组件
const deptTree = ref() // 部门树形结构
const userTree = ref() // 用户树形结构
@@ -179,6 +180,7 @@ const getUserTree = async () => {
handleUserData(userTree.value, deptUserMap)
}
// TODO @芋艿:看看怎么搞个用户选择的组件
/**
* 处理用户树
*

View File

@@ -1,3 +1,4 @@
// TODO 可以挪到它对应的 api.ts 文件里哈
/**
* 客户限制配置类型
*/

View File

@@ -1,8 +1,9 @@
<template>
<!-- 列表 -->
<ContentWrap>
<el-tabs tab-position="left">
<el-tabs>
<el-tab-pane label="拥有客户数限制">
<!-- TODO @wanwanCustomerLimitConfigList因为它是列表哈 -->
<CustomerLimitConfDetails :confType="LimitConfType.CUSTOMER_QUANTITY_LIMIT" />
</el-tab-pane>
<el-tab-pane label="锁定客户数限制">
@@ -11,7 +12,6 @@
</el-tabs>
</ContentWrap>
</template>
<script setup lang="ts">
import CustomerLimitConfDetails from '@/views/crm/customerLimitConfig/CustomerLimitConfDetails.vue'
import { LimitConfType } from '@/views/crm/customerLimitConfig/customerLimitConf'