Browse Source

周报

newStyle
风继续吹 1 year ago
parent
commit
d40cb943ef
4 changed files with 32 additions and 10 deletions
  1. +11
    -0
      src/api/modules/http.js
  2. +10
    -5
      src/page/check/chose.vue
  3. +10
    -4
      src/views/Receive/index.vue
  4. +1
    -1
      src/views/Template/Pinspeakwords.vue

+ 11
- 0
src/api/modules/http.js View File

@@ -712,6 +712,17 @@ export function findBannedWordsByCusId(query) {
})
}

// 获取销讲违禁执行
export function findBycusId(query) {
return request({
url: 'autoSR/template/findBycusId',
method:'get',
params:query
})
}

//

// 标记顾问
export function markConsultant(query) {
return request({


+ 10
- 5
src/page/check/chose.vue View File

@@ -178,7 +178,7 @@
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page="currentPage"
page-sizes="[15]"
:page-sizes="[10]"
:page-size="size"
:total="total"
layout="total, sizes, prev, pager, next, jumper"
@@ -234,8 +234,8 @@ export default {
propertyName: "",
agentName: "", //代理商名称
companyName: "",
total: 20,
size: 15,
total: 0,
size: 10,
list: [],
options: [],
info: {},
@@ -260,6 +260,11 @@ export default {
this.findByUserName();
}
},
watch: {
total(newV, oldV) {
console.log(newV, oldV)
}
},
computed: {},
methods: {
// 获取代理商
@@ -271,7 +276,7 @@ export default {
agentName: this.agentName,
})
.then((res) => {
console.log(res);
console.log(res, 'daskj');
this.list = res.data.records;
this.total = res.data.total;
});
@@ -311,7 +316,7 @@ export default {
orgType: localStorage.getItem("orgType"),
})
.then((res) => {
console.log(res);
console.log(res, 'dadksladkasl;slkdl');
this.list = res.data.records;
this.total = res.data.total;
});


+ 10
- 4
src/views/Receive/index.vue View File

@@ -644,6 +644,8 @@
style="height: calc(70vh - 230px)"
v-if="zhixingcenterindex == 2"
>
<div style="flex-grow: 1;">

<div
style="width: 100%"
v-for="(item, index) in keyWordsList"
@@ -806,6 +808,7 @@
</div>
</div>
</div>
</div>
<div class="mydesc" v-if="zhixingcenterindex == 2">
<span style="color: #409eff"
><i class="el-icon-success" style="margin-right: 5px"></i
@@ -2212,6 +2215,8 @@ export default {
} else {
this.kehuyixiangcenterindex = 1;
}

this.prohibitedlist = JSON.parse(res.data.sensitiveWords) || [];
this.findCARKeywords();
this.findBannedWordsByCusId();
this.Getsthetransliteratecontent();
@@ -2314,10 +2319,9 @@ export default {
//获取销讲词违禁词
findBannedWordsByCusId() {
this.$api.http
.findBannedWordsByCusId({ cusId: this.fileId })
.findBycusId({ cusId: this.fileId })
.then((res) => {
let list1 = res.data.SalesTalk || [];
let list2 = res.data.ProhibitedWords || [];
let list1 = res.data || [];
let level1 = []; // 一级
list1.forEach((item) => {
if (item.pid == 0) {
@@ -2351,7 +2355,6 @@ export default {
level1[0].show = true;
}
this.ratelist = level1;
this.prohibitedlist = list2;
});
},

@@ -2771,6 +2774,7 @@ export default {
}

.mydesc {
flex-shrink: 0;
position: sticky;
bottom: 0;
padding: 0 10px;
@@ -2827,6 +2831,8 @@ export default {
// padding-bottom: 50px;
overflow-y: scroll;
position: relative;
display: flex;
flex-direction: column;
}

.biaotibox {


+ 1
- 1
src/views/Template/Pinspeakwords.vue View File

@@ -491,7 +491,7 @@ export default {
});
},
// 递归获取所有的ID
getAllTreeListId(arr) {
getAllTreeListId(arr) {
const setSelected = (arr) => {
arr.forEach((item) => {
this.allTreeListId.push(item.id);


Loading…
Cancel
Save