diff --git a/src/enums/customerEnum.ts b/src/enums/customerEnum.ts index 7e771cb..31ac045 100644 --- a/src/enums/customerEnum.ts +++ b/src/enums/customerEnum.ts @@ -18,6 +18,10 @@ export const channelList = [ { label: '线上录入', value: 1 }, { label: '抖音', value: 2 }, { label: '小红书', value: 3 }, + { label: 'soul', value: 4 }, + { label: '陌陌', value: 5 }, + { label: '探探', value: 6 }, + { label: '其他', value: 100 }, ] export const educationList = [ diff --git a/src/locales/lang/zh-CN/routes/clue.ts b/src/locales/lang/zh-CN/routes/clue.ts index 2ea87ad..ffccd99 100644 --- a/src/locales/lang/zh-CN/routes/clue.ts +++ b/src/locales/lang/zh-CN/routes/clue.ts @@ -2,7 +2,7 @@ export default { clue: '线索管理', cluePool: '待分配线索', clueList: '已分配线索', - customer: '客户信息', + customer: '线索详情', poolist: '我的线索', followlist: '跟进记录' } diff --git a/src/views/clue/components/data.ts b/src/views/clue/components/data.ts index e608dfd..6ca1938 100644 --- a/src/views/clue/components/data.ts +++ b/src/views/clue/components/data.ts @@ -60,6 +60,16 @@ export const modalFormSchema: FormSchema[] = [ } }, }, + { + field: 'channelType', + label: '渠道来源', + defaultValue: 1, + colProps: { span: 8 }, + component: 'Select', + componentProps: { + options: channelList, + }, + }, { field: 'birthYear', label: '出生年份', @@ -171,21 +181,21 @@ export const modalFormSchema: FormSchema[] = [ }, }, }, - { - field: 'domicilePlace', - label: '户口所在地', - colProps: { span: 8 }, - component: 'Cascader', - componentProps: () => { - return { - options: domicilePlaceList.value, - onChange: (_: any, v: any) => { - basicInfoData.value.domicilePlaceProvinceName = v?.[0]?.label - basicInfoData.value.domicilePlaceCityName = v?.[1]?.label - }, - } - }, - }, + // { + // field: 'domicilePlace', + // label: '户口所在地', + // colProps: { span: 8 }, + // component: 'Cascader', + // componentProps: () => { + // return { + // options: domicilePlaceList.value, + // onChange: (_: any, v: any) => { + // basicInfoData.value.domicilePlaceProvinceName = v?.[0]?.label + // basicInfoData.value.domicilePlaceCityName = v?.[1]?.label + // }, + // } + // }, + // }, { field: 'hometown', label: '家乡', diff --git a/src/views/clue/components/modal.vue b/src/views/clue/components/modal.vue index b15665c..42f1a47 100644 --- a/src/views/clue/components/modal.vue +++ b/src/views/clue/components/modal.vue @@ -134,7 +134,7 @@ basicInfoData.value = {} activeKey2.value = '1' await resetFields() - await resetFields3() + // await resetFields3() } setModalProps({ minHeight: 50, confirmLoading: false, title }) }) @@ -220,7 +220,7 @@ const param = { ...values, - channelType: 1, + // channelType: 1, datingClueDemand, cityCode: address?.[1], cityName: basicInfoData.value.cityName,