25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

index.vue 14 KiB

3 yıl önce
3 yıl önce
3 yıl önce
3 yıl önce
3 yıl önce
3 yıl önce
3 yıl önce
3 yıl önce
3 yıl önce
3 yıl önce
3 yıl önce
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604
  1. <template>
  2. <view class="box">
  3. <!-- 搜索框点击跳转 -->
  4. <view>
  5. <view class="search-box">
  6. <view class="search" @click="goSearch">
  7. <view class="search-img">
  8. <image class="search-img1" src="../../../static/images/search.png" mode=""></image>
  9. </view>
  10. <view class="search-text">输入客户姓名/手机号</view>
  11. </view>
  12. <view class="search-screen" @click="screenshow">
  13. <image class="search-screen1" src="../../../static/images/screen.png" mode=""></image>
  14. </view>
  15. </view>
  16. </view>
  17. <view class="content">
  18. <view class="content-tips" @click="godetail()">
  19. <view class="content-first">
  20. <view class="left">
  21. <view class="img">
  22. A
  23. </view>
  24. <view class="test">
  25. 李先生
  26. </view>
  27. </view>
  28. <view class="right">
  29. <view class="point"></view>
  30. <view class="test">
  31. 定金
  32. </view>
  33. </view>
  34. </view>
  35. <view class="content-sec">
  36. <view class="content-sec-lab">
  37. 手机号码:<view class="content-sec-lab1">18777897865</view>
  38. </view>
  39. <view class="content-sec-lab">
  40. 客户标签:
  41. <view class="content-sec-tips">投资</view>
  42. <view class="content-sec-tips">理财专用</view>
  43. <view class="content-sec-tips">学区</view>
  44. </view>
  45. <view class="content-sec-lab">
  46. 顾问姓名:<view class="content-sec-lab1">齐横三</view>
  47. </view>
  48. <view class="content-sec-lab">
  49. 添加时间:<view class="content-sec-lab1">2021-07-20 14:00:30</view>
  50. </view>
  51. <view class="content-sec-num">
  52. <view class="">
  53. 3次到访
  54. </view>
  55. <view class="">
  56. 55分/88%
  57. </view>
  58. </view>
  59. </view>
  60. <view class="content-last">
  61. <view class="content-last-tab">
  62. 添加提醒
  63. </view>
  64. <view class="content-last-tab">
  65. 拨打电话
  66. </view>
  67. <view class="content-last-tab" @click="goFollow">
  68. 写跟进
  69. </view>
  70. </view>
  71. </view>
  72. <view class="content-tips">
  73. <view class="content-first">
  74. <view class="left">
  75. <view class="img">
  76. A
  77. </view>
  78. <view class="test">
  79. 李先生
  80. </view>
  81. </view>
  82. <view class="right">
  83. <view class="point"></view>
  84. <view class="test">
  85. 定金
  86. </view>
  87. </view>
  88. </view>
  89. <view class="content-sec">
  90. <view class="content-sec-lab">
  91. 手机号码:<view class="content-sec-lab1">18777897865</view>
  92. </view>
  93. <view class="content-sec-lab">
  94. 客户标签:
  95. <view class="content-sec-tips">投资</view>
  96. <view class="content-sec-tips">理财专用11</view>
  97. <view class="content-sec-tips">学区</view>
  98. </view>
  99. <view class="content-sec-lab">
  100. 顾问姓名:<view class="content-sec-lab1">齐横三</view>
  101. </view>
  102. <view class="content-sec-lab">
  103. 添加时间:<view class="content-sec-lab1">2021-07-20 14:00:30</view>
  104. </view>
  105. <view class="content-sec-num">
  106. <view class="">
  107. 3次到访
  108. </view>
  109. <view class="">
  110. 55分/88%
  111. </view>
  112. </view>
  113. </view>
  114. <view class="content-last">
  115. <view class="content-last-tab">
  116. 添加提醒
  117. </view>
  118. <view class="content-last-tab">
  119. 拨打电话
  120. </view>
  121. <view class="content-last-tab">
  122. 写跟进
  123. </view>
  124. </view>
  125. </view>
  126. </view>
  127. <u-popup v-model="screenShow" mode="top" >
  128. <view class="screen">
  129. <!-- 顾问选择 -->
  130. <view class="screen-counselor">
  131. <view class="screen-text">
  132. 所属顾问
  133. </view>
  134. <view class="screen-sel">
  135. <u-input v-model="screen.counselorName" type="text" placeholder='请选择' @click="selectshow = true" class="screen-inp" disabled />
  136. <image class="screen-sel-img" src="../../../static/images/right.png" mode=""></image>
  137. </view>
  138. </view>
  139. <view class="screen-counselor">
  140. <view class="screen-text">
  141. 客户标签
  142. </view>
  143. <view class="screen-sel">
  144. <u-input v-model="screen.cunsumerTips" type="text" placeholder='请选择' @click="selectTipshow = true" class="screen-inp" disabled />
  145. <image class="screen-sel-img" src="../../../static/images/right.png" mode=""></image>
  146. </view>
  147. </view>
  148. <!-- 录音标示 -->
  149. <view class="screen-record">
  150. <view class="screen-record-text">
  151. 客户等级
  152. </view>
  153. <view class="screen-record-tab">
  154. <view :class="[screen.record==0?'screen-record-chose':'screen-record-nochose']" @click="screen.record=0">
  155. A
  156. </view>
  157. <view :class="[screen.record==1?'screen-record-chose':'screen-record-nochose']" @click="screen.record=1">
  158. B
  159. </view>
  160. <view :class="[screen.record==2?'screen-record-chose':'screen-record-nochose']" @click="screen.record=2">
  161. C
  162. </view>
  163. <view :class="[screen.record==3?'screen-record-chose':'screen-record-nochose']" @click="screen.record=3">
  164. D
  165. </view>
  166. </view>
  167. </view>
  168. <view class="screen-record">
  169. <view class="screen-record-text">
  170. 客户阶段
  171. </view>
  172. <view class="screen-record-tab">
  173. <view v-for="(item,index) in stageList" :key="index">
  174. <view :class="[screen.stage==index?'screen-record-chose':'screen-record-nochose']" @click="screen.stage=index" style="width: 120rpx;">
  175. {{item}}
  176. </view>
  177. </view>
  178. </view>
  179. </view>
  180. <view class="screen-record">
  181. <view class="screen-record-text">
  182. 到访次数
  183. </view>
  184. <view class="screen-record-tab">
  185. <view :class="[screen.arriveNum==0?'screen-record-chose':'screen-record-nochose']" @click="screen.arriveNum=0">
  186. 首次到访
  187. </view>
  188. <view :class="[screen.arriveNum==1?'screen-record-chose':'screen-record-nochose']" @click="screen.arriveNum=1">
  189. 第二次
  190. </view>
  191. <view :class="[screen.arriveNum==2?'screen-record-chose':'screen-record-nochose']" @click="screen.arriveNum=2">
  192. 第三次
  193. </view>
  194. <view :class="[screen.arriveNum==3?'screen-record-chose':'screen-record-nochose']" @click="screen.arriveNum=3">
  195. 三次以上
  196. </view>
  197. </view>
  198. </view>
  199. <!-- <view class="screen-record">
  200. <view class="screen-record-text">
  201. 最近接待时间
  202. </view>
  203. <view class="screen-record-tab">
  204. </view>
  205. </view> -->
  206. <view class="screen-foot">
  207. <view class="screen-foot-reset" @click="reset">
  208. 重置
  209. </view>
  210. <view class="screen-foot-sure" @click="screensure">
  211. 确定
  212. </view>
  213. </view>
  214. </view>
  215. </u-popup>
  216. <!-- 选择顾问的选择框 -->
  217. <u-select v-model="selectshow" :list="list" @confirm="actionSelectCallback"></u-select>
  218. <!-- 客户标签 -->
  219. <u-select v-model="selectTipshow" :list="list1" @confirm="selectCallback"></u-select>
  220. <!-- 时间选择器 -->
  221. </view>
  222. </template>
  223. <script>
  224. export default{
  225. data(){
  226. return{
  227. value:'',
  228. screenShow:false,
  229. selectshow:false,
  230. selectTipshow:false,
  231. screen:{
  232. counselorName:'',
  233. record:'0',
  234. stage:'0',
  235. arriveNum:'0',
  236. cunsumerTips:''
  237. },
  238. stageList:['未知','到访','意向','定金','成交'],
  239. list:[
  240. {
  241. value:1,
  242. label:'1'
  243. },
  244. {
  245. value:2,
  246. label:'2'
  247. },
  248. {
  249. value:3,
  250. label:'3'
  251. },
  252. {
  253. value:4,
  254. label:'4'
  255. },
  256. ],
  257. list1:[
  258. {
  259. value:1,
  260. label:'1'
  261. },
  262. {
  263. value:2,
  264. label:'2'
  265. },
  266. {
  267. value:3,
  268. label:'3'
  269. },
  270. {
  271. value:4,
  272. label:'4'
  273. },
  274. ],
  275. recordList:[],
  276. }
  277. },
  278. methods:{
  279. // 筛选
  280. screenshow(){
  281. this.screenShow=true
  282. },
  283. actionSelectCallback(e){
  284. console.log(e[0].label)
  285. // this.value = this.actionSheetList[index].label;
  286. this.screen.counselorName=e[0].label
  287. },
  288. selectCallback(e){
  289. console.log(e[0].label)
  290. // this.value = this.actionSheetList[index].label;
  291. this.screen.cunsumerTips=e[0].label
  292. },
  293. reset(){
  294. this.screen={
  295. counselorName:'',
  296. record:'0',
  297. stage:'0',
  298. arriveNum:'0',
  299. cunsumerTips:''
  300. }
  301. },
  302. // 客户详情
  303. godetail(){
  304. uni.navigateTo({
  305. url:'/pages/center/consumer/consumerDetail'
  306. })
  307. },
  308. screensure(){
  309. console.log(this.screen)
  310. this.screenShow=false
  311. },
  312. goSearch(){
  313. uni.navigateTo({
  314. url: '/pages/center/consumer/consumerSearch'
  315. });
  316. },
  317. goFollow(){
  318. uni.navigateTo({
  319. url:`/pages/center/consumer/newFollowup/newFollowup?id=5f3846c2e8134dda8b3f41fc90684114`,
  320. })
  321. },
  322. },
  323. onLoad() {
  324. console.log('这里是进入')
  325. }
  326. }
  327. </script>
  328. <style lang="scss" scoped>
  329. .box {
  330. width: 100%;
  331. height: 100%;
  332. background: #F8F8F8;
  333. }
  334. .search-box{
  335. width: 100%;
  336. height: 102rpx;
  337. background: #FFFFFF;
  338. display: flex;
  339. align-items: center;
  340. justify-content: center;
  341. .search{
  342. width: 620rpx;
  343. height: 70rpx;
  344. display: flex;
  345. align-items: center;
  346. background: #F8F8F8;
  347. border-radius: 33rpx;
  348. .search-img{
  349. width: 26rpx;
  350. height: 30rpx;
  351. margin-left: 20rpx;
  352. .search-img1{
  353. width: 100%;
  354. height: 100%;
  355. margin-top: 2rpx;
  356. }
  357. }
  358. .search-text{
  359. font-size: 28rpx;
  360. font-weight: 400;
  361. color: #999999;
  362. margin-left:10rpx;
  363. }
  364. }
  365. .search-screen{
  366. width: 40rpx;
  367. height: 40rpx;
  368. margin-left: 30rpx;
  369. .search-screen1{
  370. width: 100%;
  371. height: 100%;
  372. }
  373. }
  374. }
  375. .content{
  376. // height: 1000rpx;/
  377. overflow: hidden;
  378. border-top: 1px solid #E0E0E0;
  379. .content-tips{
  380. background: #fff;
  381. // box-sizing: border-box;
  382. margin-bottom: 20rpx;
  383. overflow: hidden;
  384. .content-first{
  385. padding: 19rpx 30rpx;
  386. display: flex;
  387. justify-content: space-between;
  388. box-sizing: border-box;
  389. // border-top: 1px solid #E0E0E0;
  390. font-weight: 400;
  391. color: #292929;
  392. height: 90rpx;
  393. font-size: 30rpx;
  394. line-height: 30rpx;
  395. .left{
  396. display: flex;
  397. .img{
  398. // margin-top: 19rpx;
  399. width: 52rpx;
  400. height: 52rpx;
  401. border: 1px solid #E0E0E0;
  402. border-radius: 50%;
  403. text-align: center;
  404. line-height: 50rpx;
  405. }
  406. .test{
  407. margin-top: 11rpx;
  408. margin-left: 20rpx;
  409. font-weight: 500;
  410. color: #333333;
  411. }
  412. }
  413. .right{
  414. display: flex;
  415. .point{
  416. width: 12rpx;
  417. height: 12rpx;
  418. background: #2B6EFF;
  419. border-radius: 50%;
  420. margin-right: 9rpx;
  421. margin-top: 20rpx;
  422. }
  423. .test{
  424. margin-top: 11rpx;
  425. }
  426. }
  427. }
  428. .content-sec{
  429. border-top: 1px solid #E0E0E0;
  430. padding: 0 30rpx;
  431. height: 270rpx;
  432. position: relative;
  433. .content-sec-lab{
  434. margin-top: 30rpx;
  435. display: flex;
  436. font-size: 30rpx;
  437. font-weight: 400;
  438. color: #666666;
  439. line-height: 30rpx;
  440. .content-sec-lab1{
  441. color: #333333;
  442. }
  443. .content-sec-tips{
  444. max-width:174rpx ;
  445. height: 46rpx;
  446. background: #F2F2F2;
  447. border-radius: 6rpx;
  448. text-align: center;
  449. line-height: 26rpx;
  450. overflow: hidden;
  451. text-overflow:ellipsis;
  452. white-space: nowrap;
  453. font-size: 26rpx;
  454. font-weight: 400;
  455. color: #333333;
  456. margin-right: 24rpx;
  457. box-sizing: border-box;
  458. padding: 10rpx 24rpx;
  459. }
  460. }
  461. .content-sec-num{
  462. position: absolute;
  463. width: 190rpx;
  464. height: 90rpx;
  465. background: #F4F8FD;
  466. border-radius: 12rpx;
  467. font-weight: 400;
  468. color: #2671E2;
  469. line-height: 45rpx;
  470. bottom: 30rpx;
  471. right: 30rpx;
  472. text-align: center;
  473. }
  474. }
  475. .content-last{
  476. display: flex;
  477. border-top: 1px solid #E0E0E0;
  478. // padding: 0 30rpx;
  479. height: 78rpx;
  480. .content-last-tab{
  481. width: 33.4%;
  482. text-align: center;
  483. font-size: 30rpx;
  484. font-weight: 400;
  485. color: #333333;
  486. line-height: 78rpx;
  487. border-right: 1px solid #E0E0E0;
  488. }
  489. }
  490. }
  491. }
  492. // 这是弹出层
  493. .screen{
  494. // box-sizing: border-box;
  495. // padding: 0 30rpx;
  496. .screen-counselor{
  497. display: flex;
  498. height: 106rpx;
  499. // padding: 40rpx 30rpx 36rpx 30rpx;
  500. padding: 0 30rpx;
  501. box-sizing: border-box;
  502. border-bottom: 1px solid #CCCCCC;
  503. .screen-text{
  504. margin: 40rpx 0 36rpx 0;
  505. font-size: 30rpx;
  506. font-weight: 400;
  507. color: #333333;
  508. line-height: 30rpx;
  509. }
  510. .screen-sel{
  511. display: flex;
  512. justify-content: space-between;
  513. width: 500rpx;
  514. margin-left: 60rpx;
  515. .screen-sel-img{
  516. margin: 40rpx 0 36rpx 0;
  517. width: 14rpx;
  518. height: 30rpx;
  519. }
  520. .screen-inp{
  521. margin-top: 20rpx;
  522. }
  523. }
  524. }
  525. .screen-record{
  526. height: 192rpx;
  527. // width: 100%;
  528. overflow: hidden;
  529. padding: 0 30rpx;
  530. box-sizing: border-box;
  531. border-bottom: 1px solid #CCCCCC;
  532. .screen-record-text{
  533. margin-top: 36rpx;
  534. font-size: 30rpx;
  535. font-weight: 400;
  536. color: #333333;
  537. line-height: 30rpx;
  538. }
  539. .screen-record-tab{
  540. margin-top: 30rpx;
  541. display: flex;
  542. // justify-content: space-around;
  543. .screen-record-chose{
  544. width: 156rpx;
  545. height: 60rpx;
  546. background: #FFFFFF;
  547. border-radius: 4rpx;
  548. border: 1px solid #2671E2;
  549. text-align: center;
  550. line-height: 60rpx;
  551. margin-right: 22rpx;
  552. }
  553. .screen-record-nochose{
  554. width: 156rpx;
  555. height: 60rpx;
  556. background: #FFFFFF;
  557. border-radius: 4rpx;
  558. border: 1px solid #C9C9C9;
  559. text-align: center;
  560. line-height: 60rpx;
  561. margin-right: 22rpx;
  562. }
  563. }
  564. }
  565. .screen-foot{
  566. height: 88rpx;
  567. display: flex;
  568. .screen-foot-reset{
  569. width: 50%;
  570. text-align: center;
  571. line-height: 88rpx;
  572. font-size: 30rpx;
  573. font-weight: 400;
  574. color: #666666;
  575. }
  576. .screen-foot-sure{
  577. width: 50%;
  578. text-align: center;
  579. line-height: 88rpx;
  580. font-size: 30rpx;
  581. font-weight: 400;
  582. color: #FFFFFF;
  583. background: #2671E2;
  584. }
  585. }
  586. }
  587. </style>