From 7d677e3c8d06a402d3413c6d04c16f46ea153dd8 Mon Sep 17 00:00:00 2001 From: douzhuo <17611323298@163.com> Date: Fri, 6 Jan 2023 17:26:26 +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/modules/http.js | 23 +++- src/views/Customer/index.vue | 154 +++++++++++++++++++-------- src/views/Customer/table.js | 5 + src/views/ReceivingRecords/index.vue | 40 ++++++- src/views/ReceivingRecords/table.js | 6 ++ src/views/Template/Pinspeakwords.vue | 19 ++++ src/views/Template/table.js | 13 ++- vue.config.js | 5 +- 8 files changed, 215 insertions(+), 50 deletions(-) diff --git a/src/api/modules/http.js b/src/api/modules/http.js index 56cc2ff..b457a65 100644 --- a/src/api/modules/http.js +++ b/src/api/modules/http.js @@ -911,4 +911,25 @@ export function updateRead(params) { method: 'get', params }) -} \ No newline at end of file +} + + +// 获取销讲业务模板 +export function marketingBusiness(params) { + return request({ + url: 'autoSR/api/customer/marketingBusiness', + method: 'get', + params + }) +} + + +// 检测销讲模板名称是否重复 +export function findByRepetitionName(params) { + return request({ + url: 'autoSR/template/findByRepetitionName', + method: 'get', + params + }) +} + diff --git a/src/views/Customer/index.vue b/src/views/Customer/index.vue index 74ff414..8f93966 100644 --- a/src/views/Customer/index.vue +++ b/src/views/Customer/index.vue @@ -22,13 +22,13 @@