checkMainPoints.vue 28 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060
  1. <template>
  2. <view class="checkMainPoints">
  3. <u-navbar :title="ifSearchMod?'':'查核要点'" title-color="#292C33">
  4. <view v-if="ifSearchMod" class="slot-wrap" back-icon-size="25rpx">
  5. <input confirm-type="search" class="searchBar" type="text" v-model="searchKey" @input="filterFromName"
  6. placeholder-class="searchBarHolder" placeholder="搜索查核要点或查核项" />
  7. <image @click="clearSearch" v-if="searchKey" class="clearIcon" src="../../static/text-clear.png"
  8. mode=""></image>
  9. </view>
  10. <view v-if="ifSearchMod" class="navbar-right" slot="right">
  11. <text @click="cancelSearchMod" class="searchActiveBtn">取消</text>
  12. </view>
  13. </u-navbar>
  14. <uni-popup ref="popup" type="center" :maskClick="true" @change="onMaskChange"></uni-popup>
  15. <tm-top-menu v-if="!ifSearchMod">
  16. <template v-if="situationType != 2">
  17. <view class="top-search">
  18. <view class="search">
  19. <input confirm-type="search" @input="filterFromName" placeholder="搜索查核要点或查核项" />
  20. <image src="../../static/search.png"></image>
  21. </view>
  22. <view class="top-btn-wrap">
  23. <view class="btn-list" v-if="nowPermission == 3">
  24. <com-button v-for="(item, index) in btnArr" :btnText="item.label"
  25. :type="active === item.id ? 'pramary':'default'" v-on:btnClick="btnClick(item.id)" />
  26. </view>
  27. <view class="select-wrap" v-else-if="nowPermission == 2 || nowPermission == 1"
  28. @click="toggleModal(!showModal)">
  29. <text>{{getCheckPointName}}</text>
  30. <image :src="`../../static/${showModal?'open':'close'}-icon.png`"></image>
  31. </view>
  32. </view>
  33. </view>
  34. </template>
  35. <!-- // -->
  36. <template v-if="situationType == 2">
  37. <view class="top-search-two">
  38. <view class="rowOne" v-if="nowPermission == 3 && situationType == 2">
  39. <view class="selectPeople" @click="toSelectVisiter">
  40. <template v-if="investigationUsers.length>0">
  41. <image v-if="currentSelectedInvestigationUser&&currentSelectedInvestigationUser['investigationStatus'] != 1"
  42. class="completePeopleIcon" src="../../static/peopleIcon.png" mode=""></image>
  43. <image v-if="currentSelectedInvestigationUser&&currentSelectedInvestigationUser['investigationStatus'] == 1"
  44. class="completePeopleIcon" src="../../static/completePeopleIcon.png" mode="">
  45. </image>
  46. <text
  47. class="peopleName">{{currentSelectedInvestigationUser?currentSelectedInvestigationUser['investigationUserName']:''}}</text>
  48. <image class="fullArrow" src="../../static/close-icon.png" mode=""></image>
  49. </template>
  50. <template v-if="investigationUsers.length==0">
  51. <image @click="toSelectVisiter" class="addPeopleBtn" src="../../static/icon-add.png"
  52. mode=""></image>
  53. </template>
  54. </view>
  55. <view class="btnGroup">
  56. <image @click="toSearch" class="searchBtn" src="../../static/search.png" mode=""></image>
  57. <image @click="openFilter" class="filterBtn" src="../../static/filterIcon.png" mode="">
  58. </image>
  59. </view>
  60. </view>
  61. <view class="rowTwo" v-if="nowPermission == 3" :animation="animationData">
  62. <text class="rowTwoName">查核状态</text>
  63. <view class="filterBtnWrap">
  64. <com-button v-for="(item, index) in btnArr" :btnText="item.label" :width="350" :height="80"
  65. :type="active === item.id ? 'pramary':'default'" v-on:btnClick="btnClick(item.id)" />
  66. </view>
  67. </view>
  68. </view>
  69. </template>
  70. </tm-top-menu>
  71. <tm-modal v-show="showModal" v-on:click="toggleModal(false)">
  72. <view class="content-list">
  73. <view class="list-item" v-for="(item, index) in point"
  74. :class="{active: checkPointId === item.checkPointId}" @click="checkPointHandle(item.checkPointId)">
  75. <text>{{item.checkPointName}}</text>
  76. <image class="check-img" v-if="checkPointId === item.checkPointId"
  77. src="../../static/checkStatus.png"></image>
  78. </view>
  79. </view>
  80. </tm-modal>
  81. <view class="contentContainer">
  82. <scroll-view @scroll="scrollHandle" scroll-y="true"
  83. :class="(detailList.length>0&&active != 2&&finishedStatus != 1)?'scroll-Y':'scroll-Y noBtn'">
  84. <view class="list" v-for="(item, index) in detailList" :key="index">
  85. <view class="title" v-if="item.responseList.length > 0">查核要点:{{item.checkPointName}}</view>
  86. <view class="item" v-for="(child, n) in item.responseList"
  87. @click="childClick(child,item.checkPointId)" :key="n">
  88. <view class="top-box">
  89. <view class="top-box-left">
  90. <view :class="[child.completeFlag?'index-icon done':'index-icon']">{{n + 1}}</view>
  91. <text>{{child.checkItemName}}</text>
  92. <!-- <text>ICU病房查看危重病人的抢救全过程(访谈)ICU病房查看危重病人的抢救全过程(访谈)ICU病房查看危重病人的抢救全过程(访谈)的抢救全过程(访谈)</text> -->
  93. </view>
  94. <view class="topRightGroup">
  95. <view class="checkStatus" @click.stop="checkNoApplicable(child)">
  96. <image v-if="child.isNoApplicable&&!notApplicableList.includes(child.id)" class="checkIcon"
  97. src="../../static/check-no.png" mode=""></image>
  98. <image v-if="notApplicableList.includes(child.id)||!child.isNoApplicable" class="checkIcon"
  99. src="../../static/check-checkbox.png" mode=""></image>
  100. <text class="checkStatusText">{{child.notApplicableName}}</text>
  101. </view>
  102. <image src="../../static/tuli.png"
  103. @tap.stop="goLegendDetails($event ,child.checkItemId, item.checkPointId)"></image>
  104. </view>
  105. </view>
  106. <view class="children">
  107. <view class="child">
  108. <text>{{child.deptName || '--'}}</text>
  109. <text>查核单位</text>
  110. </view>
  111. <view class="child">
  112. <text>{{child.checkModelName || '--'}}</text>
  113. <text>查核方式</text>
  114. </view>
  115. <view class="child">
  116. <text :style="{color:`#${child.lastResultColor}`}">{{child.lastResult || '--'}}</text>
  117. <text>上次结果</text>
  118. </view>
  119. <view class="child">
  120. <text :style="{color:`#${child.checkResultColor}`}">{{child.checkResult || '--'}}</text>
  121. <text>本次结果</text>
  122. </view>
  123. </view>
  124. </view>
  125. </view>
  126. </scroll-view>
  127. </view>
  128. <tm-callback-listpage />
  129. <view class="bottomBtnGroup" v-if="!ifSearchMod">
  130. <view class="score">
  131. <view class="box">
  132. <text class="label">得分</text>
  133. <text class="currentScore">{{currentScore}}</text>
  134. </view>
  135. <view class="midLine"></view>
  136. <view class="box">
  137. <text class="label">总分</text>
  138. <text class="totalScore">{{totalScore}}</text>
  139. </view>
  140. </view>
  141. <view v-if="detailList.length>0&&active != 2&&finishedStatus != 1" @click="onkeyCheckHandle"
  142. class="botOneKeyCheck">完成</view>
  143. </view>
  144. <!-- <view v-if="detailList.length>0&&active != 2&&finishedStatus != 1" @click="onkeyCheckHandle" class="botOneKeyCheck">完成</view> -->
  145. </view>
  146. </template>
  147. <script>
  148. import {
  149. mapState
  150. } from 'vuex';
  151. import {
  152. _stopPropagation
  153. } from "../../utils/compatible.js";
  154. export default {
  155. data() {
  156. return {
  157. btnArr: [{
  158. id: 0,
  159. label: '全部'
  160. },
  161. {
  162. id: 1,
  163. label: '未查核'
  164. },
  165. {
  166. id: 2,
  167. label: '已查核'
  168. },
  169. ],
  170. showModal: false,
  171. detailList: [],
  172. ifFromChildPage: false,
  173. copyDetailList: [],
  174. point: [{
  175. checkPointId: 'all',
  176. checkPointName: '全部要点'
  177. }],
  178. checkPointId: 'all',
  179. nowPermission: uni.getStorageSync('nowPermission'),
  180. active: 0,
  181. checkId: '',
  182. deptId: '',
  183. currentScrollHeight: 0,
  184. finishedStatus: 0, //所有计划里的查核项是否都以完成
  185. totalScore: 0,
  186. currentScore: 0,
  187. animationData: {}, //动画对象
  188. ifOpenFilter: false,
  189. searchKey: '', //搜索关键字
  190. ifSearchMod: false, //搜索模式
  191. applicable: true, //是否适用
  192. situationType: null, //情境类型
  193. notApplicableList:[],//保存本次check的查核项id
  194. };
  195. },
  196. computed: {
  197. ...mapState({
  198. investigationUsers: state => state.checkMainPoints.investigationUsers,
  199. currentSelectedInvestigationUser: state => state.checkMainPoints.currentSelectedInvestigationUser,
  200. ifShowBindPeopleDialog:state => state.checkMainPoints.ifShowBindPeopleDialog,
  201. }),
  202. getCheckPointName() {
  203. let item = this.point.find((item) => item.checkPointId === this.checkPointId);
  204. return item ? item.checkPointName : '';
  205. },
  206. },
  207. watch: {
  208. currentSelectedInvestigationUser(newVal,oldVal) {
  209. if (this.situationType == 2) {
  210. //更换受访对象时拉取新数据
  211. if(newVal&&newVal.investigationUserName==''){
  212. //已删除所有访查对象
  213. this.$store.commit('checkMainPoints/comChangeState', {
  214. key: 'detailList',
  215. data:[]
  216. });
  217. this.detailList=[];
  218. }else {
  219. this.loadItemData();
  220. }
  221. }
  222. }
  223. },
  224. onLoad: function({
  225. checkId,
  226. deptId,
  227. finishedStatus,
  228. situationType
  229. }) {
  230. this.deptId = deptId;
  231. this.checkId = checkId;
  232. this.finishedStatus = finishedStatus;
  233. this.situationType = situationType;
  234. if (situationType == 2) {
  235. this.getInvestigationUsers();
  236. }
  237. //非分页情况下
  238. if (situationType != 2) {
  239. this.loadItemData();
  240. }
  241. },
  242. onUnload() {
  243. this.$store.commit('checkMainPoints/comChangeState',{key:'ifShowBindPeopleDialog',data:true});
  244. },
  245. onShow: function() {
  246. const {
  247. checkMainPoints: {
  248. ifUpdate
  249. }
  250. } = this.$store.state;
  251. if (ifUpdate) {
  252. //页面重新拉取数据
  253. this.loadItemData();
  254. }
  255. //创建动画实例
  256. const animation = uni.createAnimation({
  257. duration: 300,
  258. timingFunction: 'ease',
  259. })
  260. this.animation = animation;
  261. },
  262. beforeDestroy() {
  263. this.ifFromChildPage = false;
  264. },
  265. methods: {
  266. loadItemData(){
  267. this.checkTaskDetailList({
  268. 'deptId': this.deptId,
  269. 'checkId': this.checkId,
  270. 'situationType': this.situationType,
  271. 'investigationUserName':this.currentSelectedInvestigationUser&&this.currentSelectedInvestigationUser.investigationUserName
  272. })
  273. },
  274. //不适用回调
  275. checkNoApplicable({
  276. id,isNoApplicable
  277. }) {
  278. this.$store.dispatch({
  279. type: 'checkMainPoints/commActions',
  280. key: 'oneKeyNotApplicable',
  281. data: id
  282. }).then(data => {
  283. if (data) {
  284. //重新拉去列表数据
  285. this.loadItemData();
  286. }
  287. })
  288. },
  289. toSelectVisiter() {
  290. //更新受访对象状态,可能已经是进行中了
  291. this.$store.dispatch({
  292. type: 'checkMainPoints/commActions',
  293. key: 'getInvestigationUsers',
  294. data: {
  295. checkId: this.checkId,
  296. situationType: this.situationType,
  297. deptId:this.deptId
  298. }
  299. }).then(data => {
  300. this.$store.commit('checkMainPoints/comChangeState', {
  301. key: 'investigationUsers',
  302. data: data
  303. });
  304. uni.navigateTo({
  305. url: `/pages/selectVisitPerson/selectVisitPerson?checkId=${this.checkId}&situationType=${this.situationType}&deptId=${this.deptId}`
  306. });
  307. });
  308. },
  309. toSearch() {
  310. this.ifSearchMod = true;
  311. this.detailList = [];
  312. },
  313. cancelSearchMod() {
  314. this.ifSearchMod = false;
  315. this.detailList = [...this.copyDetailList];
  316. },
  317. onMaskChange({
  318. show
  319. }) {
  320. if (!show) {
  321. this.ifOpenFilter = false;
  322. this.animation.height(0).step();
  323. this.animationData = this.animation.export()
  324. }
  325. },
  326. openFilter() {
  327. const status = this.ifOpenFilter;
  328. if (!status) {
  329. this.$refs.popup.open();
  330. this.ifOpenFilter = true;
  331. this.animation.height('11vh').step();
  332. } else {
  333. this.$refs.popup.close();
  334. this.ifOpenFilter = false;
  335. this.animation.height(0).step();
  336. }
  337. this.animationData = this.animation.export()
  338. },
  339. //滚动监听事件,记录滚动高度
  340. scrollHandle(e) {
  341. this.currentScrollHeight = e.detail.scrollTop;
  342. },
  343. //一键查核
  344. onkeyCheckHandle() {
  345. uni.showModal({
  346. title: '注意',
  347. content: '确定所有未填写查核结果项默认无缺失结果吗?',
  348. success: (res) => {
  349. if (res.confirm) {
  350. console.log('用户点击确定');
  351. this.oneKeyCheckCommit();
  352. } else if (res.cancel) {
  353. console.log('用户点击取消');
  354. }
  355. }
  356. });
  357. },
  358. oneKeyCheckCommit() {
  359. let ids = [];
  360. // console.log('this.detailList',this.detailList);
  361. this.detailList.forEach(item => {
  362. // console.log(item.responseList);
  363. //筛选掉已查核项
  364. const temp = item.responseList.filter(v => !v.checkResult);
  365. const arr = temp.map(v => v.id);
  366. ids = ids.concat(arr);
  367. });
  368. this.$store.dispatch({
  369. type: 'checkMainPoints/commActions',
  370. key: 'oneKeyCheck',
  371. data: ids
  372. }).then(data => {
  373. if (data) {
  374. uni.showModal({
  375. title: '查核完成!',
  376. content: '',
  377. showCancel: false,
  378. success: function(res) {
  379. if (res.confirm) {
  380. console.log('用户点击确定');
  381. uni.navigateBack({
  382. delta: 1
  383. });
  384. }
  385. }
  386. });
  387. }
  388. });
  389. },
  390. btnClick(id) {
  391. // console.log({id});
  392. this.active = id;
  393. this.filterCompleteFlag(id);
  394. },
  395. //获取访查对象列表
  396. getInvestigationUsers() {
  397. this.$store.dispatch({
  398. type: 'checkMainPoints/commActions',
  399. key: 'getInvestigationUsers',
  400. data: {
  401. checkId: this.checkId,
  402. situationType: this.situationType,
  403. deptId:this.deptId
  404. }
  405. }).then(data => {
  406. this.$store.commit('checkMainPoints/comChangeState', {
  407. key: 'investigationUsers',
  408. data: data
  409. });
  410. this.$store.commit('checkMainPoints/comChangeState', {
  411. key: 'currentSelectedInvestigationUser',
  412. data: data[0]
  413. })
  414. });
  415. },
  416. checkTaskDetailList({
  417. checkId,
  418. deptId,
  419. situationType,
  420. investigationUserName
  421. }) {
  422. const params = {
  423. checkId,
  424. deptId,
  425. situationType,
  426. }
  427. const pages = getCurrentPages();
  428. // console.log('pages',pages);
  429. //增加受访人
  430. if (situationType == 2) params['investigationUser'] = investigationUserName;
  431. this.dispatch('checkTaskDetailList', {
  432. ...params
  433. }).then((data) => {
  434. if (data) {
  435. if(!data.checkDetailMapResponses)return;
  436. const nowPermission = JSON.parse(uni.getStorageSync('nowPermission'));
  437. this.$store.commit('checkMainPoints/comChangeState', {
  438. key: 'detailList',
  439. data: data.checkDetailMapResponses
  440. });
  441. if (!data.isBindResponsible && data.checkDetailMapResponses.length > 0 && nowPermission ==
  442. 3) {
  443. //当未绑定当事人状态为false,可查核项大于0且当前角色是查核组员时
  444. //只有从查核列表进来才提示
  445. if (pages.length > 1&&this.ifShowBindPeopleDialog) {
  446. // console.log(pages[pages.length-2].route);
  447. // console.log(pages.length);
  448. if (pages[pages.length - 2].route && pages[pages.length - 2].route ==
  449. "pages/checkList/checkList") {
  450. uni.showModal({
  451. title: '提示',
  452. content: '目前未批量分配当事人,是否前往选择?',
  453. success: (res) => {
  454. if (res.confirm) {
  455. uni.navigateTo({
  456. url: `/pages/responsibleList/responsibleList?deptId=${this.deptId}&isFromCheckMainPoints=true`,
  457. });
  458. } else if (res.cancel) {
  459. // console.log('用户点击取消');
  460. this.$store.commit('checkMainPoints/comChangeState',{key:'ifShowBindPeopleDialog',data:false});
  461. }
  462. }
  463. });
  464. }
  465. }
  466. }
  467. this.detailList = data.checkDetailMapResponses;
  468. this.copyDetailList = data.checkDetailMapResponses;
  469. this.currentScore = data.getScore;
  470. this.totalScore = data.totalScore;
  471. data.checkDetailMapResponses.map(({
  472. checkPointId,
  473. checkPointName
  474. }) => {
  475. this.point.push({
  476. checkPointId,
  477. checkPointName
  478. });
  479. });
  480. //页面获取完数据时,保持筛选
  481. this.filterCompleteFlag(this.active);
  482. }
  483. });
  484. },
  485. childClick(child, checkPointId) {
  486. // 查核者,管理员
  487. if (this.nowPermission == 1 || this.nowPermission == 3) {
  488. let str = '',
  489. that = this;
  490. if (child.checkResult && !child.allowEdit) {
  491. // 当存在查核结果且不允许再修改时 跳转到查核项详情
  492. str = 'auditItemDetails/auditItemDetails';
  493. } else {
  494. if (this.nowPermission == 1) {
  495. uni.showModal({
  496. title: '提示',
  497. content: '请切换至查核者角色再进行查核操作!',
  498. showCancel: false
  499. });
  500. return;
  501. } else {
  502. // 跳转到查核结果提交
  503. str = 'mainPointsDetail/mainPointsDetail';
  504. }
  505. }
  506. uni.navigateTo({
  507. url: `/pages/${str}?id=${child.id}&checkPointId=${checkPointId}&checkItemId=${child.checkItemId}&situationType=${this.situationType}`,
  508. success: function(res) {
  509. const currentGroup = that.detailList.filter(item => item.checkPointId ==
  510. checkPointId);
  511. // 通过eventChannel向被打开页面传送数据
  512. res.eventChannel.emit('acceptDataFromOpenerPage', {
  513. data: currentGroup
  514. });
  515. }
  516. });
  517. }
  518. },
  519. toggleModal(flage) {
  520. this.showModal = flage;
  521. },
  522. checkPointHandle(id) {
  523. this.checkPointId = id;
  524. if (id === 'all') {
  525. this.detailList = [...this.copyDetailList];
  526. } else {
  527. this.detailList = this.copyDetailList
  528. .filter((item) => item.checkPointId === id);
  529. }
  530. },
  531. filterCompleteFlag(btnId) {
  532. if (btnId === 0) {
  533. this.detailList = [...this.copyDetailList];
  534. } else {
  535. let completeFlag = btnId === 1 ? false : true;
  536. this.detailList = this.copyDetailList.map((item) => {
  537. return {
  538. ...item,
  539. responseList: item.responseList
  540. .filter((child) => child.completeFlag === completeFlag)
  541. }
  542. });
  543. }
  544. },
  545. clearSearch() {
  546. this.searchKey = '';
  547. this.detailList = [...this.copyDetailList];
  548. },
  549. filterFromName(e) {
  550. const {
  551. value
  552. } = e.detail;
  553. this.searchKey = value;
  554. if (value === '') {
  555. this.detailList = [...this.copyDetailList];
  556. } else {
  557. this.detailList = [];
  558. this.copyDetailList.map((item) => {
  559. let responseList = item.responseList
  560. .filter((child) => child.checkItemName.indexOf(value) >= 0);
  561. if (item.checkPointName.indexOf(value) >= 0) {
  562. this.detailList.push({
  563. ...item
  564. });
  565. } else if (responseList.length > 0) {
  566. this.detailList.push({
  567. ...item,
  568. responseList
  569. });
  570. }
  571. });
  572. }
  573. },
  574. goLegendDetails(e, checkItemId, checkPointId) {
  575. _stopPropagation(e);
  576. //跳转到图例详情
  577. uni.navigateTo({
  578. url: `/pages/legendDetails/legendDetails?checkItemId=${checkItemId}&checkPointId=${checkPointId}`
  579. });
  580. },
  581. dispatch(key, data) {
  582. return this.$store.dispatch({
  583. type: 'checkList/commActions',
  584. key,
  585. data
  586. });
  587. },
  588. }
  589. }
  590. </script>
  591. <style lang="less">
  592. .checkMainPoints {
  593. position: relative;
  594. height: 100%;
  595. display: flex;
  596. flex-direction: column;
  597. // font-size: 22.5rpx;
  598. // line-height: 33.75rpx;
  599. background-color: #F5F6FA;
  600. .slot-wrap {
  601. display: flex;
  602. flex: 1;
  603. justify-content: center;
  604. align-items: center;
  605. background: #F0F2F7;
  606. border-radius: 44px;
  607. padding-left: 20rpx;
  608. .searchBar {
  609. flex: 1;
  610. width: 100%;
  611. height: 55rpx;
  612. font-size: 22.5rpx;
  613. }
  614. .clearIcon {
  615. width: 25rpx;
  616. height: 25rpx;
  617. margin: 0 20.5rpx;
  618. }
  619. .searchBarHolder {
  620. font-size: 22.5rpx;
  621. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  622. font-weight: 400;
  623. color: #A1A7B3;
  624. }
  625. }
  626. .navbar-right {
  627. display: flex;
  628. justify-content: center;
  629. align-items: center;
  630. padding: 0 25rpx;
  631. .searchActiveBtn {
  632. font-size: 22.5rpx;
  633. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  634. font-weight: 400;
  635. color: #292C33;
  636. }
  637. }
  638. .botOneKeyCheck {
  639. text-align: center;
  640. height: 75rpx;
  641. width: 100%;
  642. line-height: 75rpx;
  643. font-size: 22.5rpx;
  644. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  645. font-weight: 400;
  646. color: #FFFFFF;
  647. background: #3377FF;
  648. }
  649. .bottomBtnGroup {
  650. // position: fixed;
  651. width: 100%;
  652. // left:0;
  653. // bottom: 0;
  654. display: flex;
  655. flex-direction: row;
  656. border-top: 1px solid #DADEE6;
  657. background-color: #fff;
  658. .score {
  659. display: flex;
  660. width: 50%;
  661. flex-direction: row;
  662. justify-content: center;
  663. align-items: center;
  664. height: 75rpx;
  665. .box {
  666. width: 50%;
  667. text-align: center;
  668. white-space: nowrap;
  669. vertical-align: bottom;
  670. .label {
  671. color: #666E80;
  672. font-size: 17.5rpx;
  673. margin-right: 10rpx;
  674. }
  675. .currentScore {
  676. font-size: 30rpx;
  677. font-weight: bold;
  678. color: #3377FF;
  679. }
  680. .totalScore {
  681. font-size: 30rpx;
  682. font-weight: bold;
  683. color: #292C33;
  684. }
  685. }
  686. .midLine {
  687. height: 17.5rpx;
  688. border-left: 0.62rpx solid #DADEE6;
  689. }
  690. }
  691. .botOneKeyCheck {
  692. text-align: center;
  693. height: 75rpx;
  694. flex-grow: 1;
  695. line-height: 75rpx;
  696. font-size: 22.5rpx;
  697. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  698. font-weight: 400;
  699. color: #FFFFFF;
  700. background: #3377FF;
  701. }
  702. }
  703. .top-search {
  704. display: flex;
  705. flex-direction: row;
  706. align-items: center;
  707. padding: 25rpx;
  708. background-color: #fff;
  709. box-shadow: 0 3.75rpx 12.5rpx 0 rgba(0, 13, 51, 0.1);
  710. .search {
  711. position: relative;
  712. width: 100%;
  713. height: 55rpx;
  714. line-height: 55rpx;
  715. background-color: #F0F2F7;
  716. input {
  717. padding: 0 45rpx 0 15rpx;
  718. height: 55rpx;
  719. line-height: 55rpx;
  720. font-size: 22.5rpx;
  721. }
  722. image {
  723. position: absolute;
  724. top: 16.87rpx;
  725. right: 15rpx;
  726. width: 21.25rpx;
  727. height: 21.25rpx;
  728. }
  729. }
  730. .top-btn-wrap {
  731. padding-left: 25rpx;
  732. .btn-list {
  733. display: flex;
  734. flex-direction: row;
  735. .com-button {
  736. margin-left: 5rpx;
  737. &:first-child {
  738. margin-left: 0;
  739. }
  740. }
  741. }
  742. .select-wrap {
  743. display: flex;
  744. flex-direction: row;
  745. align-items: center;
  746. white-space: nowrap;
  747. image {
  748. margin-left: 9.37rpx;
  749. width: 12.5rpx;
  750. height: 12.5rpx;
  751. }
  752. }
  753. }
  754. }
  755. .top-search-two {
  756. display: flex;
  757. flex-direction: column;
  758. align-items: flex-start;
  759. justify-content: center;
  760. padding: 25rpx;
  761. background-color: #fff;
  762. box-shadow: 0 3.75rpx 12.5rpx 0 rgba(0, 13, 51, 0.1);
  763. .rowOne {
  764. display: flex;
  765. width: 100%;
  766. flex-direction: row;
  767. justify-content: space-between;
  768. align-items: center;
  769. .selectPeople {
  770. display: flex;
  771. flex-direction: row;
  772. justify-content: space-between;
  773. align-items: center;
  774. .completePeopleIcon {
  775. width: 50rpx;
  776. height: 50rpx;
  777. margin-right: 15rpx;
  778. }
  779. .peopleName {
  780. font-size: 25rpx;
  781. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  782. font-weight: 400;
  783. color: #292C33;
  784. }
  785. .fullArrow {
  786. width: 11.25rpx;
  787. height: 7.5rpx;
  788. margin-left: 15rpx;
  789. }
  790. .addPeopleBtn {
  791. width: 30rpx;
  792. height: 30rpx;
  793. margin-right: 12.5rpx;
  794. }
  795. }
  796. .btnGroup {
  797. .searchBtn {
  798. width: 30rpx;
  799. height: 30rpx;
  800. margin-right: 50rpx;
  801. }
  802. .filterBtn {
  803. width: 30rpx;
  804. height: 27.5rpx;
  805. }
  806. }
  807. }
  808. .rowTwo {
  809. display: flex;
  810. width: 100%;
  811. height: 0;
  812. overflow: hidden;
  813. flex-direction: column;
  814. box-sizing: border-box;
  815. .rowTwoName {
  816. font-size: 22.5rpx;
  817. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  818. font-weight: 400;
  819. color: #666F80;
  820. margin-bottom: 12.5rpx;
  821. padding-top: 50rpx;
  822. }
  823. .filterBtnWrap {
  824. display: flex;
  825. flex-direction: row;
  826. justify-content: space-between;
  827. }
  828. }
  829. }
  830. .content-list {
  831. // padding-top: 105rpx;
  832. width: 100%;
  833. background-color: #fff;
  834. .list-item {
  835. display: flex;
  836. flex-direction: row;
  837. justify-content: space-between;
  838. align-items: center;
  839. border-bottom: 1px solid #DADEE6;
  840. padding: 0 25rpx;
  841. width: 100%;
  842. height: 87.5rpx;
  843. font-size: 22.5rpx;
  844. line-height: 33.75rpx;
  845. color: #292C33;
  846. .check-img {
  847. float: right;
  848. width: 19.37rpx;
  849. height: 14.37rpx;
  850. }
  851. &.active {
  852. color: #3377FF;
  853. }
  854. }
  855. }
  856. .contentContainer {
  857. display: flex;
  858. flex: 1;
  859. height: 100%;
  860. overflow: hidden;
  861. .scroll-Y {
  862. height: 100%;
  863. &.noBtn {
  864. height: 100%;
  865. }
  866. }
  867. }
  868. .list {
  869. .title {
  870. padding-left: 25rpx;
  871. width: 100%;
  872. height: 62.5rpx;
  873. line-height: 62.5rpx;
  874. color: #666F80;
  875. }
  876. .item {
  877. margin-top: 15rpx;
  878. padding: 25rpx 0;
  879. min-height: 167.5rpx;
  880. background-color: #fff;
  881. &:nth-child(2) {
  882. margin-top: 0;
  883. }
  884. .top-box {
  885. display: flex;
  886. flex-direction: row;
  887. justify-content: space-between;
  888. align-items: center;
  889. .top-box-left {
  890. display: flex;
  891. flex-direction: row;
  892. width: calc(100% - 55rpx);
  893. .index-icon {
  894. margin-right: 15rpx;
  895. border-radius: 0 62.5rpx 62.5rpx 0;
  896. width: 50rpx;
  897. height: 35rpx;
  898. line-height: 35rpx;
  899. text-align: center;
  900. color: #fff;
  901. background-color: #66B2FE;
  902. &.done {
  903. background-color: rgba(195, 202, 217, 1);
  904. }
  905. }
  906. >text {
  907. display: -webkit-box;
  908. overflow: hidden;
  909. width: calc(100% - 65rpx);
  910. text-overflow: ellipsis;
  911. -webkit-line-clamp: 2;
  912. /*! autoprefixer: off */
  913. -webkit-box-orient: vertical;
  914. }
  915. }
  916. .topRightGroup {
  917. display: flex;
  918. flex-direction: row;
  919. .checkStatus {
  920. display: flex;
  921. flex-direction: row;
  922. justify-content: center;
  923. align-items: center;
  924. width: 125rpx;
  925. height: 40rpx;
  926. margin-right: 15rpx;
  927. background: #F2F4F7;
  928. border-radius: 20rpx;
  929. .checkIcon {
  930. width: 25rpx;
  931. height: 25rpx;
  932. margin-right: 10rpx;
  933. }
  934. .checkStatusText {
  935. font-size: 20rpx;
  936. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  937. font-weight: 400;
  938. color: #292C33;
  939. }
  940. }
  941. image {
  942. margin-right: 15rpx;
  943. width: 40rpx;
  944. height: 40rpx;
  945. }
  946. }
  947. }
  948. .children {
  949. display: flex;
  950. flex-direction: row;
  951. align-items: center;
  952. margin-top: 18.75rpx;
  953. .child {
  954. display: flex;
  955. flex-direction: column;
  956. justify-content: center;
  957. align-items: center;
  958. flex: 1;
  959. border-right: 1px solid #DADEE6;
  960. text {
  961. font-weight: 500;
  962. &:last-child {
  963. font-size: 17.5rpx;
  964. line-height: 26.25rpx;
  965. color: #7A8599;
  966. font-weight: 400;
  967. }
  968. }
  969. &:last-child {
  970. border-right: 0;
  971. }
  972. }
  973. }
  974. }
  975. }
  976. }
  977. </style>