diff --git a/src/api/clue/index.ts b/src/api/clue/index.ts index 52d0e24..479012c 100644 --- a/src/api/clue/index.ts +++ b/src/api/clue/index.ts @@ -21,3 +21,6 @@ export const allocateCluing = (params: any) => defHttp.post({ url: '/dating-clue export const getClueInfo = (id: string) => defHttp.get({ url: '/dating-clue-service/user/get/dating-clue-detail', params: { id } }) +export const recordClueing = (params: any) => defHttp.post({ url: '/dating-clue-service/user/create/dating-clue-follow-record', params }) + +export const getClueRecord = (id: string) => defHttp.get({ url: '/dating-clue-service/user/list/dating-clue-follow-record', params: { id }}) diff --git a/src/enums/customerEnum.ts b/src/enums/customerEnum.ts index 690f408..33e9ce6 100644 --- a/src/enums/customerEnum.ts +++ b/src/enums/customerEnum.ts @@ -40,4 +40,21 @@ export const clueStatusList = [ { label: '跟进中', value: 2 }, { label: '无效线索', value: 3 }, { label: '有效线索', value: 4 }, +] + +export const followTypeList = [ + { label: '电话', value: 1 }, + { label: '微信', value: 2 }, +] + +export const followStageList = [ + { label: '有效线索', value: 101, color: 'green' }, + { label: '无效线索', value: 102, color: 'red' }, + { label: '进入公海', value: 103, color: 'red' }, + { label: '1呼', value: 201, color: 'green' }, + { label: '2呼', value: 202, color: 'gray' }, + { label: '3呼', value: 203, color: 'gray' }, + { label: '4呼', value: 204, color: 'gray' }, + { label: '5呼', value: 205, color: 'gray' }, + { label: '6呼', value: 206, color: 'gray' }, ] \ No newline at end of file diff --git a/src/layouts/default/header/index.vue b/src/layouts/default/header/index.vue index 86372ce..9324099 100644 --- a/src/layouts/default/header/index.vue +++ b/src/layouts/default/header/index.vue @@ -47,7 +47,7 @@ /> -->
{{orgName}} - +
diff --git a/src/views/clue/clueList/data.ts b/src/views/clue/clueList/data.ts index 5a2459e..a849ad6 100644 --- a/src/views/clue/clueList/data.ts +++ b/src/views/clue/clueList/data.ts @@ -15,12 +15,6 @@ import { getCarPurchaseSituation, } from '/@/api/essentialData' -const userTypeList = [ - { label: '正常用户', value: 1 }, - { label: '录入用户', value: 2}, - { label: '红娘', value: 3 }, -] - export const tableColumns: BasicColumn[] = [ { title: '用户信息', dataIndex: 'userinfo', slots: { customRender: 'userinfo' } }, { width: 80, title: '性别', dataIndex: 'genderCode', customRender: ({ text }) => { return genderList.find((find) => find.value === text)?.label} }, @@ -35,11 +29,11 @@ export const tableColumns: BasicColumn[] = [ return clueStatusList.find((find) => find.value === text)?.label }, }, - { width: 120, title: '创建人', dataIndex: 'creatorName' }, - { width: 120, title: '核验人', dataIndex: 'verifierName' }, - { width: 120, title: '跟进状态', dataIndex: 'userMarriageInformationType', + { width: 100, title: '创建人', dataIndex: 'creatorName' }, + { width: 100, title: '核验人', dataIndex: 'verifierName' }, + { width: 120, title: '跟进状态', dataIndex: 'followStatus', customRender: ({ text }) => { - return userTypeList.find((find) => find.value === text)?.label + return clueStatusList.find((find) => find.value === text)?.label }, }, { width: 160, title: '最后跟进时间', dataIndex: 'finalFollowTime' }, diff --git a/src/views/clue/clueList/index.vue b/src/views/clue/clueList/index.vue index 9f4de01..c135ebc 100644 --- a/src/views/clue/clueList/index.vue +++ b/src/views/clue/clueList/index.vue @@ -1,6 +1,30 @@