AI销管
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

1738 行
43 KiB

  1. <template>
  2. <view class="box">
  3. <view class="content">
  4. <view class="content-tips">
  5. <view class="content-first">
  6. <view class="left">
  7. <view class="img A" v-if="customerInfo.showLevel==1">A</view>
  8. <view class="img B" v-else-if="customerInfo.showLevel==2">B</view>
  9. <view class="img C" v-else-if="customerInfo.showLevel==3">C</view>
  10. <view class="img D" v-else-if="customerInfo.showLevel==4">D</view>
  11. <view class="test">
  12. {{customerInfo.name || '--'}}
  13. </view>
  14. <view v-if="customerInfo.clientStageName" class="clientStageName">
  15. {{ customerInfo.clientStageName }}
  16. </view>
  17. <view class="edit" @click="goedit()" v-if="isHavePermission">
  18. <image class="screen-sel-img" src="../../../static/images/edit.png" mode=""></image>
  19. </view>
  20. </view>
  21. <view class="right">
  22. <view class="test">销讲执行:<text class="blue">{{ customerInfo.fraction || 0 }}%</text></view>
  23. </view>
  24. </view>
  25. <view class="content-sec">
  26. <view class="content-sec-lab">
  27. <view class="content-sec-lab1">
  28. 手机号码:{{customerInfo.phone&&customerInfo.isShow==1?customerInfo.phone.length==11?customerInfo.phone.substr(0, 3) + '****' + customerInfo.phone.substr(7):customerInfo.phone:customerInfo.phone&&customerInfo.isShow!=1?customerInfo.phone: '--'}}
  29. </view>
  30. <view class="content-sec-lab1" style="width: 44%">到访次数:{{ customerInfo.visitRecord || 0 }}次/{{
  31. customerInfo.mm || 0
  32. }}min</view>
  33. </view>
  34. <view class="content-sec-lab">
  35. <view class="content-sec-lab1">挖掘执行:{{ customerInfo.wordFraction || 0 }}%</view>
  36. <view class="content-sec-lab1" style="width: 44%">
  37. 挖掘成功:{{ customerInfo.wordFinishFraction || 0 }}%</view>
  38. </view>
  39. <view class="content-sec-lab">
  40. <view class="content-sec-lab1">所属顾问:{{ customerInfo.agentName || "--" }}</view>
  41. <view class="content-sec-lab1" style="width: 44%">客户阶段:{{ customerInfo.stageName || "--" }}
  42. </view>
  43. </view>
  44. <view class="content-sec-lab">
  45. <view class="content-sec-lab1" @click.stop="showIntentionRate = true">
  46. 客户意向率:{{ `${customerInfo.levelFraction||'0'}%` }} <text
  47. style="margin-left: 20rpx;color: #0066CC;">查看</text>
  48. </view>
  49. </view>
  50. <view class="content-sec-lab">
  51. <view class="content-sec-lab1">上次到访:{{ customerInfo.createTime || "--" }}</view>
  52. </view>
  53. </view>
  54. <view class="content-last">
  55. <view class="content-last-con">
  56. 备注:{{customerInfo.remarks ? customerInfo.remarks : "暂无"}}
  57. </view>
  58. </view>
  59. </view>
  60. </view>
  61. <view class="tabchange">
  62. <view class="tab">
  63. <view class="tabbox">
  64. <view :class="{ activecllasscet: activeTotal == 0 }" @click="tabtimetap(0)">接待记录</view>
  65. </view>
  66. <view class="tabbox">
  67. <view :class="{ activecllasscet: activeTotal == 1 }" @click="tabtimetap(1)">跟进记录</view>
  68. </view>
  69. <view class="tabbox">
  70. <view :class="{ activecllasscet: activeTotal == 2 }" @click="tabtimetap(2)">销讲执行率</view>
  71. </view>
  72. <view class="tabbox">
  73. <view :class="{ activecllasscet: activeTotal == 3 }" @click="tabtimetap(3)">挖掘执行率</view>
  74. </view>
  75. </view>
  76. <!-- 接待记录 -->
  77. <view class="tabactive1" v-if="activeTotal==0" style="min-height: 800rpx;">
  78. <view v-if="Thevisitingrecords.length==0"
  79. style="width: 100%;height: 100%;display: flex;align-items: center;">
  80. <view style="width: 100%;padding-top: 60rpx;">
  81. <view style="width: 100%;text-align: center;">
  82. <image style="width: 220rpx;height: 200rpx;"
  83. src="https://static.quhouse.com/zhikong_xcx_img/nodatalist.png" mode=""></image>
  84. </view>
  85. <view style="text-align: center;width: 100%;margin-top: 20rpx;color: #999999;">暂无数据</view>
  86. </view>
  87. </view>
  88. <view v-if="Thevisitingrecords.length!=0" class="content-tips"
  89. v-for="(item,index) in Thevisitingrecords" :key="index" @click="tapThevisiting(item)">
  90. <view class="content-first">
  91. <view class="left">
  92. <view class="name">{{item.agentName || '--'}}</view>
  93. <view class="status" v-if="item.replaceReception==1">代接待</view>
  94. </view>
  95. </view>
  96. <view class="content-sec">
  97. <view class="left">
  98. <view class="cus">客户:{{item.name || ''}} |</view>
  99. <view class="arriveNum">{{item.visitRecord==1?'首':item.visitRecord || '--'}}次到访</view>
  100. </view>
  101. <view class="right">{{item.fraction || '0'}}%</view>
  102. </view>
  103. <view class="content-last">{{item.createTime}} | {{item.mm || '--'}}min</view>
  104. </view>
  105. </view>
  106. <!-- 跟进记录 -->
  107. <view class="tabactive2" v-if="activeTotal==1" style="min-height: 600rpx;">
  108. <view v-if="fllowList.length==0"
  109. style="width: 100%;height:600rpx;display: flex;align-items: center;background-color: #FFFFFF;">
  110. <view style="width: 100%;padding-top: 60rpx;">
  111. <view style="width: 100%;text-align: center;">
  112. <image style="width: 220rpx;height: 200rpx;"
  113. src="https://static.quhouse.com/zhikong_xcx_img/nodatalist.png" mode=""></image>
  114. </view>
  115. <view style="text-align: center;width: 100%;margin-top: 20rpx;color: #999999;">暂无数据</view>
  116. </view>
  117. </view>
  118. <view v-if="fllowList.length!=0" class="tab2-tips" v-for="(item,index) in fllowList" :key="index">
  119. <view class="tab2-first">
  120. <view class="tab2-first-1">
  121. <view class="tab2-first-left">
  122. <view class="img">{{item.agentName.slice(0,1) || '--'}}</view>
  123. <view class="name">{{item.agentName || '||'}}</view>
  124. <view v-if="item.clientStageName" class="clientStageName">{{ item.clientStageName }}
  125. </view>
  126. </view>
  127. <view class="tab2-first-right">{{item.createTime}}</view>
  128. </view>
  129. <view class="tab2-first-foot">跟进内容:{{item.remarks || '暂无'}}</view>
  130. </view>
  131. </view>
  132. </view>
  133. <!-- 销讲执行率 -->
  134. <view class="ratecenter" v-if="activeTotal==2">
  135. <view class="boxtittabs">
  136. <div class="items" @tap="showTemplate = true">销讲业务:{{ showBeText }}
  137. <u-icon name="arrow-down" size="24" style="padding-left: 12rpx"></u-icon>
  138. </div>
  139. <div class="items">销讲执行:{{ totalRate||0 }}%</div>
  140. </view>
  141. <view class="rateyuanbox">
  142. <view class="rateyuanboxzuo">
  143. <view class="boxzuoview">{{customerInfo.visitRecord || '--'}}次</view>
  144. <view class="ratetetle-desc">接待次数</view>
  145. </view>
  146. <view class="rateyuanboxyou">
  147. <view class="boxzuoview" style="width: 100%;display: flex;justify-content: center;">
  148. <u-circle-progress active-color="#07B79D" width='108' :percent="customerInfo.fraction">
  149. <view style="text-align: center;color: #07B79D;">{{customerInfo.fraction}}%</view>
  150. </u-circle-progress>
  151. </view>
  152. <view class="ratetetle-desc">销讲执行率</view>
  153. </view>
  154. <view class="rateyuanboxzuo">
  155. <view class="boxzuoview">{{customerInfo.mm}}min</view>
  156. <view class="ratetetle-desc">接待时长</view>
  157. </view>
  158. </view>
  159. <view class="middle-title">
  160. <view class="item-title1">指标</view>
  161. <view class="item-title">执行率</view>
  162. </view>
  163. <view v-if="ratelist.length==0" style="width: 100%;height: 100%;display: flex;align-items: center;">
  164. <view style="width: 100%;padding-top: 60rpx;">
  165. <view style="width: 100%;text-align: center;">
  166. <image style="width: 220rpx;height: 200rpx;"
  167. src="https://static.quhouse.com/zhikong_xcx_img/nodatalist.png" mode=""></image>
  168. </view>
  169. <view style="text-align: center;width: 100%;margin-top: 20rpx;color: #999999;">暂无数据</view>
  170. </view>
  171. </view>
  172. <view class="Level-box" v-if="ratelist.length!=0" v-for="(item,index) in ratelist" :key="index">
  173. <view class="Level1che" @click="changeshow(item,1)">
  174. <view class="title1">{{item.name}}</view>
  175. <view class="leve1-jindu">
  176. <view class="jindutiao">
  177. <view class="huanxing" :style="{width: item.ratepercent/item.rate*100+'%'}"></view>
  178. <view class="text">{{((item.ratepercent/item.rate).toFixed(2)*100).toFixed()}}%</view>
  179. </view>
  180. </view>
  181. <view class="jiantobox">
  182. <image v-if="!item.show" class="arrow rotatearrow" src="/static/images/down.png" mode="" />
  183. <image v-else class="arrow" src="/static/images/up.png" mode="" />
  184. </view>
  185. </view>
  186. <view class="hhhbox" v-if="item.show" v-for="(subitem,i) in item.children" :key="i">
  187. <view class="Level2che" @click="changeshow2(subitem,1)">
  188. <view class="title1">{{subitem.name}}</view>
  189. <view class="leve1-jindu">
  190. <view class="zhixing" v-if="!subitem.selected">已执行</view>
  191. <view class="zhixing2" v-else>未执行</view>
  192. </view>
  193. <view class="jiantobox">
  194. <image v-if="!subitem.show" class="arrow rotatearrow" src="/static/images/down.png"
  195. mode="" />
  196. <image v-else class="arrow" src="/static/images/up.png" mode="" />
  197. </view>
  198. </view>
  199. <view class="hsnrtest" v-if="subitem.show">话术内容</view>
  200. <view class="Level3che" @tap="clickaudeopal(che)" v-if="subitem.show"
  201. v-for="(che,inc) in subitem.children" :key='inc'>
  202. <view class="title1">{{inc+1}}、{{che.name}}</view>
  203. <view class="jiantobox">
  204. <image v-if="che.selected==0" class="arrow" src="/static/images/rate-checked.png"
  205. mode="" />
  206. <image v-else class="arrow" src="/static/images/no-checked.png" mode="" />
  207. </view>
  208. </view>
  209. <view v-if="subitem.show" style="width: 100%;height: 30rpx;"></view>
  210. </view>
  211. </view>
  212. </view>
  213. <!-- 需求挖掘执行率 -->
  214. <view class="xuqiu" v-if="activeTotal==3">
  215. <!-- 暂无数据 -->
  216. <view v-if="KeyWordsfractionList.length==0"
  217. style="width: 100%;height: 100%;display: flex;align-items: center;">
  218. <view style="width: 100%;padding-top: 60rpx;background: #fff;">
  219. <view style="width: 100%;text-align: center;">
  220. <image style="width: 220rpx;height: 200rpx;"
  221. src="https://static.quhouse.com/zhikong_xcx_img/nodatalist.png" mode=""></image>
  222. </view>
  223. <view style="text-align: center;width: 100%;margin-top: 20rpx;color: #999999;">暂无数据</view>
  224. </view>
  225. </view>
  226. <!-- 需求挖掘执行率 -->
  227. <view v-if="KeyWordsfractionList.length">
  228. <view class="top-box">
  229. <view style="width:50%;text-align:center">挖掘执行率:{{customerInfo.wordFraction||0}}%</view>
  230. <view style="width:50%;text-align:center">挖掘成功率:{{customerInfo.wordFinishFraction||0}}%</view>
  231. </view>
  232. <view
  233. style="width: 100%;height: 80rpx;border-bottom: 1rpx solid #e0e0e0;display: flex;align-items: center;background: #fff;">
  234. <view style="flex: 1;font-size: 28rpx;color: #333333;font-weight: 600;text-indent: 50rpx;">指标
  235. </view>
  236. <view style="flex: 1;font-size: 28rpx;color: #333333;font-weight: 600;text-indent: 70rpx;">执行率
  237. </view>
  238. <view style="flex: 1;font-size: 28rpx;color: #333333;font-weight: 600;text-indent: 70rpx;">挖掘成功
  239. </view>
  240. <view style="flex: 0 0 30rpx;"></view>
  241. </view>
  242. <!-- 暂无数据 -->
  243. <view v-if="KeyWordsfractionList.length == 0"
  244. style="width: 100%; height: 100%; display: flex; align-items: center">
  245. <view style="width: 100%; padding-top: 60rpx;background:#fff;">
  246. <view style="width: 100%; text-align: center">
  247. <image style="width: 220rpx; height: 200rpx"
  248. src="https://static.quhouse.com/zhikong_xcx_img/nodatalist.png" mode=""></image>
  249. </view>
  250. <view style="
  251. text-align: center;
  252. width: 100%;
  253. margin-top: 20rpx;
  254. color: #999999;
  255. ">暂无数据</view>
  256. </view>
  257. </view>
  258. <!-- 挖掘执行话术展示 -->
  259. <view class="Level-box" v-else v-for="(item, index) in KeyWordsfractionList" :key="index">
  260. <view class="Level1che" @click="changeshowlevel1(item, 1)">
  261. <view class="title1" style="flex: 1">{{ item.name }}</view>
  262. <view class="Level1-middle" style="flex: 2; display: flex">
  263. <view class="item" style="flex: 1; text-align: center">执行{{ item.fraction || 0 }}%
  264. </view>
  265. <view class="item" style="flex:1;text-align:center;color:#2671E2"
  266. v-if="item.keywordsList&&item.keywordsList.length">
  267. 已完成({{item.keywordsList.length}})</view>
  268. <view class="item" v-else style="flex:1;text-align:center;">未完成</view>
  269. </view>
  270. <view class="jiantobox">
  271. <image v-if="!item.show" class="arrow rotatearrow" src="/static/images/down.png"
  272. mode="" />
  273. <image v-else class="arrow" src="/static/images/up.png" mode="" />
  274. </view>
  275. </view>
  276. <!-- 话术在一级下 -->
  277. <view v-if="item.children&&item.children.length==0">
  278. <view class="hhhbox" v-if="item.show" style="padding: 30rpx;">
  279. <view class="hsnrtest" style="font-size:30rpx;color: #333;line-height: 42rpx;">
  280. 客户标签:{{ getKeywordsList(item.keywordsList) }}</view>
  281. <view class="hsnrtest">话术内容:</view>
  282. <view v-if="item.modelList.length==0">暂无话术</view>
  283. <view class="Level3che" v-for="(che,inc) in item.modelList" :key='inc'>
  284. <view class="title1" @click="clickWajue(che)"
  285. :style="che.isAskQuestions==2?'color:#FF8C13':che.isAskQuestions==0?'':'color: #666'">
  286. {{inc+1}}.{{che.showFormatExpression}}
  287. </view>
  288. <view class="jiantobox">
  289. <!-- 0本次选中 1未选中 2上次选中 -->
  290. <image v-if="che.isAskQuestions==0" class="arrow"
  291. src="/static/images/rate-checked.png" mode="" />
  292. <image v-else-if="che.isAskQuestions==2" class="arrow"
  293. src="/static/images/checked-yellow.png" mode="" />
  294. <image v-else class="arrow" src="/static/images/rate-nocheck.png" mode="" />
  295. </view>
  296. </view>
  297. </view>
  298. </view>
  299. <!-- 话术在二级下 -->
  300. <view v-if="item.children&&item.children.length">
  301. <view class="hhhbox" v-if="item.show" v-for="(subitem, i) in item.children" :key="i">
  302. <view class="Level2che" @click="changeshow2(subitem, 1)">
  303. <view class="title1 u-line-1">{{ subitem.name }}</view>
  304. <view class="leve1-jindu">
  305. <view class="zhixing" v-if="subitem.isAskQuestions == 0">已执行</view>
  306. <view class="zhixing2" v-else>未执行</view>
  307. </view>
  308. <view class="leve1-jindu">
  309. <view class="zhixing" v-if="subitem.selected == 0">已完成</view>
  310. <view class="zhixing2" v-else>未完成</view>
  311. </view>
  312. <view class="jiantobox">
  313. <image v-if="!subitem.show" class="arrow rotatearrow"
  314. src="/static/images/down.png" mode="" />
  315. <image v-else class="arrow" src="/static/images/up.png" mode="" />
  316. </view>
  317. </view>
  318. <view v-if="subitem.show" style="padding: 30rpx 0">
  319. <view class="hsnrtest" style="font-size: 30rpx;color: #333">
  320. 客户标签:{{ getKeywordsList(subitem.keywordsList) }}</view>
  321. <view class="hsnrtest">话术内容:</view>
  322. <view v-if="subitem.modelList.length==0">暂无话术</view>
  323. <view class="Level3che" v-for="(che, inc) in subitem.modelList" :key="inc">
  324. <view class="title1" @click="clickWajue(che)"
  325. :style="che.isAskQuestions == 2 ? 'color:#FF8C13' : che.isAskQuestions == 0 ? '' : 'color: #666'">
  326. {{ inc + 1 }}.{{ che.showFormatExpression }}
  327. </view>
  328. <view class="jiantobox">
  329. <image v-if="che.isAskQuestions == 0" class="arrow"
  330. src="/static/images/rate-checked.png" mode="" />
  331. <image v-else-if="che.isAskQuestions == 2" class="arrow"
  332. src="/static/images/checked-yellow.png" mode="" />
  333. <image v-else class="arrow" src="/static/images/rate-nocheck.png" mode="" />
  334. </view>
  335. </view>
  336. </view>
  337. </view>
  338. </view>
  339. </view>
  340. </view>
  341. </view>
  342. </view>
  343. <view class="pon-foot" v-if="buttonisshow">
  344. <!-- <view class="foot-tab" @click="goRemind">添加提醒</view>
  345. <view class="foot-tab">拨打电话</view> -->
  346. <view class="foot-tab" @click="followRecordAdd">写跟进</view>
  347. </view>
  348. <!-- closeable -->
  349. <u-popup v-model="tipshow" mode="center" width="500rpx" height="500rpx" closeable>
  350. <scroll-view scroll-y="true" style="height: 440rpx;">
  351. <view style="margin-top: 60rpx; display: flex; flex-wrap: wrap; padding-left: 20rpx;">
  352. <view class="upon-sec-tips" v-for="(item,index) in customerInfo.demand.cusSemanticWordsList"
  353. :key="index">
  354. {{item.name}}
  355. </view>
  356. </view>
  357. </scroll-view>
  358. </u-popup>
  359. <u-popup v-model="showIntentionRate" mode="center" mask-close-able width="560rpx" border-radius="14">
  360. <!-- intentionRateList -->
  361. <view class="intentionRateList-title">
  362. 客户意向{{ `${customerInfo.levelFraction||'0'}%` }}
  363. <image class="close" @click="showIntentionRate = false" src="@/static/images/close.png" mode=""></image>
  364. </view>
  365. <scroll-view scroll-y="true" style="height: 50vh;">
  366. <view class="intentionRateList">
  367. <block v-for="(item, index) in intentionRateList" :key="index">
  368. <view class="first-title">
  369. {{ item.name }}
  370. </view>
  371. <view class="second">
  372. <block v-for="(second, secondIndex) in item.children" :key="secondIndex">
  373. <view class="second-item">
  374. {{ second.name }}
  375. </view>
  376. </block>
  377. </view>
  378. </block>
  379. </view>
  380. </scroll-view>
  381. </u-popup>
  382. <!-- 销讲业务 -->
  383. <u-select :mask-close-able="false" label-name="templateName" value-name="cusId" v-model="showTemplate"
  384. mode="single-column" :list="templateList" @cancel="templateCancel" @confirm="templateConfirm"></u-select>
  385. <!-- 加载组件 -->
  386. <u-loadings v-model="LOADING"></u-loadings>
  387. </view>
  388. </template>
  389. <script>
  390. let _this;
  391. export default {
  392. data() {
  393. return {
  394. KeyWordsfractionList: [],
  395. activeTotal: 0,
  396. customerId: '',
  397. tipshow: false,
  398. customerInfo: {
  399. name: '',
  400. createTime: '',
  401. agentName: ''
  402. },
  403. Thevisitingrecords: [],
  404. totalRate: [],
  405. ratelist: [],
  406. fllowList: [],
  407. userInfo: {},
  408. buttonisshow: false,
  409. isHavePermission: false,
  410. showBeText: '全部业务', //
  411. templateList: [], // 销讲业务
  412. showTemplate: false, // 展示选择销讲业务弹窗
  413. showIntentionRate: false, // 客户意向率命中词弹窗
  414. intentionRateList: [], // 客户意向率列表
  415. customerIds: '', // 给评分传值的
  416. }
  417. },
  418. onLoad(options) {
  419. this.LOADING = true
  420. this.customerId = options.id;
  421. _this = this
  422. },
  423. onShow() {
  424. this.$store.commit('stopAduio')
  425. this.userInfo = uni.getStorageSync('weapp_session_userInfo_data');
  426. console.log(this.userInfo.showPhoneStatus)
  427. if (this.userInfo.dataCode == 6) {
  428. this.buttonisshow = true;
  429. } else {
  430. this.buttonisshow = false
  431. }
  432. this.getCustomerInfo()
  433. this.tabtimetap(0)
  434. this.getMarketingBusiness()
  435. this.getListByType()
  436. let newmenulist = uni.getStorageSync('weapp_session_Menu_data');
  437. if (newmenulist.khgl_bj == true || newmenulist.khgl_gj == true) {
  438. this.isHavePermission = true
  439. }
  440. },
  441. methods: {
  442. // 字典表接口
  443. getListByType() {
  444. this.$u.get("/matchKeywords/findPersonalMatchData", {
  445. customerId: this.customerId
  446. })
  447. .then(res => {
  448. let arr = []
  449. res.forEach(item1 => {
  450. item1.children.map(item => {
  451. if (item.isInterval == 0) {
  452. item.label = item.name + item.unit + '-' + item.endName + item
  453. .unit;
  454. } else {
  455. item.label = item.name
  456. }
  457. item.value = item.id;
  458. if (item.selected == 0) {
  459. arr.push({
  460. name: item.label,
  461. fName: item1.name
  462. })
  463. }
  464. })
  465. })
  466. let arr1 = []
  467. arr.map(item => {
  468. let index = arr1.findIndex(items => items.name == item.fName)
  469. if (index != -1) {
  470. arr1[index].children.push({
  471. name: item.name
  472. })
  473. } else {
  474. arr1.push({
  475. name: item.fName,
  476. children: [{
  477. name: item.name
  478. }]
  479. })
  480. }
  481. })
  482. this.intentionRateList = arr1
  483. })
  484. },
  485. // 销讲业务方法
  486. templateCancel() {
  487. this.showTemplate = false;
  488. },
  489. // 确认选择销讲业务
  490. templateConfirm(e) {
  491. this.showTemplate = false;
  492. this.customerId = e[0].value
  493. this.showBeText = e[0].label
  494. this.tabtimetap(2)
  495. },
  496. // 获取销讲业务
  497. getMarketingBusiness() {
  498. this.$u.get('/customer/marketingBusinessByCusId', {
  499. id: this.customerId,
  500. }).then(res => {
  501. if (res) {
  502. this.templateList = res
  503. this.customerId = res[0].cusId
  504. this.showBeText = res[0].templateName
  505. }
  506. })
  507. },
  508. clickWajue(item) {
  509. if (item.isAskQuestions == 0) {
  510. uni.navigateTo({
  511. url: '/pages/learning/Keywordsearch?customerId=' + this.customerId + "&keyword=" + item
  512. .showFormatExpression +
  513. "&skpl=" + "2" + '&UpDateEvent='
  514. })
  515. }
  516. },
  517. //挖掘率话术客户标签展示
  518. getKeywordsList(list) {
  519. let keywords = [];
  520. if (list && list.length) {
  521. keywords = list.map((item) => item.name);
  522. } else {
  523. return "--";
  524. }
  525. return keywords.join(",");
  526. },
  527. changeshowlevel1(item, type) {
  528. console.log(item)
  529. item.show = !item.show
  530. },
  531. // 客户详情需求挖掘话术
  532. getfindKeyWordsBycusId() {
  533. this.$u
  534. .get("/cusLvStatistics/findKeyWordsBycusId?cusId=" + this.customerId)
  535. .then((res) => {
  536. // console.log(res)
  537. if (res.length) {
  538. res.forEach((item, index) => {
  539. item.show = false;
  540. if (index == 0) {
  541. item.show = true;
  542. }
  543. if (item.children && item.children.length) {
  544. item.children.forEach((obj, i) => {
  545. obj.show = false;
  546. if (i == 0 && index == 0) {
  547. obj.show = true;
  548. }
  549. });
  550. }
  551. });
  552. this.KeyWordsfractionList = res;
  553. } else {
  554. this.KeyWordsfractionList = [];
  555. }
  556. });
  557. },
  558. // 获取到访记录
  559. getVisitList() {
  560. this.$u.get("/customer/findByPhoneAndProject?id=" + this.customerId).then(res => {
  561. this.Thevisitingrecords = res
  562. })
  563. },
  564. // 获取客户信息
  565. getCustomerInfo() {
  566. const that = this;
  567. this.$u.get("/customer/findById", {
  568. id: this.customerId
  569. }).then(res => {
  570. this.LOADING = false
  571. if (res.fraction == null) {
  572. res.fraction = '0';
  573. }
  574. this.customerInfo = res;
  575. }).catch(e => {
  576. this.LOADING = false
  577. })
  578. },
  579. tabtimetap(idx) {
  580. this.activeTotal = idx
  581. if (idx == 0) {
  582. this.getVisitList()
  583. } else if (idx == 1) {
  584. this.getFollowList()
  585. } else if (idx == 2) {
  586. this.getRatelist()
  587. } else { // 需求挖掘率
  588. this.getfindKeyWordsBycusId()
  589. }
  590. },
  591. tapThevisiting(_item) {
  592. uni.showLoading({
  593. title: '加载中',
  594. mask: true
  595. });
  596. if (_item.yon != 0) {
  597. setTimeout(() => {
  598. uni.hideLoading();
  599. }, 2000);
  600. if (this.CHECKAUTHORITY('sbrz')) {
  601. uni.navigateTo({
  602. url: `/pages/mine/equipmentLog?id=${_item.id}`
  603. })
  604. } else {
  605. uni.showToast({
  606. icon: 'none',
  607. title: '暂无录音',
  608. duration: 2000
  609. });
  610. }
  611. return
  612. } else {
  613. const parames = {
  614. pageNum: 1,
  615. pageSize: 100,
  616. query: {
  617. customerId: _item.id,
  618. }
  619. }
  620. var item = {
  621. bg: 0,
  622. customerId: _item.id,
  623. id: ''
  624. }
  625. uni.setStorageSync("entrance", 1); //写入缓存
  626. uni.setStorageSync("searchobj", item); //写入缓存
  627. this.$u.post("/corpus/findByPage", parames).then(res => {
  628. setTimeout(function() {
  629. uni.hideLoading();
  630. }, 2000);
  631. if (res == null) {
  632. if (this.CHECKAUTHORITY('sbrz')) {
  633. uni.navigateTo({
  634. url: `/pages/mine/equipmentLog?id=${_item.id}`
  635. })
  636. } else {
  637. uni.showToast({
  638. icon: "none",
  639. title: "暂无音频"
  640. })
  641. }
  642. return
  643. }
  644. if (res[0].merge == 0) {
  645. let newobj = res[0];
  646. uni.navigateTo({
  647. url: `/pages/mine/details2?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=${"2"}&wordFraction=${_item.wordFraction}`
  648. })
  649. } else {
  650. let newobj = res[0];
  651. uni.navigateTo({
  652. url: `/pages/mine/details?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=${"1"}`
  653. })
  654. }
  655. })
  656. }
  657. },
  658. // 获取跟进记录
  659. getFollowList() {
  660. this.fllowList = [];
  661. this.$u.post("/customer/getCusStage", {
  662. customerId: this.customerId
  663. }).then(res => {
  664. res.forEach(item => {
  665. item.agentName = this.customerInfo.agentName
  666. })
  667. this.fllowList = res;
  668. })
  669. },
  670. // 新增跟进
  671. followRecordAdd() {
  672. uni.navigateTo({
  673. url: `/pages/center/consumer/newFollowup/newFollowup?id=${this.customerId}&level=${this.customerInfo.level}&clientStageName=${this.customerInfo.clientStageName}`
  674. })
  675. },
  676. // 去编辑
  677. goedit() {
  678. let newmenulist = uni.getStorageSync('weapp_session_Menu_data');
  679. if (newmenulist.khgl_bj == true || newmenulist.khgl_gj) {
  680. uni.navigateTo({
  681. url: `/pages/center/consumer/edit?id=${this.customerId}`
  682. })
  683. }
  684. },
  685. // 去添加提醒
  686. goRemind() {
  687. uni.navigateTo({
  688. url: `/pages/center/consumer/remind?str=${this.customerInfo.name+'/'+this.customerInfo.phone}&customerId=${this.customerId}`
  689. })
  690. },
  691. //评分点击
  692. clickaudeopal(item) {
  693. if (item.selected == 0) {
  694. uni.navigateTo({
  695. url: '/pages/mine/ScoringPlaylist?customerId=' + this.customerId + "&id=" + item
  696. .marketingId + "&type=0" + '&from=consumerDetail'
  697. })
  698. }
  699. },
  700. changeshow(item, type) {
  701. item.show = !item.show
  702. },
  703. changeshow2(item, type) {
  704. item.show = !item.show
  705. },
  706. // 获取评分
  707. getRatelist() {
  708. this.$u.get("/customer/findzkMByCusId", {
  709. cusId: this.customerId
  710. }).then(res => {
  711. if (res.length) {
  712. let level1 = []
  713. let level2rate = 0
  714. res.forEach(item => {
  715. if (item.pid == 0) {
  716. level1.push({
  717. id: item.marketingId,
  718. rate: item.fraction,
  719. name: item.name,
  720. sort: item.sort,
  721. viewFlag: item.viewFlag,
  722. show: false,
  723. ratepercent: 0,
  724. children: []
  725. })
  726. } else {
  727. if (item.selected == 0) {
  728. level2rate += item.fraction
  729. }
  730. }
  731. })
  732. this.totalRate = level2rate;
  733. res.forEach(subitem => {
  734. let subitempid = subitem.pid
  735. level1.forEach(item => {
  736. if (subitempid == item.id) {
  737. if (subitem.selected == 0) {
  738. item.ratepercent += subitem.fraction
  739. }
  740. item.children.push({
  741. id: subitem.id,
  742. rate: subitem.fraction,
  743. selected: subitem.selected,
  744. name: subitem.name,
  745. show: false,
  746. marketingId: subitem.marketingId,
  747. children: []
  748. })
  749. }
  750. })
  751. })
  752. res.forEach(subitem => {
  753. let subitempid = subitem.pid
  754. level1.forEach(chen => {
  755. chen.children.forEach(zxc => {
  756. if (subitempid == zxc.marketingId) {
  757. zxc.children.push({
  758. id: subitem.id,
  759. rate: subitem.fraction,
  760. selected: subitem.selected,
  761. name: subitem.name,
  762. marketingId: subitem.marketingId,
  763. })
  764. }
  765. })
  766. })
  767. })
  768. level1[0].show = true;
  769. level1[0].children[0].show = true;
  770. this.ratelist = level1
  771. }
  772. })
  773. },
  774. },
  775. filters: {
  776. // 加密手机
  777. phoneText(mobile) {
  778. if (!mobile) return '--'
  779. if (_this.userInfo.showPhoneStatus == 1) return mobile.replace(/(\d{3})\d{4}(\d{4})/, '$1****$2')
  780. else return mobile
  781. },
  782. }
  783. }
  784. </script>
  785. <style lang="scss" scoped>
  786. .boxtittabs {
  787. width: 100%;
  788. height: 92rpx;
  789. background: #FFFFFF;
  790. display: flex;
  791. align-items: center;
  792. .items {
  793. padding: 0 24rpx;
  794. width: 50%;
  795. height: 100%;
  796. display: flex;
  797. align-items: center;
  798. justify-content: center;
  799. overflow: hidden;
  800. white-space: nowrap;
  801. text-overflow: ellipsis;
  802. }
  803. }
  804. .rotatearrow {
  805. transform: rotate(270deg);
  806. }
  807. // 评分
  808. .rate-box {
  809. padding: 10rpx 20rpx;
  810. background-color: #FFFFFF;
  811. .date {
  812. width: 300rpx;
  813. height: 33rpx;
  814. font-size: 24rpx;
  815. font-weight: 400;
  816. color: #333333;
  817. line-height: 33rpx;
  818. letter-spacing: 1rpx;
  819. margin-bottom: 8rpx;
  820. }
  821. .title {
  822. width: 100%;
  823. height: 42rpx;
  824. font-size: 30rpx;
  825. font-weight: 500;
  826. color: #333333;
  827. line-height: 42rpx;
  828. letter-spacing: 2rpx;
  829. margin-bottom: 20rpx;
  830. }
  831. .level1 {
  832. display: flex;
  833. align-items: center;
  834. .level-name {
  835. width: 104rpx;
  836. height: 33rpx;
  837. font-size: 24rpx;
  838. font-weight: 500;
  839. color: #333333;
  840. line-height: 33rpx;
  841. letter-spacing: 1rpx;
  842. margin-right: 10rpx;
  843. }
  844. .level-progress {
  845. flex: 1;
  846. border-radius: 11rpx;
  847. height: 21rpx;
  848. background-color: #BEE4FF;
  849. position: relative;
  850. .color {
  851. width: 0;
  852. position: absolute;
  853. top: 0;
  854. left: 0;
  855. height: 21rpx;
  856. border-radius: 11rpx 0 0 11rpx;
  857. background-color: #008EF2;
  858. }
  859. }
  860. .level-rate {
  861. width: 65rpx;
  862. height: 33rpx;
  863. font-size: 24rpx;
  864. font-weight: 500;
  865. color: #333333;
  866. line-height: 33rpx;
  867. letter-spacing: 1rpx;
  868. margin: 0 20rpx 0 15rpx;
  869. }
  870. .arrow {
  871. width: 37rpx;
  872. height: 21rpx;
  873. padding: 5rpx 20rpx;
  874. }
  875. .rotatearrow {
  876. transform: rotate(270deg);
  877. }
  878. }
  879. .level1-subbox {
  880. display: flex;
  881. margin-top: 20rpx;
  882. flex-wrap: wrap;
  883. .sub-name {
  884. width: 50%;
  885. display: flex;
  886. margin-bottom: 18rpx;
  887. .subitem-name {
  888. width: 104rpx;
  889. height: 33rpx;
  890. font-size: 24rpx;
  891. font-weight: 400;
  892. color: #999999;
  893. line-height: 33rpx;
  894. letter-spacing: 1rpx;
  895. margin-right: 12rpx;
  896. }
  897. .checkimg {
  898. width: 27rpx;
  899. height: 27rpx;
  900. }
  901. }
  902. }
  903. }
  904. .Level-box {
  905. padding-bottom: 2rpx;
  906. border-bottom: 1rpx solid #E0E0E0;
  907. .hhhbox {
  908. width: 100%;
  909. padding: 0 30rpx;
  910. background: #f8f8f8;
  911. .hsnrtest {
  912. height: 36rpx;
  913. font-size: 26rpx;
  914. font-weight: 400;
  915. color: #666666;
  916. line-height: 36rpx;
  917. }
  918. .Level3che {
  919. width: 100%;
  920. height: 28rpx;
  921. display: flex;
  922. line-height: 28rpx;
  923. align-items: center;
  924. margin-top: 24rpx;
  925. .title1 {
  926. flex: 1;
  927. font-size: 28rpx;
  928. color: #2671E2;
  929. font-weight: 400;
  930. }
  931. .jiantobox {
  932. width: 30rpx;
  933. height: 30rpx;
  934. display: flex;
  935. align-items: center;
  936. .arrow {
  937. width: 32rpx;
  938. height: 32rpx;
  939. }
  940. }
  941. }
  942. }
  943. .Level2che {
  944. width: 100%;
  945. height: 88rpx;
  946. display: flex;
  947. line-height: 88rpx;
  948. align-items: center;
  949. .title1 {
  950. flex: 2;
  951. font-size: 28rpx;
  952. color: #333333;
  953. font-weight: 500;
  954. }
  955. .leve1-jindu {
  956. flex: 3;
  957. display: flex;
  958. justify-content: center;
  959. align-items: center;
  960. .zhixing {
  961. width: 116rpx;
  962. height: 48rpx;
  963. line-height: 48rpx;
  964. background: #2671E2;
  965. border-radius: 4rpx;
  966. font-size: 28rpx;
  967. text-align: center;
  968. color: #FFFFFF;
  969. }
  970. .zhixing2 {
  971. width: 116rpx;
  972. height: 48rpx;
  973. line-height: 48rpx;
  974. border-radius: 4rpx;
  975. font-size: 28rpx;
  976. text-align: center;
  977. color: #FFFFFF;
  978. background: #D8D8D8;
  979. }
  980. }
  981. .jiantobox {
  982. width: 30rpx;
  983. height: 30rpx;
  984. display: flex;
  985. align-items: center;
  986. .arrow {
  987. width: 30rpx;
  988. height: 18rpx;
  989. }
  990. }
  991. }
  992. .Level1che {
  993. width: 100%;
  994. height: 98rpx;
  995. background: #fff;
  996. display: flex;
  997. line-height: 98rpx;
  998. align-items: center;
  999. padding: 0 30rpx;
  1000. .title1 {
  1001. flex: 2;
  1002. font-size: 28rpx;
  1003. color: #333333;
  1004. font-weight: 500;
  1005. }
  1006. .leve1-jindu {
  1007. flex: 3;
  1008. .jindutiao {
  1009. width: 96%;
  1010. height: 28rpx;
  1011. line-height: 28rpx;
  1012. border-radius: 14rpx;
  1013. position: relative;
  1014. background: rgba(7, 183, 157, 0.2);
  1015. .huanxing {
  1016. height: 100%;
  1017. background: #07B79D;
  1018. border-radius: 14rpx;
  1019. }
  1020. .text {
  1021. position: absolute;
  1022. top: 0rpx;
  1023. right: 0rpx;
  1024. font-size: 28rpx;
  1025. font-weight: 400;
  1026. color: #333333;
  1027. }
  1028. }
  1029. }
  1030. .jiantobox {
  1031. width: 30rpx;
  1032. height: 30rpx;
  1033. display: flex;
  1034. align-items: center;
  1035. .arrow {
  1036. width: 30rpx;
  1037. height: 18rpx;
  1038. }
  1039. }
  1040. }
  1041. }
  1042. .ratecenter {
  1043. background-color: #FFFFFF;
  1044. padding-bottom: 30rpx;
  1045. width: 100%;
  1046. .ratetetle {
  1047. height: 42rpx;
  1048. font-size: 30rpx;
  1049. font-family: PingFangSC-Medium, PingFang SC;
  1050. font-weight: 500;
  1051. color: #333333;
  1052. line-height: 42rpx;
  1053. padding: 24rpx 30rpx;
  1054. }
  1055. .rateyuanbox {
  1056. width: 100%;
  1057. height: 210rpx;
  1058. padding-bottom: 30rpx;
  1059. display: flex;
  1060. padding-left: 80rpx;
  1061. padding-right: 80rpx;
  1062. .rateyuanboxzuo {
  1063. width: 30%;
  1064. height: 100%;
  1065. }
  1066. .rateyuanboxyou {
  1067. width: 40%;
  1068. height: 100%;
  1069. }
  1070. .boxzuoview {
  1071. width: 100%;
  1072. height: 140rpx;
  1073. line-height: 140rpx;
  1074. text-align: center;
  1075. }
  1076. .ratetetle-desc {
  1077. color: #666;
  1078. font-size: 30rpx;
  1079. font-weight: 400;
  1080. text-align: center;
  1081. }
  1082. }
  1083. .middle-title {
  1084. height: 78rpx;
  1085. line-height: 78rpx;
  1086. display: flex;
  1087. // justify-content: space-around;
  1088. align-items: center;
  1089. background: #F4F8FD;
  1090. font-size: 30rpx;
  1091. font-family: PingFangSC-Medium, PingFang SC;
  1092. font-weight: 500;
  1093. color: #333333;
  1094. .item-title1 {
  1095. width: 450rpx;
  1096. padding-left: 30rpx;
  1097. }
  1098. .item-title {
  1099. flex: 1;
  1100. }
  1101. }
  1102. }
  1103. .box {
  1104. width: 100%;
  1105. height: 100%;
  1106. background: #F8F8F8;
  1107. }
  1108. .tab {
  1109. height: 88rpx;
  1110. border-bottom: 1px solid #E0E0E0;
  1111. background: #FFFFFF;
  1112. display: flex;
  1113. align-items: center;
  1114. .tabbox {
  1115. flex: 1;
  1116. height: 100%;
  1117. text-align: center;
  1118. line-height: 88rpx;
  1119. color: #666666;
  1120. font-size: 30rpx;
  1121. display: flex;
  1122. justify-content: center;
  1123. .activecllasscet {
  1124. border-bottom: 6rpx solid #2671E2;
  1125. color: #2671E2;
  1126. font-weight: 600;
  1127. }
  1128. }
  1129. }
  1130. .content {
  1131. overflow: hidden;
  1132. border-top: 1rpx solid #E0E0E0;
  1133. .content-tips {
  1134. background: #fff;
  1135. margin-bottom: 20rpx;
  1136. overflow: hidden;
  1137. .content-first {
  1138. padding: 19rpx 30rpx;
  1139. display: flex;
  1140. justify-content: space-between;
  1141. box-sizing: border-box;
  1142. font-weight: 400;
  1143. color: #292929;
  1144. height: 90rpx;
  1145. font-size: 30rpx;
  1146. line-height: 30rpx;
  1147. .left {
  1148. display: flex;
  1149. .img {
  1150. width: 52rpx;
  1151. height: 52rpx;
  1152. border-radius: 50%;
  1153. text-align: center;
  1154. line-height: 50rpx;
  1155. margin-right: 20rpx;
  1156. color: #fff;
  1157. font-size: 30rpx;
  1158. background: #9f61c8;
  1159. }
  1160. .test {
  1161. margin-top: 11rpx;
  1162. font-weight: 500;
  1163. color: #333333;
  1164. }
  1165. .edit {
  1166. height: 30rpx;
  1167. width: 30rpx;
  1168. margin-left: 30rpx;
  1169. margin-top: 11rpx;
  1170. image {
  1171. width: 100%;
  1172. height: 100%;
  1173. }
  1174. }
  1175. .clientStageName {
  1176. height: 48rpx;
  1177. line-height: 48rpx;
  1178. background: #fff;
  1179. border-radius: 4rpx;
  1180. border: 1rpx solid #ff981e;
  1181. box-sizing: border-box;
  1182. font-size: 28rpx;
  1183. font-family: PingFangSC-Regular, PingFang SC;
  1184. font-weight: 400;
  1185. color: #ff981e;
  1186. margin-left: 16rpx;
  1187. padding: 0 16rpx;
  1188. }
  1189. }
  1190. .right {
  1191. display: flex;
  1192. .test {
  1193. margin-top: 11rpx;
  1194. .blue {
  1195. font-size: 32rpx;
  1196. font-family: PingFangSC-Medium, PingFang SC;
  1197. font-weight: 500;
  1198. color: #2671e2;
  1199. }
  1200. }
  1201. }
  1202. }
  1203. .content-sec {
  1204. border-top: 1px solid #E0E0E0;
  1205. padding: 0 30rpx;
  1206. position: relative;
  1207. .content-sec-lab {
  1208. margin-top: 28rpx;
  1209. display: flex;
  1210. justify-content: space-between;
  1211. font-size: 30rpx;
  1212. font-weight: 400;
  1213. color: #666666;
  1214. line-height: 46rpx;
  1215. .content-sec-lab1 {
  1216. color: #333333;
  1217. .look {
  1218. font-size: 32rpx;
  1219. font-family: PingFangSC-Semibold, PingFang SC;
  1220. font-weight: 600;
  1221. color: #2671E2;
  1222. }
  1223. .look1 {
  1224. height: 42rpx;
  1225. font-size: 30rpx;
  1226. font-family: PingFangSC-Regular, PingFang SC;
  1227. font-weight: 400;
  1228. color: #2671E2;
  1229. line-height: 42rpx;
  1230. margin-left: 60rpx;
  1231. }
  1232. }
  1233. .content-sec-tips {
  1234. max-width: 120rpx;
  1235. height: 46rpx;
  1236. background: #F2F2F2;
  1237. border-radius: 6rpx;
  1238. text-align: center;
  1239. line-height: 26rpx;
  1240. overflow: hidden;
  1241. text-overflow: ellipsis;
  1242. white-space: nowrap;
  1243. font-size: 26rpx;
  1244. font-weight: 400;
  1245. color: #333333;
  1246. margin-right: 20rpx;
  1247. box-sizing: border-box;
  1248. padding: 10rpx 24rpx;
  1249. }
  1250. }
  1251. .content-sec-num {
  1252. position: absolute;
  1253. width: 200rpx;
  1254. height: 90rpx;
  1255. background: #F4F8FD;
  1256. border-radius: 12rpx;
  1257. font-weight: 400;
  1258. color: #2671E2;
  1259. line-height: 45rpx;
  1260. bottom: 100rpx;
  1261. right: 30rpx;
  1262. text-align: center;
  1263. }
  1264. }
  1265. .content-last {
  1266. padding: 30rpx;
  1267. margin-top: 28rpx;
  1268. .content-last-con {
  1269. width: 690rpx;
  1270. min-height: 112rpx;
  1271. background: #F8F8F8;
  1272. border-radius: 8rpx;
  1273. padding: 16rpx 20rpx;
  1274. font-size: 28rpx;
  1275. font-weight: 400;
  1276. color: #333333;
  1277. line-height: 40rpx;
  1278. }
  1279. }
  1280. }
  1281. }
  1282. .tabchange {
  1283. overflow: hidden;
  1284. .tabactive1 {
  1285. padding-bottom: 100rpx;
  1286. .content-tips {
  1287. background: #fff;
  1288. padding: 0 30rpx;
  1289. box-sizing: border-box;
  1290. overflow: hidden;
  1291. margin-bottom: 20rpx;
  1292. .content-first {
  1293. margin-top: 19rpx;
  1294. display: flex;
  1295. justify-content: space-between;
  1296. .left {
  1297. display: flex;
  1298. .img {
  1299. width: 52rpx;
  1300. height: 52rpx;
  1301. background: #FFFFFF;
  1302. border: 1rpx solid #C9C9C9;
  1303. border-radius: 50%;
  1304. text-align: center;
  1305. line-height: 52rpx;
  1306. margin-right: 20rpx;
  1307. }
  1308. .name {
  1309. font-weight: 600;
  1310. color: #333333;
  1311. margin-top: 11rpx;
  1312. }
  1313. .status {
  1314. width: 110rpx;
  1315. height: 42rpx;
  1316. background: #FFF9F5;
  1317. border-radius: 4rpx;
  1318. font-size: 26rpx;
  1319. font-weight: 400;
  1320. color: #EC8D49;
  1321. line-height: 42rpx;
  1322. text-align: center;
  1323. margin-left: 19rpx;
  1324. margin-top: 11rpx;
  1325. }
  1326. }
  1327. .right {
  1328. display: flex;
  1329. margin-top: 11rpx;
  1330. .point {
  1331. width: 12rpx;
  1332. height: 12rpx;
  1333. background: #2B6EFF;
  1334. border-radius: 50%;
  1335. margin-right: 9rpx;
  1336. margin-top: 16rpx;
  1337. }
  1338. }
  1339. }
  1340. .content-sec {
  1341. display: flex;
  1342. justify-content: space-between;
  1343. margin-top: 19rpx;
  1344. .left {
  1345. display: flex;
  1346. .cus {
  1347. font-size: 30rpx;
  1348. font-weight: 400;
  1349. color: #333;
  1350. line-height: 42rpx;
  1351. }
  1352. .arriveNum {
  1353. font-size: 30rpx;
  1354. font-weight: 400;
  1355. margin-left: 10rpx;
  1356. color: #2671E2;
  1357. }
  1358. }
  1359. .right {
  1360. height: 56rpx;
  1361. background: #F4F8FD;
  1362. border-radius: 6rpx;
  1363. text-align: center;
  1364. line-height: 56rpx;
  1365. font-weight: 400;
  1366. color: #2671E2;
  1367. font-size: 28rpx;
  1368. padding: 0 20rpx;
  1369. }
  1370. }
  1371. .content-last {
  1372. margin: 28rpx 0;
  1373. font-size: 30rpx;
  1374. font-weight: 400;
  1375. color: #333;
  1376. line-height: 30rpx;
  1377. }
  1378. }
  1379. }
  1380. .tabactive2 {
  1381. .tab2-tips {
  1382. background: #fff;
  1383. // height: 270rpx;
  1384. overflow: auto;
  1385. margin-bottom: 20rpx;
  1386. .tab2-first {
  1387. border-bottom: 1rpx solid #E0E0E0;
  1388. padding: 0 30rpx;
  1389. margin-top: 19rpx;
  1390. box-sizing: border-box;
  1391. .tab2-first-1 {
  1392. display: flex;
  1393. justify-content: space-between;
  1394. height: 52rpx;
  1395. align-items: center;
  1396. .tab2-first-left {
  1397. display: flex;
  1398. align-items: center;
  1399. height: 52rpx;
  1400. .img {
  1401. width: 52rpx;
  1402. height: 52rpx;
  1403. background: #FFFFFF;
  1404. border: 1rpx solid #C9C9C9;
  1405. border-radius: 50%;
  1406. text-align: center;
  1407. line-height: 52rpx;
  1408. }
  1409. .name {
  1410. font-weight: 600;
  1411. color: #333333;
  1412. margin-left: 20rpx;
  1413. }
  1414. .clientStageName {
  1415. height: 48rpx;
  1416. line-height: 48rpx;
  1417. background: #fff;
  1418. border-radius: 4rpx;
  1419. border: 1rpx solid #ff981e;
  1420. box-sizing: border-box;
  1421. font-size: 28rpx;
  1422. font-family: PingFangSC-Regular, PingFang SC;
  1423. font-weight: 400;
  1424. color: #ff981e;
  1425. margin-left: 16rpx;
  1426. padding: 0 16rpx;
  1427. }
  1428. }
  1429. .tab2-first-right {
  1430. font-size: 30rpx;
  1431. font-weight: 400;
  1432. color: #333;
  1433. }
  1434. }
  1435. .tab2-first-foot {
  1436. margin: 30rpx 0;
  1437. font-size: 30rpx;
  1438. font-weight: 400;
  1439. color: #333;
  1440. line-height: 42rpx;
  1441. }
  1442. }
  1443. .tab2-sec {
  1444. height: 120rpx;
  1445. padding: 30rpx;
  1446. float: right;
  1447. .tab-sec-edit {
  1448. width: 156rpx;
  1449. height: 60rpx;
  1450. background: #FFFFFF;
  1451. border-radius: 4rpx;
  1452. border: 1rpx solid #2671E2;
  1453. text-align: center;
  1454. line-height: 60rpx;
  1455. font-weight: 400;
  1456. color: #2671E2;
  1457. }
  1458. }
  1459. }
  1460. }
  1461. }
  1462. .pon-foot {
  1463. position: fixed;
  1464. width: 750rpx;
  1465. height: 100rpx;
  1466. background: #FFFFFF;
  1467. box-shadow: 0px -2rpx 8rpx 0rpx rgba(224, 224, 224, 0.5);
  1468. bottom: 0;
  1469. display: flex;
  1470. justify-content: space-around;
  1471. align-items: center;
  1472. // padding-top: 24rpx;
  1473. box-sizing: border-box;
  1474. // padding: ;
  1475. .foot-tab {
  1476. text-align: center;
  1477. width: 270rpx;
  1478. height: 70rpx;
  1479. line-height: 70rpx;
  1480. background: #2671E2;
  1481. box-shadow: 0px -2rpx 8rpx 0px rgba(224, 224, 224, 0.5);
  1482. border-radius: 6rpx;
  1483. font-size: 30rpx;
  1484. font-weight: 400;
  1485. color: #FFFFFF;
  1486. }
  1487. }
  1488. .upon-sec-tips {
  1489. // max-width:120rpx ;
  1490. height: 46rpx;
  1491. background: #F2F2F2;
  1492. border-radius: 6rpx;
  1493. text-align: center;
  1494. line-height: 26rpx;
  1495. overflow: hidden;
  1496. text-overflow: ellipsis;
  1497. white-space: nowrap;
  1498. font-size: 26rpx;
  1499. font-weight: 400;
  1500. color: #333333;
  1501. margin-right: 20rpx;
  1502. margin-top: 20rpx;
  1503. box-sizing: border-box;
  1504. padding: 10rpx 24rpx;
  1505. }
  1506. .conmsg-msg-lab-img {
  1507. width: 14rpx;
  1508. height: 30rpx;
  1509. margin-top: 6rpx;
  1510. margin-left: auto;
  1511. image {
  1512. width: 100%;
  1513. height: 100%;
  1514. }
  1515. }
  1516. .A {
  1517. background: #E6625B;
  1518. }
  1519. .B {
  1520. background: #FF981E;
  1521. }
  1522. .C {
  1523. background: #F6BD16;
  1524. }
  1525. .D {
  1526. background: #E6625B;
  1527. }
  1528. .top-box {
  1529. height: 80rpx;
  1530. line-height: 80rpx;
  1531. display: flex;
  1532. color: #2671E2;
  1533. border-bottom: 1rpx solid #ccc;
  1534. }
  1535. .intentionRateList-title {
  1536. position: relative;
  1537. height: 90rpx;
  1538. background: #fff;
  1539. display: flex;
  1540. align-items: center;
  1541. justify-content: center;
  1542. .close {
  1543. position: absolute;
  1544. right: 10rpx;
  1545. top: 50%;
  1546. transform: translateY(-50%);
  1547. width: 45rpx;
  1548. height: 45rpx;
  1549. text-align: center;
  1550. }
  1551. }
  1552. .intentionRateList {
  1553. padding: 0 20rpx;
  1554. width: 100%;
  1555. display: flex;
  1556. flex-direction: column;
  1557. .first-title {
  1558. width: 100%;
  1559. height: 90rpx;
  1560. display: flex;
  1561. align-items: center;
  1562. }
  1563. .second {
  1564. width: 100%;
  1565. display: flex;
  1566. flex-wrap: wrap;
  1567. .second-item {
  1568. margin: 0 20rpx 25rpx 0;
  1569. padding: 0 10rpx;
  1570. height: 60rpx;
  1571. border: 1px solid #E0E0E0;
  1572. border-radius: 12rpx;
  1573. display: flex;
  1574. align-items: center;
  1575. justify-content: center;
  1576. }
  1577. }
  1578. }
  1579. </style>