checkItemModule.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717
  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. console.log('this.optionData',this.optionData)
  271. console.log('this.searchValue',this.searchValue)
  272. const {
  273. data
  274. } = await securityAppCheckPlanSetGetOptionList({
  275. planSetId:this.optionData.planSetId,
  276. searchValue: this.searchValue
  277. });
  278. if (data.code == 200) {
  279. if (data.data[0]) {
  280. let minList = JSON.parse(JSON.stringify(data.data))
  281. this.newCascadeData(maxList, minList);
  282. }
  283. // //查询数据
  284. // let map = new Map();
  285. // for (let item of data.data) {
  286. // let hazardCheckCode2 = item.hazardCheckCode2;
  287. // if (!map.has(hazardCheckCode2)) {
  288. // map.set(hazardCheckCode2, {
  289. // hazardCheckCode2: hazardCheckCode2,
  290. // hazardCheckName2: item.hazardCheckName2,
  291. // hazardCheckCode1: item.hazardCheckCode1,
  292. // hazardCheckName1: item.hazardCheckName1,
  293. // data: [item]
  294. // });
  295. // } else {
  296. // map.get(hazardCheckCode2).data.push(item);
  297. // }
  298. // }
  299. // let finalResult = Array.from(map.values());
  300. // this.$set(this, 'dataList', finalResult);
  301. }
  302. },
  303. /********************** 检查相关查询 **********************/
  304. async securityAppCheckSetOptionList(maxList) {
  305. let self = this;
  306. const {
  307. data
  308. } = await securityAppCheckSetOptionList({
  309. manageId: this.optionData.manageId,
  310. checkStatus: this.optionData.checkType,
  311. searchValue: this.searchValue
  312. });
  313. if (data.code == 200) {
  314. //级联数据
  315. if (maxList) {
  316. let minList = JSON.parse(JSON.stringify(data.data))
  317. this.cascadeData(maxList, minList);
  318. }
  319. if(this.optionData.editStatus){
  320. data.data.unshift(this.optionData.editItem);
  321. }
  322. if (data.data[0]) {
  323. data.data.forEach(function(item) {
  324. if (item.hazardCheckPoint) {
  325. item.hazardCheckPointList = item.hazardCheckPoint.split('#')
  326. }
  327. })
  328. }
  329. //查询数据
  330. let map = new Map();
  331. for (let item of data.data) {
  332. let hazardCheckCode2 = item.hazardCheckCode2;
  333. if (!map.has(hazardCheckCode2)) {
  334. map.set(hazardCheckCode2, {
  335. hazardCheckCode2: hazardCheckCode2,
  336. hazardCheckName2: item.hazardCheckName2,
  337. hazardCheckCode1: item.hazardCheckCode1,
  338. hazardCheckName1: item.hazardCheckName1,
  339. data: [item]
  340. });
  341. } else {
  342. map.get(hazardCheckCode2).data.push(item);
  343. }
  344. }
  345. let finalResult = Array.from(map.values());
  346. this.$set(this, 'dataList', finalResult);
  347. }
  348. },
  349. /********************** 复查相关查询 **********************/
  350. async securityAppCheckSetOptionGetReviewList(maxList) {
  351. let self = this;
  352. const {
  353. data
  354. } = await securityAppCheckSetOptionGetReviewList({
  355. planId: this.optionData.planId,
  356. planSetId: this.optionData.planSetId,
  357. subId: this.optionData.subId,
  358. appReviewStatus: this.optionData.checkType,
  359. searchValue: this.searchValue
  360. });
  361. if (data.code == 200) {
  362. //级联数据
  363. if (maxList) {
  364. let minList = JSON.parse(JSON.stringify(data.data.records))
  365. this.cascadeData(maxList, minList);
  366. }
  367. //查询数据
  368. this.$set(this, 'dataList', JSON.parse(JSON.stringify(data.data.records)));
  369. }
  370. },
  371. /********************** 整改相关查询 **********************/
  372. async securityAppCheckDangerGetCheckDangerSubId(maxList) {
  373. let self = this;
  374. const {
  375. data
  376. } = await securityAppCheckDangerGetCheckDangerSubId({
  377. planId: this.optionData.planId,
  378. planSetId: this.optionData.planSetId,
  379. subId: this.optionData.subId,
  380. appReviewStatus: this.optionData.checkType,
  381. searchValue: this.searchValue
  382. });
  383. if (data.code == 200) {
  384. //级联数据
  385. if (maxList) {
  386. let minList = JSON.parse(JSON.stringify(data.data.records))
  387. this.cascadeData(maxList, minList);
  388. }
  389. //查询数据
  390. this.$set(this, 'dataList', JSON.parse(JSON.stringify(data.data.records)));
  391. }
  392. },
  393. /********************** 处理级联数据 **********************/
  394. cascadeData(maxList, minList) {
  395. for (let i = 0; i < maxList.length; i++) {
  396. for (let o = 0; o < maxList[i].children.length; o++) {
  397. for (let x = 0; x < minList.length; x++) {
  398. if (maxList[i].children[o].id == minList[x].hazardCheckPro2) {
  399. minList[x].level = 3;
  400. if (maxList[i].children[o].children) {
  401. maxList[i].children[o].children.push(minList[x])
  402. } else {
  403. maxList[i].children[o].children = [minList[x]]
  404. }
  405. }
  406. }
  407. }
  408. }
  409. let list = this.getCascaderData(JSON.parse(JSON.stringify(maxList)), 3)
  410. this.$nextTick(() => {
  411. this.$set(this, 'levelListOne', JSON.parse(JSON.stringify({
  412. level: 0,
  413. children: list
  414. })));
  415. this.$set(this, 'checkList', JSON.parse(JSON.stringify(list)));
  416. })
  417. },
  418. newCascadeData(maxList, minList) {
  419. for (let i = 0; i < maxList.length; i++) {
  420. for (let o = 0; o < maxList[i].children.length; o++) {
  421. for (let x = 0; x < minList.length; x++) {
  422. if (maxList[i].children[o].id == minList[x].parentId) {
  423. //一级
  424. maxList[i].hazardCheckPro = minList[x].id
  425. maxList[i].hazardCheckCode = minList[x].code
  426. maxList[i].hazardCheckName = minList[x].name
  427. maxList[i].hazardCheckPro2 = maxList[i].children[o].id
  428. maxList[i].hazardCheckCode2 = maxList[i].children[o].code
  429. maxList[i].hazardCheckName2 = maxList[i].children[o].name
  430. maxList[i].hazardCheckPro1 = maxList[i].id
  431. maxList[i].hazardCheckCode1 = maxList[i].code
  432. maxList[i].hazardCheckName1 = maxList[i].name
  433. //二级
  434. maxList[i].children[o].hazardCheckPro = minList[x].id
  435. maxList[i].children[o].hazardCheckCode = minList[x].code
  436. maxList[i].children[o].hazardCheckName = minList[x].name
  437. maxList[i].children[o].hazardCheckPro2 = maxList[i].children[o].id
  438. maxList[i].children[o].hazardCheckCode2 = maxList[i].children[o].code
  439. maxList[i].children[o].hazardCheckName2 = maxList[i].children[o].name
  440. maxList[i].children[o].hazardCheckPro1 = maxList[i].id
  441. maxList[i].children[o].hazardCheckCode1 = maxList[i].code
  442. maxList[i].children[o].hazardCheckName1 = maxList[i].name
  443. //三级
  444. minList[x].level = 3;
  445. minList[x].hazardCheckPro = minList[x].id
  446. minList[x].hazardCheckCode = minList[x].code
  447. minList[x].hazardCheckName = minList[x].name
  448. minList[x].hazardCheckPro2 = maxList[i].children[o].id
  449. minList[x].hazardCheckCode2 = maxList[i].children[o].code
  450. minList[x].hazardCheckName2 = maxList[i].children[o].name
  451. minList[x].hazardCheckPro1 = maxList[i].id
  452. minList[x].hazardCheckCode1 = maxList[i].code
  453. minList[x].hazardCheckName1 = maxList[i].name
  454. minList[x].hazardCheckPointList = minList[x].mainPoint.split('#')
  455. if (maxList[i].children[o].children) {
  456. maxList[i].children[o].children.push(minList[x])
  457. } else {
  458. maxList[i].children[o].children = [minList[x]]
  459. }
  460. }
  461. }
  462. }
  463. }
  464. let list = this.getCascaderData(JSON.parse(JSON.stringify(maxList)), 3)
  465. this.$nextTick(() => {
  466. this.$set(this, 'levelListOne', JSON.parse(JSON.stringify({
  467. level: 0,
  468. children: list
  469. })));
  470. this.$set(this, 'dataList', JSON.parse(JSON.stringify(list)));
  471. this.$set(this, 'checkList', JSON.parse(JSON.stringify(list)));
  472. console.log('dataList',this.dataList)
  473. console.log('checkList',this.checkList)
  474. })
  475. },
  476. /********************** 检查项格式处理 **********************/
  477. getCascaderData(list, type) {
  478. let self = this
  479. for (let i = 0; i < list.length; i++) {
  480. if (list[i].level == type) {
  481. delete list[i].children
  482. } else if (list[i].children) {
  483. if (list[i].children[0]) {
  484. list[i].children = self.getCascaderData(list[i].children, type)
  485. } else {
  486. list.splice(i, 1)
  487. i--
  488. }
  489. } else {
  490. list.splice(i, 1)
  491. i--
  492. }
  493. }
  494. for (let i = 0; i < list.length; i++) {
  495. if (list[i].level == type) {
  496. delete list[i].children
  497. } else if (list[i].children) {
  498. if (list[i].children[0]) {
  499. list[i].children = self.getCascaderData(list[i].children, type)
  500. } else {
  501. list.splice(i, 1)
  502. i--
  503. }
  504. } else {
  505. list.splice(i, 1)
  506. i--
  507. }
  508. }
  509. for (let i = 0; i < list.length; i++) {
  510. if (list[i].level == type) {
  511. delete list[i].children
  512. } else if (list[i].children) {
  513. if (list[i].children[0]) {
  514. list[i].children = self.getCascaderData(list[i].children, type)
  515. } else {
  516. list.splice(i, 1)
  517. i--
  518. }
  519. } else {
  520. list.splice(i, 1)
  521. i--
  522. }
  523. }
  524. return list
  525. },
  526. }
  527. }
  528. </script>
  529. <style lang="stylus" scoped>
  530. .checkItemModule {
  531. position: fixed;
  532. top: 0;
  533. left: 0;
  534. height: 100%;
  535. width: 100%;
  536. flex: 1;
  537. overflow: hidden;
  538. display: flex;
  539. flex-direction: column;
  540. background-color: #fff;
  541. .checkItemModule-title-box {
  542. display: flex;
  543. height: 100rpx;
  544. background-color: #FFFFFF;
  545. border-bottom: 1rpx solid #dedede;
  546. .checkItemModule-title-p {
  547. width: 140rpx;
  548. height: 100rpx;
  549. >view:nth-child(1) {
  550. color: #333;
  551. text-align: center;
  552. font-size: 29rpx;
  553. line-height: 30rpx;
  554. margin: 35rpx 0 20rpx 0;
  555. }
  556. >view:nth-child(2) {
  557. width: 56rpx;
  558. height: 6rpx;
  559. border-radius: 14rpx;
  560. margin: 0 auto;
  561. }
  562. }
  563. .checkItemModule-title-check {
  564. >view:nth-child(1) {
  565. color: #0183FA;
  566. }
  567. >view:nth-child(2) {
  568. background: #0183FA;
  569. }
  570. }
  571. }
  572. .input-max-big-box {
  573. flex: 1;
  574. display: flex;
  575. flex-direction: column;
  576. overflow: hidden;
  577. .input-big-box {
  578. height: 104rpx;
  579. display: flex;
  580. background-color: #fff;
  581. border-bottom: 1rpx solid #E0E0E0;
  582. .input-box {
  583. width: 611rpx;
  584. height: 69rpx;
  585. border: 1px solid #E0E0E0;
  586. display: flex;
  587. border-radius: 35px 35px 35px 35px;
  588. margin: 17rpx 0 17rpx 21rpx;
  589. .left-icons {
  590. padding: 15rpx 18rpx 0 22rpx;
  591. }
  592. .right-icons {
  593. padding: 15rpx 15rpx 0 22rpx;
  594. }
  595. >input {
  596. flex: 1;
  597. height: 69rpx;
  598. line-height: 69rpx;
  599. }
  600. }
  601. .out-button {
  602. width: 100rpx;
  603. margin: 17rpx 0 17rpx 15rpx;
  604. text-align: center;
  605. line-height: 69rpx;
  606. color: #0183FA;
  607. font-size: 29rpx;
  608. }
  609. }
  610. .input-for-max-box {
  611. flex: 1;
  612. display: flex;
  613. flex-direction: column;
  614. overflow-y: scroll;
  615. background-color: #fff;
  616. .for-box {
  617. .for-box-n {
  618. margin: 0 21rpx;
  619. font-size: 32rpx;
  620. line-height: 40rpx;
  621. padding: 20rpx 0;
  622. background-color: #fff;
  623. border-bottom: 1rpx solid #E0E0E0;
  624. }
  625. .for-box-n-b {
  626. margin: 0 21rpx;
  627. font-size: 32rpx;
  628. line-height: 40rpx;
  629. padding: 20rpx 0;
  630. background-color: #fff;
  631. }
  632. }
  633. }
  634. }
  635. .check-max-big-box {
  636. flex: 1;
  637. display: flex;
  638. flex-direction: column;
  639. overflow: hidden;
  640. .check-big-box {
  641. height: 70rpx;
  642. display: flex;
  643. background-color: #fff;
  644. border-bottom: 1rpx solid #E0E0E0;
  645. >view {
  646. width: 200rpx;
  647. line-height: 70rpx;
  648. text-align: center;
  649. color: #333;
  650. font-size: 29rpx;
  651. }
  652. .checkView {
  653. color: #0183FA;
  654. }
  655. }
  656. .check-for-max-box {
  657. flex: 1;
  658. display: flex;
  659. flex-direction: column;
  660. overflow-y: scroll;
  661. background-color: #fff;
  662. >view {
  663. >view {
  664. font-size: 32rpx;
  665. line-height: 70rpx;
  666. margin: 0 21rpx;
  667. border-bottom: 1px solid #dedede;
  668. }
  669. }
  670. }
  671. }
  672. }
  673. </style>