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