diff --git a/src/api/clue/followRecord.js b/src/api/clue/followRecord.js new file mode 100644 index 0000000..81fb223 --- /dev/null +++ b/src/api/clue/followRecord.js @@ -0,0 +1,16 @@ +import request from '@/config/axios' + +// 查询(精简)列表 +export const getFollowList = async (params) => { + return await request.get({ url: '/admin-api/crm/clue-follow-record/list', params }) +} + +// 新增 +export const createFollow = async (data) => { + return await request.post({ url: '/admin-api/crm/clue-follow-record/create', data: data }) +} + +// 删除 +export const deleteFollow = async (id) => { + return await request.delete({ url: '/admin-api/crm/clue-follow-record/delete?id=' + id }) +} diff --git a/src/api/clue/index.js b/src/api/clue/index.js index c142494..f278e9e 100644 --- a/src/api/clue/index.js +++ b/src/api/clue/index.js @@ -34,3 +34,7 @@ export const deleteClue = async (id) => { export const getClueCount = async () => { return await request.get({ url: '/admin-api/crm/sch-clue/get-clue-num' }) } + +export const getOpearateRecord = async (params) => { + return await request.get({ url: '/admin-api/crm/clue-operate-record/list', params }) +} diff --git a/src/components/Dialog/src/Dialog.vue b/src/components/Dialog/src/Dialog.vue index 59a9ce1..34b7a32 100644 --- a/src/components/Dialog/src/Dialog.vue +++ b/src/components/Dialog/src/Dialog.vue @@ -55,6 +55,8 @@ const dialogStyle = computed(() => { height: unref(dialogHeight) } }) + +const emit = defineEmits(['close'])