diff --git a/src/pages/business/CRM/customer/customerAdd.vue b/src/pages/business/CRM/customer/customerAdd.vue
index 89bbb02..c392bb0 100644
--- a/src/pages/business/CRM/customer/customerAdd.vue
+++ b/src/pages/business/CRM/customer/customerAdd.vue
@@ -29,7 +29,7 @@
- {{ customerUser.cusName || '查询客户人员' }}
+ {{ customerUser.cusName || '查询客户名称' }}
@@ -485,7 +485,8 @@ let handleUserTypeChange = (e) => {
// 选择日期
function handleTenureTimeChange(e) {
- // console.log(e)
+ let {value} = e.detail;
+ formData.value.tenureTime = value;
}
// 需求层次索引
@@ -508,7 +509,8 @@ let handleDevelopChange = e => {
// 选择生日
function handleBirthdayChange(e) {
- // console.log(e)
+ let{value} = e.detail
+ formData.value.birthday = value;
}
// 爱好标签索引
diff --git a/src/pages/business/CRM/customer/customerUserBelong.vue b/src/pages/business/CRM/customer/customerUserBelong.vue
new file mode 100644
index 0000000..71450fb
--- /dev/null
+++ b/src/pages/business/CRM/customer/customerUserBelong.vue
@@ -0,0 +1,317 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.cusName }}
+ {{ item.nodeCode }}
+
+
+ 客户人员名称
+ {{ item.userName }}
+
+
+
+
+ 客户等级
+ {{ item.cusEstate }}
+
+
+
+
+ 职能
+ {{ item.function }}
+
+
+
+
+ 创建时间
+ {{ item.createTime }}
+
+
+
+
+ 业务员认定等级
+ {{ item.salesmanThinkLevel }}
+
+
+
+
+ 系统认定等级
+ {{ item.systemThinkLevel }}
+
+
+
+
+ 驳回原因
+ {{ item.opinion }}
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/business/CRM/customer/dataMap.js b/src/pages/business/CRM/customer/dataMap.js
index a8c1673..1084005 100644
--- a/src/pages/business/CRM/customer/dataMap.js
+++ b/src/pages/business/CRM/customer/dataMap.js
@@ -113,4 +113,14 @@ export const workingStatusList = [
{id: 1, name: '正常上班'},
{id: 2, name: '离职'},
{id: 3, name: '退休'}
-]
\ No newline at end of file
+]
+/**
+ * 人员所属审核状态字典
+ */
+export const statusColorMap = {
+ '提交': 'tijiao-deal',
+ '驳回': 'chaoqi-deal',
+ '超期': 'chaoqi-deal',
+ '完成': 'wancheng-deal',
+ '待审核': 'daishenhe-un-deal'
+}
\ No newline at end of file
diff --git a/src/pages/business/CRM/customer/selectCustomer.vue b/src/pages/business/CRM/customer/selectCustomer.vue
index 591053b..4bc1e46 100644
--- a/src/pages/business/CRM/customer/selectCustomer.vue
+++ b/src/pages/business/CRM/customer/selectCustomer.vue
@@ -2,7 +2,7 @@
-
+
@@ -117,7 +117,7 @@ let timerId = null;
// 搜索
watch(searchValue, (newValue, oldValue) => {
// console.log(`新值: ${newValue}, 旧值: ${oldValue}`);
- if(!timerId) clearTimeout(timerId);
+ if(timerId) clearTimeout(timerId);
cssFlag.value = true;
timerId = setTimeout(async ()=>{
handleSearch();
@@ -135,6 +135,7 @@ const downCallback = async (mescroll) => {
// 正确结束下拉刷新状态
mescroll.endSuccess(res.list.length, res.total >= upOption.value.page.size);
} catch (error) {
+ console.log(error)
// 发生错误时结束下拉刷新
mescroll.endErr();
}
@@ -152,6 +153,7 @@ const upCallback = async (mescroll) => {
// 正确结束上拉加载状态
mescroll.endSuccess(res.list.length, res.list.length >= mescroll.size);
} catch (error) {
+ console.log(error)
// 发生错误时结束上拉加载
mescroll.endErr();
}