From b8cee4fbc8459af2eb30f382ff387fb1079a7ef5 Mon Sep 17 00:00:00 2001 From: xpz2018 <107107461@qq.com> Date: Thu, 5 Jun 2025 10:07:53 +0800 Subject: [PATCH] no message --- .env | 2 +- src/api/clue/index.ts | 21 +- src/api/essentialData/index.ts | 94 +++++ src/api/essentialData/model.ts | 4 + src/components/Cropper/src/CropperAvatar.vue | 20 +- src/layouts/default/header/index.vue | 26 +- src/utils/http/axios/index.ts | 1 + src/views/clue/clueList/data.ts | 363 ++++++++++++++++++- src/views/clue/clueList/index.vue | 78 +++- src/views/clue/clueList/modal.vue | 76 ++++ src/views/clue/cluePool/index.vue | 11 +- src/views/clue/customer/data.ts | 350 +++++++++++++++++- src/views/clue/customer/index.vue | 218 ++++++++--- 13 files changed, 1151 insertions(+), 113 deletions(-) create mode 100644 src/api/essentialData/index.ts create mode 100644 src/api/essentialData/model.ts create mode 100644 src/views/clue/clueList/modal.vue diff --git a/.env b/.env index 6a7ecbd..d34e71c 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ # port -VITE_PORT = 3100 +VITE_PORT = 3200 # spa-title VITE_GLOB_APP_TITLE = 招亲宝管理后台 diff --git a/src/api/clue/index.ts b/src/api/clue/index.ts index 8fcbf79..ec6da9f 100644 --- a/src/api/clue/index.ts +++ b/src/api/clue/index.ts @@ -1,20 +1,17 @@ import { defHttp } from '/@/utils/http/axios' import { PageResultModel } from '/@/api/model/baseModel' -export const getChatMessagePage = (params: any) => +export const getCluePage = (params: any) => defHttp.get>({ - url: '/dating-agency-cim/user/page/room-content-abstract/by/operator', + url: '/dating-clue-service/user/page/dating-clue-pool', params, }) -export const getChatMessageRoomList = (params: any) => - defHttp.get>({ - url: '/dating-agency-cim/user/page/room', - params, -}) +export const createClueRecord = (params: any) => defHttp.post({ url: '/dating-clue-service/user/create/dating-clue', params }) + +export const editClueRecord = (params: any) => defHttp.post({ url: '/dating-clue-service/user/edit/dating-clue', params }) + +export const allocateCluing = (params: any) => defHttp.post({ url: '/dating-clue-service/user/batch-allocate/dating-clue', params }) + +export const getClueInfo = (id: string) => defHttp.get({ url: '/dating-clue-service/user/get/dating-clue-detail', params: { id } }) -export const getChatRoomMessageList = (params: any) => - defHttp.get>({ - url: '/dating-agency-cim/user/page/room-content-record/by/operator', - params, -}) diff --git a/src/api/essentialData/index.ts b/src/api/essentialData/index.ts new file mode 100644 index 0000000..431608f --- /dev/null +++ b/src/api/essentialData/index.ts @@ -0,0 +1,94 @@ +import { defHttp } from '/@/utils/http/axios' +import { EssentialDataModel } from '/@/api/essentialData/model' + +enum Api { + GetIncomeList = '/dating-agency-service/user/get/income/list', + GetNationList = '/dating-agency-service/user/get/nation/list', + GetAccountType = '/dating-agency-service/user/get/account/type', + GetEducationList = '/dating-agency-service/user/get/education/list', + GetOccupationList = '/dating-agency-service/user/get/occupation/list', + GetBodilyFormList = '/dating-agency-service/user/get/bodily/form/list', + GetFamilyTiesList = '/dating-agency-service/user/get/family/ties/list', + GetPropertyPermits = '/dating-agency-service/user/get/property/permits', + GetNationalityList = '/dating-agency-service/user/get/nationality/list', + GetIdentityTypeList = '/dating-agency-service/user/get/identity/type/list', + GetConstellationList = '/dating-agency-service/user/get/constellation/list', + GetMaritalStatusList = '/dating-agency-service/user/get/marital/status/list', + GetCarPurchaseSituation = '/dating-agency-service/user/get/car/purchase/situation', +} + +/** + * 获取学历列表数据 + */ +export const getEducationList = () => + defHttp.get({ url: Api.GetEducationList }) + +/** + * 获取户口类型列表数据 + */ +export const getAccountTypeList = () => + defHttp.get({ url: Api.GetAccountType }) + +/** + * 获取婚姻状态列表数据 + */ +export const getMaritalStatusList = () => + defHttp.get({ url: Api.GetMaritalStatusList }) + +/** + * 获取星座列表数据 + */ +export const getConstellationList = () => + defHttp.get({ url: Api.GetConstellationList }) + +/** + * 获取体型列表数据 + */ +export const getBodilyFormList = () => + defHttp.get({ url: Api.GetBodilyFormList }) + +/** + * 获取购车情况列表数据 + */ +export const getCarPurchaseSituation = () => + defHttp.get({ url: Api.GetCarPurchaseSituation }) + +/** + * 获取家庭关系列表数据 + */ +export const getFamilyTiesList = () => + defHttp.get({ url: Api.GetFamilyTiesList }) + +/** + * 获取收入列表表数据 + */ +export const getIncomeList = () => defHttp.get({ url: Api.GetIncomeList }) + +/** + * 获取民族列表数据 + */ +export const getNationList = () => defHttp.get({ url: Api.GetNationList }) + +/** + * 获取国籍数据 + */ +export const getNationalityList = () => + defHttp.get({ url: Api.GetNationalityList }) + +/** + * 获取身份类型列表数据 + */ +export const getIdentityTypeList = () => + defHttp.get({ url: Api.GetIdentityTypeList }) + +/** + * 获取职业列表数据 + */ +export const getOccupationList = () => + defHttp.get({ url: Api.GetOccupationList }) + +/** + * 获取房产情况列表数据 + */ +export const getPropertyPermits = () => + defHttp.get({ url: Api.GetPropertyPermits }) diff --git a/src/api/essentialData/model.ts b/src/api/essentialData/model.ts new file mode 100644 index 0000000..c6c11fd --- /dev/null +++ b/src/api/essentialData/model.ts @@ -0,0 +1,4 @@ +export interface EssentialDataModel { + desc: string + value: number +} diff --git a/src/components/Cropper/src/CropperAvatar.vue b/src/components/Cropper/src/CropperAvatar.vue index a2b2121..abb7325 100644 --- a/src/components/Cropper/src/CropperAvatar.vue +++ b/src/components/Cropper/src/CropperAvatar.vue @@ -1,16 +1,12 @@