Browse Source

提交客户管家代码

Lijy 1 year ago
parent
commit
b988572b08

+ 1 - 10
fhKeeper/formulahousekeeper/customerBuler-crm/src/pages/customer/index.vue

@@ -439,7 +439,7 @@ function getCustomerTable() {
 }
 
 async function getSystemField() {
-  const systemField = getAllListByCode(['客户行业', '客户级别'])
+  const systemField = getAllListByCode(['线索来源', '客户行业', '客户级别'])
   for (let i in systemField) {
     const { data } = await get(`${GETSYSFILED}?code=${systemField[i]}`)
     for (let key of Object.keys(fixedData)) {
@@ -459,15 +459,6 @@ async function getSystemField() {
 
   const res = await get(URL_TEMPLALE)
   customerTemplate.value = JSON.parse(res.data[0].config)
-
-  const datas = await get(GETALLCLUE)
-  fixedData.ClueSources = datas.data.map((item: any) => {
-    const { id, clueName } = item
-    return {
-      id,
-      name: clueName
-    }
-  })
 }
 
 function showVisible(type: keyof typeof allVisible) {