checkItemModule.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729
  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 v-html="brightenKeyword(item.hazardCheckCode1,item.hazardCheckName1,searchValue)" class="for-box-n">
  89. {{item.hazardCheckCode1}} {{item.hazardCheckName1}}
  90. </view>
  91. <view v-for="(item2,index2) in item.children">
  92. <view v-html="brightenKeyword(item2.hazardCheckCode2,item2.hazardCheckName2,searchValue)" 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 v-html="brightenKeyword(item3.hazardCheckCode,item3.hazardCheckName,searchValue)">{{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 v-html="brightenKeyword('',item4,searchValue)">{{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. this.$nextTick(() => {
  166. this.securityCheckOptionSelAllList();
  167. })
  168. },
  169. methods: {
  170. theBlur(e) {
  171. this.searchValue = e.target.value
  172. },
  173. //输入框查询
  174. getSearchValue() {
  175. if (this.optionData.infoType == 0) {
  176. //检查
  177. // this.securityAppCheckSetOptionList();
  178. this.securityCheckOptionSelAllList();
  179. } else if (this.optionData.infoType == 1) {
  180. //复查
  181. this.securityAppCheckSetOptionGetReviewList();
  182. } else if (this.optionData.infoType == 2) {
  183. //整改
  184. this.securityAppCheckDangerGetCheckDangerSubId();
  185. }
  186. },
  187. //选项卡title切换
  188. checkTitleButton(type) {
  189. if (this.pageType != type) {
  190. this.$set(this, 'pageType', type);
  191. }
  192. },
  193. //退出页面
  194. outButton() {
  195. this.$parent.checkItemModuleButton('out');
  196. },
  197. //清除输入框内容
  198. delSearchValue() {
  199. if (this.searchValue) {
  200. this.$set(this, 'searchValue', '');
  201. this.$set(this, 'dataList', []);
  202. this.getSearchValue();
  203. }
  204. },
  205. //级联等级点击
  206. cascadeButton(type) {
  207. this.$set(this,'cascadeButtonType',type);
  208. if (type == 1) {
  209. this.$set(this, 'levelListTwo', null);
  210. this.$set(this, 'levelListThree', null);
  211. this.$set(this, 'checkList', this.levelListOne.children);
  212. } else if (type == 2) {
  213. this.$set(this, 'levelListThree', null);
  214. this.$set(this, 'checkList', this.levelListTwo.children);
  215. }
  216. },
  217. //级联检查项选中
  218. cascadeItemButton(item) {
  219. if (item.level == 1) {
  220. this.$set(this, 'levelListTwo', item);
  221. this.$set(this, 'checkList', item.children);
  222. } else if (item.level == 2) {
  223. this.$set(this, 'levelListThree', item);
  224. if (item.children[0]) {
  225. item.children.forEach(function(item) {
  226. if (item.hazardCheckPoint) {
  227. item.hazardCheckPointList = item.hazardCheckPoint.split('#')
  228. }
  229. })
  230. }
  231. this.$set(this, 'checkList', item.children);
  232. }
  233. },
  234. //选中检查项
  235. checkItemButton(item, item2) {
  236. this.$parent.checkItemModuleButton('submit', item, item2);
  237. },
  238. //高亮
  239. brightenKeyword(code,val, editKeyword) {
  240. const Reg = new RegExp(editKeyword);
  241. if (val) {
  242. const res = code + ' ' + val.replace(Reg, `<span style="color: #0183FA;">${editKeyword }</span>`);
  243. return res;
  244. }
  245. },
  246. //基础检查项检查
  247. async securityCheckOptionSelAllList() {
  248. let self = this;
  249. const {
  250. data
  251. } = await securityCheckOptionSelAllList({});
  252. if (data.code == 200) {
  253. let maxList = this.getCascaderData(JSON.parse(JSON.stringify(data.data)), 2)
  254. this.$nextTick(() => {
  255. if (this.optionData.infoType == 0) {
  256. this.securityAppCheckPlanSetGetOptionList(maxList);
  257. // this.securityAppCheckSetOptionList(maxList);
  258. } else if (this.optionData.infoType == 1) {
  259. this.securityAppCheckSetOptionGetReviewList(maxList);
  260. } else if (this.optionData.infoType == 2) {
  261. this.securityAppCheckDangerGetCheckDangerSubId(maxList);
  262. }
  263. })
  264. }
  265. },
  266. //查询批次下-检查项
  267. async securityAppCheckPlanSetGetOptionList(maxList){
  268. let self = this;
  269. const {
  270. data
  271. } = await securityAppCheckPlanSetGetOptionList({
  272. planSetId:this.optionData.planSetId,
  273. searchValue: this.searchValue
  274. });
  275. if (data.code == 200) {
  276. if (data.data[0]) {
  277. let minList = JSON.parse(JSON.stringify(data.data))
  278. this.newCascadeData(maxList, minList);
  279. }else{
  280. this.$set(this, 'levelListOne', JSON.parse(JSON.stringify({
  281. level: 0,
  282. children: []
  283. })));
  284. this.$set(this, 'dataList', []);
  285. this.$set(this, 'checkList', []);
  286. this.$set(this, 'cascadeButtonType', 1);
  287. this.$set(this, 'levelListOne', null);
  288. this.$set(this, 'levelListTwo', null);
  289. this.$set(this, 'levelListThree', null);
  290. }
  291. // //查询数据
  292. // let map = new Map();
  293. // for (let item of data.data) {
  294. // let hazardCheckCode2 = item.hazardCheckCode2;
  295. // if (!map.has(hazardCheckCode2)) {
  296. // map.set(hazardCheckCode2, {
  297. // hazardCheckCode2: hazardCheckCode2,
  298. // hazardCheckName2: item.hazardCheckName2,
  299. // hazardCheckCode1: item.hazardCheckCode1,
  300. // hazardCheckName1: item.hazardCheckName1,
  301. // data: [item]
  302. // });
  303. // } else {
  304. // map.get(hazardCheckCode2).data.push(item);
  305. // }
  306. // }
  307. // let finalResult = Array.from(map.values());
  308. // this.$set(this, 'dataList', finalResult);
  309. }
  310. },
  311. /********************** 检查相关查询 **********************/
  312. async securityAppCheckSetOptionList(maxList) {
  313. let self = this;
  314. const {
  315. data
  316. } = await securityAppCheckSetOptionList({
  317. manageId: this.optionData.manageId,
  318. checkStatus: this.optionData.checkType,
  319. searchValue: this.searchValue
  320. });
  321. if (data.code == 200) {
  322. //级联数据
  323. if (maxList) {
  324. let minList = JSON.parse(JSON.stringify(data.data))
  325. this.cascadeData(maxList, minList);
  326. }
  327. if(this.optionData.editStatus){
  328. data.data.unshift(this.optionData.editItem);
  329. }
  330. if (data.data[0]) {
  331. data.data.forEach(function(item) {
  332. if (item.hazardCheckPoint) {
  333. item.hazardCheckPointList = item.hazardCheckPoint.split('#')
  334. }
  335. })
  336. }
  337. //查询数据
  338. let map = new Map();
  339. for (let item of data.data) {
  340. let hazardCheckCode2 = item.hazardCheckCode2;
  341. if (!map.has(hazardCheckCode2)) {
  342. map.set(hazardCheckCode2, {
  343. hazardCheckCode2: hazardCheckCode2,
  344. hazardCheckName2: item.hazardCheckName2,
  345. hazardCheckCode1: item.hazardCheckCode1,
  346. hazardCheckName1: item.hazardCheckName1,
  347. data: [item]
  348. });
  349. } else {
  350. map.get(hazardCheckCode2).data.push(item);
  351. }
  352. }
  353. let finalResult = Array.from(map.values());
  354. this.$set(this, 'dataList', finalResult);
  355. }
  356. },
  357. /********************** 复查相关查询 **********************/
  358. async securityAppCheckSetOptionGetReviewList(maxList) {
  359. let self = this;
  360. const {
  361. data
  362. } = await securityAppCheckSetOptionGetReviewList({
  363. planId: this.optionData.planId,
  364. planSetId: this.optionData.planSetId,
  365. subId: this.optionData.subId,
  366. appReviewStatus: this.optionData.checkType,
  367. searchValue: this.searchValue
  368. });
  369. if (data.code == 200) {
  370. //级联数据
  371. if (maxList) {
  372. let minList = JSON.parse(JSON.stringify(data.data.records))
  373. this.cascadeData(maxList, minList);
  374. }
  375. //查询数据
  376. this.$set(this, 'dataList', JSON.parse(JSON.stringify(data.data.records)));
  377. }
  378. },
  379. /********************** 整改相关查询 **********************/
  380. async securityAppCheckDangerGetCheckDangerSubId(maxList) {
  381. let self = this;
  382. const {
  383. data
  384. } = await securityAppCheckDangerGetCheckDangerSubId({
  385. planId: this.optionData.planId,
  386. planSetId: this.optionData.planSetId,
  387. subId: this.optionData.subId,
  388. appReviewStatus: this.optionData.checkType,
  389. searchValue: this.searchValue
  390. });
  391. if (data.code == 200) {
  392. //级联数据
  393. if (maxList) {
  394. let minList = JSON.parse(JSON.stringify(data.data.records))
  395. this.cascadeData(maxList, minList);
  396. }
  397. //查询数据
  398. this.$set(this, 'dataList', JSON.parse(JSON.stringify(data.data.records)));
  399. }
  400. },
  401. /********************** 处理级联数据 **********************/
  402. cascadeData(maxList, minList) {
  403. for (let i = 0; i < maxList.length; i++) {
  404. for (let o = 0; o < maxList[i].children.length; o++) {
  405. for (let x = 0; x < minList.length; x++) {
  406. if (maxList[i].children[o].id == minList[x].hazardCheckPro2) {
  407. minList[x].level = 3;
  408. if (maxList[i].children[o].children) {
  409. maxList[i].children[o].children.push(minList[x])
  410. } else {
  411. maxList[i].children[o].children = [minList[x]]
  412. }
  413. }
  414. }
  415. }
  416. }
  417. let list = this.getCascaderData(JSON.parse(JSON.stringify(maxList)), 3)
  418. this.$nextTick(() => {
  419. this.$set(this, 'levelListOne', JSON.parse(JSON.stringify({
  420. level: 0,
  421. children: list
  422. })));
  423. this.$set(this, 'checkList', JSON.parse(JSON.stringify(list)));
  424. this.$set(this, 'cascadeButtonType', 1);
  425. this.$set(this, 'levelListTwo', null);
  426. this.$set(this, 'levelListThree', null);
  427. })
  428. },
  429. newCascadeData(maxList, minList) {
  430. for (let i = 0; i < maxList.length; i++) {
  431. for (let o = 0; o < maxList[i].children.length; o++) {
  432. for (let x = 0; x < minList.length; x++) {
  433. if (maxList[i].children[o].id == minList[x].parentId) {
  434. //一级
  435. maxList[i].hazardCheckPro = minList[x].id
  436. maxList[i].hazardCheckCode = minList[x].code
  437. maxList[i].hazardCheckName = minList[x].name
  438. maxList[i].hazardCheckPro2 = maxList[i].children[o].id
  439. maxList[i].hazardCheckCode2 = maxList[i].children[o].code
  440. maxList[i].hazardCheckName2 = maxList[i].children[o].name
  441. maxList[i].hazardCheckPro1 = maxList[i].id
  442. maxList[i].hazardCheckCode1 = maxList[i].code
  443. maxList[i].hazardCheckName1 = maxList[i].name
  444. //二级
  445. maxList[i].children[o].hazardCheckPro = minList[x].id
  446. maxList[i].children[o].hazardCheckCode = minList[x].code
  447. maxList[i].children[o].hazardCheckName = minList[x].name
  448. maxList[i].children[o].hazardCheckPro2 = maxList[i].children[o].id
  449. maxList[i].children[o].hazardCheckCode2 = maxList[i].children[o].code
  450. maxList[i].children[o].hazardCheckName2 = maxList[i].children[o].name
  451. maxList[i].children[o].hazardCheckPro1 = maxList[i].id
  452. maxList[i].children[o].hazardCheckCode1 = maxList[i].code
  453. maxList[i].children[o].hazardCheckName1 = maxList[i].name
  454. //三级
  455. minList[x].level = 3;
  456. minList[x].hazardCheckPro = minList[x].id
  457. minList[x].hazardCheckCode = minList[x].code
  458. minList[x].hazardCheckName = minList[x].name
  459. minList[x].hazardCheckPro2 = maxList[i].children[o].id
  460. minList[x].hazardCheckCode2 = maxList[i].children[o].code
  461. minList[x].hazardCheckName2 = maxList[i].children[o].name
  462. minList[x].hazardCheckPro1 = maxList[i].id
  463. minList[x].hazardCheckCode1 = maxList[i].code
  464. minList[x].hazardCheckName1 = maxList[i].name
  465. minList[x].hazardCheckPointList = minList[x].mainPoint.split('#')
  466. if (maxList[i].children[o].children) {
  467. maxList[i].children[o].children.push(minList[x])
  468. } else {
  469. maxList[i].children[o].children = [minList[x]]
  470. }
  471. }
  472. }
  473. }
  474. }
  475. let list = this.getCascaderData(JSON.parse(JSON.stringify(maxList)), 3)
  476. this.$nextTick(() => {
  477. this.$set(this, 'levelListOne', JSON.parse(JSON.stringify({
  478. level: 0,
  479. children: list
  480. })));
  481. this.$set(this, 'dataList', JSON.parse(JSON.stringify(list)));
  482. this.$set(this, 'checkList', JSON.parse(JSON.stringify(list)));
  483. this.$set(this, 'cascadeButtonType', 1);
  484. this.$set(this, 'levelListTwo', null);
  485. this.$set(this, 'levelListThree', null);
  486. })
  487. },
  488. /********************** 检查项格式处理 **********************/
  489. getCascaderData(list, type) {
  490. let self = this
  491. for (let i = 0; i < list.length; i++) {
  492. if (list[i].level == type) {
  493. delete list[i].children
  494. } else if (list[i].children) {
  495. if (list[i].children[0]) {
  496. list[i].children = self.getCascaderData(list[i].children, type)
  497. } else {
  498. list.splice(i, 1)
  499. i--
  500. }
  501. } else {
  502. list.splice(i, 1)
  503. i--
  504. }
  505. }
  506. for (let i = 0; i < list.length; i++) {
  507. if (list[i].level == type) {
  508. delete list[i].children
  509. } else if (list[i].children) {
  510. if (list[i].children[0]) {
  511. list[i].children = self.getCascaderData(list[i].children, type)
  512. } else {
  513. list.splice(i, 1)
  514. i--
  515. }
  516. } else {
  517. list.splice(i, 1)
  518. i--
  519. }
  520. }
  521. for (let i = 0; i < list.length; i++) {
  522. if (list[i].level == type) {
  523. delete list[i].children
  524. } else if (list[i].children) {
  525. if (list[i].children[0]) {
  526. list[i].children = self.getCascaderData(list[i].children, type)
  527. } else {
  528. list.splice(i, 1)
  529. i--
  530. }
  531. } else {
  532. list.splice(i, 1)
  533. i--
  534. }
  535. }
  536. return list
  537. },
  538. }
  539. }
  540. </script>
  541. <style lang="stylus" scoped>
  542. .checkItemModule {
  543. position: fixed;
  544. top: 0;
  545. left: 0;
  546. height: 100%;
  547. width: 100%;
  548. flex: 1;
  549. overflow: hidden;
  550. display: flex;
  551. flex-direction: column;
  552. background-color: #fff;
  553. .checkItemModule-title-box {
  554. display: flex;
  555. height: 100rpx;
  556. background-color: #FFFFFF;
  557. border-bottom: 1rpx solid #dedede;
  558. .checkItemModule-title-p {
  559. width: 140rpx;
  560. height: 100rpx;
  561. >view:nth-child(1) {
  562. color: #333;
  563. text-align: center;
  564. font-size: 29rpx;
  565. line-height: 30rpx;
  566. margin: 35rpx 0 20rpx 0;
  567. }
  568. >view:nth-child(2) {
  569. width: 56rpx;
  570. height: 6rpx;
  571. border-radius: 14rpx;
  572. margin: 0 auto;
  573. }
  574. }
  575. .checkItemModule-title-check {
  576. >view:nth-child(1) {
  577. color: #0183FA;
  578. }
  579. >view:nth-child(2) {
  580. background: #0183FA;
  581. }
  582. }
  583. }
  584. .input-max-big-box {
  585. flex: 1;
  586. display: flex;
  587. flex-direction: column;
  588. overflow: hidden;
  589. .input-big-box {
  590. height: 104rpx;
  591. display: flex;
  592. background-color: #fff;
  593. border-bottom: 1rpx solid #E0E0E0;
  594. .input-box {
  595. width: 611rpx;
  596. height: 69rpx;
  597. border: 1px solid #E0E0E0;
  598. display: flex;
  599. border-radius: 35px 35px 35px 35px;
  600. margin: 17rpx 0 17rpx 21rpx;
  601. .left-icons {
  602. padding: 15rpx 18rpx 0 22rpx;
  603. }
  604. .right-icons {
  605. padding: 15rpx 15rpx 0 22rpx;
  606. }
  607. >input {
  608. flex: 1;
  609. height: 69rpx;
  610. line-height: 69rpx;
  611. }
  612. }
  613. .out-button {
  614. width: 100rpx;
  615. margin: 17rpx 0 17rpx 15rpx;
  616. text-align: center;
  617. line-height: 69rpx;
  618. color: #0183FA;
  619. font-size: 29rpx;
  620. }
  621. }
  622. .input-for-max-box {
  623. flex: 1;
  624. display: flex;
  625. flex-direction: column;
  626. overflow-y: scroll;
  627. background-color: #fff;
  628. .for-box {
  629. .for-box-n {
  630. margin: 0 21rpx;
  631. font-size: 32rpx;
  632. line-height: 40rpx;
  633. padding: 20rpx 0;
  634. background-color: #fff;
  635. border-bottom: 1rpx solid #E0E0E0;
  636. }
  637. .for-box-n-b {
  638. margin: 0 21rpx;
  639. font-size: 32rpx;
  640. line-height: 40rpx;
  641. padding: 20rpx 0;
  642. background-color: #fff;
  643. }
  644. }
  645. }
  646. }
  647. .check-max-big-box {
  648. flex: 1;
  649. display: flex;
  650. flex-direction: column;
  651. overflow: hidden;
  652. .check-big-box {
  653. height: 70rpx;
  654. display: flex;
  655. background-color: #fff;
  656. border-bottom: 1rpx solid #E0E0E0;
  657. >view {
  658. width: 200rpx;
  659. line-height: 70rpx;
  660. text-align: center;
  661. color: #333;
  662. font-size: 29rpx;
  663. }
  664. .checkView {
  665. color: #0183FA;
  666. }
  667. }
  668. .check-for-max-box {
  669. flex: 1;
  670. display: flex;
  671. flex-direction: column;
  672. overflow-y: scroll;
  673. background-color: #fff;
  674. >view {
  675. >view {
  676. font-size: 32rpx;
  677. line-height: 70rpx;
  678. margin: 0 21rpx;
  679. border-bottom: 1px solid #dedede;
  680. }
  681. }
  682. }
  683. }
  684. }
  685. </style>