From b3c5e3377f8e03e38f30cc3e37e7539a75d346af Mon Sep 17 00:00:00 2001
From: wangxiaohua <1214073490@qq.com>
Date: Tue, 12 Oct 2021 18:58:54 +0800
Subject: [PATCH] init
---
src/api/modules/http.js | 28 ++
src/router/views/index.js | 7 +-
src/views/Customer/index.vue | 43 +--
src/views/Template/Pinspeakwords.vue | 46 ++-
src/views/Template/PinspeakwordsList.vue | 338 +++++++++++++++++++++++
5 files changed, 408 insertions(+), 54 deletions(-)
create mode 100644 src/views/Template/PinspeakwordsList.vue
diff --git a/src/api/modules/http.js b/src/api/modules/http.js
index 851c200..2941dbc 100644
--- a/src/api/modules/http.js
+++ b/src/api/modules/http.js
@@ -221,3 +221,31 @@ export function findKeywords(query) {
})
}
+//获取销讲词话术列表
+export function templatefindByPage(query) {
+ return request({
+ url: 'autoSR/template/findByPage',
+ method:'get',
+ params:query
+ })
+}
+
+
+//停,启销讲词模板
+export function templatestartOrStop(query) {
+ return request({
+ url: 'autoSR/template/startOrStop',
+ method:'get',
+ params:query
+ })
+}
+
+//删除讲词模板
+export function templatedel(query) {
+ return request({
+ url: '/autoSR/template/del',
+ method:'get',
+ params:query
+ })
+}
+
diff --git a/src/router/views/index.js b/src/router/views/index.js
index 6d9e97e..aa2b89a 100644
--- a/src/router/views/index.js
+++ b/src/router/views/index.js
@@ -16,7 +16,12 @@ export default [{
import(/* webpackChunkName: "page" */ '@/views/Statistics/Insightintothedetails'),
name: '洞察详情',
},
-
+ {
+ path: '/Template/Pinspeakwords',
+ component: () =>
+ import(/* webpackChunkName: "page" */ '@/views/Template/Pinspeakwords'),
+ name: '销讲模板',
+ },
]
diff --git a/src/views/Customer/index.vue b/src/views/Customer/index.vue
index edba215..4111abc 100644
--- a/src/views/Customer/index.vue
+++ b/src/views/Customer/index.vue
@@ -115,7 +115,7 @@
停用
+启用
+ +