checkItemModule.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715
  1. <!--
  2. //参数说明
  3. propsData参数下
  4. infoType 为必要参数 0.检查 1.复查 2.整改
  5. checkType 为必要参数 infoType为0时 代表检查状态 为1时代表复查状态 为2时代表整改状态
  6. //检查时的必要参数
  7. manageId
  8. //复查时的必要参数
  9. planId
  10. planSetId
  11. subId
  12. //隐患时的必要参数
  13. planId
  14. planSetId
  15. subId
  16. //引用方法
  17. <checkItemModule :propsData="propsData" v-if="checkItemModuleType"></checkItemModule>
  18. import {
  19. checkItemModule
  20. } from '@/pages/checkItemModule.vue'
  21. components: {
  22. checkItemModule
  23. },
  24. checkItemModuleType:false,
  25. propsData:{
  26. infoType:0,
  27. manageId:'1839113478692855815',
  28. checkType:0,
  29. planId:'',
  30. planSetId:'',
  31. subId:'',
  32. searchValue:'',
  33. },
  34. checkItemModuleButton(type,item){
  35. if(type = 'open'){
  36. this.$set(this,'propsData',{
  37. infoType:0,
  38. manageId:'1839113478692855815',
  39. checkType:0,
  40. planId:'',
  41. planSetId:'',
  42. subId:'',
  43. searchValue:'',
  44. });
  45. this.$set(this,'checkItemModuleType',true);
  46. }else if(type = 'out'){
  47. this.$set(this,'checkItemModuleType',false);
  48. this.$set(this,'propsData',{});
  49. }else if(type = 'submit'){
  50. console.log('已选中-item', item)
  51. }
  52. },
  53. -->
  54. <template>
  55. <scroll-view scroll-y style="overflow-y: scroll;">
  56. <view class="checkItemModule">
  57. <!-- 标签选项卡 -->
  58. <view class="checkItemModule-title-box">
  59. <view class="checkItemModule-title-p" @click="checkTitleButton(1)"
  60. :class="pageType==1?'.checkItemModule-title-check':''">
  61. <view>关键字</view>
  62. <view></view>
  63. </view>
  64. <view class="checkItemModule-title-p" @click="checkTitleButton(2)"
  65. :class="pageType==2?'.checkItemModule-title-check':''">
  66. <view>按层级</view>
  67. <view></view>
  68. </view>
  69. </view>
  70. <!-- 输入搜索模块 -->
  71. <view class="input-max-big-box" v-if="pageType == 1">
  72. <view class="input-big-box">
  73. <view class="input-box">
  74. <view class="left-icons">
  75. <uni-icons color="#A2A2A2" type="search" size="20"></uni-icons>
  76. </view>
  77. <input type="text" v-model="searchValue" placeholder="搜索检查项" name="search" @confirm='getSearchValue'
  78. confirm-type='search' @input="theBlur" maxlength="50"
  79. placeholder-style="color: #666;font-size:24rpx;">
  80. <view v-if="searchValue" class="left-icons" @click="delSearchValue()">
  81. <uni-icons color="#0183FA" type="clear" size="20"></uni-icons>
  82. </view>
  83. </view>
  84. <view class="out-button" @click="outButton()">取消</view>
  85. </view>
  86. <view class="input-for-max-box">
  87. <view class="for-box" v-for="(item,index) in dataList" :key="index" v-if="optionData.infoType==0">
  88. <view class="for-box-n">
  89. {{item.hazardCheckCode1}} {{item.hazardCheckName1}}
  90. </view>
  91. <view v-for="(item2,index2) in item.children">
  92. <view class="for-box-n">
  93. {{item2.hazardCheckCode2}} {{item2.hazardCheckName2}}
  94. </view>
  95. <view class="for-box-n"
  96. v-for="(item3,index3) in item2.children">
  97. <view>{{item3.hazardCheckCode}} {{item3.hazardCheckName}}</view>
  98. <view class="for-box-n-b" @click="checkItemButton(item3,item4)"
  99. v-for="(item4,index4) in item3.hazardCheckPointList">
  100. <view>{{item4}}</view>
  101. </view>
  102. </view>
  103. </view>
  104. </view>
  105. </view>
  106. </view>
  107. <!-- 级联选择模块 -->
  108. <view class="check-max-big-box" v-if="pageType == 2">
  109. <view class="check-big-box">
  110. <view v-if="levelListOne" @click="cascadeButton(1)">一级检查</view>
  111. <view v-if="levelListTwo" @click="cascadeButton(2)">二级检查</view>
  112. <view v-if="levelListThree" @click="cascadeButton(3)">三级检查</view>
  113. </view>
  114. <view class="check-for-max-box">
  115. <view v-for="(item,index) in checkList" :key="index" @click="cascadeItemButton(item)">
  116. <view>
  117. {{item.code}} {{item.name}}
  118. </view>
  119. <view v-for="(minItem,minIndex) in item.hazardCheckPointList" @click="checkItemButton(item,minItem)">{{minItem}}</view>
  120. </view>
  121. </view>
  122. </view>
  123. </view>
  124. </scroll-view>
  125. </template>
  126. <script>
  127. import {
  128. securityCheckOptionSelAllList,
  129. securityAppCheckSetOptionList,
  130. securityAppCheckSetOptionGetReviewList,
  131. securityAppCheckDangerGetCheckDangerSubId,
  132. securityAppCheckPlanSetGetOptionList,
  133. } from '@/pages_safetyCheck/api/index.js'
  134. export default {
  135. name: "checkItemModule",
  136. props: {
  137. propsData: {}
  138. },
  139. data() {
  140. return {
  141. //父级参数
  142. optionData: {},
  143. //选项卡状态
  144. pageType: 1,
  145. //输入框数据
  146. searchValue: "",
  147. //输入搜索返回列表
  148. dataList: [],
  149. //当前级联数据
  150. cascadeButtonType:1,
  151. //一级-级联数据
  152. levelListOne: null,
  153. //二级-级联数据
  154. levelListTwo: null,
  155. //三级-级联数据
  156. levelListThree: null,
  157. //级联列表
  158. checkList: [],
  159. }
  160. },
  161. onLoad() {
  162. },
  163. mounted() {
  164. this.$set(this, 'optionData', JSON.parse(JSON.stringify(this.propsData)));
  165. console.log('检查项列表',this.optionData)
  166. this.$nextTick(() => {
  167. this.securityCheckOptionSelAllList();
  168. })
  169. },
  170. methods: {
  171. theBlur(e) {
  172. this.searchValue = e.target.value
  173. },
  174. //输入框查询
  175. getSearchValue() {
  176. if (this.optionData.infoType == 0) {
  177. //检查
  178. // this.securityAppCheckSetOptionList();
  179. this.securityCheckOptionSelAllList();
  180. } else if (this.optionData.infoType == 1) {
  181. //复查
  182. this.securityAppCheckSetOptionGetReviewList();
  183. } else if (this.optionData.infoType == 2) {
  184. //整改
  185. this.securityAppCheckDangerGetCheckDangerSubId();
  186. }
  187. },
  188. //选项卡title切换
  189. checkTitleButton(type) {
  190. if (this.pageType != type) {
  191. this.$set(this, 'pageType', type);
  192. }
  193. },
  194. //退出页面
  195. outButton() {
  196. this.$parent.checkItemModuleButton('out');
  197. },
  198. //清除输入框内容
  199. delSearchValue() {
  200. if (this.searchValue) {
  201. this.$set(this, 'searchValue', '');
  202. this.$set(this, 'dataList', []);
  203. this.getSearchValue();
  204. }
  205. },
  206. //级联等级点击
  207. cascadeButton(type) {
  208. this.$set(this,'cascadeButtonType',type);
  209. if (type == 1) {
  210. this.$set(this, 'levelListTwo', null);
  211. this.$set(this, 'levelListThree', null);
  212. this.$set(this, 'checkList', this.levelListOne.children);
  213. } else if (type == 2) {
  214. this.$set(this, 'levelListThree', null);
  215. this.$set(this, 'checkList', this.levelListTwo.children);
  216. }
  217. },
  218. //级联检查项选中
  219. cascadeItemButton(item) {
  220. if (item.level == 1) {
  221. this.$set(this, 'levelListTwo', item);
  222. this.$set(this, 'checkList', item.children);
  223. } else if (item.level == 2) {
  224. this.$set(this, 'levelListThree', item);
  225. if (item.children[0]) {
  226. item.children.forEach(function(item) {
  227. if (item.hazardCheckPoint) {
  228. item.hazardCheckPointList = item.hazardCheckPoint.split('#')
  229. }
  230. })
  231. }
  232. this.$set(this, 'checkList', item.children);
  233. }
  234. },
  235. //选中检查项
  236. checkItemButton(item, item2) {
  237. this.$parent.checkItemModuleButton('submit', item, item2);
  238. },
  239. //高亮
  240. brightenKeyword(code,val, editKeyword) {
  241. const Reg = new RegExp(editKeyword);
  242. if (val) {
  243. const res = code+ val.replace(Reg, `<span style="color: #0183FA;">${editKeyword }</span>`);
  244. return res;
  245. }
  246. },
  247. //基础检查项检查
  248. async securityCheckOptionSelAllList() {
  249. let self = this;
  250. const {
  251. data
  252. } = await securityCheckOptionSelAllList({});
  253. if (data.code == 200) {
  254. let maxList = this.getCascaderData(JSON.parse(JSON.stringify(data.data)), 2)
  255. this.$nextTick(() => {
  256. if (this.optionData.infoType == 0) {
  257. this.securityAppCheckPlanSetGetOptionList(maxList);
  258. // this.securityAppCheckSetOptionList(maxList);
  259. } else if (this.optionData.infoType == 1) {
  260. this.securityAppCheckSetOptionGetReviewList(maxList);
  261. } else if (this.optionData.infoType == 2) {
  262. this.securityAppCheckDangerGetCheckDangerSubId(maxList);
  263. }
  264. })
  265. }
  266. },
  267. //查询批次下-检查项
  268. async securityAppCheckPlanSetGetOptionList(maxList){
  269. let self = this;
  270. const {
  271. data
  272. } = await securityAppCheckPlanSetGetOptionList({
  273. planSetId:this.optionData.planSetId,
  274. searchValue: this.searchValue
  275. });
  276. if (data.code == 200) {
  277. if (data.data[0]) {
  278. let minList = JSON.parse(JSON.stringify(data.data))
  279. this.newCascadeData(maxList, minList);
  280. }
  281. // //查询数据
  282. // let map = new Map();
  283. // for (let item of data.data) {
  284. // let hazardCheckCode2 = item.hazardCheckCode2;
  285. // if (!map.has(hazardCheckCode2)) {
  286. // map.set(hazardCheckCode2, {
  287. // hazardCheckCode2: hazardCheckCode2,
  288. // hazardCheckName2: item.hazardCheckName2,
  289. // hazardCheckCode1: item.hazardCheckCode1,
  290. // hazardCheckName1: item.hazardCheckName1,
  291. // data: [item]
  292. // });
  293. // } else {
  294. // map.get(hazardCheckCode2).data.push(item);
  295. // }
  296. // }
  297. // let finalResult = Array.from(map.values());
  298. // this.$set(this, 'dataList', finalResult);
  299. }
  300. },
  301. /********************** 检查相关查询 **********************/
  302. async securityAppCheckSetOptionList(maxList) {
  303. let self = this;
  304. const {
  305. data
  306. } = await securityAppCheckSetOptionList({
  307. manageId: this.optionData.manageId,
  308. checkStatus: this.optionData.checkType,
  309. searchValue: this.searchValue
  310. });
  311. if (data.code == 200) {
  312. //级联数据
  313. if (maxList) {
  314. let minList = JSON.parse(JSON.stringify(data.data))
  315. this.cascadeData(maxList, minList);
  316. }
  317. if(this.optionData.editStatus){
  318. data.data.unshift(this.optionData.editItem);
  319. }
  320. if (data.data[0]) {
  321. data.data.forEach(function(item) {
  322. if (item.hazardCheckPoint) {
  323. item.hazardCheckPointList = item.hazardCheckPoint.split('#')
  324. }
  325. })
  326. }
  327. //查询数据
  328. let map = new Map();
  329. for (let item of data.data) {
  330. let hazardCheckCode2 = item.hazardCheckCode2;
  331. if (!map.has(hazardCheckCode2)) {
  332. map.set(hazardCheckCode2, {
  333. hazardCheckCode2: hazardCheckCode2,
  334. hazardCheckName2: item.hazardCheckName2,
  335. hazardCheckCode1: item.hazardCheckCode1,
  336. hazardCheckName1: item.hazardCheckName1,
  337. data: [item]
  338. });
  339. } else {
  340. map.get(hazardCheckCode2).data.push(item);
  341. }
  342. }
  343. let finalResult = Array.from(map.values());
  344. this.$set(this, 'dataList', finalResult);
  345. }
  346. },
  347. /********************** 复查相关查询 **********************/
  348. async securityAppCheckSetOptionGetReviewList(maxList) {
  349. let self = this;
  350. const {
  351. data
  352. } = await securityAppCheckSetOptionGetReviewList({
  353. planId: this.optionData.planId,
  354. planSetId: this.optionData.planSetId,
  355. subId: this.optionData.subId,
  356. appReviewStatus: this.optionData.checkType,
  357. searchValue: this.searchValue
  358. });
  359. if (data.code == 200) {
  360. //级联数据
  361. if (maxList) {
  362. let minList = JSON.parse(JSON.stringify(data.data.records))
  363. this.cascadeData(maxList, minList);
  364. }
  365. //查询数据
  366. this.$set(this, 'dataList', JSON.parse(JSON.stringify(data.data.records)));
  367. }
  368. },
  369. /********************** 整改相关查询 **********************/
  370. async securityAppCheckDangerGetCheckDangerSubId(maxList) {
  371. let self = this;
  372. const {
  373. data
  374. } = await securityAppCheckDangerGetCheckDangerSubId({
  375. planId: this.optionData.planId,
  376. planSetId: this.optionData.planSetId,
  377. subId: this.optionData.subId,
  378. appReviewStatus: this.optionData.checkType,
  379. searchValue: this.searchValue
  380. });
  381. if (data.code == 200) {
  382. //级联数据
  383. if (maxList) {
  384. let minList = JSON.parse(JSON.stringify(data.data.records))
  385. this.cascadeData(maxList, minList);
  386. }
  387. //查询数据
  388. this.$set(this, 'dataList', JSON.parse(JSON.stringify(data.data.records)));
  389. }
  390. },
  391. /********************** 处理级联数据 **********************/
  392. cascadeData(maxList, minList) {
  393. for (let i = 0; i < maxList.length; i++) {
  394. for (let o = 0; o < maxList[i].children.length; o++) {
  395. for (let x = 0; x < minList.length; x++) {
  396. if (maxList[i].children[o].id == minList[x].hazardCheckPro2) {
  397. minList[x].level = 3;
  398. if (maxList[i].children[o].children) {
  399. maxList[i].children[o].children.push(minList[x])
  400. } else {
  401. maxList[i].children[o].children = [minList[x]]
  402. }
  403. }
  404. }
  405. }
  406. }
  407. let list = this.getCascaderData(JSON.parse(JSON.stringify(maxList)), 3)
  408. this.$nextTick(() => {
  409. this.$set(this, 'levelListOne', JSON.parse(JSON.stringify({
  410. level: 0,
  411. children: list
  412. })));
  413. this.$set(this, 'checkList', JSON.parse(JSON.stringify(list)));
  414. })
  415. },
  416. newCascadeData(maxList, minList) {
  417. for (let i = 0; i < maxList.length; i++) {
  418. for (let o = 0; o < maxList[i].children.length; o++) {
  419. for (let x = 0; x < minList.length; x++) {
  420. if (maxList[i].children[o].id == minList[x].parentId) {
  421. //一级
  422. maxList[i].hazardCheckPro = minList[x].id
  423. maxList[i].hazardCheckCode = minList[x].code
  424. maxList[i].hazardCheckName = minList[x].name
  425. maxList[i].hazardCheckPro2 = maxList[i].children[o].id
  426. maxList[i].hazardCheckCode2 = maxList[i].children[o].code
  427. maxList[i].hazardCheckName2 = maxList[i].children[o].name
  428. maxList[i].hazardCheckPro1 = maxList[i].id
  429. maxList[i].hazardCheckCode1 = maxList[i].code
  430. maxList[i].hazardCheckName1 = maxList[i].name
  431. //二级
  432. maxList[i].children[o].hazardCheckPro = minList[x].id
  433. maxList[i].children[o].hazardCheckCode = minList[x].code
  434. maxList[i].children[o].hazardCheckName = minList[x].name
  435. maxList[i].children[o].hazardCheckPro2 = maxList[i].children[o].id
  436. maxList[i].children[o].hazardCheckCode2 = maxList[i].children[o].code
  437. maxList[i].children[o].hazardCheckName2 = maxList[i].children[o].name
  438. maxList[i].children[o].hazardCheckPro1 = maxList[i].id
  439. maxList[i].children[o].hazardCheckCode1 = maxList[i].code
  440. maxList[i].children[o].hazardCheckName1 = maxList[i].name
  441. //三级
  442. minList[x].level = 3;
  443. minList[x].hazardCheckPro = minList[x].id
  444. minList[x].hazardCheckCode = minList[x].code
  445. minList[x].hazardCheckName = minList[x].name
  446. minList[x].hazardCheckPro2 = maxList[i].children[o].id
  447. minList[x].hazardCheckCode2 = maxList[i].children[o].code
  448. minList[x].hazardCheckName2 = maxList[i].children[o].name
  449. minList[x].hazardCheckPro1 = maxList[i].id
  450. minList[x].hazardCheckCode1 = maxList[i].code
  451. minList[x].hazardCheckName1 = maxList[i].name
  452. minList[x].hazardCheckPointList = minList[x].mainPoint.split('#')
  453. if (maxList[i].children[o].children) {
  454. maxList[i].children[o].children.push(minList[x])
  455. } else {
  456. maxList[i].children[o].children = [minList[x]]
  457. }
  458. }
  459. }
  460. }
  461. }
  462. let list = this.getCascaderData(JSON.parse(JSON.stringify(maxList)), 3)
  463. this.$nextTick(() => {
  464. this.$set(this, 'levelListOne', JSON.parse(JSON.stringify({
  465. level: 0,
  466. children: list
  467. })));
  468. this.$set(this, 'dataList', JSON.parse(JSON.stringify(list)));
  469. this.$set(this, 'checkList', JSON.parse(JSON.stringify(list)));
  470. console.log('dataList',this.dataList)
  471. console.log('checkList',this.checkList)
  472. })
  473. },
  474. /********************** 检查项格式处理 **********************/
  475. getCascaderData(list, type) {
  476. let self = this
  477. for (let i = 0; i < list.length; i++) {
  478. if (list[i].level == type) {
  479. delete list[i].children
  480. } else if (list[i].children) {
  481. if (list[i].children[0]) {
  482. list[i].children = self.getCascaderData(list[i].children, type)
  483. } else {
  484. list.splice(i, 1)
  485. i--
  486. }
  487. } else {
  488. list.splice(i, 1)
  489. i--
  490. }
  491. }
  492. for (let i = 0; i < list.length; i++) {
  493. if (list[i].level == type) {
  494. delete list[i].children
  495. } else if (list[i].children) {
  496. if (list[i].children[0]) {
  497. list[i].children = self.getCascaderData(list[i].children, type)
  498. } else {
  499. list.splice(i, 1)
  500. i--
  501. }
  502. } else {
  503. list.splice(i, 1)
  504. i--
  505. }
  506. }
  507. for (let i = 0; i < list.length; i++) {
  508. if (list[i].level == type) {
  509. delete list[i].children
  510. } else if (list[i].children) {
  511. if (list[i].children[0]) {
  512. list[i].children = self.getCascaderData(list[i].children, type)
  513. } else {
  514. list.splice(i, 1)
  515. i--
  516. }
  517. } else {
  518. list.splice(i, 1)
  519. i--
  520. }
  521. }
  522. return list
  523. },
  524. }
  525. }
  526. </script>
  527. <style lang="stylus" scoped>
  528. .checkItemModule {
  529. position: fixed;
  530. top: 0;
  531. left: 0;
  532. height: 100%;
  533. width: 100%;
  534. flex: 1;
  535. overflow: hidden;
  536. display: flex;
  537. flex-direction: column;
  538. background-color: #fff;
  539. .checkItemModule-title-box {
  540. display: flex;
  541. height: 100rpx;
  542. background-color: #FFFFFF;
  543. border-bottom: 1rpx solid #dedede;
  544. .checkItemModule-title-p {
  545. width: 140rpx;
  546. height: 100rpx;
  547. >view:nth-child(1) {
  548. color: #333;
  549. text-align: center;
  550. font-size: 29rpx;
  551. line-height: 30rpx;
  552. margin: 35rpx 0 20rpx 0;
  553. }
  554. >view:nth-child(2) {
  555. width: 56rpx;
  556. height: 6rpx;
  557. border-radius: 14rpx;
  558. margin: 0 auto;
  559. }
  560. }
  561. .checkItemModule-title-check {
  562. >view:nth-child(1) {
  563. color: #0183FA;
  564. }
  565. >view:nth-child(2) {
  566. background: #0183FA;
  567. }
  568. }
  569. }
  570. .input-max-big-box {
  571. flex: 1;
  572. display: flex;
  573. flex-direction: column;
  574. overflow: hidden;
  575. .input-big-box {
  576. height: 104rpx;
  577. display: flex;
  578. background-color: #fff;
  579. border-bottom: 1rpx solid #E0E0E0;
  580. .input-box {
  581. width: 611rpx;
  582. height: 69rpx;
  583. border: 1px solid #E0E0E0;
  584. display: flex;
  585. border-radius: 35px 35px 35px 35px;
  586. margin: 17rpx 0 17rpx 21rpx;
  587. .left-icons {
  588. padding: 15rpx 18rpx 0 22rpx;
  589. }
  590. .right-icons {
  591. padding: 15rpx 15rpx 0 22rpx;
  592. }
  593. >input {
  594. flex: 1;
  595. height: 69rpx;
  596. line-height: 69rpx;
  597. }
  598. }
  599. .out-button {
  600. width: 100rpx;
  601. margin: 17rpx 0 17rpx 15rpx;
  602. text-align: center;
  603. line-height: 69rpx;
  604. color: #0183FA;
  605. font-size: 29rpx;
  606. }
  607. }
  608. .input-for-max-box {
  609. flex: 1;
  610. display: flex;
  611. flex-direction: column;
  612. overflow-y: scroll;
  613. background-color: #fff;
  614. .for-box {
  615. .for-box-n {
  616. margin: 0 21rpx;
  617. font-size: 32rpx;
  618. line-height: 40rpx;
  619. padding: 20rpx 0;
  620. background-color: #fff;
  621. border-bottom: 1rpx solid #E0E0E0;
  622. }
  623. .for-box-n-b {
  624. margin: 0 21rpx;
  625. font-size: 32rpx;
  626. line-height: 40rpx;
  627. padding: 20rpx 0;
  628. background-color: #fff;
  629. }
  630. }
  631. }
  632. }
  633. .check-max-big-box {
  634. flex: 1;
  635. display: flex;
  636. flex-direction: column;
  637. overflow: hidden;
  638. .check-big-box {
  639. height: 70rpx;
  640. display: flex;
  641. background-color: #fff;
  642. border-bottom: 1rpx solid #E0E0E0;
  643. >view {
  644. width: 200rpx;
  645. line-height: 70rpx;
  646. text-align: center;
  647. color: #333;
  648. font-size: 29rpx;
  649. }
  650. .checkView {
  651. color: #0183FA;
  652. }
  653. }
  654. .check-for-max-box {
  655. flex: 1;
  656. display: flex;
  657. flex-direction: column;
  658. overflow-y: scroll;
  659. background-color: #fff;
  660. >view {
  661. >view {
  662. font-size: 32rpx;
  663. line-height: 70rpx;
  664. margin: 0 21rpx;
  665. border-bottom: 1px solid #dedede;
  666. }
  667. }
  668. }
  669. }
  670. }
  671. </style>