From 654aa57dcd2e8197fc101a9273ec59268ad8c8bc Mon Sep 17 00:00:00 2001 From: lancer <1905818361@qq.com> Date: Tue, 28 Dec 2021 13:42:45 +0800 Subject: [PATCH] init --- src/router/views/index.js | 3 ++ src/views/Customer/label.vue | 3 ++ src/views/Receive/index.vue | 48 ++++++++++++++++++++++ src/views/Statistics/ReceptionOverview.vue | 3 +- 4 files changed, 56 insertions(+), 1 deletion(-) diff --git a/src/router/views/index.js b/src/router/views/index.js index 0412b02..d9593ce 100644 --- a/src/router/views/index.js +++ b/src/router/views/index.js @@ -15,6 +15,9 @@ export default [{ component: () => import(/* webpackChunkName: "page" */ '@/views/Statistics/Insightintothedetails'), name: '洞察详情', + meta: { + keepAlive: true, + } }, { path: '/Template/Pinspeakwords', diff --git a/src/views/Customer/label.vue b/src/views/Customer/label.vue index cc9c219..9d5d21a 100644 --- a/src/views/Customer/label.vue +++ b/src/views/Customer/label.vue @@ -61,6 +61,9 @@ 添加二级 + + 编辑 + diff --git a/src/views/Receive/index.vue b/src/views/Receive/index.vue index 8a27c63..c48e092 100644 --- a/src/views/Receive/index.vue +++ b/src/views/Receive/index.vue @@ -483,6 +483,7 @@ 纠正     删除 + 修改角色
@@ -620,6 +621,30 @@
+ + +
+
角色纠正:
+ + + + +
+ +
+
@@ -631,6 +656,10 @@ import { getStore, setStore } from "@/util/store"; export default { data() { return { + roleVisible:false, + roleFlag:'0', + roleidx:'', + roleList:[], dialogFormVisible:false, dialogFormVisible11:false, dialogFormVisible12:false, @@ -722,6 +751,24 @@ export default { this.aplayer.destroy() }, methods: { + editSure(){ + // console.log(this.roleFlag) + // this.optimizetext + // console.log(this.optimizetext[this.roleidx]) + this.optimizetext[this.roleidx].speaker=this.roleFlag/1+1 + // this.optimizetext[this.roleidx].speaker=2 + // console.log(this.optimizetext[this.roleidx]) + this.roleVisible=false + }, + //修改角色 + editRole(item,idx){ + // console.log(item,idx) + // console.log(this.roleList) + this.roleFlag=item.speaker-1 + // console.log(this.roleFlag) + this.roleidx=idx + this.roleVisible=true + }, gojianyi(){ // console.log(this.$route); let tag={ @@ -1322,6 +1369,7 @@ export default { }) } } + this.roleList=this.tablist.slice(1) if(audopbj[this.AudioIdx].speaker==null){ this.yibiaoji='未标记' this.roleindexbiaoji=0; diff --git a/src/views/Statistics/ReceptionOverview.vue b/src/views/Statistics/ReceptionOverview.vue index 6e8503f..2c8ef1f 100644 --- a/src/views/Statistics/ReceptionOverview.vue +++ b/src/views/Statistics/ReceptionOverview.vue @@ -357,7 +357,8 @@ export default { this.$api.api .findHouseByUser({ orgType: localStorage.getItem("orgType"), - houseTypes:localStorage.getItem("orgType")==2||localStorage.getItem("orgType")==3?'0,3':'' + // houseTypes:localStorage.getItem("orgType")==2||localStorage.getItem("orgType")==3?'0,3':'' + houseTypes:'' }) .then((res) => { this.houseList = res.data;