AI销管
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 

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