checkMainPoints.vue 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056
  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. });
  482. },
  483. childClick(child, checkPointId) {
  484. // 查核者,管理员
  485. if (this.nowPermission == 1 || this.nowPermission == 3) {
  486. let str = '',
  487. that = this;
  488. if (child.checkResult && !child.allowEdit) {
  489. // 当存在查核结果且不允许再修改时 跳转到查核项详情
  490. str = 'auditItemDetails/auditItemDetails';
  491. } else {
  492. if (this.nowPermission == 1) {
  493. uni.showModal({
  494. title: '提示',
  495. content: '请切换至查核者角色再进行查核操作!',
  496. showCancel: false
  497. });
  498. return;
  499. } else {
  500. // 跳转到查核结果提交
  501. str = 'mainPointsDetail/mainPointsDetail';
  502. }
  503. }
  504. uni.navigateTo({
  505. url: `/pages/${str}?id=${child.id}&checkPointId=${checkPointId}&checkItemId=${child.checkItemId}&situationType=${this.situationType}`,
  506. success: function(res) {
  507. const currentGroup = that.detailList.filter(item => item.checkPointId ==
  508. checkPointId);
  509. // 通过eventChannel向被打开页面传送数据
  510. res.eventChannel.emit('acceptDataFromOpenerPage', {
  511. data: currentGroup
  512. });
  513. }
  514. });
  515. }
  516. },
  517. toggleModal(flage) {
  518. this.showModal = flage;
  519. },
  520. checkPointHandle(id) {
  521. this.checkPointId = id;
  522. if (id === 'all') {
  523. this.detailList = [...this.copyDetailList];
  524. } else {
  525. this.detailList = this.copyDetailList
  526. .filter((item) => item.checkPointId === id);
  527. }
  528. },
  529. filterCompleteFlag(btnId) {
  530. if (btnId === 0) {
  531. this.detailList = [...this.copyDetailList];
  532. } else {
  533. let completeFlag = btnId === 1 ? false : true;
  534. this.detailList = this.copyDetailList.map((item) => {
  535. return {
  536. ...item,
  537. responseList: item.responseList
  538. .filter((child) => child.completeFlag === completeFlag)
  539. }
  540. });
  541. }
  542. },
  543. clearSearch() {
  544. this.searchKey = '';
  545. this.detailList = [...this.copyDetailList];
  546. },
  547. filterFromName(e) {
  548. const {
  549. value
  550. } = e.detail;
  551. this.searchKey = value;
  552. if (value === '') {
  553. this.detailList = [...this.copyDetailList];
  554. } else {
  555. this.detailList = [];
  556. this.copyDetailList.map((item) => {
  557. let responseList = item.responseList
  558. .filter((child) => child.checkItemName.indexOf(value) >= 0);
  559. if (item.checkPointName.indexOf(value) >= 0) {
  560. this.detailList.push({
  561. ...item
  562. });
  563. } else if (responseList.length > 0) {
  564. this.detailList.push({
  565. ...item,
  566. responseList
  567. });
  568. }
  569. });
  570. }
  571. },
  572. goLegendDetails(e, checkItemId, checkPointId) {
  573. _stopPropagation(e);
  574. //跳转到图例详情
  575. uni.navigateTo({
  576. url: `/pages/legendDetails/legendDetails?checkItemId=${checkItemId}&checkPointId=${checkPointId}`
  577. });
  578. },
  579. dispatch(key, data) {
  580. return this.$store.dispatch({
  581. type: 'checkList/commActions',
  582. key,
  583. data
  584. });
  585. },
  586. }
  587. }
  588. </script>
  589. <style lang="less">
  590. .checkMainPoints {
  591. position: relative;
  592. height: 100%;
  593. display: flex;
  594. flex-direction: column;
  595. // font-size: 22.5rpx;
  596. // line-height: 33.75rpx;
  597. background-color: #F5F6FA;
  598. .slot-wrap {
  599. display: flex;
  600. flex: 1;
  601. justify-content: center;
  602. align-items: center;
  603. background: #F0F2F7;
  604. border-radius: 44px;
  605. padding-left: 20rpx;
  606. .searchBar {
  607. flex: 1;
  608. width: 100%;
  609. height: 55rpx;
  610. font-size: 22.5rpx;
  611. }
  612. .clearIcon {
  613. width: 25rpx;
  614. height: 25rpx;
  615. margin: 0 20.5rpx;
  616. }
  617. .searchBarHolder {
  618. font-size: 22.5rpx;
  619. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  620. font-weight: 400;
  621. color: #A1A7B3;
  622. }
  623. }
  624. .navbar-right {
  625. display: flex;
  626. justify-content: center;
  627. align-items: center;
  628. padding: 0 25rpx;
  629. .searchActiveBtn {
  630. font-size: 22.5rpx;
  631. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  632. font-weight: 400;
  633. color: #292C33;
  634. }
  635. }
  636. .botOneKeyCheck {
  637. text-align: center;
  638. height: 75rpx;
  639. width: 100%;
  640. line-height: 75rpx;
  641. font-size: 22.5rpx;
  642. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  643. font-weight: 400;
  644. color: #FFFFFF;
  645. background: #3377FF;
  646. }
  647. .bottomBtnGroup {
  648. // position: fixed;
  649. width: 100%;
  650. // left:0;
  651. // bottom: 0;
  652. display: flex;
  653. flex-direction: row;
  654. border-top: 1px solid #DADEE6;
  655. background-color: #fff;
  656. .score {
  657. display: flex;
  658. width: 50%;
  659. flex-direction: row;
  660. justify-content: center;
  661. align-items: center;
  662. height: 75rpx;
  663. .box {
  664. width: 50%;
  665. text-align: center;
  666. white-space: nowrap;
  667. vertical-align: bottom;
  668. .label {
  669. color: #666E80;
  670. font-size: 17.5rpx;
  671. margin-right: 10rpx;
  672. }
  673. .currentScore {
  674. font-size: 30rpx;
  675. font-weight: bold;
  676. color: #3377FF;
  677. }
  678. .totalScore {
  679. font-size: 30rpx;
  680. font-weight: bold;
  681. color: #292C33;
  682. }
  683. }
  684. .midLine {
  685. height: 17.5rpx;
  686. border-left: 0.62rpx solid #DADEE6;
  687. }
  688. }
  689. .botOneKeyCheck {
  690. text-align: center;
  691. height: 75rpx;
  692. flex-grow: 1;
  693. line-height: 75rpx;
  694. font-size: 22.5rpx;
  695. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  696. font-weight: 400;
  697. color: #FFFFFF;
  698. background: #3377FF;
  699. }
  700. }
  701. .top-search {
  702. display: flex;
  703. flex-direction: row;
  704. align-items: center;
  705. padding: 25rpx;
  706. background-color: #fff;
  707. box-shadow: 0 3.75rpx 12.5rpx 0 rgba(0, 13, 51, 0.1);
  708. .search {
  709. position: relative;
  710. width: 100%;
  711. height: 55rpx;
  712. line-height: 55rpx;
  713. background-color: #F0F2F7;
  714. input {
  715. padding: 0 45rpx 0 15rpx;
  716. height: 55rpx;
  717. line-height: 55rpx;
  718. font-size: 22.5rpx;
  719. }
  720. image {
  721. position: absolute;
  722. top: 16.87rpx;
  723. right: 15rpx;
  724. width: 21.25rpx;
  725. height: 21.25rpx;
  726. }
  727. }
  728. .top-btn-wrap {
  729. padding-left: 25rpx;
  730. .btn-list {
  731. display: flex;
  732. flex-direction: row;
  733. .com-button {
  734. margin-left: 5rpx;
  735. &:first-child {
  736. margin-left: 0;
  737. }
  738. }
  739. }
  740. .select-wrap {
  741. display: flex;
  742. flex-direction: row;
  743. align-items: center;
  744. white-space: nowrap;
  745. image {
  746. margin-left: 9.37rpx;
  747. width: 12.5rpx;
  748. height: 12.5rpx;
  749. }
  750. }
  751. }
  752. }
  753. .top-search-two {
  754. display: flex;
  755. flex-direction: column;
  756. align-items: flex-start;
  757. justify-content: center;
  758. padding: 25rpx;
  759. background-color: #fff;
  760. box-shadow: 0 3.75rpx 12.5rpx 0 rgba(0, 13, 51, 0.1);
  761. .rowOne {
  762. display: flex;
  763. width: 100%;
  764. flex-direction: row;
  765. justify-content: space-between;
  766. align-items: center;
  767. .selectPeople {
  768. display: flex;
  769. flex-direction: row;
  770. justify-content: space-between;
  771. align-items: center;
  772. .completePeopleIcon {
  773. width: 50rpx;
  774. height: 50rpx;
  775. margin-right: 15rpx;
  776. }
  777. .peopleName {
  778. font-size: 25rpx;
  779. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  780. font-weight: 400;
  781. color: #292C33;
  782. }
  783. .fullArrow {
  784. width: 11.25rpx;
  785. height: 7.5rpx;
  786. margin-left: 15rpx;
  787. }
  788. .addPeopleBtn {
  789. width: 30rpx;
  790. height: 30rpx;
  791. margin-right: 12.5rpx;
  792. }
  793. }
  794. .btnGroup {
  795. .searchBtn {
  796. width: 30rpx;
  797. height: 30rpx;
  798. margin-right: 50rpx;
  799. }
  800. .filterBtn {
  801. width: 30rpx;
  802. height: 27.5rpx;
  803. }
  804. }
  805. }
  806. .rowTwo {
  807. display: flex;
  808. width: 100%;
  809. height: 0;
  810. overflow: hidden;
  811. flex-direction: column;
  812. box-sizing: border-box;
  813. .rowTwoName {
  814. font-size: 22.5rpx;
  815. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  816. font-weight: 400;
  817. color: #666F80;
  818. margin-bottom: 12.5rpx;
  819. padding-top: 50rpx;
  820. }
  821. .filterBtnWrap {
  822. display: flex;
  823. flex-direction: row;
  824. justify-content: space-between;
  825. }
  826. }
  827. }
  828. .content-list {
  829. // padding-top: 105rpx;
  830. width: 100%;
  831. background-color: #fff;
  832. .list-item {
  833. display: flex;
  834. flex-direction: row;
  835. justify-content: space-between;
  836. align-items: center;
  837. border-bottom: 1px solid #DADEE6;
  838. padding: 0 25rpx;
  839. width: 100%;
  840. height: 87.5rpx;
  841. font-size: 22.5rpx;
  842. line-height: 33.75rpx;
  843. color: #292C33;
  844. .check-img {
  845. float: right;
  846. width: 19.37rpx;
  847. height: 14.37rpx;
  848. }
  849. &.active {
  850. color: #3377FF;
  851. }
  852. }
  853. }
  854. .contentContainer {
  855. display: flex;
  856. flex: 1;
  857. height: 100%;
  858. overflow: hidden;
  859. .scroll-Y {
  860. height: 100%;
  861. &.noBtn {
  862. height: 100%;
  863. }
  864. }
  865. }
  866. .list {
  867. .title {
  868. padding-left: 25rpx;
  869. width: 100%;
  870. height: 62.5rpx;
  871. line-height: 62.5rpx;
  872. color: #666F80;
  873. }
  874. .item {
  875. margin-top: 15rpx;
  876. padding: 25rpx 0;
  877. min-height: 167.5rpx;
  878. background-color: #fff;
  879. &:nth-child(2) {
  880. margin-top: 0;
  881. }
  882. .top-box {
  883. display: flex;
  884. flex-direction: row;
  885. justify-content: space-between;
  886. align-items: center;
  887. .top-box-left {
  888. display: flex;
  889. flex-direction: row;
  890. width: calc(100% - 55rpx);
  891. .index-icon {
  892. margin-right: 15rpx;
  893. border-radius: 0 62.5rpx 62.5rpx 0;
  894. width: 50rpx;
  895. height: 35rpx;
  896. line-height: 35rpx;
  897. text-align: center;
  898. color: #fff;
  899. background-color: #66B2FE;
  900. &.done {
  901. background-color: rgba(195, 202, 217, 1);
  902. }
  903. }
  904. >text {
  905. display: -webkit-box;
  906. overflow: hidden;
  907. width: calc(100% - 65rpx);
  908. text-overflow: ellipsis;
  909. -webkit-line-clamp: 2;
  910. /*! autoprefixer: off */
  911. -webkit-box-orient: vertical;
  912. }
  913. }
  914. .topRightGroup {
  915. display: flex;
  916. flex-direction: row;
  917. .checkStatus {
  918. display: flex;
  919. flex-direction: row;
  920. justify-content: center;
  921. align-items: center;
  922. width: 125rpx;
  923. height: 40rpx;
  924. margin-right: 15rpx;
  925. background: #F2F4F7;
  926. border-radius: 20rpx;
  927. .checkIcon {
  928. width: 25rpx;
  929. height: 25rpx;
  930. margin-right: 10rpx;
  931. }
  932. .checkStatusText {
  933. font-size: 20rpx;
  934. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  935. font-weight: 400;
  936. color: #292C33;
  937. }
  938. }
  939. image {
  940. margin-right: 15rpx;
  941. width: 40rpx;
  942. height: 40rpx;
  943. }
  944. }
  945. }
  946. .children {
  947. display: flex;
  948. flex-direction: row;
  949. align-items: center;
  950. margin-top: 18.75rpx;
  951. .child {
  952. display: flex;
  953. flex-direction: column;
  954. justify-content: center;
  955. align-items: center;
  956. flex: 1;
  957. border-right: 1px solid #DADEE6;
  958. text {
  959. font-weight: 500;
  960. &:last-child {
  961. font-size: 17.5rpx;
  962. line-height: 26.25rpx;
  963. color: #7A8599;
  964. font-weight: 400;
  965. }
  966. }
  967. &:last-child {
  968. border-right: 0;
  969. }
  970. }
  971. }
  972. }
  973. }
  974. }
  975. </style>