|
|
@@ -41,14 +41,14 @@ |
|
|
|
</div> |
|
|
|
<div style="display: flex;font-size:15px;margin-top: 8px;"> |
|
|
|
<div style="width:40%;"> |
|
|
|
<div style="margin-top: 6px;">负责顾问:李先生</div> |
|
|
|
<div style="margin-top: 6px;">接待时长:155min</div> |
|
|
|
<div style="margin-top: 6px;">负责顾问:{{userinformationlist.agentName|| ''}}</div> |
|
|
|
<div style="margin-top: 6px;">接待时长:{{userinformationlist.mm|| ''}}min</div> |
|
|
|
<div style="margin-top: 6px;">客户等级:A</div> |
|
|
|
</div> |
|
|
|
<div style="width:60%;"> |
|
|
|
<div style="margin-top: 6px;">到访次数:3次</div> |
|
|
|
<div style="margin-top: 6px;">最近到访:2021-10-01 14:00:00</div> |
|
|
|
<div style="margin-top: 6px;">客户阶段:初访</div> |
|
|
|
<div style="margin-top: 6px;">到访次数:{{userinformationlist.agentName|| ''}}次</div> |
|
|
|
<div style="margin-top: 6px;">最近到访:{{userinformationlist.agentName|| ''}}</div> |
|
|
|
<div style="margin-top: 6px;">客户阶段:{{userinformationlist.agentName|| ''}}</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@@ -82,7 +82,240 @@ |
|
|
|
</div> |
|
|
|
<div style="width: 100%"> |
|
|
|
<div class="center2" style="width: 100%;height:410px;overflow-y: scroll;"> |
|
|
|
<div class="text" :data-bg="item.bg" :data-ed="item.ed" |
|
|
|
<div class="text" :data-bg="item.bg" :data-ed="item.ed" v-if="roleindex==0" v-for="(item,index) in transcriptionlist" :key="index" :data-speaker="item.speaker"> |
|
|
|
<div class="avatar"> |
|
|
|
<div v-if="item.speaker == 1"> |
|
|
|
<img style="margin: 0 auto;" v-if="item.isShow == 1" src="http://121.42.63.138:9091/autoSR/static/plugins/audio/images/A.png" alt=""> |
|
|
|
<div v-else>A</div> |
|
|
|
</div> |
|
|
|
<div v-if="item.speaker == 2"> |
|
|
|
<img style="margin: 0 auto;" v-if="item.isShow == 1" src="http://121.42.63.138:9091/autoSR/static/plugins/audio/images/A.png" alt=""> |
|
|
|
<div v-else>B</div> |
|
|
|
</div> |
|
|
|
<div v-if="item.speaker == 3"> |
|
|
|
<img style="margin: 0 auto;" v-if="item.isShow == 1" src="http://121.42.63.138:9091/autoSR/static/plugins/audio/images/A.png" alt=""> |
|
|
|
<div v-else>C</div> |
|
|
|
</div> |
|
|
|
<div v-if="item.speaker == 4"> |
|
|
|
<img style="margin: 0 auto;" v-if="item.isShow == 1" src="http://121.42.63.138:9091/autoSR/static/plugins/audio/images/A.png" alt=""> |
|
|
|
<div v-else>D</div> |
|
|
|
</div> |
|
|
|
<div v-if="item.speaker == 5"> |
|
|
|
<img style="margin: 0 auto;" v-if="item.isShow == 1" src="http://121.42.63.138:9091/autoSR/static/plugins/audio/images/A.png" alt=""> |
|
|
|
<div v-else>E</div> |
|
|
|
</div> |
|
|
|
<div v-if="item.speaker == 6"> |
|
|
|
<img style="margin: 0 auto;" v-if="item.isShow == 1" src="http://121.42.63.138:9091/autoSR/static/plugins/audio/images/A.png" alt=""> |
|
|
|
<div v-else>F</div> |
|
|
|
</div> |
|
|
|
<div v-if="item.speaker == 7"> |
|
|
|
<img style="margin: 0 auto;" v-if="item.isShow == 1" src="http://121.42.63.138:9091/autoSR/static/plugins/audio/images/A.png" alt=""> |
|
|
|
<div v-else>G</div> |
|
|
|
</div> |
|
|
|
<div v-if="item.speaker == 8"> |
|
|
|
<img style="margin: 0 auto;" v-if="item.isShow == 1" src="http://121.42.63.138:9091/autoSR/static/plugins/audio/images/A.png" alt=""> |
|
|
|
<div v-else>H</div> |
|
|
|
</div> |
|
|
|
<div v-if="item.speaker == 9"> |
|
|
|
<img style="margin: 0 auto;" v-if="item.isShow == 1" src="http://121.42.63.138:9091/autoSR/static/plugins/audio/images/A.png" alt=""> |
|
|
|
<div v-else>I</div> |
|
|
|
</div> |
|
|
|
<div v-if="item.speaker == 10"> |
|
|
|
<img style="margin: 0 auto;" v-if="item.isShow == 1" src="http://121.42.63.138:9091/autoSR/static/plugins/audio/images/A.png" alt=""> |
|
|
|
<div v-else>J</div> |
|
|
|
</div> |
|
|
|
<div v-if="item.speaker == 11"> |
|
|
|
<img style="margin: 0 auto;" v-if="item.isShow == 1" src="http://121.42.63.138:9091/autoSR/static/plugins/audio/images/A.png" alt=""> |
|
|
|
<div v-else>K</div> |
|
|
|
</div> |
|
|
|
<div v-if="item.speaker == 12"> |
|
|
|
<img style="margin: 0 auto;" v-if="item.isShow == 1" src="http://121.42.63.138:9091/autoSR/static/plugins/audio/images/A.png" alt=""> |
|
|
|
<div v-else>L</div> |
|
|
|
</div> |
|
|
|
<div v-if="item.speaker == 13"> |
|
|
|
<img style="margin: 0 auto;" v-if="item.isShow == 1" src="http://121.42.63.138:9091/autoSR/static/plugins/audio/images/A.png" alt=""> |
|
|
|
<div v-else>M</div> |
|
|
|
</div> |
|
|
|
<div v-if="item.speaker == 14"> |
|
|
|
<img style="margin: 0 auto;" v-if="item.isShow == 1" src="http://121.42.63.138:9091/autoSR/static/plugins/audio/images/A.png" alt=""> |
|
|
|
<div v-else>N</div> |
|
|
|
</div> |
|
|
|
<div v-if="item.speaker == 15"> |
|
|
|
<img style="margin: 0 auto;" v-if="item.isShow == 1" src="http://121.42.63.138:9091/autoSR/static/plugins/audio/images/A.png" alt=""> |
|
|
|
<div v-else>O</div> |
|
|
|
</div> |
|
|
|
<div v-if="item.speaker == 16"> |
|
|
|
<img style="margin: 0 auto;" v-if="item.isShow == 1" src="http://121.42.63.138:9091/autoSR/static/plugins/audio/images/A.png" alt=""> |
|
|
|
<div v-else>P</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="content123" @click="checkMsg(item,index)" style="cursor:pointer;"> |
|
|
|
<div v-html="item.onebest"></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="text" :data-bg="item.bg" :data-ed="item.ed" v-if="roleindex==1 && item.speaker ==1" v-for="(item,index) in transcriptionlist" :key="index" :data-speaker="item.speaker"> |
|
|
|
<div class="avatar" > |
|
|
|
<img v-if="item.isShow == 1" src="http://121.42.63.138:9091/autoSR/static/plugins/audio/images/A.png" alt=""> |
|
|
|
<div v-else>A</div> |
|
|
|
</div> |
|
|
|
<div class="content123" @click="checkMsg(item,index)" style="cursor:pointer;"> |
|
|
|
<div v-html="item.onebest"></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="text" :data-bg="item.bg" :data-ed="item.ed" v-if="roleindex==2 && item.speaker ==2" v-for="(item,index) in transcriptionlist" :key="index" :data-speaker="item.speaker"> |
|
|
|
<div class="avatar" > |
|
|
|
<img v-if="item.isShow == 1" src="http://121.42.63.138:9091/autoSR/static/plugins/audio/images/A.png" alt=""> |
|
|
|
<div v-else>B</div> |
|
|
|
</div> |
|
|
|
<div class="content123" @click="checkMsg(item,index)" style="cursor:pointer;"> |
|
|
|
<div v-html="item.onebest"></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="text" :data-bg="item.bg" :data-ed="item.ed" v-if="roleindex==3 && item.speaker ==3" v-for="(item,index) in transcriptionlist" :key="index" :data-speaker="item.speaker"> |
|
|
|
<div class="avatar"> |
|
|
|
<img v-if="item.isShow == 1" src="http://121.42.63.138:9091/autoSR/static/plugins/audio/images/A.png" alt=""> |
|
|
|
<div v-else>C</div> |
|
|
|
</div> |
|
|
|
<div class="content123" @click="checkMsg(item,index)" style="cursor:pointer;"> |
|
|
|
<div v-html="item.onebest"></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="text" :data-bg="item.bg" :data-ed="item.ed" v-if="roleindex==4 && item.speaker ==4" v-for="(item,index) in transcriptionlist" :key="index" :data-speaker="item.speaker"> |
|
|
|
<div class="avatar"> |
|
|
|
<img v-if="item.isShow == 1" src="http://121.42.63.138:9091/autoSR/static/plugins/audio/images/A.png" alt=""> |
|
|
|
<div v-else>D</div> |
|
|
|
</div> |
|
|
|
<div class="content123" @click="checkMsg(item,index)" style="cursor:pointer;"> |
|
|
|
<div v-html="item.onebest"></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="text" :data-bg="item.bg" :data-ed="item.ed" v-if="roleindex==5 && item.speaker ==5" v-for="(item,index) in transcriptionlist" :key="index" :data-speaker="item.speaker"> |
|
|
|
<div class="avatar"> |
|
|
|
<img v-if="item.isShow == 1" src="http://121.42.63.138:9091/autoSR/static/plugins/audio/images/A.png" alt=""> |
|
|
|
<div v-else>E</div> |
|
|
|
</div> |
|
|
|
<div class="content123" @click="checkMsg(item,index)" style="cursor:pointer;"> |
|
|
|
<div v-html="item.onebest"></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="text" :data-bg="item.bg" :data-ed="item.ed" v-if="roleindex==6 && item.speaker ==6" v-for="(item,index) in transcriptionlist" :key="index" :data-speaker="item.speaker"> |
|
|
|
<div class="avatar"> |
|
|
|
<img v-if="item.isShow == 1" src="http://121.42.63.138:9091/autoSR/static/plugins/audio/images/A.png" alt=""> |
|
|
|
<div v-else>F</div> |
|
|
|
</div> |
|
|
|
<div class="content123" @click="checkMsg(item,index)" style="cursor:pointer;"> |
|
|
|
<div v-html="item.onebest"></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="text" :data-bg="item.bg" :data-ed="item.ed" v-if="roleindex==7 && item.speaker ==7" v-for="(item,index) in transcriptionlist" :key="index" :data-speaker="item.speaker"> |
|
|
|
<div class="avatar"> |
|
|
|
<img v-if="item.isShow == 1" src="http://121.42.63.138:9091/autoSR/static/plugins/audio/images/A.png" alt=""> |
|
|
|
<div v-else>G</div> |
|
|
|
</div> |
|
|
|
<div class="content123" @click="checkMsg(item,index)" style="cursor:pointer;"> |
|
|
|
<div v-html="item.onebest"></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="text" :data-bg="item.bg" :data-ed="item.ed" v-if="roleindex==8 && item.speaker ==8" v-for="(item,index) in transcriptionlist" :key="index" :data-speaker="item.speaker"> |
|
|
|
<div class="avatar"> |
|
|
|
<img v-if="item.isShow == 1" src="http://121.42.63.138:9091/autoSR/static/plugins/audio/images/A.png" alt=""> |
|
|
|
<div v-else>H</div> |
|
|
|
</div> |
|
|
|
<div class="content123" @click="checkMsg(item,index)" style="cursor:pointer;"> |
|
|
|
<div v-html="item.onebest"></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="text" :data-bg="item.bg" :data-ed="item.ed" v-if="roleindex==9 && item.speaker ==9" v-for="(item,index) in transcriptionlist" :key="index" :data-speaker="item.speaker"> |
|
|
|
<div class="avatar"> |
|
|
|
<img v-if="item.isShow == 1" src="http://121.42.63.138:9091/autoSR/static/plugins/audio/images/A.png" alt=""> |
|
|
|
<div v-else>I</div> |
|
|
|
</div> |
|
|
|
<div class="content123" @click="checkMsg(item,index)" style="cursor:pointer;"> |
|
|
|
<div v-html="item.onebest"></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="text" :data-bg="item.bg" :data-ed="item.ed" v-if="roleindex==10 && item.speaker ==10" v-for="(item,index) in transcriptionlist" :key="index" :data-speaker="item.speaker"> |
|
|
|
<div class="avatar"> |
|
|
|
<img v-if="item.isShow == 1" src="http://121.42.63.138:9091/autoSR/static/plugins/audio/images/A.png" alt=""> |
|
|
|
<div v-else>J</div> |
|
|
|
</div> |
|
|
|
<div class="content123" @click="checkMsg(item,index)" style="cursor:pointer;"> |
|
|
|
<div v-html="item.onebest"></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="text" :data-bg="item.bg" :data-ed="item.ed" v-if="roleindex==11 && item.speaker ==11" v-for="(item,index) in transcriptionlist" :key="index" :data-speaker="item.speaker"> |
|
|
|
<div class="avatar"> |
|
|
|
<img v-if="item.isShow == 1" src="http://121.42.63.138:9091/autoSR/static/plugins/audio/images/A.png" alt=""> |
|
|
|
<div v-else>K</div> |
|
|
|
</div> |
|
|
|
<div class="content123" @click="checkMsg(item,index)" style="cursor:pointer;"> |
|
|
|
<div v-html="item.onebest"></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="text" :data-bg="item.bg" :data-ed="item.ed" v-if="roleindex==12 && item.speaker ==12" v-for="(item,index) in transcriptionlist" :key="index" :data-speaker="item.speaker"> |
|
|
|
<div class="avatar"> |
|
|
|
<img v-if="item.isShow == 1" src="http://121.42.63.138:9091/autoSR/static/plugins/audio/images/A.png" alt=""> |
|
|
|
<div v-else>L</div> |
|
|
|
</div> |
|
|
|
<div class="content123" @click="checkMsg(item,index)" style="cursor:pointer;"> |
|
|
|
<div v-html="item.onebest"></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="text" :data-bg="item.bg" :data-ed="item.ed" v-if="roleindex==13 && item.speaker ==13" v-for="(item,index) in transcriptionlist" :key="index" :data-speaker="item.speaker"> |
|
|
|
<div class="avatar"> |
|
|
|
<img v-if="item.isShow == 1" src="http://121.42.63.138:9091/autoSR/static/plugins/audio/images/A.png" alt=""> |
|
|
|
<div v-else>M</div> |
|
|
|
</div> |
|
|
|
<div class="content123" @click="checkMsg(item,index)" style="cursor:pointer;"> |
|
|
|
<div v-html="item.onebest"></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="text" :data-bg="item.bg" :data-ed="item.ed" v-if="roleindex==14 && item.speaker ==14" v-for="(item,index) in transcriptionlist" :key="index" :data-speaker="item.speaker"> |
|
|
|
<div class="avatar"> |
|
|
|
<img v-if="item.isShow == 1" src="http://121.42.63.138:9091/autoSR/static/plugins/audio/images/A.png" alt=""> |
|
|
|
<div v-else>N</div> |
|
|
|
</div> |
|
|
|
<div class="content123" @click="checkMsg(item,index)" style="cursor:pointer;"> |
|
|
|
<div v-html="item.onebest"></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="text" :data-bg="item.bg" :data-ed="item.ed" v-if="roleindex==15 && item.speaker ==15" v-for="(item,index) in transcriptionlist" :key="index" :data-speaker="item.speaker"> |
|
|
|
<div class="avatar"> |
|
|
|
<img v-if="item.isShow == 1" src="http://121.42.63.138:9091/autoSR/static/plugins/audio/images/A.png" alt=""> |
|
|
|
<div v-else>O</div> |
|
|
|
</div> |
|
|
|
<div class="content123" @click="checkMsg(item,index)" style="cursor:pointer;"> |
|
|
|
<div v-html="item.onebest"></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="text" :data-bg="item.bg" :data-ed="item.ed" v-if="roleindex==16 && item.speaker ==16" v-for="(item,index) in transcriptionlist" :key="index" :data-speaker="item.speaker"> |
|
|
|
<div class="avatar"> |
|
|
|
<img v-if="item.isShow == 1" src="http://121.42.63.138:9091/autoSR/static/plugins/audio/images/A.png" alt=""> |
|
|
|
<div v-else>P</div> |
|
|
|
</div> |
|
|
|
<div class="content123" @click="checkMsg(item,index)" style="cursor:pointer;"> |
|
|
|
<div v-html="item.onebest"></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<!-- <div class="text" :data-bg="item.bg" :data-ed="item.ed" |
|
|
|
v-for="(item,index) in transcriptionlist" :key="index" :data-speaker="item.speaker"> |
|
|
|
<div class="avatar"> |
|
|
|
<div v-if="item.speaker == 1"> |
|
|
@@ -93,37 +326,35 @@ |
|
|
|
<div class="content123" style="cursor:pointer;"> |
|
|
|
<div v-html="item.onebest"></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> --> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="topzuo-you"> |
|
|
|
<div class="topzuo-you" style="overflow-y: auto;"> |
|
|
|
<div style="width: 100%;height: 44px;border-bottom: 1rpx solid #E0E0E0;display: flex;align-items: center;border-bottom: 1px solid #E0E0E0;"> |
|
|
|
<div style="flex: 1;font-size: 16px;color: #333333;text-indent:5%;">客户意向</div> |
|
|
|
<div style="flex: 1;font-size: 16px;color: #2671E2;text-indent:70%;" @click="dialogFormVisible12=true">校准</div> |
|
|
|
</div> |
|
|
|
<div class="pingfenbox" > |
|
|
|
<div :class="{ activecllasscet: zhixingcenterindex == 0 }" @click="recordclick(0)"> |
|
|
|
系统分析 |
|
|
|
</div> |
|
|
|
<div :class="{ activecllasscet: zhixingcenterindex == 1 }" @click="recordclick(1)">人工校准</div> |
|
|
|
<div :class="{ activecllasscet: kehuyixiangcenterindex == 0 }" @click="customerofintention(0)">系统分析</div> |
|
|
|
<div :class="{ activecllasscet: kehuyixiangcenterindex == 1 }" @click="customerofintention(1)">人工校准</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div> |
|
|
|
<div class="intentionBox"> |
|
|
|
<div class="intentionName">置业需求</div> |
|
|
|
<div v-if="Getintentionlist && Getintentionlist.length==0" style="width: 100%;text-align: center;line-height: 100px;"> |
|
|
|
暂无数据 |
|
|
|
</div> |
|
|
|
<div v-else> |
|
|
|
<div class="intentionBox" v-for="(item,index) in Getintentionlist" :key="index"> |
|
|
|
<div class="intentionName">{{item.name}}</div> |
|
|
|
<div class="intentionChe"> |
|
|
|
<div>投资</div> |
|
|
|
<div>管家</div> |
|
|
|
<div>婚房</div> |
|
|
|
<div>山水相逢</div> |
|
|
|
<div>青山不改</div> |
|
|
|
<div v-for="(funche,i) in item.newchildren" :key="i">{{funche.name}}</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="topyou"> |
|
|
@@ -240,7 +471,6 @@ export default { |
|
|
|
dialogFormVisible11:false, |
|
|
|
dialogFormVisible12:false, |
|
|
|
dialogFormVisible13:false, |
|
|
|
roleindexbiaoji:0, |
|
|
|
radio:1, |
|
|
|
form:{ |
|
|
|
correctWord: '',//正确词 |
|
|
@@ -259,32 +489,38 @@ export default { |
|
|
|
}, |
|
|
|
aplayer: null, |
|
|
|
aplayerSpeedNum: "1", //点击字体更换 |
|
|
|
arr: [], |
|
|
|
arr: [],//录音文件列表 |
|
|
|
aplayerId: 0, |
|
|
|
aplayerLength: 0, |
|
|
|
aplayerLength: 0,//文件个数 |
|
|
|
tablist:[ {name:'全部',}, {name:'A',}, {name:'b',}, {name:'c',},{name:'c',},{name:'c',},{name:'c',},], |
|
|
|
roleindex:0, |
|
|
|
zhixingcenterindex:0, |
|
|
|
|
|
|
|
|
|
|
|
fileId:'',//录音文件id |
|
|
|
corpusId:0,//录音文件id |
|
|
|
fileId:'',//客户id |
|
|
|
recordPath:'',//播放src |
|
|
|
transcriptionlist:[],//转写内容 |
|
|
|
playNow:0, |
|
|
|
userinformationlist:{},//客户信息 |
|
|
|
kehuyixiangcenterindex:0, |
|
|
|
AudioIdx:0,//录音文件顺序 |
|
|
|
isd:'', |
|
|
|
dshfkjsdkksodofydwfkhwdfkjh:'', |
|
|
|
roleindexbiaoji:0, |
|
|
|
aplayerSpeedNum:'1',//倍速字体更换 |
|
|
|
Getintentionlist:[],//客户意向 |
|
|
|
argtextindex:'', |
|
|
|
|
|
|
|
}; |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
this.fileId=this.$route.query.flag; |
|
|
|
this.AudioIdx=this.$route.query.AudioIdx; |
|
|
|
|
|
|
|
// this.bofangchushihua(); |
|
|
|
this.init() |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
//常错词确认 |
|
|
|
subMsg(){ |
|
|
|
|
|
|
|
}, |
|
|
|
//标记 |
|
|
|
biaoji(){ |
|
|
|
this.dialogFormVisible11=true |
|
|
@@ -293,17 +529,196 @@ export default { |
|
|
|
subMsg11(){ |
|
|
|
|
|
|
|
}, |
|
|
|
// 获取用户信息 |
|
|
|
init(){ |
|
|
|
this.$api.http.personalReceptionRecord({customerId:this.fileId}).then((res) => { |
|
|
|
this.userinformationlist=res.data |
|
|
|
this.userinformationlist.endTime=this.userinformationlist.endTime.substring(0, 19); |
|
|
|
if(this.userinformationlist.calibration==0){ |
|
|
|
this.kehuyixiangcenterindex=0; |
|
|
|
}else { |
|
|
|
this.kehuyixiangcenterindex=1; |
|
|
|
} |
|
|
|
this.findCARKeywords() |
|
|
|
this.Getsthetransliteratecontent() |
|
|
|
}) |
|
|
|
}, |
|
|
|
//常错词确认 |
|
|
|
subMsg(){ |
|
|
|
|
|
|
|
}, |
|
|
|
//常错词点击 |
|
|
|
checkMsg(row,index){ |
|
|
|
this.aplayer.pause() |
|
|
|
this.form.cupid=this.arr[this.aplayerId].id, |
|
|
|
this.form.translateHtmlContent=this.arr[this.aplayerId].audioContent; |
|
|
|
|
|
|
|
let onebest=row.onebest; |
|
|
|
this.form.wrongWord =onebest.replace(/<.*?>/ig,""); |
|
|
|
this.dialogFormVisible=true; |
|
|
|
this.argtextindex=index; |
|
|
|
}, |
|
|
|
//系统分析切换人工校准 |
|
|
|
customerofintention(i){ |
|
|
|
this.kehuyixiangcenterindex=i; |
|
|
|
this.findCARKeywords() |
|
|
|
}, |
|
|
|
//获去系统分析,人工校准 |
|
|
|
findCARKeywords(){ |
|
|
|
this.Getintentionlist=[] |
|
|
|
if(this.kehuyixiangcenterindex==0){ |
|
|
|
this.$api.http.findCARKeywords({customerId:this.fileId}).then((res) => { |
|
|
|
let newlist=res.data ||[]; |
|
|
|
if(newlist.length==0){ |
|
|
|
this.Getintentionlist=[]; |
|
|
|
return |
|
|
|
}else{ |
|
|
|
newlist.forEach(item=>{ |
|
|
|
item.newchildren=[]; |
|
|
|
item.children.forEach(fut=>{ |
|
|
|
if(fut.selected==0){ |
|
|
|
item.newchildren.push(fut) |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
newlist.forEach(item=>{ |
|
|
|
item.children.forEach(chen=>{ |
|
|
|
if(chen.isInterval==0){ |
|
|
|
chen.name=chen.name+chen.unit+'-'+chen.endName+chen.unit; |
|
|
|
}else { |
|
|
|
chen.name=chen.name; |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
this.Getintentionlist=newlist |
|
|
|
} |
|
|
|
}) |
|
|
|
}else { |
|
|
|
this.$api.http.findSystemAnalysis({customerId:this.fileId}).then((res) => { |
|
|
|
if(res.data==null){ |
|
|
|
this.Getintentionlist=[]; |
|
|
|
return |
|
|
|
} |
|
|
|
res.data.forEach(item=>{ |
|
|
|
item.newchildren=[]; |
|
|
|
item.children.forEach(fut=>{ |
|
|
|
if(fut.selected==0){ |
|
|
|
item.newchildren.push(fut) |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
res.data.forEach(item=>{ |
|
|
|
item.children.forEach(chen=>{ |
|
|
|
if(chen.isInterval==0){ |
|
|
|
chen.name=chen.name+chen.unit+'-'+chen.endName+chen.unit; |
|
|
|
}else { |
|
|
|
chen.name=chen.name; |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
this.Getintentionlist=res.data; |
|
|
|
}) |
|
|
|
} |
|
|
|
}, |
|
|
|
//获取转写内容和播放列表 |
|
|
|
Getsthetransliteratecontent(){ |
|
|
|
this.$api.http.findByCusIdcusId({cusId:this.fileId}).then((res) => { |
|
|
|
let audopbj=res.data; |
|
|
|
this.recordPath=audopbj[0].recordPath; |
|
|
|
this.transcriptionlist=JSON.parse(audopbj[0].audioContent) |
|
|
|
this.recordPath=audopbj[this.AudioIdx].recordPath; |
|
|
|
audopbj[this.AudioIdx].audioContent!=''?this.transcriptionlist=JSON.parse(audopbj[this.AudioIdx].audioContent):this.transcriptionlist=[] |
|
|
|
// this.transcriptionlist=JSON.parse(audopbj[this.AudioIdx].audioContent) |
|
|
|
this.tablist=[]; |
|
|
|
if(this.userinformationlist.yon==0){ |
|
|
|
this.isd=audopbj[this.AudioIdx].id; |
|
|
|
for(var i=0;i<=audopbj[this.AudioIdx].speakerNum;i++){ |
|
|
|
if(i==0){ |
|
|
|
this.tablist.push({ |
|
|
|
name:'全部' |
|
|
|
}) |
|
|
|
}else if(i==1){ |
|
|
|
this.tablist.push({ |
|
|
|
name:'A' |
|
|
|
}) |
|
|
|
}else if(i==2){ |
|
|
|
this.tablist.push({ |
|
|
|
name:'B' |
|
|
|
}) |
|
|
|
}else if(i==3){ |
|
|
|
this.tablist.push({ |
|
|
|
name:'C' |
|
|
|
}) |
|
|
|
}else if(i==4){ |
|
|
|
this.tablist.push({ |
|
|
|
name:'D' |
|
|
|
}) |
|
|
|
}else if(i==5){ |
|
|
|
this.tablist.push({ |
|
|
|
name:'E' |
|
|
|
}) |
|
|
|
}else if(i==6){ |
|
|
|
this.tablist.push({ |
|
|
|
name:'F' |
|
|
|
}) |
|
|
|
}else if(i==7){ |
|
|
|
this.tablist.push({ |
|
|
|
name:'G' |
|
|
|
}) |
|
|
|
}else if(i==8){ |
|
|
|
this.tablist.push({ |
|
|
|
name:'H' |
|
|
|
}) |
|
|
|
}else if(i==9){ |
|
|
|
this.tablist.push({ |
|
|
|
name:'I' |
|
|
|
}) |
|
|
|
}else if(i==10){ |
|
|
|
this.tablist.push({ |
|
|
|
name:'J' |
|
|
|
}) |
|
|
|
}else if(i==11){ |
|
|
|
this.tablist.push({ |
|
|
|
name:'K' |
|
|
|
}) |
|
|
|
}else if(i==12){ |
|
|
|
this.tablist.push({ |
|
|
|
name:'L' |
|
|
|
}) |
|
|
|
}else if(i==13){ |
|
|
|
this.tablist.push({ |
|
|
|
name:'M' |
|
|
|
}) |
|
|
|
}else if(i==14){ |
|
|
|
this.tablist.push({ |
|
|
|
name:'N' |
|
|
|
}) |
|
|
|
}else if(i==15){ |
|
|
|
this.tablist.push({ |
|
|
|
name:'O' |
|
|
|
}) |
|
|
|
}else { |
|
|
|
this.tablist.push({ |
|
|
|
name:'P' |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
if(audopbj[this.AudioIdx].speaker==null){ |
|
|
|
this.roleindexbiaoji=0; |
|
|
|
this.dshfkjsdkksodofydwfkhwdfkjh=0; |
|
|
|
}else{ |
|
|
|
this.tablist[audopbj[this.AudioIdx].speaker].name=this.tablist[audopbj[this.AudioIdx].speaker].name+"顾问"; |
|
|
|
this.roleindexbiaoji=audopbj[this.AudioIdx].speaker-1; |
|
|
|
this.dshfkjsdkksodofydwfkhwdfkjh=audopbj[this.AudioIdx].speaker-1; |
|
|
|
} |
|
|
|
} |
|
|
|
this.corpusId=audopbj[this.AudioIdx].id; |
|
|
|
this.aplayerId=this.audioIdx; |
|
|
|
this.aplayerLength=audopbj.length; |
|
|
|
this.arr=res.data; |
|
|
|
this.bofangchushihua() |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
recordclick(i){ |
|
|
|
this.zhixingcenterindex=i; |
|
|
|
}, |
|
|
@@ -341,20 +756,31 @@ export default { |
|
|
|
if(this.dataset.bg<playTime && playTime<this.dataset.ed){ |
|
|
|
$(this).addClass("activecoloc"); |
|
|
|
that.$nextTick(() => { |
|
|
|
document.querySelector(".center2").scrollTop=$(".center2 .activecoloc")[0].offsetTop - 340 |
|
|
|
document.querySelector(".center2").scrollTop=$(".center2 .activecoloc")[0].offsetTop - 380 |
|
|
|
}) |
|
|
|
}else{ |
|
|
|
$(this).removeClass("activecoloc") |
|
|
|
} |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
//倍速更改 |
|
|
|
aplayerSpeed(num){ |
|
|
|
this.aplayer.audio.playbackRate=num |
|
|
|
this.aplayerSpeedNum=num |
|
|
|
}, |
|
|
|
//下载 |
|
|
|
download(){ |
|
|
|
// window.location.href = "${jypath}/zk/file/filedownload?videoSrc="+this.recordPath |
|
|
|
}, |
|
|
|
}, |
|
|
|
}; |
|
|
|
</script> |
|
|
|
|
|
|
|
<!-- Add "scoped" attribute to limit CSS to this component only --> |
|
|
|
<style scoped lang="scss" > |
|
|
|
#avue-view{ |
|
|
|
overflow: hidden; |
|
|
|
} |
|
|
|
.box-center { |
|
|
|
width: 100%; |
|
|
|
padding: 15px; |
|
|
@@ -378,7 +804,6 @@ export default { |
|
|
|
margin:18px 0px; |
|
|
|
position: relative; |
|
|
|
} |
|
|
|
|
|
|
|
.text[data-speaker="2"], |
|
|
|
.text[data-speaker="4"], |
|
|
|
.text[data-speaker="6"] { |
|
|
@@ -390,25 +815,19 @@ export default { |
|
|
|
font-size:14px; |
|
|
|
padding:5px 14px; |
|
|
|
background:#3ca953; |
|
|
|
/*background: rgb(79,194,103);*/ |
|
|
|
border-radius:8px; |
|
|
|
margin: 0 12px; |
|
|
|
line-height: 1.5; |
|
|
|
max-width: 365px; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.text .activecoloc .content123 div{ |
|
|
|
color:#38FFF1 ; |
|
|
|
} |
|
|
|
.text[data-speaker="2"].activecoloc .content123 div, |
|
|
|
.text[data-speaker="4"].activecoloc .content123 div, |
|
|
|
.text[data-speaker="6"].activecoloc .content123 div{ |
|
|
|
color: #FF7538; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.activecoloc .content123 div{ |
|
|
|
color:#38FFF1; |
|
|
|
} |
|
|
|
.center2 .text .avatar{ |
|
|
|
width: 34px; |
|
|
|
height:34px; |
|
|
@@ -432,7 +851,9 @@ export default { |
|
|
|
color: #ffffff; |
|
|
|
font-size: 24px; |
|
|
|
} |
|
|
|
|
|
|
|
.aplayerSpeedFont{ |
|
|
|
color: #2671E2; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//指标执行率 |
|
|
|