AI销管
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1773 lines
46 KiB

  1. <template>
  2. <view class="box">
  3. <view class="top-search">
  4. <view class="search-box">
  5. <view class="search" @click="goSearch">
  6. <view class="search-img">
  7. <image class="search-img1" src="../../../static/images/search.png" mode=""></image>
  8. </view>
  9. <view class="search-text">输入客户姓名/手机号</view>
  10. </view>
  11. </view>
  12. <template v-if="showFilterOption">
  13. <image @click="screenShow = true" class="filter-icon" src="@/static/images/iconFilter.png" mode="">
  14. </image>
  15. </template>
  16. <template v-else>
  17. <image class="filter-icon" @click="screenShow = true"
  18. src="https://static.quhouse.com/f4feade4a19d413085b591612179457f.png" mode="" />
  19. </template>
  20. </view>
  21. <!-- 选择器 -->
  22. <view class="boxtittab">
  23. <view class="tabbox" :class="{activeColor: sortFilter!=='排序'}" @click="soltishow = true">
  24. {{ sortFilter }}
  25. <u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon>
  26. </view>
  27. <view class="tabbox" :class="{activeColor: arriveFilter!=='接待时间'}" @click="timeshow = true">
  28. {{ arriveFilter }}
  29. <u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon>
  30. </view>
  31. <view class="tabbox" :class="{activeColor: agentIdtext!=='接待顾问'}" @click="selectshow=true">
  32. {{ agentIdtext }}
  33. <u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon>
  34. </view>
  35. <view class="tabbox" :class="{activeColor: tagSign}" @click="huaxiangShow = true">
  36. 画像标签<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon>
  37. </view>
  38. <view class="tabbox" :class="{activeColor: trendTagSign}" @click="trendShow=true">
  39. {{ trendShowText }}
  40. <u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon>
  41. </view>
  42. </view>
  43. <!-- 筛选后的数量 -->
  44. <view class="count" v-if="recordList.length > 0">
  45. 筛选结果:<text>{{totalRecords}} </text>条
  46. </view>
  47. <view class="content">
  48. <view v-if="recordList.length==0" style="width: 100%;height: 100%;display: flex;align-items: center;">
  49. <view style="width: 100%;height: 100%;padding-top: 200rpx;">
  50. <view style="width: 100%;text-align: center;">
  51. <image style="width: 220rpx;height: 200rpx;"
  52. src="https://static.quhouse.com/zhikong_xcx_img/nodatalist.png" mode=""></image>
  53. </view>
  54. <view style="text-align: center;width: 100%;margin-top: 20rpx;color: #999999;">暂无数据</view>
  55. </view>
  56. </view>
  57. <view v-if="recordList.length" class="content-tips" v-for="(item,index) in recordList" :key='index'
  58. @click="gotoDetail(item.id)">
  59. <view class="content-first">
  60. <view class="left">
  61. <view v-if="item.level.length == 0"></view>
  62. <view class="img A" v-else-if="item.level == 1">A</view>
  63. <view class="img B" v-else-if="item.level == 2">B</view>
  64. <view class="img C" v-else-if="item.level == 3">C</view>
  65. <view class="img D" v-else-if="item.level == 4">D</view>
  66. <view class="test">{{item.name}}</view>
  67. </view>
  68. <view class="right">
  69. <view class="clientStageName">
  70. {{ item.fraction || 0 }}%
  71. </view>
  72. </view>
  73. </view>
  74. <view class="content-sec">
  75. <view class="content-sec-lab">
  76. <view class="content-sec-lab1">手机号码:{{ item.phone || "--" }}</view>
  77. <view class="content-sec-lab1" style="width: 44%">客户阶段:{{ item.clientStageName || '--' }}</view>
  78. </view>
  79. <view class="content-sec-lab">
  80. <view class="content-sec-lab1">负责顾问:{{ item.agentName || "--" }}</view>
  81. <view class="content-sec-lab1" style="width: 44%">成交状态:{{ item.deliveryStatus | deliveryStatusText }}</view>
  82. </view>
  83. <view class="content-sec-lab">
  84. <view class="content-sec-lab1">
  85. 挖掘执行/成功:{{ max100(item.wordFraction) }}%/{{ max100(item.wordFinishFraction) }}%</view>
  86. <view class="content-sec-lab1" style="width: 44%">
  87. 客户意向率:{{ `${item.levelFraction||'0'}%` }}
  88. </view>
  89. </view>
  90. <view class="content-sec-lab">
  91. <view class="content-sec-lab1">最近到访:{{ item.createTime || "--" }}</view>
  92. <view class="content-sec-lab1-min">
  93. 到访{{ item.visitRecord || 0 }}次/{{ item.mm || 0 }}min
  94. </view>
  95. </view>
  96. </view>
  97. <view class="content-last">
  98. <template v-if="permissions.commonly2">
  99. <view class="content-last-tab" @click.stop="gotoFollowUp(item)">
  100. <image src="/static/images/genjin-icon.png" mode="" />
  101. 写跟进
  102. </view>
  103. </template>
  104. <template v-if="CHECKAUTHORITY('khgl_bj')">
  105. <view class="content-last-tab" @click.stop="goedit(item)">
  106. <image class="icon" src="https://static.quhouse.com/5daebdec0aad4f63a62d3720437034bc.png"
  107. mode="" />
  108. 打标签
  109. </view>
  110. </template>
  111. </view>
  112. </view>
  113. </view>
  114. <!-- 更多筛选 -->
  115. <u-popup v-model="screenShow" mode="top" height="900">
  116. <view class="screen">
  117. <scroll-view scroll-y="true" style="height: 750rpx;">
  118. <!-- 销讲业务 -->
  119. <view class="screen-record">
  120. <view class="screen-record-text" @click="showTemplate=!showTemplate">
  121. 销讲业务
  122. <image v-if="showTemplate" class="arrow"
  123. src="https://static.quhouse.com/6cf38a2b82694392a7ab6eea24ce76b1.png" mode="" />
  124. <image v-else class="arrow"
  125. src="https://static.quhouse.com/17d69984ec7c4830b43f712016f06807.png" mode="" />
  126. </view>
  127. <view class="screen-record-tab" v-if="showTemplate">
  128. <block v-for="(item,index) in templateList" :key="index">
  129. <view class="screen-record-item"
  130. :class="[item.isShow?'screen-record-chose':'screen-record-nochose']"
  131. @click="choice(item)">
  132. {{item.templateName}}
  133. </view>
  134. </block>
  135. </view>
  136. </view>
  137. <!-- 接待时长 -->
  138. <view class="screen-record">
  139. <view class="screen-record-text" @click="jiedaiArrow = !jiedaiArrow">
  140. 接待时长
  141. <image v-if="jiedaiArrow" class="arrow"
  142. src="https://static.quhouse.com/6cf38a2b82694392a7ab6eea24ce76b1.png" mode="" />
  143. <image v-else class="arrow"
  144. src="https://static.quhouse.com/17d69984ec7c4830b43f712016f06807.png" mode="" />
  145. </view>
  146. <view class="screen-record-tab" v-if="jiedaiArrow">
  147. <block v-for="(item, index) in jiedaiList" :key="index">
  148. <view class="screen-record-item" :class="[
  149. item.isShow ? 'screen-record-chose' : 'screen-record-nochose',
  150. ]" @click="choice(item)">
  151. {{ item.label }}
  152. </view>
  153. </block>
  154. </view>
  155. </view>
  156. <!-- 客户等级 -->
  157. <view class="screen-record">
  158. <view class="screen-record-text" @click="levelArrow = !levelArrow">
  159. 意向等级
  160. <image v-if="levelArrow" class="arrow"
  161. src="https://static.quhouse.com/6cf38a2b82694392a7ab6eea24ce76b1.png" mode="" />
  162. <image v-else class="arrow"
  163. src="https://static.quhouse.com/17d69984ec7c4830b43f712016f06807.png" mode="" />
  164. </view>
  165. <view class="screen-record-tab" v-if="levelArrow">
  166. <block v-for="(item, index) in levelList" :key="index">
  167. <view class="screen-record-item" :class="[
  168. item.isShow ? 'screen-record-chose' : 'screen-record-nochose',
  169. ]" @click="choice(item)">
  170. {{ item.label }}
  171. </view>
  172. </block>
  173. </view>
  174. </view>
  175. <!-- 客户来源 -->
  176. <view class="screen-record">
  177. <view class="screen-record-text" @click="sourceArrow = !sourceArrow">
  178. 客户来源
  179. <image v-if="sourceArrow" class="arrow"
  180. src="https://static.quhouse.com/6cf38a2b82694392a7ab6eea24ce76b1.png" mode="" />
  181. <image v-else class="arrow"
  182. src="https://static.quhouse.com/17d69984ec7c4830b43f712016f06807.png" mode="" />
  183. </view>
  184. <view class="screen-record-tab" v-if="sourceArrow">
  185. <block v-for="(item, index) in sourceList" :key="index">
  186. <view class="screen-record-item" :class="[
  187. item.isShow ? 'screen-record-chose' : 'screen-record-nochose',
  188. ]" @click="choice(item)">
  189. {{ item.label }}
  190. </view>
  191. </block>
  192. </view>
  193. </view>
  194. <!-- 客户阶段 -->
  195. <view class="screen-record">
  196. <view class="screen-record-text" @click="jieduanArrow = !jieduanArrow">
  197. 客户阶段
  198. <image v-if="jieduanArrow" class="arrow"
  199. src="https://static.quhouse.com/6cf38a2b82694392a7ab6eea24ce76b1.png" mode="" />
  200. <image v-else class="arrow"
  201. src="https://static.quhouse.com/17d69984ec7c4830b43f712016f06807.png" mode="" />
  202. </view>
  203. <view class="screen-record-tab" v-if="jieduanArrow">
  204. <block v-for="(item, index) in phaseList" :key="index">
  205. <view class="screen-record-item" :class="[
  206. item.isShow ? 'screen-record-chose' : 'screen-record-nochose',
  207. ]" @click="choice(item)">
  208. {{ item.label }}
  209. </view>
  210. </block>
  211. </view>
  212. </view>
  213. <!-- 需求挖掘率 -->
  214. <view class="screen-record">
  215. <view class="screen-record-text" @click="wajueArrow = !wajueArrow">
  216. 挖掘执行率
  217. <image v-if="wajueArrow" class="arrow"
  218. src="https://static.quhouse.com/6cf38a2b82694392a7ab6eea24ce76b1.png" mode="" />
  219. <image v-else class="arrow"
  220. src="https://static.quhouse.com/17d69984ec7c4830b43f712016f06807.png" mode="" />
  221. </view>
  222. <view class="screen-record-tab" v-if="wajueArrow">
  223. <block v-for="(item, index) in wajueList" :key="index">
  224. <view class="screen-record-item" :class="[
  225. item.isShow ? 'screen-record-chose' : 'screen-record-nochose',
  226. ]" @click="choice(item)">
  227. {{ item.label }}
  228. </view>
  229. </block>
  230. </view>
  231. </view>
  232. <!-- 需求挖掘率 -->
  233. <view class="screen-record">
  234. <view class="screen-record-text" @click="wajueArrows=!wajueArrows">
  235. 挖掘成功率
  236. <image v-if="wajueArrows" class="arrow"
  237. src="https://static.quhouse.com/6cf38a2b82694392a7ab6eea24ce76b1.png" mode="" />
  238. <image v-else class="arrow"
  239. src="https://static.quhouse.com/17d69984ec7c4830b43f712016f06807.png" mode="" />
  240. </view>
  241. <view class="screen-record-tab" v-if="wajueArrows">
  242. <block v-for="(item,index) in wajueLists" :key="index">
  243. <view class="screen-record-item"
  244. :class="[item.isShow?'screen-record-chose':'screen-record-nochose']"
  245. @click="choice(item)">
  246. {{item.label}}
  247. </view>
  248. </block>
  249. </view>
  250. </view>
  251. <!-- 销讲执行率 -->
  252. <view class="screen-record">
  253. <view class="screen-record-text" @click="xiaojiangArrow = !xiaojiangArrow">
  254. 销讲执行率
  255. <image v-if="xiaojiangArrow" class="arrow"
  256. src="https://static.quhouse.com/6cf38a2b82694392a7ab6eea24ce76b1.png" mode="" />
  257. <image v-else class="arrow"
  258. src="https://static.quhouse.com/17d69984ec7c4830b43f712016f06807.png" mode="" />
  259. </view>
  260. <view class="screen-record-tab" v-if="xiaojiangArrow">
  261. <block v-for="(item, index) in xiaojiangList" :key="index">
  262. <view class="screen-record-item" :class="[
  263. item.isShow ? 'screen-record-chose' : 'screen-record-nochose',
  264. ]" @click="choice(item)">
  265. {{ item.label }}
  266. </view>
  267. </block>
  268. </view>
  269. </view>
  270. <!-- 到访次数 -->
  271. <view class="screen-record">
  272. <view class="screen-record-text" @click="visitArrow = !visitArrow">
  273. 到访次数
  274. <image v-if="visitArrow" class="arrow"
  275. src="https://static.quhouse.com/6cf38a2b82694392a7ab6eea24ce76b1.png" mode="" />
  276. <image v-else class="arrow"
  277. src="https://static.quhouse.com/17d69984ec7c4830b43f712016f06807.png" mode="" />
  278. </view>
  279. <view class="screen-record-tab" v-if="visitArrow">
  280. <block v-for="(item, index) in visitList" :key="index">
  281. <view class="screen-record-item" :class="[
  282. item.isShow ? 'screen-record-chose' : 'screen-record-nochose',
  283. ]" @click="choice(item)">
  284. {{ item.label }}
  285. </view>
  286. </block>
  287. </view>
  288. </view>
  289. </scroll-view>
  290. <view class="screen-foot">
  291. <view class="screen-foot-reset" @click="reset"> 重置 </view>
  292. <view class="screen-foot-sure" @click="screensure"> 确定 </view>
  293. </view>
  294. </view>
  295. </u-popup>
  296. <!-- 选择顾问的选择框 -->
  297. <u-select v-model="selectshow" :list="freeList" @confirm="actionSelectCallback"></u-select>
  298. <!-- 自定义时间 -->
  299. <u-calendar v-model="totalTimeShow" mode="range" @change="totalTimeChange"></u-calendar>
  300. <!-- 选择接待时间 -->
  301. <u-popup v-model="timeshow" mode="bottom">
  302. <view class="timeview" :style="{ color: activeTotal == 5 ? '#2B6EFF' : '#333333' }"
  303. @click="tabtimetap(5, '接待时间')">
  304. 全部</view>
  305. <view class="timeview" :style="{ color: activeTotal == 0 ? '#2B6EFF' : '#333333' }"
  306. @click="tabtimetap(0, '今天')">
  307. 今天</view>
  308. <view class="timeview" :style="{ color: activeTotal == 1 ? '#2B6EFF' : '#333333' }"
  309. @click="tabtimetap(1, '昨天')">
  310. 昨天</view>
  311. <view class="timeview" :style="{ color: activeTotal == 2 ? '#2B6EFF' : '#333333' }"
  312. @click="tabtimetap(2, '近7天')">
  313. 近7天</view>
  314. <view class="timeview" :style="{ color: activeTotal == 3 ? '#2B6EFF' : '#333333' }"
  315. @click="tabtimetap(3, '近30天')">
  316. 近30天</view>
  317. <view class="timeview" :style="{ color: activeTotal == 4 ? '#2B6EFF' : '#333333' }" @click="tabtimetap(4)">
  318. 自定义</view>
  319. </u-popup>
  320. <!-- 排序 -->
  321. <u-popup v-model="soltishow" mode="bottom">
  322. <view class="soltishow" @tap.stop @touchmove.stop>
  323. <block v-for="(item, index) in orderBylist" :key="index">
  324. <view class="soltishow-item" :style="orderBy==item.value?'color: #2B6EFF':''"
  325. @click="selectCallback2(item)">
  326. {{ item.label }}
  327. </view>
  328. </block>
  329. </view>
  330. </u-popup>
  331. <!-- 画像标签 -->
  332. <u-popup v-model="huaxiangShow" mode="top" height="850">
  333. <view class="screen">
  334. <scroll-view scroll-y="true" style="height: 700rpx;">
  335. <view class="screen-record" v-if="item.children.length" v-for="(item,index) in huaxiangList"
  336. :key="index">
  337. <view class="screen-record-text" @click="choice(item)">
  338. {{item.name}}
  339. <image v-if="item.isShow" class="arrow"
  340. src="https://static.quhouse.com/6cf38a2b82694392a7ab6eea24ce76b1.png" mode="" />
  341. <image v-else class="arrow"
  342. src="https://static.quhouse.com/17d69984ec7c4830b43f712016f06807.png" mode="" />
  343. </view>
  344. <view class="screen-record-tab" v-if="item.isShow">
  345. <block v-for="(subitem, ind) in item.children" :key="ind">
  346. <view class="screen-record-item" :class="[
  347. subitem.isShow ? 'screen-record-chose' : 'screen-record-nochose',
  348. ]" @click="choice(subitem)">
  349. {{ subitem.name }}
  350. </view>
  351. </block>
  352. </view>
  353. </view>
  354. </scroll-view>
  355. <view class="screen-foot">
  356. <view class="screen-foot-reset" @click="resetHuaXiang"> 重置 </view>
  357. <view class="screen-foot-sure" @click="screensure"> 确定 </view>
  358. </view>
  359. </view>
  360. </u-popup>
  361. <!-- 销讲话术 -->
  362. <u-popup v-model="trendShow" mode="top" height="850">
  363. <view class="screen">
  364. <scroll-view scroll-y="true" style="height: 700rpx;">
  365. <view class="screen-record" v-if="item.children.length"
  366. v-for="(item,index) in trendAnalysisAllLevelList" :key="index">
  367. <view class="screen-record-text" @click="choice(item)">
  368. {{item.name}}
  369. <image v-if="item.isShow" class="arrow"
  370. src="https://static.quhouse.com/6cf38a2b82694392a7ab6eea24ce76b1.png" mode="" />
  371. <image v-else class="arrow"
  372. src="https://static.quhouse.com/17d69984ec7c4830b43f712016f06807.png" mode="" />
  373. </view>
  374. <view class="screen-record-tab" v-if="item.isShow">
  375. <block v-for="(subitem, ind) in item.children" :key="ind">
  376. <view class="screen-record-item" :class="[
  377. subitem.isShow ? 'screen-record-chose' : 'screen-record-nochose',
  378. ]" @click="choices(subitem)">
  379. {{ subitem.name }}
  380. </view>
  381. </block>
  382. </view>
  383. </view>
  384. </scroll-view>
  385. <view class="screen-foot">
  386. <view class="screen-foot-reset" @click="resetHuaShu"> 重置 </view>
  387. <view class="screen-foot-sure" @click="screensures"> 确定 </view>
  388. </view>
  389. </view>
  390. </u-popup>
  391. <!-- 加载组件 -->
  392. <u-loadings v-model="LOADING"></u-loadings>
  393. </view>
  394. </template>
  395. <script>
  396. var config = require("@/config");
  397. let _this
  398. export default {
  399. data() {
  400. return {
  401. keywordsIds: [], // 画像标签
  402. sourceList: [], //客户来源
  403. templateList: [], // 销讲业务
  404. showTemplate: true, // 展示销讲业务
  405. agentIdtext: '接待顾问',
  406. phaseList: [], // 客户阶段
  407. huaxiangShow: false,
  408. wajueArrow: true,
  409. wajueArrows: true,
  410. jieduanArrow: true,
  411. sourceArrow: true,
  412. levelArrow: true,
  413. zixunArrow: true,
  414. jiedaiArrow: true,
  415. luyinArrow: true,
  416. visitArrow: true,
  417. xiaojiangArrow: true,
  418. huaxiangList: [],
  419. orderBylist: [{
  420. label: '创建时间倒序',
  421. value: '1'
  422. },
  423. {
  424. label: '创建时间正序',
  425. value: '2'
  426. },
  427. {
  428. label: '接待时间倒序',
  429. value: '3'
  430. },
  431. {
  432. label: '接待时间正序',
  433. value: '4'
  434. },
  435. {
  436. label: '执行率正序',
  437. value: '5'
  438. },
  439. {
  440. label: '执行率倒序',
  441. value: '6'
  442. },
  443. {
  444. label: '接访次数正序',
  445. value: '7'
  446. },
  447. {
  448. label: '接访次数倒序',
  449. value: '8'
  450. },
  451. ],
  452. jiedaiList: [{
  453. label: "0~15min",
  454. value: 1,
  455. isShow: false,
  456. },
  457. {
  458. label: "16~30min",
  459. value: 2,
  460. isShow: false,
  461. },
  462. {
  463. label: "31~60min",
  464. value: 3,
  465. isShow: false,
  466. },
  467. {
  468. label: "61~90min",
  469. value: 4,
  470. isShow: false,
  471. },
  472. {
  473. label: "91min及以上",
  474. value: 5,
  475. isShow: false,
  476. },
  477. ],
  478. wajueList: [{
  479. label: "31%及以下",
  480. value: 1,
  481. isShow: false,
  482. },
  483. {
  484. label: "31%~50%",
  485. value: 2,
  486. isShow: false,
  487. },
  488. {
  489. label: "51%~70%",
  490. value: 3,
  491. isShow: false,
  492. },
  493. {
  494. label: "71%及以上",
  495. value: 4,
  496. isShow: false,
  497. },
  498. ],
  499. wajueLists: [{
  500. label: '30%及以下',
  501. value: 1,
  502. isShow: false,
  503. }, {
  504. label: '31%~50%',
  505. value: 2,
  506. isShow: false,
  507. }, {
  508. label: '51%~70%',
  509. value: 3,
  510. isShow: false,
  511. }, {
  512. label: '71%及以上',
  513. value: 4,
  514. isShow: false,
  515. }],
  516. xiaojiangList: [{
  517. label: "30%及以下",
  518. value: 1,
  519. isShow: false,
  520. },
  521. {
  522. label: "31%~50%",
  523. value: 2,
  524. isShow: false,
  525. },
  526. {
  527. label: "51%~70%",
  528. value: 3,
  529. isShow: false,
  530. },
  531. {
  532. label: "71%及以上",
  533. value: 4,
  534. isShow: false,
  535. },
  536. ],
  537. value: '',
  538. screenShow: false,
  539. selectshow: false,
  540. selectTipshow: false,
  541. buildingID: '',
  542. screen: {
  543. staTime: "",
  544. endTime: "",
  545. orderBy: "", // 排序
  546. agentId: "", //顾问
  547. sourceIds: [], // 客户来源
  548. level: [], // 客户等级
  549. visitRecord: [], // 到访次数
  550. wajueVal: [], // 需求挖掘
  551. xiaojiangVal: [], //销讲执行率
  552. jiedaiVal: [], // 接待时长
  553. validInvalid: null, // 录音标识
  554. clientStage: [], // 客户阶段 clientStage
  555. },
  556. stageList: ['未知', '到访', '意向', '定金', '成交'],
  557. recordList: [],
  558. nextPage: 1,
  559. totalRecord: '',
  560. totalRecords: '', // 总条数
  561. freeList: [],
  562. userInfo: {},
  563. isnorefresh: '',
  564. activeTotal: 5,
  565. activeTotal2: 0,
  566. totalTimeShow: false,
  567. timeshow: false,
  568. soltishow: false,
  569. permissions: {
  570. commonly1: false,
  571. commonly2: false
  572. },
  573. list: [], // 客户来源列表
  574. sourceId: '', // 选中的客户来源id
  575. // 不同等级之间的颜色
  576. colorName: [
  577. '', "A", "B", "C", "D"
  578. ],
  579. // 筛选文字展示
  580. sortFilter: '排序',
  581. arriveFilter: '接待时间',
  582. visitList: [{
  583. label: '首次到访',
  584. value: 1,
  585. isShow: false,
  586. }, {
  587. label: '2次到访',
  588. value: 2,
  589. isShow: false,
  590. }, {
  591. label: '3次到访',
  592. value: 3,
  593. isShow: false,
  594. }, {
  595. label: '3次以上',
  596. value: 4,
  597. isShow: false,
  598. }, ],
  599. levelList: [{
  600. label: 'A',
  601. value: 1,
  602. isShow: false,
  603. }, {
  604. label: 'B',
  605. value: 2,
  606. isShow: false,
  607. }, {
  608. label: 'C',
  609. value: 3,
  610. isShow: false,
  611. }, {
  612. label: 'D',
  613. value: 4,
  614. isShow: false,
  615. }, ],
  616. isRefresh: false,
  617. showFilterOption: false, // 筛选
  618. tagSign: false, // 画像标签active
  619. trendAnalysisAllLevelList: [], // 销讲执行列表
  620. trendShow: false, // 销讲话术
  621. trendShowText: '销讲话术', // 销讲话术
  622. trendTagSign: false, // 选中内容
  623. resultList: [], // result最终结果数组
  624. }
  625. },
  626. onLoad(options) {
  627. this.LOADING = true
  628. this.userInfo = uni.getStorageSync("weapp_session_userInfo_data")
  629. let newmenulist = uni.getStorageSync('weapp_session_Menu_data');
  630. this.permissions.commonly1 = newmenulist.khgl_ck;
  631. this.permissions.commonly2 = newmenulist.khgl_gj;
  632. _this = this
  633. },
  634. onPullDownRefresh() {
  635. this.buildingID = uni.getStorageSync('buildingID').id;
  636. this.LOADING = true
  637. this.nextPage = 1;
  638. this.isRefresh = true;
  639. this.resetFilter()
  640. this.reset()
  641. this.getFreeList()
  642. this.getFromSource();
  643. this.getMyCustom();
  644. setTimeout(() => {
  645. uni.stopPullDownRefresh()
  646. }, 2000)
  647. },
  648. onShow() {
  649. this.getTabBarBadge()
  650. this.buildingID = uni.getStorageSync('buildingID').id;
  651. this.updatebuildingID = uni.getStorageSync('updatebuildingID')
  652. if (this.isnorefresh != 'refresh' || this.updatebuildingID == 'updatebuildingID') {
  653. this.nextPage = 1;
  654. this.recordList = []
  655. this.getMyCustom()
  656. this.getFreeList()
  657. this.getWordMiningList();
  658. this.getCustomPhase();
  659. this.getFromSource();
  660. this.getMarketingBusiness(); // 销讲业务
  661. this.trendAnalysisAllLevel()
  662. this.isRefresh = false;
  663. this.isnorefresh = 'refresh';
  664. uni.setStorageSync('updatebuildingID', '');
  665. }
  666. this.updateInit()
  667. },
  668. onReachBottom() {
  669. if (this.totalRecord == this.nextPage) {
  670. uni.showToast({
  671. icon: 'none',
  672. title: '到底了',
  673. duration: 2000
  674. });
  675. return
  676. } else {
  677. this.isRefresh = false;
  678. this.nextPage = this.nextPage + 1;
  679. this.getMyCustom();
  680. }
  681. },
  682. methods: {
  683. // 获取一级销讲词
  684. trendAnalysisAllLevel() {
  685. this.$u.get('customer/trendAnalysisAllLevel', {
  686. showStatus: 0,
  687. houseId: this.buildingID,
  688. }).then(res => {
  689. if (res) {
  690. res.forEach(item => {
  691. item.isShow = true
  692. if (item.children) {
  693. item.children.forEach(i => {
  694. i.isShow = false
  695. })
  696. }
  697. })
  698. this.trendAnalysisAllLevelList = res
  699. }
  700. })
  701. },
  702. // 跳转编辑
  703. goedit(data) {
  704. uni.navigateTo({
  705. url: `/pages/center/consumer/edit?id=${data.id}&projectId=${data.projectId}`
  706. })
  707. },
  708. // 获取客户阶段数据
  709. getCustomPhase() {
  710. this.phaseList = [];
  711. this.$u
  712. .post("/customer/lifeTrackDefineList", {
  713. houseId: this.buildingID,
  714. })
  715. .then((res) => {
  716. if (res.length) {
  717. this.phaseList = res.map(item => {
  718. return {
  719. label: item.stageName,
  720. value: item.id,
  721. isShow: false
  722. }
  723. })
  724. } else {
  725. this.phaseList = []
  726. }
  727. });
  728. },
  729. // 获取客户来源
  730. getFromSource() {
  731. this.$u.get(config.service.sourceList, {
  732. houseId: this.buildingID
  733. })
  734. .then((res) => {
  735. if (res.length) {
  736. this.sourceList = res.map((item) => {
  737. return {
  738. label: item.sourceName,
  739. value: item.id,
  740. isShow: false
  741. }
  742. })
  743. } else {
  744. this.sourceList = []
  745. }
  746. })
  747. },
  748. max100(num) {
  749. if (num > 100) {
  750. return 100
  751. } else if (!num) {
  752. return 0;
  753. } else {
  754. return num;
  755. }
  756. },
  757. // 获取销讲业务
  758. getMarketingBusiness() {
  759. this.$u.get('/customer/marketingBusiness', {
  760. houseId: this.buildingID,
  761. }).then(res => {
  762. this.templateList = res.map(item => {
  763. return {
  764. ...item,
  765. isShow: false,
  766. }
  767. })
  768. })
  769. },
  770. updateInit() {
  771. this.$u.get(config.service.notReadNum, {
  772. id: uni.getStorageSync('weapp_session_userInfo_data').accountId,
  773. projectId: uni.getStorageSync('buildingID').id
  774. }).then(res => {
  775. console.log(res)
  776. if (res > 0) {
  777. uni.setTabBarBadge({ //显示数字
  778. index: 4, //tabbar下标
  779. text: `${res}` //数字
  780. })
  781. } else {
  782. uni.removeTabBarBadge({
  783. index: 4
  784. })
  785. }
  786. }).catch(e => {
  787. uni.removeTabBarBadge({
  788. index: 4
  789. })
  790. })
  791. },
  792. filterFun() {
  793. },
  794. // 过滤
  795. resetFilter() {
  796. this.sortFilter = '排序';
  797. this.agentIdtext = '接待顾问';
  798. this.screen.orderBy = null;
  799. this.arriveFilter = '接待时间';
  800. this.screen.staTime = '';
  801. this.screen.endTime = '';
  802. this.nextPage = 1;
  803. this.activeTotal = 5;
  804. this.recordList = [];
  805. this.activeTotal2 = 0;
  806. },
  807. //选择排序
  808. selectCallback2(e) {
  809. this.sortFilter = e.label;
  810. this.screen.orderBy = e.value;
  811. this.nextPage = 1;
  812. this.recordList = [];
  813. this.soltishow = false;
  814. this.isRefresh = false;
  815. this.getMyCustom();
  816. },
  817. //时间选择
  818. tabtimetap(index, text) {
  819. this.timeshow = false;
  820. if (text) this.arriveFilter = text
  821. if (index == 4) {
  822. this.totalTimeShow = true;
  823. } else {
  824. this.activeTotal = index;
  825. this.screen.staTime = '';
  826. this.screen.endTime = '';
  827. this.nextPage = 1;
  828. this.isRefresh = false;
  829. this.recordList = [];
  830. this.getMyCustom();
  831. }
  832. },
  833. //自定义时间
  834. totalTimeChange(e) {
  835. this.screen.staTime = e.startDate;
  836. this.screen.endTime = e.endDate;
  837. this.activeTotal = 4;
  838. this.nextPage = 1;
  839. this.recordList = [];
  840. this.isRefresh = false;
  841. this.arriveFilter = this.screen.staTime + '-' + this.screen.endTime
  842. this.getMyCustom();
  843. },
  844. choice(item) {
  845. item.isShow = !item.isShow;
  846. },
  847. // 销讲
  848. choices(item) {
  849. item.isShow = !item.isShow;
  850. let arr = []
  851. this.trendAnalysisAllLevelList.filter(item => {
  852. if (item.children) {
  853. let array = item.children.filter(i => i.isShow)
  854. if (array) {
  855. arr = [...arr, ...array]
  856. }
  857. }
  858. })
  859. if (arr.length > 0) {
  860. this.trendTagSign = true
  861. } else {
  862. this.trendTagSign = false
  863. }
  864. },
  865. // 客户详情
  866. gotoDetail(id) {
  867. if (this.permissions.commonly1 == true) {
  868. uni.navigateTo({
  869. url: `/pages/center/consumer/consumerDetail?id=${id}`
  870. })
  871. }
  872. },
  873. getMyCustom() {
  874. this.screen.visitRecord = []
  875. this.screen.jiedaiVal = []
  876. this.screen.wajueVal = []
  877. this.screen.xiaojiangVal = []
  878. this.screen.level = []
  879. this.screen.clientStage = []
  880. this.screen.sourceIds = []
  881. let dateType = 0;
  882. if (this.activeTotal == 5 || this.activeTotal == 4) {
  883. dateType = null;
  884. } else {
  885. dateType = this.activeTotal;
  886. }
  887. // 到访次数
  888. this.visitList.forEach(i => {
  889. if (i.isShow) this.screen.visitRecord.push(i.value)
  890. })
  891. // 接待时长
  892. this.jiedaiList.forEach(i => {
  893. if (i.isShow) this.screen.jiedaiVal.push(i.value)
  894. })
  895. // 需求挖掘
  896. this.wajueList.forEach(i => {
  897. if (i.isShow) this.screen.wajueVal.push(i.value)
  898. })
  899. // 需求挖掘成功
  900. this.wajueLists.forEach(i => {
  901. if (i.isShow) this.screen.wajueVals.push(i.value)
  902. })
  903. // 销讲执行率
  904. this.xiaojiangList.forEach(i => {
  905. if (i.isShow) this.screen.xiaojiangVal.push(i.value)
  906. })
  907. // 客户等级
  908. this.levelList.forEach(i => {
  909. if (i.isShow) this.screen.level.push(i.value)
  910. })
  911. //客户阶段
  912. this.phaseList.forEach(i => {
  913. if (i.isShow) this.screen.clientStage.push(i.value)
  914. })
  915. // 客户来源
  916. this.sourceList.forEach(i => {
  917. if (i.isShow) this.screen.sourceIds.push(i.value)
  918. })
  919. // 销讲话术
  920. // this.trendAnalysisAllLevelList.forEach(i => {
  921. // if (i.isShow) this.screen.sourceIds.push(i.value)
  922. // })
  923. const parames = {
  924. pageNum: this.nextPage,
  925. pageSize: 10,
  926. query: {
  927. projectId: this.buildingID,
  928. fractions: this.screen.xiaojiangVal.length ? this.screen.xiaojiangVal.join(',') : '', // 销讲执行率
  929. wordFractions: this.screen.wajueVal.length ? this.screen.wajueVal.join(',') : '', //需求挖掘
  930. visitRecordNum: this.screen.visitRecord.length ? this.screen.visitRecord.join(',') : '', //到访次数
  931. clientStages: this.screen.clientStage.length ? this.screen.clientStage.join(',') : '', // 客户阶段
  932. sourceIds: this.screen.sourceIds.length ? this.screen.sourceIds.join(',') : '', // 客户来源
  933. level: this.screen.level.length ? this.screen.level.join(',') : '', // 客户等级
  934. duractionNums: this.screen.jiedaiVal.length ? this.screen.jiedaiVal.join(',') : '', // 接待时长
  935. keywordsIds: this.keywordsIds.length ? this.keywordsIds.join(',') : '', // 画像标签
  936. dateType: dateType, // 接待时间
  937. staTime: this.screen.staTime,
  938. endTime: this.screen.endTime,
  939. agentId: this.screen.agentId, // 顾问
  940. orderBy: this.screen.orderBy == '' ? '' : this.screen.orderBy, // 排序
  941. result: this.resultList.join(','), // 销讲话术二级的词
  942. },
  943. };
  944. let ars = []
  945. this.templateList.forEach(item => {
  946. if (item.isShow) {
  947. ars.push(item.id)
  948. }
  949. })
  950. parames.query.marketingBusiness = ars.join(',')
  951. this.$u.post("/customer/customerManagement", parames)
  952. .then((data) => {
  953. this.LOADING = false;
  954. var list = data.records || [];
  955. list.forEach((item) => {
  956. if (this.userInfo.dataCode == 6) {
  957. item.isshow = true;
  958. } else {
  959. item.isshow = false;
  960. }
  961. });
  962. if (this.isRefresh) {
  963. this.recordList = list;
  964. } else {
  965. this.recordList = [...this.recordList, ...list];
  966. }
  967. this.totalRecord = data.pages;
  968. this.totalRecords = data.total;
  969. })
  970. .catch((e) => {
  971. this.LOADING = false;
  972. });
  973. },
  974. getMyCustom1() {
  975. let dateType = 0;
  976. let recDurationInterval = 0;
  977. let orderBy = 0;
  978. if (this.activeTotal == 5) {
  979. dateType = null;
  980. } else if (this.activeTotal == 4) {
  981. dateType = null;
  982. } else {
  983. dateType = this.activeTotal;
  984. }
  985. if (this.activeTotal2 == 0) {
  986. recDurationInterval = null
  987. } else {
  988. recDurationInterval = this.activeTotal2
  989. }
  990. if (this.orderBy == 0) {
  991. orderBy = null;
  992. } else {
  993. orderBy = this.orderBy;
  994. }
  995. var parames = {
  996. pageNum: this.nextPage,
  997. pageSize: 10,
  998. query: {
  999. projectId: this.buildingID,
  1000. keywordsId: this.screen.cunsumerTipsid,
  1001. agentId: this.screen.agentId,
  1002. dateType: dateType,
  1003. staDate: this.screen.staTime,
  1004. endDate: this.screen.endTime,
  1005. recDurationInterval: recDurationInterval,
  1006. orderBy: orderBy,
  1007. sourceId: this.sourceId
  1008. }
  1009. };
  1010. if (this.screen.visitRecord.length > 0) {
  1011. parames.query.visitRecords = this.screen.visitRecord.join(',');
  1012. }
  1013. if (this.screen.record.length > 0) {
  1014. parames.query.level = this.screen.record.join(',');
  1015. }
  1016. this.$u.post("/customer/customerManagement", parames).then(data => {
  1017. this.LOADING = false
  1018. var list = data.results || [];
  1019. list.forEach(item => {
  1020. if (item.demand.cusSemanticWordsList != null) {
  1021. item.demand.cusSemanticWordsList.forEach(che => {
  1022. if (che.isInterval == 0) {
  1023. che.name = che.name + che.unit + '-' + che.endName + che.unit;
  1024. }
  1025. })
  1026. }
  1027. })
  1028. if (this.isRefresh) {
  1029. this.recordList = list;
  1030. } else {
  1031. console.log('我在这里被打印了', this.recordList)
  1032. this.recordList = [...this.recordList, ...list];
  1033. }
  1034. this.totalRecord = data.totalPage;
  1035. this.totalRecords = data.totalRecord;
  1036. }).catch(e => {
  1037. this.LOADING = false
  1038. })
  1039. },
  1040. //获取顾问列表
  1041. getFreeList() {
  1042. this.$u.post("/cusLvStatistics/selectAllAccountIdByHouseId", {
  1043. houseId: this.buildingID
  1044. }).then(res => {
  1045. res.forEach(item => {
  1046. item.label = item.name;
  1047. item.value = item.accountId
  1048. })
  1049. res.unshift({
  1050. label: '全部',
  1051. value: ''
  1052. })
  1053. this.freeList = res
  1054. console.log(this.freeList)
  1055. })
  1056. },
  1057. //获取画像标签
  1058. getWordMiningList() {
  1059. this.huaxiangList = [];
  1060. this.$u.get("/corpus/findSelectedWordMiningTemplate", {
  1061. houseId: this.buildingID,
  1062. selected: 1
  1063. })
  1064. .then((res) => {
  1065. // console.log(res)
  1066. if (res.length) {
  1067. res.forEach(item => {
  1068. item.isShow = true;
  1069. if (item.children.length) {
  1070. item.children.forEach(subitem => {
  1071. subitem.isShow = false;
  1072. })
  1073. }
  1074. })
  1075. }
  1076. this.huaxiangList = res;
  1077. });
  1078. },
  1079. //选择顾问
  1080. actionSelectCallback(e) {
  1081. console.log(e)
  1082. if (e[0].label == '全部') {
  1083. this.agentIdtext = '接待顾问'
  1084. this.screen.agentId = ''
  1085. } else {
  1086. this.screen.agentId = e[0].value;
  1087. this.agentIdtext = e[0].label;
  1088. }
  1089. this.nextPage = 1;
  1090. this.recordList = [];
  1091. this.isRefresh = false;
  1092. this.getMyCustom();
  1093. },
  1094. //重置
  1095. reset() {
  1096. this.screen = {
  1097. agentId: "",
  1098. visitRecord: [],
  1099. record: [],
  1100. clientStage: "",
  1101. clientStageName: "",
  1102. };
  1103. this.sourceList.map((i) => {
  1104. i.isShow = false;
  1105. });
  1106. this.wajueList.map((i) => {
  1107. i.isShow = false;
  1108. });
  1109. this.wajueLists.forEach(i => {
  1110. i.isShow = false
  1111. })
  1112. this.phaseList.map((i) => {
  1113. i.isShow = false;
  1114. });
  1115. this.jiedaiList.map((i) => {
  1116. i.isShow = false;
  1117. });
  1118. this.xiaojiangList.map((i) => {
  1119. i.isShow = false;
  1120. });
  1121. this.visitList.map((i) => {
  1122. i.isShow = false;
  1123. });
  1124. this.levelList.map((i) => {
  1125. i.isShow = false;
  1126. });
  1127. this.nextPage = 1;
  1128. this.recordList = [];
  1129. this.isRefresh = false;
  1130. },
  1131. // 重置销讲话术
  1132. resetHuaShu() {
  1133. if (this.trendAnalysisAllLevelList.length) {
  1134. this.trendAnalysisAllLevelList.forEach(item => {
  1135. item.isShow = true;
  1136. if (item.children.length) {
  1137. item.children.forEach(subitem => {
  1138. subitem.isShow = false;
  1139. })
  1140. }
  1141. })
  1142. }
  1143. },
  1144. //重置画像标签选择
  1145. resetHuaXiang() {
  1146. if (this.huaxiangList.length) {
  1147. this.huaxiangList.forEach(item => {
  1148. item.isShow = true;
  1149. if (item.children.length) {
  1150. item.children.forEach(subitem => {
  1151. subitem.isShow = false;
  1152. })
  1153. }
  1154. })
  1155. }
  1156. },
  1157. chooseMores() {
  1158. let change1 = this.templateList.some(item => item.isShow == true)
  1159. let change2 = this.jiedaiList.some(item => item.isShow == true)
  1160. let change3 = this.levelList.some(item => item.isShow == true)
  1161. let change4 = this.sourceList.some(item => item.isShow == true)
  1162. let change5 = this.phaseList.some(item => item.isShow == true)
  1163. let change6 = this.wajueList.some(item => item.isShow == true)
  1164. let change9 = this.wajueLists.some(item => item.isShow == true)
  1165. let change7 = this.xiaojiangList.some(item => item.isShow == true)
  1166. let change8 = this.visitList.some(item => item.isShow == true)
  1167. if (change1 || change2 || change3 || change4 || change5 || change6 || change7 || change8 || change9) {
  1168. return true
  1169. } else {
  1170. return false
  1171. }
  1172. },
  1173. chooseMore() {
  1174. let a = false
  1175. this.huaxiangList.forEach(item => {
  1176. if (item.children.some(so => so.isShow == true)) {
  1177. a = true
  1178. }
  1179. })
  1180. return a
  1181. },
  1182. // 重置分页参数
  1183. resetPageParams() {
  1184. this.nextPage = 1;
  1185. this.recordList = [];
  1186. this.keywordsIds = []
  1187. this.resultList = [];
  1188. this.screenShow = false;
  1189. this.huaxiangShow = false;
  1190. this.trendShow = false
  1191. this.isRefresh = false;
  1192. },
  1193. //筛选确认
  1194. screensures() {
  1195. let arr = []
  1196. this.resetPageParams()
  1197. this.trendAnalysisAllLevelList.filter(item => {
  1198. if (item.children) {
  1199. let array = item.children.filter(i => i.isShow)
  1200. if (array) {
  1201. arr = [...arr, ...array]
  1202. }
  1203. }
  1204. })
  1205. console.log(arr)
  1206. if (arr.length > 0) {
  1207. this.trendTagSign = true
  1208. this.resultList = arr.map(item => {
  1209. return item.name
  1210. })
  1211. console.log(this.resultList)
  1212. } else {
  1213. this.trendTagSign = false
  1214. }
  1215. this.getMyCustom();
  1216. },
  1217. //筛选确认
  1218. screensure() {
  1219. this.showFilterOption = this.chooseMores()
  1220. this.tagSign = this.chooseMore()
  1221. this.resetPageParams()
  1222. // 画像标签
  1223. this.huaxiangList.forEach(item => {
  1224. if (item.children.length) {
  1225. item.children.forEach(im => {
  1226. if (im.isShow) this.keywordsIds.push(im.id)
  1227. })
  1228. }
  1229. })
  1230. this.getMyCustom();
  1231. },
  1232. goSearch() {
  1233. uni.navigateTo({
  1234. url: '/pages/center/consumer/consumerSearch'
  1235. });
  1236. },
  1237. gotoFollowUp(item) {
  1238. uni.navigateTo({
  1239. url: `/pages/center/consumer/newFollowup/newFollowup?id=${item.id}&level=${item.level}&clientStageName=${item.clientStageName}`
  1240. })
  1241. },
  1242. },
  1243. filters: {
  1244. deliveryStatusText(level) {
  1245. let str = '';
  1246. switch (Number(level)) {
  1247. case 0:
  1248. str = "未成交"
  1249. break;
  1250. case 1:
  1251. str = "已成交"
  1252. break;
  1253. default:
  1254. str = '-'
  1255. break;
  1256. }
  1257. return str
  1258. },
  1259. // 筛选等级展示文字
  1260. levelText(level) {
  1261. let str = '';
  1262. switch (Number(level)) {
  1263. case 1:
  1264. str = "A"
  1265. break;
  1266. case 2:
  1267. str = "B"
  1268. break;
  1269. case 3:
  1270. str = "C"
  1271. break;
  1272. case 4:
  1273. str = "D"
  1274. break;
  1275. default:
  1276. str = ''
  1277. break;
  1278. }
  1279. return str
  1280. },
  1281. // 加密手机
  1282. phoneText(mobile) {
  1283. if (!mobile) return '--'
  1284. if (_this.userInfo.showPhoneStatus == 1) return mobile.replace(/(\d{3})\d{4}(\d{4})/, '$1****$2')
  1285. else return mobile
  1286. },
  1287. // 格式化时间
  1288. formatTime(time) {
  1289. if (!time) return
  1290. return time.substring(5, time.length)
  1291. }
  1292. }
  1293. }
  1294. </script>
  1295. <style lang="scss" scoped>
  1296. .box {
  1297. width: 100vw;
  1298. min-height: calc(100vh - var(--window-top));
  1299. background: #F8F8F8;
  1300. display: flex;
  1301. flex-direction: column;
  1302. .top-search {
  1303. display: flex;
  1304. align-items: center;
  1305. justify-content: space-between;
  1306. background: #fff;
  1307. padding-right: 30rpx;
  1308. .filter-icon {
  1309. width: 40rpx;
  1310. height: 40rpx;
  1311. padding: 15rpx;
  1312. }
  1313. .search-box {
  1314. width: 670rpx;
  1315. height: 102rpx;
  1316. background: #ffffff;
  1317. display: flex;
  1318. align-items: center;
  1319. justify-content: center;
  1320. .search {
  1321. width: 94%;
  1322. height: 70rpx;
  1323. display: flex;
  1324. align-items: center;
  1325. background: #f8f8f8;
  1326. border-radius: 33rpx;
  1327. .search-img {
  1328. width: 26rpx;
  1329. height: 30rpx;
  1330. margin-left: 20rpx;
  1331. .search-img1 {
  1332. width: 100%;
  1333. height: 100%;
  1334. margin-top: 2rpx;
  1335. }
  1336. }
  1337. .search-text {
  1338. font-size: 28rpx;
  1339. font-weight: 400;
  1340. color: #999999;
  1341. margin-left: 10rpx;
  1342. }
  1343. }
  1344. .search-screen {
  1345. width: 40rpx;
  1346. height: 40rpx;
  1347. margin-left: 30rpx;
  1348. .search-screen1 {
  1349. width: 100%;
  1350. height: 100%;
  1351. }
  1352. }
  1353. }
  1354. }
  1355. .content {
  1356. flex-grow: 1;
  1357. }
  1358. }
  1359. .timeview {
  1360. height: 90rpx;
  1361. line-height: 90rpx;
  1362. width: 100%;
  1363. text-align: center;
  1364. border-bottom: 1rpx solid #F8F8F8;
  1365. }
  1366. //时间切换的样式
  1367. .boxtittab {
  1368. position: sticky;
  1369. top: var(--window-top);
  1370. z-index: 999;
  1371. width: 100;
  1372. height: 72rpx;
  1373. background: #FFFFFF;
  1374. flex-shrink: 0;
  1375. display: flex;
  1376. align-items: center;
  1377. .tabbox {
  1378. flex: 1;
  1379. height: 100%;
  1380. text-align: center;
  1381. line-height: 72rpx;
  1382. color: #666666;
  1383. font-size: 28rpx;
  1384. overflow: hidden;
  1385. text-overflow: ellipsis;
  1386. display: -webkit-box;
  1387. /* 将对象作为弹性伸缩盒子模型显示 */
  1388. -webkit-line-clamp: 1;
  1389. /* 控制最多显示几行 */
  1390. -webkit-box-orient: vertical;
  1391. /* 设置或检索伸缩盒对象的子元素的排列方式 */
  1392. }
  1393. .activeColor {
  1394. color: #2671E2;
  1395. font-weight: bold;
  1396. }
  1397. }
  1398. .soltishow {
  1399. width: 100%;
  1400. min-height: 40vh;
  1401. .soltishow-item {
  1402. width: 100%;
  1403. height: 80rpx;
  1404. display: flex;
  1405. align-items: center;
  1406. justify-content: center;
  1407. }
  1408. }
  1409. .count {
  1410. width: 100%;
  1411. height: 82rpx;
  1412. line-height: 82rpx;
  1413. display: flex;
  1414. align-items: center;
  1415. justify-content: center;
  1416. background-color: #f8f8f8;
  1417. font-size: 30rpx;
  1418. font-family: PingFangSC-Regular, PingFang SC;
  1419. font-weight: 400;
  1420. color: #333333;
  1421. text {
  1422. color: #E7483C;
  1423. }
  1424. }
  1425. .content {
  1426. .content-tips {
  1427. background: #fff;
  1428. margin-bottom: 20rpx;
  1429. .content-first {
  1430. padding: 19rpx 30rpx;
  1431. display: flex;
  1432. justify-content: space-between;
  1433. align-items: center;
  1434. box-sizing: border-box;
  1435. color: #292929;
  1436. height: 90rpx;
  1437. font-size: 30rpx;
  1438. .left {
  1439. display: flex;
  1440. align-items: center;
  1441. .img {
  1442. width: 48rpx;
  1443. height: 48rpx;
  1444. line-height: 48rpx;
  1445. text-align: center;
  1446. margin-right: 16rpx;
  1447. background: #E6625B;
  1448. border-radius: 6rpx;
  1449. font-size: 28rpx;
  1450. font-family: PingFangSC-Regular, PingFang SC;
  1451. font-weight: 400;
  1452. color: #FFFFFF;
  1453. }
  1454. .A {
  1455. background: #E6625B;
  1456. }
  1457. .B {
  1458. background: #FF981E;
  1459. }
  1460. .C {
  1461. background: #F6BD16;
  1462. }
  1463. .D {
  1464. background: #E6625B;
  1465. }
  1466. .test {
  1467. height: 42rpx;
  1468. font-size: 30rpx;
  1469. font-family: PingFangSC-Medium, PingFang SC;
  1470. font-weight: 500;
  1471. color: #333333;
  1472. line-height: 42rpx;
  1473. margin-right: 16rpx;
  1474. }
  1475. }
  1476. .right {
  1477. display: flex;
  1478. align-items: center;
  1479. color: #2671E2;
  1480. font-size: 30rpx;
  1481. align-items: flex-end;
  1482. .clientStageName {
  1483. font-size: 38rpx;
  1484. font-family: PingFangSC-Regular, PingFang SC;
  1485. font-weight: bold;
  1486. // color: #FF981E;
  1487. height: 48rpx;
  1488. line-height: 48rpx;
  1489. background: #FFFFFF;
  1490. // border-radius: 4rpx;
  1491. // border: 1rpx solid #FF981E;
  1492. box-sizing: border-box;
  1493. }
  1494. .right-img {
  1495. margin: 5rpx 0 0 10rpx;
  1496. width: 14rpx;
  1497. height: 30rpx;
  1498. }
  1499. }
  1500. }
  1501. .content-sec {
  1502. border-top: 1px solid #e0e0e0;
  1503. padding: 0 30rpx;
  1504. position: relative;
  1505. .content-sec-lab {
  1506. margin-top: 28rpx;
  1507. display: flex;
  1508. justify-content: space-between;
  1509. font-size: 30rpx;
  1510. font-weight: 400;
  1511. color: #666666;
  1512. line-height: 42rpx;
  1513. .content-sec-lab1 {
  1514. color: #333333;
  1515. word-break: break-all;
  1516. }
  1517. .content-sec-lab1-min {
  1518. flex-shrink: 0;
  1519. margin-bottom: 20rpx;
  1520. padding: 0 10rpx;
  1521. background: rgba($color: #2671e2, $alpha: 1);
  1522. color: #fff;
  1523. border-radius: 8rpx;
  1524. }
  1525. .content-sec-tips {
  1526. max-width: 160rpx;
  1527. height: 46rpx;
  1528. background: #f2f2f2;
  1529. border-radius: 6rpx;
  1530. text-align: center;
  1531. line-height: 26rpx;
  1532. overflow: hidden;
  1533. text-overflow: ellipsis;
  1534. white-space: nowrap;
  1535. font-size: 26rpx;
  1536. font-weight: 400;
  1537. color: #333333;
  1538. margin-right: 20rpx;
  1539. box-sizing: border-box;
  1540. padding: 10rpx 24rpx;
  1541. }
  1542. }
  1543. .content-sec-num {
  1544. position: absolute;
  1545. width: 200rpx;
  1546. height: 90rpx;
  1547. background: #f4f8fd;
  1548. border-radius: 12rpx;
  1549. font-weight: 400;
  1550. color: #2671e2;
  1551. line-height: 45rpx;
  1552. bottom: 30rpx;
  1553. right: 30rpx;
  1554. text-align: center;
  1555. }
  1556. }
  1557. .content-last {
  1558. display: flex;
  1559. justify-content: flex-end;
  1560. align-items: center;
  1561. padding-bottom: 30rpx;
  1562. .content-last-tab {
  1563. width: 214rpx;
  1564. height: 70rpx;
  1565. line-height: 70rpx;
  1566. background: #FFFFFF;
  1567. border-radius: 8rpx;
  1568. border: 1rpx solid #2671E2;
  1569. box-sizing: border-box;
  1570. font-family: PingFangSC-Regular, PingFang SC;
  1571. font-weight: 400;
  1572. color: #2671E2;
  1573. font-size: 30rpx;
  1574. margin-right: 30rpx;
  1575. display: flex;
  1576. align-items: center;
  1577. justify-content: center;
  1578. image {
  1579. width: 40rpx;
  1580. height: 40rpx;
  1581. margin-right: 12rpx;
  1582. }
  1583. .icon {
  1584. width: 40rpx;
  1585. height: 40rpx;
  1586. margin-right: 12rpx;
  1587. }
  1588. }
  1589. }
  1590. }
  1591. }
  1592. // 这是弹出层
  1593. .screen {
  1594. .screen-record {
  1595. overflow: hidden;
  1596. padding: 0 30rpx;
  1597. box-sizing: border-box;
  1598. border-bottom: 1px solid #e0e0e0;
  1599. .screen-record-text {
  1600. font-weight: 600;
  1601. padding: 30rpx 0;
  1602. font-size: 30rpx;
  1603. color: #333333;
  1604. line-height: 30rpx;
  1605. display: flex;
  1606. align-items: center;
  1607. justify-content: space-between;
  1608. .arrow {
  1609. width: 30rpx;
  1610. height: 14rpx;
  1611. }
  1612. }
  1613. .screen-record-tab {
  1614. margin-top: 30rpx;
  1615. padding-bottom: 10rpx;
  1616. display: flex;
  1617. flex-wrap: wrap;
  1618. .screen-record-item {
  1619. min-width: 150rpx;
  1620. padding: 0 14rpx;
  1621. height: 60rpx;
  1622. border-radius: 8rpx;
  1623. text-align: center;
  1624. line-height: 60rpx;
  1625. margin: 0 22rpx 22rpx 0;
  1626. &:nth-child(4n) {
  1627. margin-right: 0;
  1628. }
  1629. }
  1630. .screen-record-chose {
  1631. background: #f1f6fd;
  1632. color: #2671e2;
  1633. }
  1634. .screen-record-nochose {
  1635. background: #f7f8fa;
  1636. color: #333;
  1637. }
  1638. }
  1639. }
  1640. .screen-foot {
  1641. width: 100%;
  1642. height: 78rpx;
  1643. display: flex;
  1644. margin: 30rpx 30rpx 0;
  1645. .screen-foot-reset {
  1646. width: 176rpx;
  1647. height: 78rpx;
  1648. line-height: 78rpx;
  1649. background: #FFFFFF;
  1650. border-radius: 8rpx;
  1651. border: 1px solid #2671E2;
  1652. margin-right: 30rpx;
  1653. font-size: 30rpx;
  1654. font-family: PingFangSC-Regular, PingFang SC;
  1655. font-weight: 400;
  1656. color: #2671E2;
  1657. text-align: center;
  1658. }
  1659. .screen-foot-sure {
  1660. width: 484rpx;
  1661. height: 78rpx;
  1662. line-height: 78rpx;
  1663. background: #2671E2;
  1664. border: 1px solid #2671E2;
  1665. border-radius: 8rpx;
  1666. font-size: 30rpx;
  1667. font-family: PingFangSC-Regular, PingFang SC;
  1668. font-weight: 400;
  1669. color: #FFFFFF;
  1670. text-align: center;
  1671. }
  1672. }
  1673. }
  1674. </style>