Ver a proveniência

修改提交

dev
douzhuo há 2 anos
ascendente
cometimento
6a1ccc3ad3
4 ficheiros alterados com 30 adições e 10 eliminações
  1. +6
    -5
      pages/center/Piabodata/Customerportrait/Receivedetailabout.vue
  2. +15
    -3
      pages/center/prohibited/details.vue
  3. +5
    -0
      pages/learning/Keywordsearch.vue
  4. +4
    -2
      pages/mine/details2.vue

+ 6
- 5
pages/center/Piabodata/Customerportrait/Receivedetailabout.vue Ver ficheiro

@@ -483,7 +483,7 @@
this.init({bg: 0, customerId: this.customerId})
})
uni.$on('Receivedetailabout', info => {
this.init(info)
this.init(info, 'Receivedetailabout')
})
},
@@ -561,11 +561,12 @@
},

//关键词点击
tapbadge(item) {
tapbadge(item) {
this.Pinspeak = false
//进搜索页面
uni.navigateTo({
url: '/pages/learning/Keywordsearch?customerId=' + this.customerId + "&keyword=" + item +
"&skpl=" + "2"
"&skpl=" + "2" + "&UpDateEvent=Receivedetailabout"
})
},
recordclick(i) {
@@ -789,7 +790,7 @@
this.$forceUpdate()
},
init(info) {
init(info, type) {
const parames = {
pageNum: 1,
pageSize: 100,
@@ -810,7 +811,7 @@
this.datetiem = res[0].receptionTime;
this.Alladdtodigest = res[0].status;
this.getCorpusAnalysis(info)
if (info.bg == 0) this.zyAudio()
if (info.bg == 0 || type == 'Receivedetailabout') this.zyAudio()
}
})
},


+ 15
- 3
pages/center/prohibited/details.vue Ver ficheiro

@@ -249,6 +249,7 @@
isPageHide: false, // 是否息屏
duration: '', // 总时长
allTextList: [], // 所有话术列表
isFirstWords: 0, // 第一个违禁词出现的时间
}
},
computed: {
@@ -341,7 +342,9 @@
}
})
this.findTabooWordsList = arr
this.isFirstWords = arr[0].bg
console.log(this.findTabooWordsList, 'findTabooWordsList')
})
},

@@ -438,6 +441,7 @@
this.itemobj = item
this.recordPath = res[0].recordPath
uni.setStorageSync("searchobj", item); //写入缓存
console.log('在这里调用的', item)
this.roleindex = 0;
this.gituserlist()
this.findTabooWords()
@@ -536,7 +540,7 @@


// 初始化音频以及页面数据
init(info) {
init(info, type) {
this.sliderMax = 0; //进度条最大值
this.timeStr = "00:00"; //总的时间
const parames = {
@@ -555,6 +559,7 @@
} else {
this.kehuyixiangcenterindex = 1;
}
if (info.bg != 0) {
this.luyinList = res;
this.recordPath = res[0].recordPath
@@ -813,10 +818,11 @@
//长按点击播放
clickbofang(dialog, item, type) {
if (type == 'show') {
this.isFirstWords = 0 // 重置为零
this.current = 1
this.infos = item
this.audioType = true
this.init(this.infos)
this.init(this.infos, type)
return
} else {
this.audioType = false
@@ -921,7 +927,7 @@


//录音实例
zyAudio() {
zyAudio(times) {
let data = [{
src: this.recordPath,
title: '录音音频',
@@ -933,6 +939,12 @@
//渲染第一首音频
this.$zaudio.setRender(0)
console.log(this.$zaudio)
if (this.isFirstWords != 0) {
setTimeout(() => {
this.stepPlay(Math.floor(this.isFirstWords/1000))
this.isFirstWords = 0
}, 1000)
}
setTimeout(() => {
this.$zaudio.operate()
}, 150)


+ 5
- 0
pages/learning/Keywordsearch.vue Ver ficheiro

@@ -122,6 +122,11 @@
this.$u.post("/corpus/findByPage", parames).then(res => {
if(res[0].merge==0){
let newobj = res[0];
if (this.tipsFncName) {
uni.$emit(this.tipsFncName, item)
uni.navigateBack()
return
}
uni.navigateTo({
url: `/pages/mine/details2?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=${'2'}`
})


+ 4
- 2
pages/mine/details2.vue Ver ficheiro

@@ -661,9 +661,10 @@
console.log(item)
if (item.selected == 0) {
console.log(item)
this.Pinspeak = false
uni.navigateTo({
url: '/pages/mine/ScoringPlaylist?customerId=' + this.customerId + "&id=" + item
.keywordsId + "&type=" + 1
.keywordsId + "&type=" + 1 + '&UpDateEvent=DETAILS2INIT'
})
}
},
@@ -704,9 +705,10 @@
clickaudeopal(item) {
if (item.selected == 0) {
console.log(item)
this.Pinspeak = false
uni.navigateTo({
url: '/pages/mine/ScoringPlaylist?customerId=' + this.customerId + "&id=" + item
.marketingId + "&type=" + 0
.marketingId + "&type=" + 0 + '&UpDateEvent=DETAILS2INIT'
})
}
},


Carregando…
Cancelar
Guardar