|
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840 |
- <template>
- <view class="box">
- <view class="headbox">
- <!-- 顶部时间 -->
- <view class="headboxhead">
- <view class="boxhead1">{{date}}</view>
- </view>
- <!-- 标记顾问 -->
- <view class="headboxbott">
- <view class="headovfu">
- <view class="mytab" v-for="(item,index) in tablist" :key="index" @click="tapspagek(index)">
- <view class="tab-item" :class="roleindex==index?'tabActive':''">{{item.name}}</view>
- </view>
- </view>
- <view v-if="permissions.commonly1" class="headpade">
- <view class="biaoji" @tap="tagtap">标记</view>
- </view>
- </view>
- </view>
- <scroll-view :scroll-top="scrollTop" lower-threshold='100px' @scrolltolower="ltolower" upper-threshold='40px'
- @scrolltoupper="rolltoupper" :scroll-into-view="scrollId" scroll-y="true" class="zhuti text scroll-Y">
- <!-- 聊天记录-->
- <view class="dialog-block" @click="close()" v-for="(dialog,i) in dialogList" :key="i">
- <view :id="'dialog'+i" class="fileName">录音文件</view>
- <block v-for="(item,index) in dialog.message" :key="index">
- <view class="text"
- :class="{active: Math.floor(item.bg/1000) <= playNow && Math.floor(item.ed/1000) > playNow, isGreen: item.isShow == 0}"
- :data-guwen="item.isShow" :data-speaker="item.speaker" :id="'dialog'+csdFileindex+'text'+item.bg">
- <view class="avatar">
- <view >
- <image v-if="item.isShow == 0" src="https://static.quhouse.com/b11a7e1ccf914020b3ee23d3e4862637.png" mode="widthFix">
- </image>
- <text v-else :style="[borderColor(item.speaker)]">{{ item.speaker | toCapital }}</text>
- </view>
- </view>
- <view class="contentInfo">
- <view class="info">
- <text class="AudioUserName">{{ item.speaker | toCapital }}</text>
- <text>{{conversionTiame(item.bg/1000)}}</text>
- </view>
- <view class="contentMain">
- <view class="content">
- <view @longpress.stop="changanxiaoguo(item,index,i)" v-html="item.onebest"></view>
- <view class="tankuangcss" :class="{bottoms:index == 0}" v-if="item.isshow">
- <view @click="clickcopy"
- style="width: 60rpx;font-size: 24rpx;text-align: center;margin-left: 24rpx;">
- 复制
- </view>
- <view @click="Oftenthewrongword" v-if="permissions.commonly4"
- style="width: 80rpx;font-size: 24rpx;text-align: center;margin-left: 22rpx;">
- 常错词
- </view>
- <view v-if="permissions.commonly3" @click="Addtheessence()"
- style="width: 80rpx;font-size: 24rpx;text-align: center;margin-left: 22rpx;">
- 加精华
- </view>
- <!-- 暂时注释掉 -->
- <!-- <view @click="clickbofang(dialog.backindex,item)"
- style="width: 80rpx;font-size: 24rpx;text-align: center;margin-left: 14rpx;">播放
- </view> -->
- <view @click="Modifyrole(index,item)"
- style="font-size: 24rpx;text-align: center;margin-left: 14rpx;">修改角色
- </view>
- </view>
- </view>
- <image v-if="Math.floor(item.bg/1000) <= playNow && Math.floor(item.ed/1000) > playNow" class="play"
- src="https://static.quhouse.com/15189e150bcd437783aac5a9ef977aa6.png"></image>
- <image v-else @click="clickbofang(dialog.backindex,item)" class="play"
- src="https://static.quhouse.com/1b6ac53247e043a1bdc59ecfb2167eba.png"></image>
- </view>
- </view>
- </view>
- </block>
- </view>
- </scroll-view>
- <view class="bottombox">
- <!-- 播放块 -->
- <zaudio :duration="duration" theme="theme4"></zaudio>
- <!-- 底部弹框 -->
- <view class="botbotmm">
- <view class="tmmchen" @click="guanjiancishifo()">
- <image src='https://static.quhouse.com/226d5e0b97e6407a9901273c3f582ee7.png' mode=""></image>
- <view class="text">关键词</view>
- </view>
- <view class="fill"></view>
- <view class="tmmchen" @click="Receivedetailsabouttab('intention')">
- <image src="https://static.quhouse.com/19f555ae422b4285b5102875579e61d6.png" mode=""></image>
- <view class="text">客户意向</view>
- </view>
- <view class="fill"></view>
- <view class="tmmchen" @click="Receivedetailsabouttab('Pinspeak')">
- <image src="https://static.quhouse.com/ce369b09d7be4305990dacdeb84a91f6.png" mode=""></image>
- <view class="text">销讲执行</view>
- </view>
- <view class="fill"></view>
- <view class="tmmchen" @click.stop="moreClick">
- <image src="https://static.quhouse.com/8807fbe8d7204b4da7c2e0209d8ec8ea.png" mode=""></image>
- <view class="text">更多</view>
- </view>
- </view>
- </view>
- <!-- 更多弹框 -->
- <view class="moremodal" v-if="Thetapeidisshow">
- <view class="more-cont">
- <view class="more-title">更多功能
- <image class="close-icon" @click="Thetapeidisshow=false" src="https://static.quhouse.com/4a977a0ecb594f2ebfd5f020b29dcc79.png" mode=""></image>
- </view>
- <view class="more-btn">
- <view class="btn-item" @click.stop="alllogo">
- <image class="icon" v-if="userlistobj.validInvalidName" src="https://static.quhouse.com/868b0eba0f7c44eca63e3b4fa782f14d.png" mode=""></image>
- <image class="icon" v-else src="https://static.quhouse.com/480e572bf43c48558ad9febe5426f439.png" mode=""></image>
- 有效接待</view>
- <view class="btn-item" v-if="permissions.commonly3" @click="jiajing()">
- <image class="icon" v-if="status==0" src="https://static.quhouse.com/47ae5b25cc804bf38e98d2816aef2514.png" mode=""></image>
- <image class="icon" v-else src="https://static.quhouse.com/4f1b60d9842146e9bd3e43fae42665bc.png" mode=""></image>
- 优秀案例</view>
- </view>
- <!-- 暂时注释 待联调-->
- <!-- <view class="other-btn">
- <view class="btn-item">
- <image class="icon" src="https://static.quhouse.com/354f2cd84cd84db590f35a036b329add.png" mode=""></image>
- 搜索对话</view>
- <view class="btn-item">
- <image class="icon" src="https://static.quhouse.com/ff65fd92c742469594ac85f8bc721964.png" mode=""></image>
- 设备日志</view>
- <view class="btn-item" v-if="!permissions.commonly2" @click.stop="Receivedetailsabouttab('Receivedetailsabout')">
- <image class="icon" src="https://static.quhouse.com/ff65fd92c742469594ac85f8bc721964.png" mode=""></image>
- 接待信息</view>
- </view> -->
- </view>
- </view>
-
- <!-- 标记 -->
- <view class="zhezhao" v-if="biojiisshow" @tap="unmarktap()"></view>
- <view class="bounced" v-if="biojiisshow">
- <view class="jiajinghuatit">标记为顾问</view>
- <view
- style="width: 95%;display: flex;flex-wrap: wrap;margin: 0 auto;padding-top: 30rpx;padding-bottom: 30rpx;">
- <view class="viewclace" :class="roleindexbiaoji == index ? 'bosdttom' : ''" @click="biaojixuanze(index)"
- v-for="(item,index) in tablist.slice(1,tablist.length)" :key="index">
- <view>{{item.name}}</view>
- </view>
- </view>
- <view class="bounced3" style="margin-top: 20rpx;">
- <view class="bounced3-1" @tap="unmarktap()">取消</view>
- <view class="bounced3-2" @tap="Confirmthetag()">确认</view>
- </view>
- </view>
-
- <!-- 加入常错词 -->
- <view class="zhezhao" v-if="isshow2" @tap="Cancelout"></view>
-
- <u-modal v-model="isshow2" title="添加常错词" :show-cancel-button="true" @cancel="Cancelout" @confirm="Confirmtheexit">
- <view class="tian-view">
- <viwe class="tian-view-t1"></viwe>
- <viwe class="tian-view-t2">常错词:</viwe>
- <viwe class="tian-view-t3">
- <textarea :auto-height="true" v-model="thewrongword" :disabled="isNum" class="tian-input" placeholder="请输入" />
- </viwe>
- </view>
- <view class="tian-view" style="margin-bottom: 74rpx;">
- <viwe class="tian-view-t1"></viwe>
- <viwe class="tian-view-t2">正确词:</viwe>
- <viwe class="tian-view-t3">
- <input class="tian-input" v-model="reswrongword" type="text" placeholder="请输入" />
- </viwe>
- </view>
- </u-modal>
-
- <!-- <view class="bounced" v-if="isshow2">
- <view class="tian-view">
- <viwe class="tian-view-t1"></viwe>
- <viwe class="tian-view-t2">错误词:</viwe>
- <viwe class="tian-view-t3">
- <input type="text" v-model="thewrongword" :disabled="isNum" class="tian-input" maxlength="8" placeholder="请输入" />
- </viwe>
- </view>
- <view class="tian-view">
- <viwe class="tian-view-t1"></viwe>
- <viwe class="tian-view-t2">正确词:</viwe>
- <viwe class="tian-view-t3">
- <input class="tian-input" v-model="reswrongword" type="text" placeholder="请输入" />
- </viwe>
- </view>
- <view class="bounced3">
- <view class="bounced3-1" @tap="Cancelout">取消</view>
- <view class="bounced3-2" @tap="Confirmtheexit">确认</view>
- </view>
- </view> -->
-
- <!-- 加精华 -->
- <view class="zhezhao" v-if="isshow3" @tap="Cancelout2"></view>
- <view class="bounced" v-if="isshow3">
- <view class="jiajinghuatit">加精华</view>
- <view style="width: 100%;text-indent: 20rpx;font-size: 28rpx;">选择标签</view>
- <view class="jiajinghuaview">
- <view class="jighuaview2" v-for="(item,index) in biaoqianlist" :key="index"
- :class="biaoqianindex == index ? 'biaoqiantom' : ''">
- <view class="view1-text" @click="tapbiaoqianclisck(index)">{{item.name}}</view>
- </view>
- </view>
- <view class="bounced3">
- <view class="bounced3-1" @tap="Cancelout2">取消</view>
- <view class="bounced3-2" @tap="Confirmtheexit2">确认</view>
- </view>
- </view>
-
- <!-- 接待详情 -->
- <view class="zhezhao" @click="clenReceivedetailsabout()" v-if="Receivedetailsabout"></view>
- <view class="followingpop-up" v-if="Receivedetailsabout">
- <view class="guanbibox">
- <image class="guanbixen" @click="clenReceivedetailsabout()" src="../../static/images/Shutdown.png"
- mode=""></image>
- <view class="cenisboxtab">
- <view class="cenisboxtabview">
- <view>接待详情</view>
- </view>
- </view>
- </view>
- <view class="cenisbox">
- <view style="width: 96%;height: 26rpx;display: flex;margin: 0 auto; margin-top: 40rpx;align-items: center;">
- <view style="width: 25%;color: #666666;font-size: 26rpx;">接待顾问</view>
- <view style="width: 75%;color: #333333;font-size: 26rpx;">{{userlistobj.agentName}}</view>
- </view>
- <view
- style="width: 96%;height: 26rpx;display: flex;margin: 0 auto; margin-top: 40rpx;align-items: center;">
- <view style="width: 25%;color: #666666;font-size: 26rpx;">意向项目</view>
- <view style="width: 75%;color: #333333;font-size: 26rpx;">{{userlistobj.projectName}}</view>
- </view>
- <view
- style="width: 96%;height: 26rpx;display: flex;margin: 0 auto; margin-top: 40rpx;align-items: center;">
- <view style="width: 25%;color: #666666;font-size: 26rpx;">接待开始时间</view>
- <view style="width: 75%;color: #333333;font-size: 26rpx;">{{userlistobj.staTime}}</view>
- </view>
- <view
- style="width: 96%;height: 26rpx;display: flex;margin: 0 auto; margin-top: 40rpx;align-items: center;">
- <view style="width: 25%;color: #666666;font-size: 26rpx;">接待结束时间</view>
- <view style="width: 75%;color: #333333;font-size: 26rpx;">{{userlistobj.endTime1}}</view>
- </view>
- <view
- style="width: 96%;height: 26rpx;display: flex;margin: 0 auto; margin-top: 40rpx;align-items: center;">
- <view style="width: 25%;color: #666666;font-size: 26rpx;">录音时长</view>
- <view style="width: 75%;color: #333333;font-size: 26rpx;">{{userlistobj.mm}}分钟</view>
- </view>
- </view>
- </view>
-
- <!-- 销讲执行 -->
- <view class="zhezhao" @click="clenReceivedetailsabout()" v-if="Pinspeak"></view>
- <view class="followingpop-up" v-if="Pinspeak">
- <view class="guanbibox">
- <image class="guanbixen" @click="clenReceivedetailsabout()" src="../../static/images/Shutdown.png"
- mode=""></image>
- <view class="cenisboxtab">
- <view class="cenisboxtabview">
- <view>销讲执行</view>
- </view>
- </view>
- </view>
- <view class="pingfenbox">
- <view :class="{ activecllasscet: zhixingcenterindex == 0 }" @click="recordclick(0)">销讲总执行率{{totalRate}}%
- </view>
- <view v-if="permissions.commonly6" :class="{ activecllasscet: zhixingcenterindex == 1 }"
- @click="recordclick(1)">禁忌执行</view>
- </view>
- <view v-if="zhixingcenterindex == 0" class="cenisbox">
- <view
- style="width: 100%;height: 80rpx;border-bottom: 1rpx solid #E0E0E0;display: flex;align-items: center;">
- <view style="flex: 1;font-size: 28rpx;color: #333333;font-weight: 600;text-indent: 20rpx;">指标</view>
- <view style="flex: 1;font-size: 28rpx;color: #333333;font-weight: 600;text-indent: 170rpx;">执行率
- </view>
- </view>
- <view class="Level-box" v-for="(item,index) in ratelist" :key="index">
- <view class="Level1che" @click="changeshow(item,1)">
- <view class="title1">{{item.name.substring(0,8)}}</view>
- <view class="leve1-jindu">
- <view class="jindutiao">
- <view class="huanxing" :style="{width: item.ratepercent/item.rate*100+'%'}"></view>
- <view class="text">{{((item.ratepercent/item.rate).toFixed(2)*100).toFixed()}}%</view>
- </view>
- </view>
- <view class="jiantobox">
- <image v-if="!item.show" class="arrow rotatearrow" src="/static/images/down.png" mode="" />
- <image v-else class="arrow" src="/static/images/up.png" mode="" />
- </view>
- </view>
- <view class="hhhbox" v-if="item.show" v-for="(subitem,i) in item.children" :key="i">
- <view class="Level2che" @click="changeshow2(subitem,1)">
- <view class="title1">{{subitem.name.substring(0,8)}}</view>
- <view class="leve1-jindu">
- <view class="zhixing" v-if="!subitem.selected">已执行</view>
- <view class="zhixing2" v-else>未执行</view>
- </view>
- <view class="jiantobox">
- <image v-if="!subitem.show" class="arrow rotatearrow" src="/static/images/down.png"
- mode="" />
- <image v-else class="arrow" src="/static/images/up.png" mode="" />
- </view>
- </view>
- <view class="hsnrtest" v-if="subitem.show">话术内容</view>
- <view class="Level3che" @tap="clickaudeopal(che)" v-if="subitem.show"
- v-for="(che,inc) in subitem.children" :key='inc'>
- <view class="title1">{{inc+1}}.{{che.name}}</view>
- <view class="jiantobox">
- <image v-if="che.selected==0" class="arrow" src="/static/images/rate-checked.png"
- mode="" />
- </view>
- </view>
- <view v-if="subitem.show" style="width: 100%;height: 30rpx;"></view>
- </view>
- </view>
- </view>
- <view v-if="zhixingcenterindex == 1">
- <view v-if="prohibitedlist.length!=0" class="title1-12" @click="tapbadge(item)"
- v-for="(item,index) in prohibitedlist" :key='index'>{{index+1}}.{{item}}</view>
- <view v-if="prohibitedlist.length==0" style="width: 100%;text-align: center;margin-top: 60rpx;">暂无数据
- </view>
- </view>
- </view>
-
- <!-- 客户意向 -->
- <view class="zhezhao" @click="clenReceivedetailsabout()" v-if="intention"></view>
- <view class="followingpop-up" v-if="intention">
- <view class="guanbibox">
- <image class="guanbixen" @click="clenReceivedetailsabout()" src="../../static/images/Shutdown.png"
- mode=""></image>
- <view class="cenisboxtab">
- <view class="cenisboxtabview">
- <view>客户意向</view>
- </view>
- </view>
- </view>
- <view class="pingfenbox">
- <view :class="{ activecllasscet: kehuyixiangcenterindex == 0 }" @click="customerofintention(0)">系统分析
- </view>
- <view :class="{ activecllasscet: kehuyixiangcenterindex == 1 }" @click="customerofintention(1)">人工校准
- </view>
- </view>
- <view class="cenisbox" v-if="kehuyixiangcenterindex==0">
- <view style="width: 100%;height: 100%;text-align: center;margin-top: 200rpx;"
- v-if="Acquirecustomerintentlist.length==0">
- 暂无数据
- </view>
- <view class="jianbox" v-if="Acquirecustomerintentlist.length!=0"
- v-for="(item,index) in Acquirecustomerintentlist" :key='index'>
- <view class="jianbox-cen">
- <view class="jianboxtext">{{item.name}}</view>
- <view class="jianboxjian" @click="Acquishow(index)">
- <image v-if="item.isshow==false" class="jiantop" src="../../static/images/jiantop.png"
- mode=""></image>
- <image v-if="item.isshow==true" class="jiantop1" src="../../static/images/jianbutton.png"
- mode=""></image>
- </view>
- </view>
- <view style="width: 690rpx;margin: 0 auto;display: flex;flex-wrap: wrap;" v-if="item.isshow==true">
- <view class="sdfsaf" v-if="chend.showType==0" @click="argece(chend)"
- v-for="(chend,i) in item.children" :key='i'>
- <view class="jiangshang sdfsaf">{{chend.text}}</view>
- </view>
- <view class="sdfsaf" v-if="chend.showType==1" @click="argece(chend)"
- v-for="(chend,i) in item.children" :key='i'>
- <view class="jiangshang1 sdfsaf">{{chend.text}}</view>
- </view>
- </view>
- </view>
- </view>
- <!-- @click="Edittag(item,chend,index,i)" -->
- <view class="cenisbox" v-if="kehuyixiangcenterindex==1">
- <view style="width: 100%;height: 100%;text-align: center;margin-top: 200rpx;"
- v-if="Acquirecustomerintentlist2.length==0">
- 暂无数据
- </view>
- <view class="jianbox" v-if="Acquirecustomerintentlist2.length"
- v-for="(item,index) in Acquirecustomerintentlist2" :key='index'>
- <view class="jianbox-cen">
- <view class="jianboxtext">{{item.name}}</view>
- <view class="jianboxjian" @click="Acquishow2(index)">
- <image v-if="item.isshow==false" class="jiantop" src="../../static/images/jiantop.png"
- mode=""></image>
- <image v-if="item.isshow==true" class="jiantop1" src="../../static/images/jianbutton.png"
- mode=""></image>
- </view>
- </view>
- <view class="bioqianwayl" v-if="item.isshow==true">
- <view class="jiangshang" v-for="(chend,i) in item.children" :key='i' v-if="chend.selected==0">
- {{chend.text}}
- </view>
- </view>
- </view>
- </view>
-
- <view class="calibration" v-if="permissions.commonly5" @click="tocalibration()">校准</view>
- </view>
-
- <view class="zhezhao" v-if="effective"></view>
- <view class="bounced" v-if="effective">
- <view class="jiajinghuatit">选择</view>
- <view>
- <view class="uni-list">
- <radio-group @change="radioChange">
- <label style="display: flex;align-items: center;font-size: 30rpx;
- width: 94%;height: 80rpx;margin: 0 auto;" v-for="(item, index) in effectiveitems" :key="item.value">
- <view style="margin-top: 2rpx;flex: 1; text-indent: 20rpx;">{{item.name}}</view>
- <view style="width: 80rpx;">
- <radio :value="item.value" :checked="index == effectiveindex" />
- </view>
- </label>
- </radio-group>
- </view>
- <view v-if="effectiveindex==4">
- <textarea class="ffectivetext" v-model="effectiveitext" placeholder="备注" />
- </view>
- </view>
- <view class="bounced3">
- <view class="bounced3-1" @click="effective=false">取消</view>
- <view class="bounced3-2" @click="$noMultipleClicks(effectiveAdd)">确认</view>
- </view>
- </view>
-
- <!-- 修改角色 -->
- <view class="zhezhao" v-if="roleisshaw" @tap="unmarktap()"></view>
- <view class="bounced" v-if="roleisshaw">
- <view class="jiajinghuatit">修改角色</view>
- <view
- style="width: 95%;display: flex;flex-wrap: wrap;margin: 0 auto;padding-top: 30rpx;padding-bottom: 30rpx;">
- <view class="viewclace" :class="roleindexrow == index ? 'bosdttom' : ''" @click="rl=rolexuanze(index)"
- v-for="(item,index) in tablist.slice(1,tablist.length)" :key="index">
- <view>{{item.name}}</view>
- </view>
- <view class="headpade" style="border: none;">
- <view class="biaoji" @tap="addRole">新增角色</view>
- </view>
- </view>
- <view class="bounced3" style="margin-top: 20rpx;">
- <view class="bounced3-1" @tap="unmarktap()">取消</view>
- <view class="bounced3-2" @tap="roletab()">确认</view>
- </view>
- </view>
- <u-toast ref="uToast" />
- </view>
- </template>
-
- <script>
- var util = require("../../utils/util.js");
- var config = require("../../config");
- import zaudio from '@/components/uniapp-zaudio/zaudio';
- export default {
- components: {
- zaudio
- },
- data() {
- return {
- noClick: true,
- moreShow: false,
- kehuyixiangcenterindex: 0,
- Acquirecustomerintentlist2: [],
- zhixingcenterindex: 0,
- prohibitedlist: [],
- guanjianciishow: false,
- tablist: [],
- roleindex: 0,
- roleindexbiaoji: -1,
- recordPath: "",
- customerId: "",
- luyinList: [], //录音文件
- newluyinList: [],
- dialogList: [], //录音识别列表
- csdFileindex: 0,
- date: "", //年月日
- tab: 0, // 默认是音频识别
- scrollTop: 0,
- scrollId: "",
- playNow: 0,
- ratelist: [], //评分列表
- totalRate: "",
- thewrongword: "", //错误词
- reswrongword: "", //正确词
- isshow2: false,
- messagelisy: [],
- isshow3: false,
- biaoqianlist: [],
- biaoqianindex: 0,
- changanitem: {},
- duihuawenjianid: "",
- biaoqianid: "",
- status: 0,
- // jiaoseshow: true,
- itemobj: {},
- textindex: 0, //下拉 转写文件下标
- toptextindex: 0, //上拉 转写文件下标
- biojiisshow: false,
- speaker: '',
- dshfkjsdkksodofydwfkhwdfkjh: 0,
- userlistobj: {},
- Acquirecustomerintentlist: [],
- options1: [],
- Receivedetailsabout: false,
- Pinspeak: false,
- intention: false,
- yixingindex: 0, //意向,统计切换
- buildingID: '',
- // methodsisshow:false,
- Thetapeidisshow: false,
- // Menulist:[],
- // Menulistisshow:false,
- validInvalid: 0,
- calibration: 0,
-
- effective: false,
- effectiveindex: '0',
- effectiveitems: [{
- value: '1',
- name: '没电指派无录音',
- checked: true
- },
- {
- value: '2',
- name: '离线指派无录音',
- },
- {
- value: '3',
- name: '系统测试误操作'
- },
- {
- value: '4',
- name: '非接访场景录音'
- },
- {
- value: '5',
- name: '其他'
- }
- ],
- effectiveitext: '',
- textItself: '',
- argtextindex1: 0,
- argtextindex2: 0,
- permissions: {
- commonly1: false,
- commonly2: false,
- commonly3: false,
- commonly4: false,
- commonly5: false,
- commonly6: false
- },
-
- roleisshaw: false,
- roleindexrow: 0,
- roletiaoshu: 0,
- ACTION: Symbol('zaudio'), // 唯一值区分每个页面的方法
- isPageHide: false, // 是否息屏
- duration: '', // 总时长
- refresh: false, // 默认false
- isNum:false
- };
- },
- computed: {
- conversionTiame() {
- return (e) => {
- return this.getTime(e);
- }
- },
-
- },
-
- onLoad(options) {
- this.status = options.status;
- this.customerId = options.customerId;
- this.itemobj = uni.getStorageSync('searchobj');
- this.stateisshow = options.stateisshow;
- this.$zaudio.autoPlay = true
- if (options.refresh) this.refresh = options.refresh
-
- this.$zaudio.on('seek', this.ACTION, (time) => {
- this.sliderChangeComplate(this.TIMEEVENT(time))
- })
- this.$zaudio.on('playing', this.ACTION, (obj) => {
- //实时渲染当前的播放状态
- this.$zaudio.syncRender()
- this.duration = obj.duration
- this.TimeUpdate(this.TIMEEVENT(obj.current))
- })
-
- this.$zaudio.on('ended', this.ACTION, e => {
- console.log('音频播放结束')
- this.$zaudio.stop()
- this.$nextTick(() => {
- console.log(this.$zaudio,'音频播放结束')
- this.init(this.itemobj)
- })
- })
-
- uni.$on('DETAILS2INIT', (info) => {
- this.itemobj = info
- this.init(info)
- });
-
- // 当前页面状态
- uni.$on('newobjStatus', status => {
- this.status = status
- })
- },
-
-
- onShow() {
- //实时渲染当前的播放状态
- this.$zaudio.syncRender()
-
- let newmenulist = uni.getStorageSync('weapp_session_Menu_data');
- this.permissions.commonly1 = newmenulist.bjgw;
- this.permissions.commonly2 = newmenulist.jdwxbj;
- this.permissions.commonly3 = newmenulist.swyxal;
- this.permissions.commonly4 = newmenulist.ccc;
- this.permissions.commonly5 = newmenulist.xz;
- this.permissions.commonly6 = newmenulist.ckwjzx;
- //1 标记顾问 bjgw
- //1 接待无效标记 jdwxbj
- //1 设为优秀案例 swyxal
- // 常错词 ccc
- // 校准 xz
- this.intention = false;
- this.kehuyixiangcenterindex = 0;
- this.buildingID = uni.getStorageSync('buildingID').id;
- this.roleindex = 0;
- if (this.stateisshow == 2) {
- var info = this.itemobj;
- }
- !this.isPageHide && this.init(info);
- },
-
- onHide() {
- this.isPageHide = true
- },
-
- onUnload() {
- uni.$off('DETAILS2INIT')
- uni.$off('newobjStatus')
- // uni.$off('consumerDetail')
- //卸载不需要的业务和获取播放状态的业务,提高页面性能
- this.$zaudio.off('seek', this.ACTION);
- this.$zaudio.off('playing', this.ACTION);
- this.$zaudio.off('ended', this.ACTION);
- },
-
- methods: {
- borderColor(index) {
- let obj = {
- color: '',
- borderRadius: '',
- border: ''
- }
- switch (index) {
- case 1:
- obj.color = '#E6625B';
- obj.borderRadius = '8rpx';
- obj.border= '2rpx solid #E6625B';
- break;
- case 2:
- obj.color = '#FF981E';
- obj.borderRadius = '8rpx';
- obj.border= '2rpx solid #FF981E';
- break;
- case 3:
- obj.color = '#F6BD16';
- obj.borderRadius = '8rpx';
- obj.border= '2rpx solid #F6BD16';
- break;
- case 5:
- obj.color = '#4980C8';
- obj.borderRadius = '8rpx';
- obj.border= '2rpx solid #4980C8';
- break;
- case 6:
- obj.color = '#60CBEC';
- obj.borderRadius = '8rpx';
- obj.border= '2rpx solid #60CBEC';
- break;
- case 7:
- obj.color = '##FF981E';
- obj.borderRadius = '8rpx';
- obj.border= '2rpx solid #FF981E';
- break;
- case 8:
- obj.color = '#4F861E';
- obj.borderRadius = '8rpx';
- obj.border= '2rpx solid #4F861E';
- break;
- default:
- obj.color = '#9F61C8';
- obj.borderRadius = '8rpx';
- obj.border= '2rpx solid #9F61C8';
- break;
- }
- return obj
- },
-
- // 关闭弹窗
- close() {
- this.dialogList.forEach(res => {
- res.message.forEach(asd => {
- asd.isshow = false;
- })
- })
- this.$forceUpdate();
- },
- // 添加角色
- addRole() {
- this.tablist.push({
- name: String.fromCharCode(this.tablist.length + 64)
- })
- },
- rolexuanze(index) {
- this.roleindexrow = index;
- },
- Modifyrole(dialog, item) {
- this.roleisshaw = true;
- this.roletiaoshu = dialog;
- this.roleindexrow = this.dialogList[this.csdFileindex].message[this.roletiaoshu].speaker - 1;
- },
- roletab() {
- // let itso=this.dialogList[this.csdFileindex].message[this.roletiaoshu];
- let itso = Object.assign({}, this.dialogList[this.csdFileindex].message[this.roletiaoshu]);
- itso.onebest = itso.onebest.replace(/<.*?>/ig, "");
- this.$u.post("/corpus/updateRole", {
- corpusId: this.luyinList[this.csdFileindex].id,
- transferContent: JSON.stringify([itso]),
- speaker: this.roleindexrow + 1,
- customerId: this.customerId
- }).then(res => {
- this.dialogList[this.csdFileindex].message[this.roletiaoshu].speaker = this.roleindexrow + 1
- this.roleisshaw = false;
- this.dialogList.forEach(res => {
- res.message.forEach(asd => {
- asd.isshow = false;
- })
- })
- uni.showToast({
- title: '修改成功',
- duration: 2000
- });
-
- })
- },
- argece(item) {
- if (item.selected == 0) {
- // 关闭当前页面弹窗
- this.Pinspeak = false
- uni.navigateTo({
- url: '/pages/mine/ScoringPlaylist?customerId=' + this.customerId + "&id=" + item
- .keywordsId + "&type=" + 1 + '&UpDateEvent=DETAILS2INIT'
- })
- }
- },
- //关键词点击
- tapbadge(item) {
- //进搜索页面
- uni.navigateTo({
- url: '/pages/learning/Keywordsearch?customerId=' + this.customerId + "&keyword=" + item +
- "&skpl=" + "2" + '&UpDateEvent=DETAILS2INIT'
- })
- },
- recordclick(i) {
- this.zhixingcenterindex = i;
- if (i == 0) {
- this.getRatelist()
- } else {
- this.huoqujinji()
- }
- },
- //获取禁忌
- huoqujinji() {
- uni.showLoading({
- title: '加载中'
- });
- this.$u.get("/customer/findTabooWordsByCusId", {
- cusId: this.customerId
- }).then(res => {
- if (res.length) {
- this.prohibitedlist = res;
- }
- setTimeout(function() {
- uni.hideLoading();
- }, 1000);
- })
- },
- //评分点击
- clickaudeopal(item) {
- if (item.selected == 0) {
- // 关闭当前页面弹窗
- this.Pinspeak = false
- uni.navigateTo({
- url: '/pages/mine/ScoringPlaylist?customerId=' + this.customerId + "&id=" + item
- .marketingId + "&type=" + 0 + '&UpDateEvent=DETAILS2INIT'
- })
- }
- },
- //获取用户信息
- gituserlist() {
- this.$u.get("/matchKeywords/personalReceptionRecord", {
- customerId: this.customerId
- }).then(res => {
- res.endTime1 = res.endTime.substring(0, 19);
- this.userlistobj = res;
- })
- },
- // 点击更多
- moreClick(){
- this.gituserlist()
- this.Thetapeidisshow = true
- },
-
-
- Acquishow2(i) {
- this.Acquirecustomerintentlist2[i].isshow = !this.Acquirecustomerintentlist2[i].isshow;
- },
- tocalibration() {
- uni.navigateTo({
- url: '/pages/mine/calibration?id=' + this.customerId
- });
- },
- customerofintention(i) {
- this.kehuyixiangcenterindex = i;
- if (i == 0) {
- this.Acquirecustomerintent()
- } else {
- this.Acquirecustomerintent2()
- }
- },
- //获取人工校准意向信息
- Acquirecustomerintent2() {
- this.Acquirecustomerintentlist2 = [];
- this.$u.get("/matchKeywords/findManualCalibration", {
- customerId: this.customerId,
- type: 1
- }).then(res => {
- res.forEach(item => {
- item.isshow = true;
- item.children.forEach(chend => {
- if (chend.isInterval == 0) {
- chend.text = chend.name + chend.unit + '-' + chend.endName + chend
- .unit
- } else {
- chend.text = chend.name
- }
- })
- })
- this.Acquirecustomerintentlist2 = res;
- })
- },
- //获取系统意向信息
- Acquirecustomerintent() {
- this.Acquirecustomerintentlist = [];
- this.$u.get("/matchKeywords/findSystemAnalysis", {
- customerId: this.customerId
- }).then(res => {
- res.forEach(item => {
- item.isshow = true;
- item.children.forEach(chend => {
- if (chend.isInterval == 0) {
- chend.text = chend.name + chend.unit + '-' + chend.endName + chend
- .unit
- } else {
- chend.text = chend.name
- }
- })
- })
- this.Acquirecustomerintentlist = res;
- })
- },
- Acquishow(i) {
- this.Acquirecustomerintentlist[i].isshow = !this.Acquirecustomerintentlist[i].isshow;
- },
- Edittag(item, chend, index, i) {
- var selected = '';
- if (chend.selected == 0) {
- selected = 1;
- this.Acquirecustomerintentlist[index].children[i].selected = 1;
- } else {
- selected = 0;
- this.Acquirecustomerintentlist[index].children[i].selected = 0;
- }
- this.$u.post("/matchKeywords/updatePersonalMatchData", {
- carId: this.customerId,
- selected: selected,
- name: chend.name,
- pid: chend.pid,
- level: chend.level,
- endName: chend.endName,
- keywordsId: chend.keywordsId
- }).then(res => {
-
- })
- },
- //取消接待详情
- clenReceivedetailsabout() {
- this.Receivedetailsabout = false;
- this.Pinspeak = false;
- this.intention = false;
- this.Thetapeidisshow = false;
- },
- //意向统计切换
- Intentiontoswitch(i) {
- this.yixingindex = i;
- if (i == 1) {
- this.statistical()
- }
- },
- statistical() {
- this.$u.get("/matchKeywords/findCARKeywords", {
- customerId: this.customerId
- }).then(res => {
- res.forEach(item => {
- if (item.isInterval == 0) {
- item.name = item.name + item.unit + '-' + item.endName + item.unit;
- }
-
- })
- this.options1 = res;
- })
- },
-
- Receivetap() {
- this.Receivedetailsabout = true;
- },
- //标记
- alllogo() {
- var that = this;
- let msg = '';
- if (this.userlistobj.validInvalid != 0) {
- msg = '是否标记为"有效录音"?';
- uni.showModal({
- title: '提示',
- content: msg,
- success: function(res) {
- if (that.noClick) {
- that.noClick= false;
- if (res.confirm) {
- let parames = {
- id: that.customerId,
- validInvalid: '',
- invalidReason: 0
- }
- if (that.userlistobj.validInvalid == 0) {
- parames.validInvalid = 1;
- } else {
- parames.validInvalid = 0;
- }
- that.$u.post("/customer/updateValidInvalid", parames).then(res => {
- that.Thetapeidisshow = false;
- })
- }
- setTimeout(()=> {
- that.noClick= true;
- }, 2000)
- } else {
- // 这里是重复点击的判断
- }
- }
- });
- } else {
- this.effective = true;
- this.Thetapeidisshow = false
- }
- },
-
- effectiveAdd() {
- if (this.effectiveindex == 4) {
- if (this.effectiveitext.length == 0) {
- uni.showToast({
- title: '备注不能为空',
- icon: "none",
- duration: 2000
- });
- return
- }
- }
- this.effective = false;
- let parames = {
- id: this.customerId,
- validInvalid: '',
- validInvalid: 1,
- invalidReason: Number(this.effectiveindex) + 1,
- invalidNote: this.effectiveitext
- }
- this.$u.post("/customer/updateValidInvalid", parames).then(res => {
- this.Thetapeidisshow = false;
- })
- },
-
- radioChange(evt) {
- this.effectiveitext = "";
- for (let i = 0; i < this.effectiveitems.length; i++) {
- if (this.effectiveitems[i].value === evt.detail.value) {
- this.effectiveindex = i;
- break;
- }
- }
- },
-
- //接待详情点击
- Receivedetailsabouttab(stringa) {
- if (stringa == 'Receivedetailsabout') {
- this.gituserlist()
- this.Thetapeidisshow = false;
- this.Receivedetailsabout = true;
- } else if (stringa == 'Pinspeak') {
- this.getRatelist()
- this.Pinspeak = true;
- } else {
- if (this.kehuyixiangcenterindex == 0) {
- this.Acquirecustomerintent()
- } else {
- this.Acquirecustomerintent2()
- }
-
- this.intention = true;
- }
- },
- guanjiancishifo() {
- // this.guanjianciishow=!this.guanjianciishow;
- this.stateisshow = 1;
- uni.navigateTo({
- url: '/pages/learning/Keywordsearch?customerId=' + this.customerId + "&status=" + this.status +
- "&skpl=" + "1" + '&UpDateEvent=DETAILS2INIT'
- })
- },
- //标记选择角色
- biaojixuanze(index) {
- this.roleindexbiaoji = index;
- },
- //标记顾问
- tagtap() {
- this.biojiisshow = !this.biojiisshow;
- },
- //取消标记
- unmarktap() {
- this.biojiisshow = false;
- this.roleindexbiaoji = this.dshfkjsdkksodofydwfkhwdfkjh;
- this.roleisshaw = false
- },
- //确认标记
- Confirmthetag() {
- var num = this.roleindexbiaoji + 1;
- let params = {
- id: this.luyinList[this.csdFileindex].id,
- speaker: num,
- customerId: this.customerId
- }
- this.$u.get(config.service.markConsultant, params).then((data) => {
- this.biojiisshow = false;
- this.biaojiyuyi()
- this.fenjiaoseunfo()
- uni.showToast({
- title: '标记成功',
- duration: 2000
- });
- })
- },
- //标记语义词
- biaojiyuyi() {
- let parames = {
- carId: this.customerId
- }
- this.$u.post("/matchKeywords/toMatchKeywords", parames).then(res => {})
- },
- //分角色
- tapspagek(index) {
- this.roleindex = index;
- this.newluyinList = [];
- this.fenjiaoseunfo()
- },
- //分角色标记刷新
- fenjiaoseunfo() {
- var bgcd = this.playNow * 1000;
- this.newluyinList = [];
- this.dialogList = [];
- console.log(this.playNow, '当前播放时长')
- let obj = {
- corpusId: this.luyinList[this.csdFileindex].id,
- bg: bgcd,
- speaker: this.roleindex
- }
- this.$u.get(config.service.getCorpusAnal, obj).then((data) => {
- this.tablist = [];
- let jsonInfo = JSON.parse(data.audioContent);
- for (var i = 0; i <= data.speakerNum; i++) {
- if (i === 0) {
- this.tablist.push({
- name: '全部'
- })
- } else {
- this.tablist.push({
- name: String.fromCharCode(i + 64)
- })
- }
- }
-
- if (data.speaker == null) {
- this.roleindexbiaoji = 0;
- this.dshfkjsdkksodofydwfkhwdfkjh = 0;
- } else {
- this.tablist[data.speaker].name = this.tablist[data.speaker]
- .name + "顾问";
-
- this.roleindexbiaoji = data.speaker - 1;
- this.dshfkjsdkksodofydwfkhwdfkjh = data.speaker - 1;
- }
-
- if (this.roleindex > this.tablist.length - 1) {
- this.roleindex = this.tablist.length - 1
- this.fenjiaoseunfo()
- }
-
-
- this.speaker = data.speaker;
- //上拉标记点
- this.textindex = data.index;
- //下拉标记点
- this.toptextindex = data.index;
-
- jsonInfo.forEach(item => {
- item.message = JSON.parse(item.onebest)
- item.backindex = this.csdFileindex
- })
-
- this.newluyinList = jsonInfo;
- if (this.textindex == null) {
- return
- } else {
- this.dialogList.push(jsonInfo[this.textindex]);
- }
- })
- },
- toKeywordsearch() {
- this.stateisshow = 1;
- uni.navigateTo({
- url: '/pages/learning/Keywordsearch?customerId=' + this.customerId + "&status=" + this.status +
- "&skpl=" + "1" + '&UpDateEvent=DETAILS2INIT'
- })
- },
-
-
- TimeUpdate(currentTime) {
- this.playNow = Number(currentTime)
- if (this.dialogList.length == 0) {
- return
- } else {
- const message = this.dialogList[0].message;
- if (!message) return
- for (let i = 0; i < message.length; i++) {
- if ((Math.floor(message[i].bg / 1000) <= this.playNow && this.playNow < Math.floor(message[i].ed /
- 1000))) {
- this.scrollId = "dialog" + this.csdFileindex + "text" + message[i].bg;
- break;
- }
- if (i < message.length - 1 && Math.floor(message[i].ed / 1000) < this.playNow && this.playNow <
- Math.floor(message[i + 1].bg / 1000)) {
- this.scrollId = "dialog" + this.csdFileindex + "text" + message[i].bg;
- break;
- }
- }
- }
- this.$forceUpdate()
- },
-
- init(info) {
- const parames = {
- pageNum: 1,
- pageSize: 100,
- query: {
- customerId: this.customerId
- }
- }
- this.$u.post("/corpus/findByPage", parames).then(res => {
- if (res && res.length) {
- let alltime = 1 + res[0].recordDuration;
- this.calibration = res[0].calibration;
- if (this.calibration == 0) {
- this.kehuyixiangcenterindex = 0;
- } else {
- this.kehuyixiangcenterindex = 1;
- }
- if (info.bg != 0) {
- this.luyinList = res;
- this.recordPath = res[0].recordPath
- this.date = res[0].receptionTime;
- this.getCorpusAnalysis(info);
- } else {
- this.luyinList = res;
- this.recordPath = res[0].recordPath
- this.date = res[0].receptionTime;
- this.getCorpusAnalysis(info);
- this.zyAudio()
- }
-
- if (this.refresh) this.zyAudio()
- }
- })
- },
- //搜索跳转 定位到选择
- adasdasdasd(e) {
- this.stepPlay(e)
- },
- //下一页
- ltolower() {
- var lengthcz = this.newluyinList.length - 1;
- if (this.textindex >= lengthcz) {
- uni.showToast({
- title: '到底了',
- icon: 'none',
- duration: 2000
- });
- return
- } else {
- this.textindex = this.textindex + 1;
- this.newluyinList[this.textindex].message.forEach(item => {
- this.dialogList[0].message.push(item)
- })
- }
- },
-
-
- //下一页
- ltolower() {
- var lengthcz = this.newluyinList.length - 1;
- if (this.textindex >= lengthcz) {
- uni.showToast({
- title: '到底了',
- icon: 'none',
- duration: 2000
- });
- return
- } else {
- this.textindex = this.textindex + 1;
- this.newluyinList[this.textindex].message.forEach(item => {
- this.dialogList[0].message.push(item)
- })
- }
- console.log("下一页", this.textindex)
- },
- //上一页
- rolltoupper() {
- if (this.toptextindex == 0) {
- // uni.showToast({
- // title: '到头了',
- // duration: 2000
- // });
- return
- } else {
- if (this.dialogList[0] == undefined) {
- return
- } else {
- this.toptextindex = this.toptextindex - 1;
- let reverselist = this.newluyinList[this.toptextindex].message;
- let runlist = reverselist.reverse();
- runlist.forEach(item => {
- this.dialogList[0].message.unshift(item)
- })
- }
- }
- console.log("上一页", this.toptextindex)
- },
- jiajing(){
- if(this.status == 1) { // 加精
- this.tappick()
- }else{ // 取消加精
- this.notappick()
- }
- },
-
- // 取消全部加精
- notappick() {
- console.log('quxiao')
- var that = this;
- uni.showModal({
- title: '提示',
- content: '确认取消加精?',
- success: function(res) {
- if (res.confirm) {
- that.$u.get(config.service.delATD, {
- carId: that.customerId,
- itemId: that.buildingID
- }).then(data => {
- console.log(data)
- if (!data || data.code == 10000) {
- that.status = 1
- uni.showToast({
- title: '取消成功',
- duration: 2000
- });
- }
- }).catch(e => {
- uni.showToast({
- title: e.message,
- duration: 2000
- });
- })
- } else if (res.cancel) {
- console.log('用户点击取消');
- }
- }
- });
- },
-
- //全部加精
- tappick() {
- var that = this;
- uni.showModal({
- title: '提示',
- content: '确认加精?',
- success: function(res) {
- if (res.confirm) {
- console.log('用户点击确定');
- let objdata = {
- "carId": that.customerId, //客户id
- "status": 0,
- "itemId": that.buildingID,
- }
- that.$u.post(config.service.addATD, objdata).then(data => {
- console.log(data)
- if (!data || data.code == 10000) {
- that.status = 0
- uni.showToast({
- title: '加精成功',
- duration: 2000
- });
- }
- }).catch(e => {
- uni.showToast({
- title: e.message,
- duration: 2000
- });
- })
- } else if (res.cancel) {
- console.log('用户点击取消');
- }
- }
- });
- },
- //标签选择
- tapbiaoqianclisck(index) {
- this.biaoqianindex = index;
- this.biaoqianid = this.biaoqianlist[index].id
- },
- //复制
- clickcopy() {
- var that = this;
- uni.setClipboardData({
- data: that.thewrongword,
- success: function() {
- that.dialogList.forEach(res => {
- res.message.forEach(asd => {
- asd.isshow = false;
- })
- })
- that.$forceUpdate();
- }
- });
- },
- //确认加入常错词
- Confirmtheexit() {
- if(this.reswrongword.length>8 || this.thewrongword.length>8){
- this.$refs.uToast.show({
- title: '正确词错误词不能超过8个字',
- type: 'warning',
- })
-
- this.isshow2 = true;
- }else{
- let reg = /^[0-9]+$/
- if(reg.test(this.thewrongword)){
- this.$refs.uToast.show({
- title: '错误词不能为纯数字',
- type: 'warning',
- })
-
- this.isshow2 = true;
- }else{
- if (this.thewrongword) {
- if (this.reswrongword) {
- let parames = {
- customerId: this.customerId,
- cupid: this.luyinList[this.csdFileindex].id,
- wrongWord: this.thewrongword, //错误词
- correctWord: this.reswrongword, //正确词
- translateHtmlContent: this.messagelisy,
- }
- this.isshow2 = false;
-
-
- let sas = this.textItself.replace(this.thewrongword, this.reswrongword)
- this.dialogList[this.argtextindex1].message[this.argtextindex2].onebest = sas
-
- this.dialogList.forEach(res => {
- res.message.forEach(asd => {
- asd.isshow = false;
- })
- })
- this.$u.post("/corpus/addCorrectWord", parames).then(data => {
- this.thewrongword = "";
- this.reswrongword = "";
- })
- } else {
- this.$refs.uToast.show({
- title: '正确值不能为空',
- type: 'warning',
- })
- this.isshow2 = true;
- return
- }
- } else {
- this.$refs.uToast.show({
- title: '错误词不能为空',
- type: 'warning',
- })
- this.isshow2 = true;
- return
- }
- }
- }
-
- },
- //取消加入常错词
- Cancelout() {
- this.isshow2 = false;
- this.dialogList.forEach(res => {
- res.message.forEach(asd => {
- asd.isshow = false;
- })
- })
- },
- //加入长错词
- Oftenthewrongword() {
- this.isNum = false;
- this.reswrongword = "";
- this.isshow2 = true;
- let reg = /^[0-9]+$/
- if (reg.test(this.thewrongword)) {
- this.isNum = true
- }
- },
- //加精华
- Addtheessence() {
- this.isshow3 = true;
- this.biaoqianlist = []
- let parames = {
- "itemId": this.buildingID
- }
- this.$u.post("/addtodigest/findAllYi", parames).then(data => {
- this.biaoqianlist = data
- this.biaoqianlist.unshift({
- name: "逼单话术",
- id: 0
- })
- })
- },
- // 取消加精
- Cancelout2() {
- this.isshow3 = false;
- this.dialogList.forEach(res => {
- res.message.forEach(asd => {
- asd.isshow = false;
- })
- })
- },
- // 确认加精
- Confirmtheexit2() {
- if (this.biaoqianid) {
- this.biaoqianid = this.biaoqianid
- } else {
- this.biaoqianid = 0
- }
- this.isshow3 = false;
- this.dialogList.forEach(res => {
- res.message.forEach(asd => {
- asd.isshow = false;
- })
- })
- let objdata = {
- "itemId": this.buildingID,
- "carId": this.customerId, //客户id
- "startTime": this.changanitem.bg, //开始时间
- "startFile": this.duihuawenjianid, //对话所在录音文件id
- "endTime": this.changanitem.ed, //结束时间
- "marketingId": this.biaoqianid, //对应一级父id
- "jjTransfer": this.changanitem.onebest, //选中对话
- "status": 1
- }
- uni.request({
- url: config.service.addATD,
- method: "POST",
- header: {
- 'content-type': 'application/json',
- 'Authorization': 'Bearer ' + uni.getStorageSync('weapp_session_login_data').token
- },
- data: objdata,
- success: (data) => {
- if (data.data.code == 10000) {
- uni.showToast({
- title: '加精成功',
- duration: 2000
- });
- } else {
- uni.showToast({
- title: data.data.message,
- duration: 2000
- });
- }
- }
- })
- },
- //长按对话
- changanxiaoguo(item, index, i) {
- this.messagelisy = [];
- this.changanitem = {};
- this.duihuawenjianid = "",
- this.dialogList.forEach(res => {
- res.message.forEach(asd => {
- asd.isshow = false;
- })
- })
- this.changanitem = item;
- this.duihuawenjianid = this.luyinList[this.csdFileindex].id;
- this.dialogList[i].message[index].isshow = !this.dialogList[i].message[index].isshow;
- this.textItself = item.onebest;
- let onebest = item.onebest;
- this.thewrongword = onebest.replace(/<.*?>/ig, "");
- this.messagelisy = this.dialogList[i].message
- this.argtextindex1 = i;
- this.argtextindex2 = index;
- },
- //回到顶部
- gotoTop() {
- this.scrollId = null;
- this.$nextTick(() => {
- this.scrollId = "top";
- })
- },
- //切换tab
- changeTab(type) {
- if (type == 0) {
- this.tab = 0
- } else {
- this.tab = 1;
- this.getRatelist();
- }
- },
- //评分上下显隐
- changeshow(item, type) {
- item.show = !item.show;
- },
- changeshow2(item, type) {
- item.show = !item.show;
- },
- // 获取评分
- getRatelist() {
- if (this.ratelist.length == 0) {
- uni.showLoading({
- title: '加载中'
- });
- this.$u.get("/customer/findzkMByCusId", {
- cusId: this.customerId
- }).then(res => {
- if (res.length) {
- let level1 = []
- let level2rate = 0
- res.forEach(item => {
- if (item.pid == 0) {
- level1.push({
- id: item.marketingId,
- rate: item.fraction,
- name: item.name,
- sort: item.sort,
- show: false,
- ratepercent: 0,
- children: []
- })
- } else {
- if (item.selected == 0) {
- level2rate += item.fraction
- }
- }
- })
- this.totalRate = level2rate;
- res.forEach(subitem => {
- let subitempid = subitem.pid
- level1.forEach(item => {
- if (subitempid == item.id) {
- if (subitem.selected == 0) {
- item.ratepercent += subitem.fraction
- }
- item.children.push({
- id: subitem.id,
- rate: subitem.fraction,
- selected: subitem.selected,
- name: subitem.name,
- show: false,
- marketingId: subitem.marketingId,
- children: []
- })
- }
- })
- })
- res.forEach(subitem => {
- let subitempid = subitem.pid
- level1.forEach(chen => {
- chen.children.forEach(zxc => {
- if (subitempid == zxc.marketingId) {
- zxc.children.push({
- id: subitem.id,
- rate: subitem.fraction,
- selected: subitem.selected,
- name: subitem.name,
- marketingId: subitem.marketingId,
- })
- }
- })
- })
- })
- level1[0].show = true;
- level1[0].children[0].show = true;
- this.ratelist = level1
- }
- setTimeout(function() {
- uni.hideLoading();
- }, 1000);
- })
- }
- },
-
- // 获取转义后的对话结果
- getCorpusAnalysis(info) {
- this.dialogList = [];
- this.newluyinList = []
- uni.request({
- url: config.service.getCorpusAnal + '?corpusId=' + this.luyinList[this.csdFileindex].id +
- "&bg=" + info.bg + "&speaker=" + this.roleindex, //仅为示例,并非真实接口地址。
- method: "GET",
- header: {
- 'content-type': 'application/json',
- 'Authorization': 'Bearer ' + uni.getStorageSync('weapp_session_login_data').token
- },
- success: (data) => {
- this.tablist = [];
- let jsonInfo = JSON.parse(data.data.data.audioContent);
-
- for (var i = 0; i <= data.data.data.speakerNum; i++) {
- if (i === 0) {
- this.tablist.push({
- name: '全部'
- })
- } else {
- this.tablist.push({
- name: String.fromCharCode(i + 64)
- })
- }
- }
-
- if (data.data.data.speaker == null) {
- this.roleindexbiaoji = -1;
- this.dshfkjsdkksodofydwfkhwdfkjh = -1;
- } else {
- this.tablist[data.data.data.speaker].name = this.tablist[data.data.data.speaker]
- .name + "顾问";
- this.roleindexbiaoji = data.data.data.speaker - 1;
- this.dshfkjsdkksodofydwfkhwdfkjh = data.data.data.speaker - 1;
- }
-
- this.speaker = data.data.data.speaker;
- //上拉标记点
- this.textindex = data.data.data.index;
- //下拉标记点
- this.toptextindex = data.data.data.index;
-
- jsonInfo.forEach(item => {
- item.message = JSON.parse(item.onebest)
- item.backindex = this.csdFileindex;
- if (info.onebest) {
- item.message.forEach(che => {
- if (che.onebest == info.onebest) {
- che.onebest =
- `<font style='color: red'>${che.onebest}</font>`;
- }
- })
- }
- })
- this.dialogList = [];
- this.newluyinList = []
- this.newluyinList = jsonInfo;
- this.dialogList.push(jsonInfo[this.textindex]);
- this.adasdasdasd(Math.floor(info.bg / 1000))
- }
- })
- },
-
-
- getTime(time) {
- return util.formatSecond(time)
- },
-
- // 音频前进回退
- sliderChangeComplate(currentTime) {
- this.dialogList = []
- this.$u.get(config.service.fastForward, {
- corpusId: this.luyinList[this.csdFileindex].id,
- bg: (currentTime * 1000) || 0
- }).then(data => {
- this.textindex = data.index;
- this.toptextindex = data.index;
- if (data.index > this.newluyinList.length) {
- this.dialogList.push(this.newluyinList[0])
- } else {
- this.dialogList.push(this.newluyinList[data.index])
- }
- })
- },
-
- //长按点击播放
- clickbofang(dialog, item) {
- this.dialogList.forEach(res => {
- res.message.forEach(asd => {
- asd.isshow = false;
- })
- })
- this.$forceUpdate()
- let platetime = item.bg;
- let newtime = Math.floor(item.bg / 1000);
- this.dialogList = []
- uni.request({
- url: config.service.fastForward + '?corpusId=' + this.luyinList[this.csdFileindex].id +
- "&bg=" + platetime || 0, //仅为示例,并非真实接口地址。
- method: "GET",
- header: {
- 'content-type': 'application/json',
- 'Authorization': 'Bearer ' + uni.getStorageSync('weapp_session_login_data').token
- },
- success: (data) => {
- this.textindex = data.data.data.index;
- this.toptextindex = data.data.data.index;
- this.dialogList.push(this.newluyinList[data.data.data.index])
- this.stepPlay(newtime);
- }
- })
- },
-
- formatTime(num) {
- //格式化时间格式
- num = num.toFixed(0);
- let second = num % 60;
- if (second < 10) second = '0' + second;
- let min = Math.floor(num / 60);
- if (min < 10) min = '0' + min;
- return min + ":" + second;
- },
- changeEditing() {
- this.dialogListres[0].message.forEach(asd => {
- asd.isshow = false;
- })
- },
-
- //录音实例
- zyAudio() {
- let data = [{
- src: this.recordPath,
- title: '录音音频',
- singer: '',
- coverImgUrl: ''
- }]
- this.$zaudio.setAudio(data)
- //渲染第一首音频
- this.$zaudio.setRender(0)
- if (!this.refresh) {
- setTimeout(() => {
- this.$zaudio.operate()
- }, 150)
- }
- },
-
- // 跳转指定位置播放
- stepPlay(t) {
- this.$zaudio.seek(t)
- if (this.$zaudio.paused) {
- this.$zaudio.operate()
- }
- }
-
- },
- }
- </script>
-
-
- <style lang="scss" scoped>
- .box {
- width: 100%;
- height: 100vh;
- display: flex;
- flex-direction: column;
-
- .pingfenbox {
- width: 100%;
- height: 60rpx;
- line-height: 60rpx;
- border-bottom: 1px solid #E0E0E0;
- display: flex;
- }
-
- .pingfenbox view {
- flex: 1;
- text-align: center;
- font-size: 28rpx;
- text-indent: 20rpx;
- }
-
- .activecllasscet {
- background: #2671E2;
- color: #FFFFFF;
- }
-
- .title1-12 {
- font-size: 28rpx;
- color: #2671E2;
- font-weight: 400;
- text-indent: 30rpx;
- margin-top: 18rpx;
- }
-
- .headbox {
- width: 100%;
- min-height: 173rpx;
- }
-
- .zhuti {
- flex: 1;
- overflow: auto;
- }
-
- .bottombox {
- width: 100%;
- // min-height: 170rpx;
- border-top: 1rpx solid #E0E0E0;
- padding-bottom: 60rpx;
-
- .bottomhead {
- width: 100%;
- height: 81rpx;
- border-bottom: 1rpx solid #E0E0E0;
- display: flex;
- justify-content: space-between;
- align-items: center;
-
- .audio-slider {
- width: 87%;
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding-right: 30rpx;
- }
-
- .audio-slider .slider {
- width: 100%;
- padding: 0px 15rpx;
- box-sizing: border-box;
- }
-
- .audio-time {
- width: 110rpx;
- text-align: right;
- font-size: 26rpx;
- line-height: 28rpx;
- color: #70798D;
- display: flex;
- justify-content: space-between;
- }
-
- .audio-play {
- width: 48rpx;
- height: 48rpx;
- flex-shrink: 0;
- }
-
- .audio-play .image {
- width: 100%;
- height: 100%;
- margin-left: 30rpx;
- }
- }
-
- .botbotmm {
- width: 100%;
- height: 88rpx;
- display: flex;
- align-items: center;
- }
- }
- }
- .moremodal{
- position: fixed;
- top: 0;bottom: 0;
- left: 0;
- right: 0;
- background: rgba(0,0,0,0.5);
- display: flex;
- flex-direction: column;
- justify-content: flex-end;
- z-index: 1000000;
- .more-cont{
- width: 690rpx;
- padding: 30rpx;
- background: #fff;
- box-sizing: content-box;
- border-radius: 20rpx 20rpx 0 0;
- .more-title{
- width: 100%;
- display: flex;
- justify-content: space-between;
- height: 50rpx;
- font-size: 36rpx;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #333333;
- align-items: center;
- .close-icon{
- width: 32rpx;
- height: 32rpx;
- }
- }
- .more-btn{
- display: flex;
- margin-top: 30rpx;
- padding-bottom: 30rpx;
- border-bottom: 1rpx solid #e0e0e0;
- .btn-item{
- width: 284rpx;
- height: 72rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- background: #FFFFFF;
- border-radius: 8rpx;
- font-size: 30rpx;
- border: 1rpx solid #000;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #333333;
- margin-right: 30rpx;
- .icon{
- width: 30rpx;
- height: 30rpx;
- margin-right: 12rpx;
- }
-
- }
- }
- .other-btn{
- .btn-item{
- display: flex;
- align-items: center;
- font-size: 30rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #333333;
- line-height: 42rpx;
- padding: 30rpx 0;
- border-bottom: 1rpx solid #e0e0e0;
- .icon{
- width: 30rpx;
- height: 30rpx;
- margin-right: 12rpx;
- }
- }
- }
- }
- }
-
- .headboxhead {
- width: 100%;
- height: 84rpx;
- // border-bottom: 1px solid #E0E0E0;
- display: flex;
-
- .boxhead1 {
- margin-left: 30rpx;
- height: 84rpx;
- font-size: 30rpx;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #303030;
- line-height: 84rpx;
- }
-
- .boxhead2 {
- width: 46%;
- height: 84rpx;
- text-align: right;
- }
- }
-
- .boxhead2 image {
- width: 36rpx;
- height: 36rpx;
- margin-top: 24rpx;
- }
-
- .headboxbott {
- width: 100%;
- height: 88rpx;
- display: flex;
- align-items: center;
- border-top: 1rpx solid #E0E0E0;
- border-bottom: 1rpx solid #E0E0E0;
-
- .headovfu {
- flex: 1;
- height: 88rpx;
- overflow: hidden;
- display: flex;
- align-items: center;
- .mytab{
- margin-left: 20rpx;
- .tab-item{
- padding: 0 20rpx;
- height: 52rpx;
- line-height: 52rpx;
- background: #FFFFFF;
- border-radius: 8rpx;
- border: 1rpx solid #E0E0E0;
- font-size: 26rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #999999;
-
- }
- .tabActive{
- background: #2671E2;
- color: #fff;
- }
- }
-
- }
-
- .headpade {
- width: 160rpx;
- height: 88rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- box-shadow: -4rpx 0px 8rpx -4rpx rgba(0, 0, 0, 0.2);
- .biaoji {
- text-align: center;
- line-height: 52rpx;
- color: #FFFFFF;
- font-size: 26rpx;
- width: 100rpx;
- height: 52rpx;
- background: #E6625B;
- border-radius: 26rpx;
- }
- }
- }
-
- .fill {
- width: 2rpx;
- height: 41rpx;
- background: #E0E0E0;
- }
-
- .tmmchen {
- width: 25%;
- height: 88rpx;
- text-align: center;
- color: #666666;
- font-size: 24rpx;
- position: relative;
-
- .allimg {
- position: absolute;
- width: 168rpx;
- top: -152rpx;
- border: 1px solid #E0E0E0;
- background: #FFFFFF;
- font-size: 26rpx;
- color: #333333;
- text-align: center;
- box-shadow: 10rpx 10rpx 5rpx #888888;
- }
- }
-
- .tmmchen image {
- width: 44rpx;
- height: 44rpx;
- margin-bottom: 10rpx;
- }
-
- .tmmchen .text{
- height: 32rx;
- font-size: 24rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #666666;
- line-height: 32rpx;
- }
- .zhezhao {
- position: fixed;
- top: 0;
- left: 0;
- z-index: 999;
- width: 100%;
- height: 100vh;
- opacity: 0.5;
- background-color: #666666;
- }
-
- .followingpop-up {
- width: 100%;
- height: 75vh;
- background: #FFFFFF;
- position: fixed;
- background: #FFFFFF;
- left: 0px;
- bottom: 0px;
- z-index: 1000;
- display: flex;
- flex-direction: column;
-
- // position: absolute;
- .calibration {
- width: 90rpx;
- height: 90rpx;
- background: #2671E2;
- text-align: center;
- line-height: 90rpx;
- border-radius: 50%;
- color: #FFFFFF;
- position: absolute;
- right: 30rpx;
- bottom: 100rpx;
- }
-
- .guanbibox {
- width: 100%;
- padding-bottom: 20rpx;
- margin-top: 20rpx;
- border-bottom: 1px solid #E0E0E0;
- position: relative;
-
- .guanbixen {
- width: 30rpx;
- height: 30rpx;
- position: absolute;
- right: 30rpx;
- top: 6rpx;
- }
-
- .cenisboxtab {
- width: 100%;
- display: flex;
-
- .cenisboxtabview {
- flex: 1;
- display: flex;
- align-items: center;
- justify-content: center;
- color: #333333;
- font-size: 30rpx;
- font-weight: 600;
- }
- }
- }
-
- .cenisbox {
- flex: 1;
- overflow: auto;
-
- .jianbox {
- width: 100%;
- border-bottom: 1px solid #E0E0E0;
- padding-top: 24rpx;
- padding-bottom: 24rpx;
-
- .jianbox-cen {
- width: 100%;
- height: 78rpx;
- // border-bottom: 1px solid #E0E0E0;
- display: flex;
-
- .jianboxtext {
- flex: 1;
- height: 100%;
- font-size: 30rpx;
- font-weight: 600;
- line-height: 78rpx;
- color: #333333;
- text-indent: 30rpx;
- }
-
- .jianboxjian {
- width: 80rpx;
- height: 100%;
- line-height: 78rpx;
- text-align: center;
- }
- }
-
- .bioqianwayl {
- width: 690rpx;
- margin: 0 auto;
- display: flex;
- flex-wrap: wrap;
- }
-
- .bioqianwayl view {
- padding-left: 24rpx;
- padding-right: 24rpx;
- padding-top: 10rpx;
- padding-bottom: 10rpx;
- margin-right: 24rpx;
- margin-top: 20rpx;
- border-radius: 8rpx;
- font-size: 26rpx;
- }
- }
- }
- }
-
- .jiantop {
- width: 14rpx;
- height: 24rpx;
- }
-
- .jiantop1 {
- width: 20rpx;
- height: 14rpx;
- }
-
- .sdfsaf {
- padding-left: 24rpx;
- padding-right: 24rpx;
- padding-top: 10rpx;
- padding-bottom: 10rpx;
- border-radius: 8rpx;
- font-size: 26rpx;
- }
-
- .yixingindexclass {
- border-bottom: 3px solid #2671E2;
- }
-
- .cenisboxdspl {
- width: 94%;
- margin: 0 auto;
- padding-bottom: 24rpx;
- display: flex;
- flex-wrap: wrap;
-
- .cenisboxdsplview {
- padding-left: 24rpx;
- padding-right: 24rpx;
- padding-top: 10rpx;
- padding-bottom: 10rpx;
- background: #F4F8FD;
- color: #2671E2;
- font-size: 26rpx;
- margin-right: 24rpx;
- margin-top: 24rpx;
- }
- }
-
- .bounced {
- width: 570rpx;
- background: #FFFFFF;
- z-index: 1000;
- border-radius: 10rpx;
- position: fixed;
- left: 50%;
- top: 50%;
- transform: translate(-50%, -50%);
-
- .headpade {
- margin-top: 10rpx;
- padding: 8rpx 8rpx 8rpx 8rpx;
- background: #108ee9;
- color: #fff;
- border-radius: 16rpx;
- }
-
- /* 50%为自身尺寸的一半 */
- .jiajinghuatit {
- width: 100%;
- height: 68rpx;
- font-size: 30rpx;
- text-align: center;
- line-height: 68rpx;
- }
-
- .jiajinghuaview {
- padding: 18rpx 18rpx 18rpx 18rpx;
- display: flex;
- flex-wrap: wrap;
-
- .jiajinghuaview1 {
- padding: 8rpx 8rpx 8rpx 8rpx;
- font-size: 26rpx;
- border-radius: 12rpx;
- border: 1px solid #979797;
- margin-left: 8rpx;
- }
-
- .jighuaview2 {
- padding: 8rpx 18rpx 8rpx 18rpx;
- font-size: 26rpx;
- border-radius: 12rpx;
- border: 1px solid #979797;
- margin-left: 20rpx;
- margin-top: 10rpx;
- display: flex;
-
- .view1-text {
- text-align: center;
- }
-
- .view1-img {
- width: 50rpx;
- }
- }
- }
-
- .bounced3 {
- height: 100rpx;
- width: 100%;
- margin-top: 40rpx;
- border-top: 1px solid #dddddd;
- display: flex;
- }
-
- .bounced3-1 {
- width: 50%;
- height: 100%;
- text-align: center;
- line-height: 100rpx;
- border-right: 1px solid #dddddd;
- font-size: 36rpx;
- color: #999999;
- }
-
- .bounced3-2 {
- width: 50%;
- height: 100%;
- text-align: center;
- line-height: 100rpx;
- font-size: 36rpx;
- color: #108ee9;
- }
- }
-
- .viewclace {
- width: 100rpx;
- height: 40rpx;
- text-align: center;
- line-height: 40rpx;
- border-radius: 14rpx;
- margin-right: 34rpx;
- margin-top: 16rpx;
- font-size: 24rpx;
- background: #eee;
- }
-
- .bosdttom {
- color: #FFFFFF;
- background-color: #2671E2;
- }
-
-
-
-
- .dialog-block {
- margin: 20rpx 0;
- border-bottom: 1px solid #ccc;
-
- .fileName {
- max-width: 200rpx;
- text-align: center;
- margin: 10rpx auto;
- font-size: 28rpx;
- font-weight: 400;
- color: #666;
- height: 52rpx;
- line-height: 52rpx;
- background: #F8F8F8;
- border-radius: 4rpx;
- padding: 0 20rpx;
- }
- }
-
- .scroll-Y {
- font-size: 36rpx;
- color: #999999;
- background: #FFFFFF;
- margin-top: 30rpx;
- flex: 1;
- overflow-y: scroll;
- width: 100%;
- }
-
- .scroll-Y .text {
- margin: 30rpx;
- line-height: 80rpx;
- display: flex;
- }
- // 顾问默认在右边显示
- .scroll-Y .text[data-guwen="0"]
- // .scroll-Y .text[data-speaker="2"],
- // .scroll-Y .text[data-speaker="4"],
- // .scroll-Y .text[data-speaker="6"]
- {
- flex-direction: row-reverse;
- text-align: right;
-
-
- .contentInfo {
- .info {
- color: #666;
- font-size: 22rpx;
- padding: 0 28rpx;
- height: 62rpx;
- }
-
- .contentMain {
- display: flex;
- flex-direction: row-reverse;
- align-items: center;
-
- .content {
- margin-left: 0;
- margin-right: 30rpx;
- }
-
- .play {
- width: 50rpx;
- height: 50rpx;
- margin-right: 20rpx;
- }
- }
- }
-
-
-
- }
-
- .scroll-Y .text[data-guwen="0"]
- // .scroll-Y .text[data-speaker="2"],
- // .scroll-Y .text[data-speaker="4"],
- // .scroll-Y .text[data-speaker="6"]
- {
- .contentInfo {
- .info {
- .AudioUserName {
- margin-left: 10rpx;
- }
-
- display: flex;
- flex-direction: row-reverse;
- }
- }
- }
-
- .scroll-Y .text {
- .contentInfo {
- .info {
- .AudioUserName {
- margin-right: 10rpx;
- }
- }
- }
- }
-
- .scroll-Y .text .avatar {
- margin-top: 38rpx;
- text{
- display: block;
- width: 72rpx;
- height: 72rpx;
- line-height: 72rpx;
- text-align: center;
- background: #FFFFFF;
- border-radius: 8rpx;
- font-size: 30rpx;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- box-sizing: border-box;
- }
- image{
- width: 72rpx;
- height: 72rpx;
- }
- }
- .scroll-Y .text .contentInfo .info {
- color: #666;
- font-size: 22rpx;
- padding: 0 28rpx;
- }
-
- .scroll-Y .text .contentInfo .contentMain {
- display: flex;
- align-items: center;
- }
-
- .scroll-Y .text .contentInfo .contentMain .content {
- margin-left: 30rpx;
- line-height: 42rpx;
- text-align: left;
- padding: 15rpx 20rpx;
- border-radius: 8rpx;
- max-width: 442rpx;
- background: #F8F8F8;
- position: relative;
- font-size: 30rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #505050;
-
- .tankuangcss {
- position: absolute;
- top: -140rpx;
- left: -120rpx;
- width: 308rpx;
- height: 130rpx;
- background-color: #333333;
- font-size: 24rpx;
- color: #FFFFFF;
- padding-top: 4rpx;
- padding-bottom: 4rpx;
- display: flex;
- flex-wrap: wrap;
- border-radius: 15rpx;
- z-index: 1000;
- }
-
- .bottoms {
- top: unset;
- bottom: -140rpx;
- }
- }
-
- .scroll-Y .text .contentInfo .contentMain .play {
- width: 50rpx;
- height: 50rpx;
- margin-left: 20rpx;
- }
-
- .backTop {
- width: 60rpx;
- height: 60rpx;
- background: rgba(211, 235, 253, 1);
- box-shadow: 0rpx 0rpx 2rpx 4rpx rgba(38, 161, 255, 0.04);
- border-radius: 50%;
- position: fixed;
- bottom: 200rpx;
- right: 8rpx;
- display: flex;
- justify-content: center;
- align-items: center;
-
- image {
- width: 26rpx;
- height: 34rpx;
- }
- }
-
- .jiangshang {
- color: #fff;
- background: #2671E2;
- }
-
- .jiangshang1 {
- color: #FFFFFF;
- background: #999999;
- }
-
- // 表单
- .tian-view {
- width: 570rpx;
- background-color: #FFFFFF;
- border-bottom: 1px solid #ededee;
- display: flex;
- min-height: 96rpx;
-
- .tian-view-t1 {
- width: 20rpx;
- font-size: 34rpx;
- height: 34rpx;
- line-height: 110rpx;
- letter-spacing: 0px;
- color: red;
- }
-
- .tian-view-t2 {
- width: 30%;
- min-height: 96rpx;
- line-height: 96rpx;
- font-size: 34rpx;
- color: #333;
- }
-
- .tian-view-t3 {
- width: 61%;
- padding-top: 31rpx;
- padding-bottom: 31rpx;
- display: flex;
-
- .tian-input {
- width: 98%;
- font-size: 34rpx;
- border: none;
- }
- }
- }
-
- .inputbox {
- width: 100%;
- height: 100rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- border-bottom: 1px solid #E0E0E0;
-
- .thisinput {
- width: 94%;
- height: 52rpx;
- background: #FFFFFF;
- border-radius: 8rpx;
- border: 1px solid #C9C9C9;
- color: #333333;
- font-size: 26rpx;
- text-indent: 26rpx;
- line-height: 52rpx;
- }
- }
-
- .biaoqiantom {
- background-color: #008EF2;
- color: #FFFFFF;
- border: none;
- }
-
- .Level-box {
- padding-bottom: 2rpx;
-
- .hhhbox {
- width: 100%;
- padding-left: 30rpx;
- padding-right: 30rpx;
- border-bottom: 1rpx solid #E0E0E0;
- background: #FFFFFF;
-
- // padding-bottom: 32rpx;
- .hsnrtest {
- height: 24rpx;
- font-size: 24rpx;
- font-weight: 400;
- color: #666666;
- line-height: 24rpx;
- }
-
- .Level3che {
- width: 100%;
- height: 28rpx;
- display: flex;
- line-height: 28rpx;
- align-items: center;
- margin-top: 30rpx;
-
- .title1 {
- flex: 1;
- font-size: 28rpx;
- color: #2671E2;
- font-weight: 400;
- }
-
- .jiantobox {
- width: 30rpx;
- height: 30rpx;
- display: flex;
- align-items: center;
-
- .arrow {
- width: 28rpx;
- height: 28rpx;
- }
- }
- }
- }
-
- .Level2che {
- width: 100%;
- height: 88rpx;
- display: flex;
- line-height: 88rpx;
- align-items: center;
-
- .title1 {
- flex: 2;
- font-size: 28rpx;
- color: #333333;
- font-weight: 400;
- }
-
- .leve1-jindu {
- flex: 3;
- display: flex;
- justify-content: center;
- align-items: center;
-
- .zhixing {
- width: 108rpx;
- height: 44rpx;
- background: #2671E2;
- border-radius: 4rpx;
- font-size: 28rpx;
- text-align: center;
- line-height: 44rpx;
- color: #FFFFFF;
- }
-
- .zhixing2 {
- width: 108rpx;
- height: 44rpx;
- background: #F8F8F8;
- border-radius: 4rpx;
- font-size: 28rpx;
- text-align: center;
- line-height: 44rpx;
- color: #999999;
- }
- }
-
- .jiantobox {
- width: 30rpx;
- height: 30rpx;
- display: flex;
- align-items: center;
-
- .arrow {
- width: 30rpx;
- height: 18rpx;
- }
- }
- }
-
- .Level1che {
- width: 100%;
- height: 94rpx;
- background: #F5F5F5;
- display: flex;
- line-height: 94rpx;
- align-items: center;
- padding-left: 30rpx;
- padding-right: 30rpx;
-
- .title1 {
- flex: 2;
- font-size: 30rpx;
- color: #333333;
- font-weight: 400;
- }
-
- .leve1-jindu {
- flex: 3;
-
- .jindutiao {
- width: 96%;
- height: 28rpx;
- background: #D5EEE2;
- line-height: 28rpx;
- border-radius: 14rpx;
- position: relative;
-
- .huanxing {
- height: 100%;
- background: #4FC78F;
- border-radius: 14rpx;
- }
-
- .text {
- position: absolute;
- top: 0rpx;
- right: 0rpx;
- font-size: 28rpx;
- font-weight: 400;
- color: #333333;
- }
- }
- }
-
- .jiantobox {
- width: 30rpx;
- height: 30rpx;
- display: flex;
- align-items: center;
-
- .arrow {
- width: 30rpx;
- height: 18rpx;
- }
- }
- }
- }
-
- .rotatearrow {
- transform: rotate(270deg);
- }
-
- .ffectivetext {
- width: 85%;
- margin: 10rpx auto;
- height: 100rpx;
- padding: 20rpx;
- border: 1rpx solid #E4F0FF;
- }
-
-
- .scroll-Y .text.active .content {
- color: #2671E2 !important;
- position: relative;
- }
- .scroll-Y .text.active .info {
- color: #2671E2 !important;
- position: relative;
- }
-
- .scroll-Y .text.active[data-speaker] .content,
- .scroll-Y .text.active[data-speaker="2"] .content,
- .scroll-Y .text.active[data-speaker="4"] .content,
- .scroll-Y .text.active[data-speaker="6"] .content {
- color: #2671E2 !important;
- position: relative;
- }
-
- /deep/ .u-model-title{
- padding: 34rpx 0 16rpx !important;
- }
- </style>
|