Browse Source

搜狐域名判断+排序问题修改

newStyle
风继续吹 1 year ago
parent
commit
1349515aff
2 changed files with 314 additions and 309 deletions
  1. +2
    -2
      manifest.json
  2. +312
    -307
      pages/mine/details2.vue

+ 2
- 2
manifest.json View File

@@ -1,5 +1,5 @@
{
"name" : "AI销讲助手",
"name" : "AI营销辅助",
"appid" : "__UNI__7A1611D",
"description" : "AI销讲助手",
"versionName" : "1.1.0",
@@ -72,7 +72,7 @@
},
"quickapp" : {},
"mp-weixin" : {
"appid" : "wx83fec12ec03d9349",
"appid" : "wx5700a3ff66ea4e4c",
"setting" : {
"urlCheck" : false,
"es6" : true,


+ 312
- 307
pages/mine/details2.vue View File

@@ -103,6 +103,7 @@
</block>
</view>
</scroll-view>
<view class="bottombox" v-if="!refined">
<!-- 播放块 -->
<zaudio @checkPlaybackRate="checkPlaybackRate" :duration="duration" theme="theme4"></zaudio>
@@ -176,60 +177,46 @@
设备日志
</view>
</template>
<template
v-if="(userlistobj.visitRecord == 1 || userlistobj.visitFlag == 1) && CHECKAUTHORITY('xgdfcs')">
<view class="btn-item" @click="showVisit = true;Thetapeidisshow=false">
<image class="icon" src="../../static/images/users.png"
mode=""></image>
<image class="icon" src="../../static/images/users.png" mode=""></image>
到访次数
</view>
</template>
</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>
<template v-if="biojiisshow">
<view class="zhezhao" @tap="unmarktap()"></view>
<view class="bounced">
<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="bounced3" style="margin-top: 20rpx;">
<view class="bounced3-1" @tap="unmarktap()">取消</view>
<view class="bounced3-2" @tap="Confirmthetag()">确认</view>
</view>
</view>
</template>

<!-- 加入常错词 -->
<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" class="tian-input"
placeholder="请输入" /> -->
<u-input :auto-height="false" height="30" :disabled="isNum" type="textarea" v-model="thewrongword"
:custom-style="customStyle" :border="false" class="tian-input" placeholder="请输入" />
</viwe>
@@ -244,219 +231,186 @@
</view>
</u-modal>


<!-- 加精华 -->
<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>
<template v-if="isshow3">
<view class="zhezhao" @tap="Cancelout2"></view>
<view class="bounced">
<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="bounced3">
<view class="bounced3-1" @tap="Cancelout2">取消</view>
<view class="bounced3-2" @tap="Confirmtheexit2">确认</view>
</view>
</view>
</template>

<!-- 接待详情 -->
<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>
<template v-if="Receivedetailsabout">
<view class="zhezhao" @click="clenReceivedetailsabout()"></view>
<view class="followingpop-up">
<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>
<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 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>
</template>

<!-- 销讲执行 -->
<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>
<template v-if="Pinspeak">
<view class="zhezhao" @click="clenReceivedetailsabout()"></view>
<view class="followingpop-up">
<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>
<view class="pingfenbox">
<view style="overflow: hidden;" :class="{ activecllasscet: zhixingcenterindex == 0 }"
@click="recordclick(0)">销讲总执行率{{totalRate}}%
</view>
<view v-if="permissions.commonly6" :class="{ activecllasscet: zhixingcenterindex == 1 }"
@click="recordclick(1)">禁忌执行</view>
<view :class="{ activecllasscet: zhixingcenterindex == 2 }" @click="recordclick(2)">需求挖掘率</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 class="pingfenbox">
<view style="overflow: hidden;" :class="{ activecllasscet: zhixingcenterindex == 0 }"
@click="recordclick(0)">销讲总执行率{{totalRate}}%
</view>
<view v-if="permissions.commonly6" :class="{ activecllasscet: zhixingcenterindex == 1 }"
@click="recordclick(1)">禁忌执行</view>
<view :class="{ activecllasscet: zhixingcenterindex == 2 }" @click="recordclick(2)">需求挖掘率</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 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 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 style="flex: 1;font-size: 28rpx;color: #333333;font-weight: 600;text-indent: 170rpx;">执行率
</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="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="zhixing" v-if="!subitem.selected">已执行</view>
<view class="zhixing2" v-else>未执行</view>
<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="!subitem.show" class="arrow rotatearrow" src="/static/images/down.png"
<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="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 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 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 v-if="zhixingcenterindex == 2" class="cenisbox">
<view class="top-box">
<view style="width:50%;text-align:center">挖掘执行:{{wordFraction||0}}%</view>
<view style="width:50%;text-align:center">挖掘成功:{{percent||0}}%</view>
</view>
<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: 28rpx;">指标
</view>
<view style="flex: 1;font-size: 28rpx;color: #333333;font-weight: 600;text-align:center">执行率
</view>
<view style="flex: 1;color: #333333;font-weight: 600;text-align:center;text-indent:28rpx">挖掘成功
<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 style="flex: 0 0 30rpx"></view>
</view>
<view class="Level-box" v-for="(item,index) in KeyWordsfractionList" :key="index">
<view class="Level1che" @click="hangeshow2(item,1)">
<view class="title1" style="flex:1">{{item.name}}</view>
<view class="Level1-middle" style="flex:2;display:flex;">
<view class="item" style="flex:1;text-align:center;">执行{{item.fraction || 0}}%</view>
<view class="item" style="flex:1;text-align:center;color:#2671E2"
v-if="item.keywordsList&&item.keywordsList.length">已完成({{
item.keywordsList.length
}})</view>
<view class="item" v-else style="flex:1;text-align:center;">未完成</view>
<!-- 需求挖掘率 -->
<view v-if="zhixingcenterindex == 2" class="cenisbox">
<view class="top-box">
<view style="width:50%;text-align:center">挖掘执行:{{wordFraction||0}}%</view>
<view style="width:50%;text-align:center">挖掘成功:{{percent||0}}%</view>
</view>
<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: 28rpx;">指标
</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 style="flex: 1;font-size: 28rpx;color: #333333;font-weight: 600;text-align:center">执行率
</view>
</view>
<!-- 话术在一级下 -->
<view v-if="item.children&&item.children.length==0">
<view class="hhhbox" v-if="item.show" style="padding: 30rpx;">
<view class="hsnrtest" style="font-size:30rpx;color: #333;line-height: 42rpx;">
客户标签:{{ getKeywordsList(item.keywordsList) }}</view>
<view class="hsnrtest" style="margin-top:10rpx">话术内容:</view>
<view v-if="item.modelList.length==0">暂无话术</view>
<view class="Level3che" @click="clickWajue(che)" v-for="(che,inc) in item.modelList"
:key='inc'>
<view class="title1"
:style="che.isAskQuestions==2?'color:#FF8C13':che.isAskQuestions==0?'':'color: #666'">
{{inc+1}}.{{che.showFormatExpression}}
</view>
<view class="jiantobox">
<!-- 0本次选中 1未选中 2上次选中 -->
<image v-if="che.isAskQuestions==0" class="arrow"
src="/static/images/rate-checked.png" mode="" />
<image v-else-if="che.isAskQuestions==2" class="arrow"
src="/static/images/checked-yellow.png" mode="" />
<image v-else class="arrow" src="/static/images/rate-nocheck.png" mode="" />
</view>
</view>
<view style="flex: 1;color: #333333;font-weight: 600;text-align:center;text-indent:28rpx">挖掘成功
</view>
<view style="flex: 0 0 30rpx"></view>
</view>
<!-- 话术二级下 -->
<view v-if="item.children&&item.children.length">
<view class="hhhbox" v-if="item.show" v-for="(subitem,i) in item.children" :key="i">
<view class="Level2che" @click="hangeshow2(subitem,1)">
<view class="title1 u-line-1">{{subitem.name}}</view>
<view class="leve1-jindu">
<view class="zhixing" v-if="subitem.isAskQuestions==0">已执行</view>
<view class="zhixing2" v-else>未执行</view>
</view>
<view class="leve1-jindu">
<view class="zhixing" v-if="subitem.selected==0">已完成</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 class="Level-box" v-for="(item,index) in KeyWordsfractionList" :key="index">
<view class="Level1che" @click="hangeshow2(item,1)">
<view class="title1" style="flex:1">{{item.name}}</view>
<view class="Level1-middle" style="flex:2;display:flex;">
<view class="item" style="flex:1;text-align:center;">执行{{item.fraction || 0}}%</view>
<view class="item" style="flex:1;text-align:center;color:#2671E2"
v-if="item.keywordsList&&item.keywordsList.length">已完成({{
item.keywordsList.length
}})</view>
<view class="item" v-else style="flex:1;text-align:center;">未完成</view>
</view>
<view v-if="subitem.show" style="padding: 30rpx 0;">
<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 v-if="item.children&&item.children.length==0">
<view class="hhhbox" v-if="item.show" style="padding: 30rpx;">
<view class="hsnrtest" style="font-size:30rpx;color: #333;line-height: 42rpx;">
客户标签:{{ getKeywordsList(subitem.keywordsList) }}</view>
<view class="hsnrtest" style="margin-top: 10rpx">话术内容:</view>
<view v-if="subitem.modelList.length==0">暂无话术</view>
<view class="Level3che" @click="clickWajue(che)" v-for="(che,inc) in subitem.modelList"
客户标签:{{ getKeywordsList(item.keywordsList) }}</view>
<view class="hsnrtest" style="margin-top:10rpx">话术内容:</view>
<view v-if="item.modelList.length==0">暂无话术</view>
<view class="Level3che" @click="clickWajue(che)" v-for="(che,inc) in item.modelList"
:key='inc'>
<view class="title1"
:style="che.isAskQuestions==2?'color:#FF8C13':che.isAskQuestions==0?'':'color: #666'">
@@ -473,84 +427,131 @@
</view>
</view>
</view>
<!-- 话术二级下 -->
<view v-if="item.children&&item.children.length">
<view class="hhhbox" v-if="item.show" v-for="(subitem,i) in item.children" :key="i">
<view class="Level2che" @click="hangeshow2(subitem,1)">
<view class="title1 u-line-1">{{subitem.name}}</view>
<view class="leve1-jindu">
<view class="zhixing" v-if="subitem.isAskQuestions==0">已执行</view>
<view class="zhixing2" v-else>未执行</view>
</view>
<view class="leve1-jindu">
<view class="zhixing" v-if="subitem.selected==0">已完成</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 v-if="subitem.show" style="padding: 30rpx 0;">
<view class="hsnrtest" style="font-size:30rpx;color: #333;line-height: 42rpx;">
客户标签:{{ getKeywordsList(subitem.keywordsList) }}</view>
<view class="hsnrtest" style="margin-top: 10rpx">话术内容:</view>
<view v-if="subitem.modelList.length==0">暂无话术</view>
<view class="Level3che" @click="clickWajue(che)"
v-for="(che,inc) in subitem.modelList" :key='inc'>
<view class="title1"
:style="che.isAskQuestions==2?'color:#FF8C13':che.isAskQuestions==0?'':'color: #666'">
{{inc+1}}.{{che.showFormatExpression}}
</view>
<view class="jiantobox">
<!-- 0本次选中 1未选中 2上次选中 -->
<image v-if="che.isAskQuestions==0" class="arrow"
src="/static/images/rate-checked.png" mode="" />
<image v-else-if="che.isAskQuestions==2" class="arrow"
src="/static/images/checked-yellow.png" mode="" />
<image v-else class="arrow" src="/static/images/rate-nocheck.png" mode="" />
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</template>

<!-- 客户意向 -->
<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>
<template v-if="intention">
<view class="zhezhao" @click="clenReceivedetailsabout()"></view>
<view class="followingpop-up">
<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>
<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 class="pingfenbox">
<view :class="{ activecllasscet: kehuyixiangcenterindex == 0 }" @click="customerofintention(0)">系统分析
</view>
<view :class="{ activecllasscet: kehuyixiangcenterindex == 1 }" @click="customerofintention(1)">人工校准
</view>
</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 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 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 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 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 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>
</view>
<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 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="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 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>

<view class="calibration" v-if="permissions.commonly5" @click="tocalibration()">校准</view>
</view>
<view class="calibration" v-if="permissions.commonly5" @click="tocalibration()">校准</view>
</view>
</template>

<!-- 请选择无效原因 -->
<template v-if="effective">
<view class="zhezhao"></view>
<view class="bounced">
@@ -575,24 +576,29 @@
</template>

<!-- 修改角色 -->
<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>
<template v-if="roleisshaw">
<view class="zhezhao" @tap="unmarktap()"></view>
<view class="bounced">
<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="headpade" style="border: none;">
<view class="biaoji" @tap="addRole">新增角色</view>
<view class="bounced3" style="margin-top: 20rpx;">
<view class="bounced3-1" @tap="unmarktap()">取消</view>
<view class="bounced3-2" @tap="roletab()">确认</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>
</template>

<!-- 消息提示组件 -->
<u-toast ref="uToast" />

<!-- 销讲业务 -->
@@ -602,29 +608,27 @@
<!-- 加载组件 -->
<u-loadings v-model="LOADING"></u-loadings>


<!-- 无效接待原因 -->
<u-select :mask-close-able="false" label-name="name" value-name="id" v-model="effectiveIndexShow"
mode="single-column" :list="effectiveitems" @cancel="effectiveIndexCancel" @confirm="effectiveIndexConfirm">
</u-select>

<!-- 本次属于客户第几次到访 -->
<u-popup v-model="showVisit" mode="center" border-radius="16" width="600rpx">
<view class="show-visit-content">
<view class="visit-title">
修改次数
</view>
<view class="visit-box">
<view class="v-t">本次属于客户第几次到访</view>
<view class="visit-step">
<view class="mitems" style="border-right: 1rpx solid #999;" @tap="reduce">
-
</view>
<input class="input" type="number" disabled v-model="visitParams.visitRecordNum">
<view class="mitems" style="border-left: 1rpx solid #999;" @tap="add">
+
</view>
@@ -633,15 +637,15 @@
注意:客户没有第一次到访记录,该客户所有的接待销讲执行率,不参与统计
</view>
</view>
<view class="visit-btns">
<view class="btn-item" @tap="cancelVisitRecord">取消</view>
<view class="btn-item" @tap="changeVisitRecord" style="border-left: none;">确认</view>
</view>
</view>
</u-popup>
</view>
</template>

@@ -757,8 +761,8 @@
templateName: '', // 销讲业务类型文字
percent: 0, // 挖掘成功
wordFraction: 0, // 挖掘执行
showVisit: false, // 操作框
visitParams: {
id: '',
@@ -901,7 +905,7 @@
});
})
},
// 获取接待类型列表
getInvalidList() {
this.$u.post('/customer/invalidList', {
@@ -1106,6 +1110,8 @@
rolexuanze(index) {
this.roleindexrow = index;
},
// 修改角色
Modifyrole(dialog, item) {
this.roleisshaw = true;
this.roletiaoshu = dialog;
@@ -3457,34 +3463,34 @@
color: #fff;
}
}
.show-visit-content {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
.visit-title {
font-size: 32rpx;
font-weight: bold;
line-height: 70rpx;
text-align: center;
}
.visit-box {
flex-grow: 1;
display: flex;
flex-direction: column;
align-items: center;
.visit-step {
margin: 20rpx 0 0 0;
display: flex;
justify-content: center;
align-items: center;
border: 1rpx solid #999;
.mitems {
flex-shrink: 0;
width: 70rpx;
@@ -3494,26 +3500,26 @@
align-items: center;
justify-content: center;
}
.input {
width: 100rpx;
font-size: 32rpx;
text-align: center;
}
}
.tips {
padding: 20rpx 0;
width: 80%;
font-size: 26rpx;
}
}
.visit-btns {
width: 100%;
height: 88rpx;
display: flex;
.btn-item {
flex-grow: 1;
height: 100%;
@@ -3524,5 +3530,4 @@
}
}
}
</style>

Loading…
Cancel
Save