From d22a380612ba2223360e5f9dac05f0b38d776d23 Mon Sep 17 00:00:00 2001 From: qsh <> Date: Thu, 13 Jun 2024 17:31:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/clue/skill.js | 26 +++ src/views/Clue/Pool/Comp/DialogFollow.vue | 228 +++------------------- src/views/Clue/Pool/Comp/DrawerClue.vue | 8 +- 3 files changed, 60 insertions(+), 202 deletions(-) create mode 100644 src/api/clue/skill.js diff --git a/src/api/clue/skill.js b/src/api/clue/skill.js new file mode 100644 index 0000000..c970757 --- /dev/null +++ b/src/api/clue/skill.js @@ -0,0 +1,26 @@ +import request from '@/config/axios' + +// 获得列表 +export const getSkillPage = (params) => { + return request.get({ url: '/admin-api/crm/skill/page', params }) +} + +// 创建 +export const createSkill = (data) => { + return request.post({ url: '/admin-api/crm/skill/create', data }) +} + +// 更新 +export const updateSkill = (data) => { + return request.put({ url: '/admin-api/crm/skill/update', data }) +} + +// 删除 +export const deleteSkill = (id) => { + return request.delete({ url: `/admin-api/crm/skill/delete?id=${id}` }) +} + +// 获得 +export const getSkill = (id) => { + return request.get({ url: `/admin-api/crm/skill/get?id=${id}` }) +} diff --git a/src/views/Clue/Pool/Comp/DialogFollow.vue b/src/views/Clue/Pool/Comp/DialogFollow.vue index 1648d4e..3b93047 100644 --- a/src/views/Clue/Pool/Comp/DialogFollow.vue +++ b/src/views/Clue/Pool/Comp/DialogFollow.vue @@ -43,14 +43,14 @@