inspectList.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928
  1. <!-- 检查和自查列表 -->
  2. <template>
  3. <view class="snapshotList">
  4. <scroll-view scroll-y @scrolltolower="scrollGet" class="info-max-box">
  5. <view class="title" @click="planClick()">
  6. <view class="title-l">
  7. <view class="title-l-t">{{optionData.planTitle}}</view>
  8. <view class="title-l-b">
  9. <view v-if="optionData.checkCategory">
  10. {{optionData.checkCategory==1?'校院巡查':(optionData.checkCategory==2?'学院自查':'')}}
  11. </view>
  12. <view v-if="optionData.checkTypeName">{{optionData.checkTypeName}}</view>
  13. <view v-if="optionData.crossCheck==1">交叉互检</view>
  14. </view>
  15. </view>
  16. <img class="title-r" src="@/pages_safetyCheck/images/icon_wd_gd@1x.png">
  17. </view>
  18. <view class="tabTitleTow">
  19. <view :class="tabIndexTow==index?'tab-C':'tab-D'" v-for="(item,index) in tabListTow"
  20. @click="tabClickTow(index)">{{item}}</view>
  21. </view>
  22. <view>
  23. <view class="srearch">
  24. <picker @change="deptChange" :value="deptData.index" :range="deptData.list" :range-key="'deptName'">
  25. <view class="college">
  26. <view>{{deptData.name?deptData.name:'学院'}}</view>
  27. <img src="@/pages_safetyCheck/images/icon_06.png">
  28. </view>
  29. </picker>
  30. <view class="srearch-n">
  31. <view class="srearch-l">
  32. <img src="@/pages_safetyCheck/images/icon_aqjc_ss.png">
  33. </view>
  34. <input class="srearch-c" type="text" @confirm="carriageReturnRequest" v-model="searchValue"
  35. placeholder="实验室/房间号" />
  36. <view class="srearch-r" @click="saoCode()">
  37. <img src="@/pages_safetyCheck/images/icon_aqjc_sm.png">
  38. </view>
  39. </view>
  40. </view>
  41. <view class="level">
  42. <view class="level-li" :id="levelId==item.levelId?'levelColor-A':'levelColor-B'"
  43. @click="levelClick(item.levelId)" v-for="(item,index) in levelList">{{item.levelName}}</view>
  44. </view>
  45. </view>
  46. <view class="hidden">
  47. <view class="hidden-li" @click="listClick(item)" v-for="(item,index) in dataList">
  48. <img class="hidden-li-l" src="@/pages_safetyCheck/images/icon_sys_xz@1x.png">
  49. <view class="hidden-li-c">{{item.subName}}</view>
  50. <view class="hidden-li-r" :class="item.manageStatus == 2?'manageClass':''" v-if="tabIndexTow==0">
  51. {{item.manageStatus == 2?'已检查':'待检查'+item.unCheckCount+'项'}}
  52. <img v-if="item.manageStatus != 2" src="@/pages_safetyCheck/images/icon_ssp_gd@1x.png">
  53. <img v-if="item.manageStatus == 2" src="@/pages_safetyCheck/images/icon_wd_gd@1x.png">
  54. </view>
  55. <view class="hidden-li-r" :class="item.manageStatus == 2?'manageClass':''" v-if="tabIndexTow==1">
  56. {{item.overCheck?'已复查':'待复查'+item.stayExamineCheckNum+'项'}}
  57. <img src="@/pages_safetyCheck/images/icon_ssp_gd@1x.png">
  58. </view>
  59. <view class="hidden-li-r" :class="item.manageStatus == 2?'manageClass':''" v-if="tabIndexTow==2">
  60. {{item.overCheck?'已整改':'待整改'+item.stayExamineCheckNum+'项'}}
  61. <img src="@/pages_safetyCheck/images/icon_ssp_gd@1x.png">
  62. </view>
  63. </view>
  64. <view class="get-data-p" v-if="!getDataType">
  65. <img class="get-data-img" src="@/pages_safetyCheck/images/icon_aqjc_sl.png">
  66. <view class="get-data-text">上拉加载</view>
  67. </view>
  68. <view class="get-data-null-p" v-if="getDataType">- 没有更多数据 -</view>
  69. </view>
  70. </scroll-view>
  71. </view>
  72. </template>
  73. <script>
  74. import {
  75. config
  76. } from '@/api/request/config.js'
  77. import {
  78. systemDeptDropList,
  79. } from '@/pages/api/index.js'
  80. import {
  81. laboratorySubRelInfoGetRelList,
  82. laboratoryClassLevelGetList,
  83. securityAppCheckManageList,
  84. securityAppCheckDangerGetCheckDangerSubList,
  85. securityAppCheckDangerReviewSubList,
  86. } from '@/pages_safetyCheck/api/index.js'
  87. export default {
  88. name: "snapshotList",
  89. components: {
  90. },
  91. data() {
  92. return {
  93. baseUrl: config.base_url,
  94. pageType: 0,
  95. userType: 1,
  96. tabListTow: ['检查任务', '复查验证', '隐患整改'],
  97. tabIndexTow: 0,
  98. //学院选择
  99. deptData: {
  100. index: null,
  101. list: [],
  102. id: null,
  103. name: null
  104. },
  105. deptIndex: null,
  106. deptList: [],
  107. //弹层实验室数据
  108. popupType: false,
  109. roomList: [],
  110. //级别
  111. levelList: [],
  112. levelId: null,
  113. optionData:null,
  114. //实验室/房间号
  115. searchValue: '',
  116. subId: '',
  117. planSetId: null,
  118. // 查询参数
  119. queryParams: {
  120. page: 1,
  121. pageSize: 10,
  122. },
  123. dataList: [],
  124. total: 0,
  125. getDataType: false,
  126. }
  127. },
  128. onLoad(option) {
  129. let optionData = JSON.parse(decodeURIComponent(option.infoData))
  130. console.log(optionData)
  131. uni.setNavigationBarTitle({
  132. title: optionData.checkPlanSetVoList.checkName
  133. })
  134. this.$set(this, 'tabListTow',
  135. optionData.checkCategory == 1 ? ['检查任务', '复查验证', '隐患整改'] :
  136. (optionData.checkCategory == 2 ? ['自查任务', '复查验证', '隐患整改'] : [])
  137. )
  138. this.$set(this, 'optionData', optionData);
  139. this.$set(this, 'planSetId', optionData.checkPlanSetVoList.planSetId);
  140. },
  141. created() {
  142. this.systemDeptDropList();
  143. this.laboratoryClassLevelGetList();
  144. },
  145. mounted() {
  146. let self = this;
  147. setTimeout(() => {
  148. self.getList();
  149. }, 100);
  150. },
  151. methods: {
  152. //滚动事件
  153. scrollGet() {
  154. let self = this;
  155. if (self.total / self.queryParams.pageSize <= self.queryParams.page) {
  156. this.$set(this, 'getDataType', true);
  157. } else {
  158. this.queryParams.page += 1;
  159. this.$nextTick(() => {
  160. this.getList();
  161. })
  162. }
  163. },
  164. //级别切换
  165. levelClick(id) {
  166. if (this.levelId == id) {
  167. this.$set(this, 'levelId', null);
  168. } else {
  169. this.$set(this, 'levelId', id);
  170. }
  171. this.$set(this, 'getDataType', false);
  172. this.$set(this.queryParams, 'page', 1);
  173. this.getList();
  174. },
  175. //查询类型切换
  176. tabClickTow(index) {
  177. this.$set(this.queryParams, 'page', 1);
  178. this.$set(this, 'deptData', {
  179. index: null,
  180. list: this.deptData.list,
  181. id: null,
  182. name: null
  183. });
  184. this.$set(this, 'searchValue', null);
  185. this.$set(this, 'levelId', null);
  186. this.$set(this, 'getDataType', false);
  187. this.$set(this, 'dataList', []);
  188. this.$set(this, 'total', 0);
  189. this.$set(this, 'tabIndexTow', index);
  190. this.$nextTick(() => {
  191. this.getList();
  192. })
  193. },
  194. //计划详情
  195. planClick() {
  196. let infoData = {
  197. planId: this.optionData.planId
  198. };
  199. uni.navigateTo({
  200. url: '/pages_safetyCheck/views/planDetail?infoData=' + encodeURIComponent(JSON.stringify(
  201. infoData))
  202. });
  203. },
  204. //实验室列表数据选择
  205. listClick(row) {
  206. let infoData = row;
  207. infoData.pageType = this.tabIndexTow;
  208. infoData.planTitle = this.optionData.planTitle;
  209. infoData.checkCategory = this.optionData.checkCategory;
  210. infoData.checkTypeName = this.optionData.checkTypeName;
  211. infoData.crossCheck = this.optionData.crossCheck;
  212. infoData.checkPlanSetVoList = this.optionData.checkPlanSetVoList;
  213. uni.navigateTo({
  214. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItems?infoData=' + encodeURIComponent(
  215. JSON.stringify(infoData))
  216. });
  217. },
  218. //搜索房间接口
  219. async buildBySub() {
  220. let self = this;
  221. const {
  222. data
  223. } = await laboratorySubRelInfoGetRelList({
  224. 'searchValue': this.form.searchValue,
  225. });
  226. if (data.code == 200) {
  227. if (data.data[0]) {
  228. this.roomList = data.data;
  229. } else {
  230. uni.showToast({
  231. title: '未找到相关实验室',
  232. icon: "none",
  233. mask: true,
  234. duration: 2000
  235. });
  236. }
  237. }
  238. },
  239. /******调用摄像头******/
  240. saoCode() {
  241. let self = this;
  242. uni.scanCode({
  243. onlyFromCamera: true,
  244. success: function(res) {
  245. let list = res.result.split("?")[1].split("&");
  246. let codeData = {};
  247. list.forEach((item) => {
  248. codeData[item.split("=")[0]] = item.split("=")[1];
  249. })
  250. if (codeData.code) {
  251. self.saoList(codeData.subId);
  252. } else {
  253. uni.showToast({
  254. title: '请扫描正确的二维码',
  255. icon: "none",
  256. mask: true,
  257. duration: 2000
  258. });
  259. }
  260. }
  261. });
  262. },
  263. //扫一扫查询数据
  264. async saoList(subId) {
  265. let obj = {
  266. planSetId: this.planSetId,
  267. subId: subId,
  268. }
  269. if (this.tabIndexTow == 0) {
  270. //检查计划
  271. const {
  272. data
  273. } = await securityAppCheckManageList(obj);
  274. if (data.code == 200) {
  275. if (data.data.records[0]) {
  276. //跳转检查项列表页面
  277. let infoData = data.data.records[0];
  278. infoData.pageType = this.tabIndexTow;
  279. infoData.checkPlanSetVoList = this.optionData.checkPlanSetVoList;
  280. uni.navigateTo({
  281. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItems?infoData=' +
  282. encodeURIComponent(
  283. JSON.stringify(infoData))
  284. });
  285. } else {
  286. //未找到数据提示
  287. uni.showToast({
  288. title: '未找到该实验室与本计划批次关联的数据',
  289. icon: "none",
  290. mask: true,
  291. duration: 2000
  292. });
  293. }
  294. }
  295. } else if (this.tabIndexTow == 1) {
  296. //复查计划
  297. obj.planId = this.optionData.planId;
  298. const {
  299. data
  300. } = await securityAppCheckDangerReviewSubList(obj);
  301. if (data.code == 200) {
  302. if (data.data.records[0]) {
  303. //跳转检查项列表页面
  304. let infoData = data.data.records[0];
  305. infoData.pageType = this.tabIndexTow;
  306. infoData.checkPlanSetVoList = this.optionData.checkPlanSetVoList;
  307. uni.navigateTo({
  308. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItems?infoData=' +
  309. encodeURIComponent(
  310. JSON.stringify(infoData))
  311. });
  312. } else {
  313. //未找到数据提示
  314. uni.showToast({
  315. title: '未找到该实验室与本计划批次关联的数据',
  316. icon: "none",
  317. mask: true,
  318. duration: 2000
  319. });
  320. }
  321. }
  322. } else if (this.tabIndexTow == 2) {
  323. //整改计划
  324. obj.planId = this.optionData.planId;
  325. const {
  326. data
  327. } = await securityAppCheckDangerGetCheckDangerSubList(obj);
  328. if (data.code == 200) {
  329. if (data.data.records[0]) {
  330. //跳转检查项列表页面
  331. let infoData = data.data.records[0];
  332. infoData.pageType = this.tabIndexTow;
  333. infoData.checkPlanSetVoList = this.optionData.checkPlanSetVoList;
  334. uni.navigateTo({
  335. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItems?infoData=' +
  336. encodeURIComponent(
  337. JSON.stringify(infoData))
  338. });
  339. } else {
  340. //未找到数据提示
  341. uni.showToast({
  342. title: '未找到该实验室与本计划批次关联的数据',
  343. icon: "none",
  344. mask: true,
  345. duration: 2000
  346. });
  347. }
  348. }
  349. }
  350. },
  351. //学院选择
  352. deptChange(e) {
  353. let self = this;
  354. self.deptData.list.forEach(function(item, index) {
  355. if (index == e.detail.value) {
  356. if (!item.deptId) {
  357. self.$set(self.deptData, 'id', null)
  358. self.$set(self.deptData, 'name', null)
  359. } else {
  360. self.$set(self.deptData, 'id', item.deptId)
  361. self.$set(self.deptData, 'name', item.deptName)
  362. }
  363. }
  364. })
  365. this.$set(this, 'getDataType', false);
  366. this.$set(this.queryParams, 'page', 1);
  367. this.getList();
  368. },
  369. //获取院系
  370. async systemDeptDropList() {
  371. const {
  372. data
  373. } = await systemDeptDropList({
  374. deptName: '',
  375. level: 2,
  376. deptType: 1
  377. });
  378. if (data.code == 200) {
  379. data.data.unshift({
  380. deptid: null,
  381. deptName: '全部'
  382. })
  383. this.$set(this.deptData, 'list', data.data);
  384. }
  385. },
  386. //获取分级
  387. async laboratoryClassLevelGetList() {
  388. const {
  389. data
  390. } = await laboratoryClassLevelGetList({});
  391. if (data.code == 200) {
  392. this.$set(this, 'levelList', data.data);
  393. }
  394. },
  395. //回车触发
  396. carriageReturnRequest() {
  397. this.$set(this, 'getDataType', false);
  398. this.$set(this.queryParams, 'page', 1);
  399. this.getList();
  400. },
  401. //检查任务
  402. async getList() {
  403. let self = this;
  404. let obj = JSON.parse(JSON.stringify(this.queryParams));
  405. obj.planSetId = this.planSetId;
  406. obj.deptId = this.deptData.id ? this.deptData.id : '';
  407. obj.searchValue = this.searchValue ? this.searchValue : '';
  408. obj.levelId = this.levelId ? this.levelId : '';
  409. if (this.tabIndexTow == 0) {
  410. //检查计划
  411. const {
  412. data
  413. } = await securityAppCheckManageList(obj);
  414. if (data.code == 200) {
  415. if (self.queryParams.page == 1) {
  416. this.dataList = data.data.records;
  417. this.total = data.data.total;
  418. if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
  419. this.$set(this, 'getDataType', true);
  420. }
  421. } else {
  422. this.dataList = [...this.dataList, ...data.data.records]
  423. this.total = data.data.total;
  424. if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
  425. this.$set(this, 'getDataType', true);
  426. }
  427. }
  428. }
  429. } else if (this.tabIndexTow == 1) {
  430. //复查计划
  431. obj.planId = this.optionData.planId;
  432. const {
  433. data
  434. } = await securityAppCheckDangerReviewSubList(obj);
  435. if (data.code == 200) {
  436. this.dataList = data.data;
  437. this.$set(this, 'getDataType', true);
  438. // 后台接口暂时不支持分页
  439. // if (self.queryParams.page == 1) {
  440. // this.dataList = data.data.records;
  441. // this.total = data.data.total;
  442. // if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
  443. // this.$set(this, 'getDataType', true);
  444. // }
  445. // } else {
  446. // this.dataList = [...this.dataList, ...data.data.records]
  447. // this.total = data.data.total;
  448. // if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
  449. // this.$set(this, 'getDataType', true);
  450. // }
  451. // }
  452. }
  453. } else if (this.tabIndexTow == 2) {
  454. //整改计划
  455. obj.planId = this.optionData.planId;
  456. const {
  457. data
  458. } = await securityAppCheckDangerGetCheckDangerSubList(obj);
  459. if (data.code == 200) {
  460. this.dataList = data.data;
  461. this.$set(this, 'getDataType', true);
  462. // 后台接口暂时不支持分页
  463. // if (self.queryParams.page == 1) {
  464. // this.dataList = data.data.records;
  465. // this.total = data.data.total;
  466. // if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
  467. // this.$set(this, 'getDataType', true);
  468. // }
  469. // } else {
  470. // this.dataList = [...this.dataList, ...data.data.records]
  471. // this.total = data.data.total;
  472. // if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
  473. // this.$set(this, 'getDataType', true);
  474. // }
  475. // }
  476. }
  477. }
  478. },
  479. }
  480. }
  481. </script>
  482. <style lang="stylus" scoped>
  483. .snapshotList {
  484. height: 100%;
  485. display flex;
  486. overflow: hidden;
  487. .info-max-box {
  488. padding-top: 20rpx;
  489. }
  490. .title {
  491. width: 690rpx;
  492. margin: 0 30rpx 20rpx;
  493. height: 150rpx;
  494. background: #FFFFFF;
  495. border-radius: 20rpx 20rpx 20rpx 20rpx;
  496. display: flex;
  497. justify-content: space-between;
  498. align-items: center;
  499. padding: 0 30rpx;
  500. box-sizing: border-box;
  501. .title-l {
  502. width: 594rpx;
  503. .title-l-t {
  504. font-size: 30rpx;
  505. color: #333333;
  506. line-height: 42rpx;
  507. text-align: left;
  508. overflow: hidden;
  509. text-overflow: ellipsis;
  510. white-space: nowrap;
  511. }
  512. .title-l-b {
  513. display: flex;
  514. justify-content: flex-start;
  515. margin-top: 16rpx;
  516. >view {
  517. width: 130rpx;
  518. height: 50rpx;
  519. background: rgba(1, 131, 250, 0.2);
  520. border-radius: 6rpx 6rpx 6rpx 6rpx;
  521. font-size: 24rpx;
  522. color: #0183FA;
  523. line-height: 50rpx;
  524. text-align: center;
  525. margin-right: 14rpx;
  526. }
  527. }
  528. }
  529. .title-r {
  530. width: 24rpx;
  531. height: 24rpx;
  532. }
  533. }
  534. .tabTitleTow {
  535. width: 690rpx;
  536. height: 80rpx;
  537. display: flex;
  538. justify-content: center;
  539. margin: 20rpx 0 0 30rpx;
  540. >view:nth-of-type(1) {
  541. width: 230rpx;
  542. height: 80rpx;
  543. border-radius: 50rpx 0rpx 0rpx 50rpx;
  544. }
  545. >view:nth-of-type(2) {
  546. width: 230rpx;
  547. height: 80rpx;
  548. border-radius: 0rpx 0rpx 0rpx 0rpx;
  549. }
  550. >view:nth-of-type(3) {
  551. width: 230rpx;
  552. height: 80rpx;
  553. border-radius: 0rpx 50rpx 50rpx 0rpx;
  554. }
  555. .tab-C {
  556. font-size: 30rpx;
  557. color: #FFFFFF;
  558. line-height: 80rpx;
  559. text-align: center;
  560. background: #0183FA;
  561. }
  562. .tab-D {
  563. font-size: 30rpx;
  564. color: #333333;
  565. line-height: 80rpx;
  566. text-align: center;
  567. background: #FFFFFF;
  568. }
  569. }
  570. .srearch {
  571. width: 750rpx;
  572. height: 100rpx;
  573. background: #FFFFFF;
  574. border-radius: 0rpx 0rpx 0rpx 0rpx;
  575. overflow: hidden;
  576. margin-top: 20rpx;
  577. display: flex;
  578. display: flex;
  579. justify-content: space-between;
  580. align-items: center;
  581. padding: 0 30rpx;
  582. box-sizing: border-box;
  583. .college {
  584. width: 200rpx;
  585. height: 60rpx;
  586. border-radius: 50rpx 50rpx 50rpx 50rpx;
  587. border: 1rpx solid #E0E0E0;
  588. font-size: 24rpx;
  589. color: #333333;
  590. line-height: 60rpx;
  591. text-align: left;
  592. display: flex;
  593. justify-content: space-between;
  594. align-items: center;
  595. padding: 0 26rpx;
  596. box-sizing: border-box;
  597. overflow: hidden;
  598. text-overflow: ellipsis;
  599. white-space: nowrap;
  600. >view {
  601. width: 124rpx;
  602. display: block;
  603. overflow: hidden;
  604. text-overflow: ellipsis;
  605. white-space: nowrap;
  606. }
  607. >img {
  608. display: block;
  609. width: 24rpx;
  610. height: 12rpx;
  611. }
  612. }
  613. .srearch-n {
  614. width: 480rpx;
  615. height: 60rpx;
  616. border-radius: 50rpx 50rpx 50rpx 50rpx;
  617. border: 1rpx solid #E0E0E0;
  618. display: flex;
  619. justify-content: flex-start;
  620. align-items: center;
  621. .srearch-l {
  622. width: 60rpx;
  623. height: 60rpx;
  624. >img {
  625. width: 20rpx;
  626. height: 20rpx;
  627. margin: 20rpx 0 0 26rpx;
  628. }
  629. }
  630. .srearch-c {
  631. flex: 1;
  632. height: 58rpx;
  633. font-size: 24rpx;
  634. color: #999999;
  635. line-height: 30rpx;
  636. text-align: left;
  637. }
  638. .srearch-r {
  639. width: 90rpx;
  640. height: 60rpx;
  641. >img {
  642. width: 30rpx;
  643. height: 30rpx;
  644. margin: 14rpx 22rpx 0 30rpx;
  645. }
  646. }
  647. }
  648. }
  649. .level {
  650. width: 750rpx;
  651. height: 80rpx;
  652. background: #FFFFFF;
  653. display: flex;
  654. justify-content: flex-start;
  655. padding: 0 30rpx;
  656. box-sizing: border-box;
  657. .level-li {
  658. width: 100rpx;
  659. height: 50rpx;
  660. background: #F5F5F5;
  661. border-radius: 50rpx 50rpx 50rpx 50rpx;
  662. border: 1rpx solid #E0E0E0;
  663. margin-right: 10rpx;
  664. font-size: 24rpx;
  665. color: #333333;
  666. line-height: 50rpx;
  667. text-align: center;
  668. }
  669. #levelColor-A {
  670. background: rgba(255, 0, 0, 0.2);
  671. color: #FF0000;
  672. border: 1rpx solid #FF0000;
  673. }
  674. #levelColor-B {
  675. background: #F5F5F5;
  676. color: #333333;
  677. border: 1rpx solid #E0E0E0;
  678. }
  679. }
  680. .list {
  681. width: 690rpx;
  682. min-height: 765rpx;
  683. background: #FFFFFF;
  684. border-radius: 20rpx 20rpx 20rpx 20rpx;
  685. margin: 20rpx 0 0 30rpx;
  686. .list-li {
  687. display: flex;
  688. justify-content: space-between;
  689. border-bottom: 1rpx solid #E0E0E0;
  690. padding: 0 22rpx 0 28rpx;
  691. box-sizing: border-box;
  692. >view:nth-of-type(1) {
  693. font-size: 30rpx;
  694. color: #333333;
  695. line-height: 80rpx;
  696. text-align: left;
  697. }
  698. >view:nth-of-type(2) {
  699. font-size: 28rpx;
  700. color: #666666;
  701. line-height: 80rpx;
  702. text-align: left;
  703. display: flex;
  704. justify-content: flex-start;
  705. align-items: center;
  706. >img {
  707. width: 24rpx;
  708. height: 24rpx;
  709. margin-left: 8rpx;
  710. }
  711. }
  712. .project_r {
  713. width: 510rpx;
  714. min-height: 80rpx;
  715. display: flex;
  716. justify-content: flex-end;
  717. align-items: center;
  718. padding-left: 20rpx;
  719. box-sizing: border-box;
  720. color: #666;
  721. }
  722. }
  723. .describe {
  724. width: 636rpx;
  725. height: 120rpx;
  726. border-radius: 10rpx 10rpx 10rpx 10rpx;
  727. border: 1rpx solid #E0E0E0;
  728. margin: 20rpx 0 0 28rpx;
  729. padding: 12rpx 16rpx;
  730. box-sizing: border-box;
  731. }
  732. .check-for-img-max-box {
  733. margin: 20px 28rpx;
  734. .left-title-p {
  735. width: 100%;
  736. text-align: left;
  737. font-size: 30rpx;
  738. font-family: PingFang SC-Medium, PingFang SC;
  739. font-weight: 400;
  740. color: #333333;
  741. line-height: 80rpx;
  742. }
  743. .right-img-box {
  744. .img-box {
  745. display inline-block;
  746. height: 150rpx;
  747. width: 150rpx;
  748. position relative;
  749. margin: 0 14rpx 20rpx 0;
  750. border-radius 10rpx;
  751. overflow hidden;
  752. .img-data {
  753. height: 150rpx;
  754. width: 150rpx;
  755. }
  756. .position-img {
  757. position absolute;
  758. right: 0;
  759. top: 0;
  760. width: 36rpx;
  761. height: 36rpx;
  762. }
  763. }
  764. .img-box:nth-of-type(3n+3) {
  765. margin-right: 0rpx;
  766. }
  767. .add-button {
  768. margin: 0 0rpx 20rpx 0;
  769. border-radius 10rpx;
  770. overflow hidden;
  771. display inline-block;
  772. height: 150rpx;
  773. width: 150rpx;
  774. }
  775. }
  776. }
  777. }
  778. /* 隐患整改 */
  779. .hidden {
  780. box-sizing: border-box;
  781. margin: 20rpx 0;
  782. .hidden-li:nth-child(1) {
  783. border-top: none;
  784. }
  785. .hidden-li {
  786. padding: 0 30rpx;
  787. height: 80rpx;
  788. background: #FFFFFF;
  789. border-top: 1rpx solid #E0E0E0;
  790. display: flex;
  791. justify-content: flex-start;
  792. align-items: center;
  793. .hidden-li-l {
  794. width: 34rpx;
  795. height: 34rpx;
  796. }
  797. .hidden-li-c {
  798. font-size: 28rpx;
  799. color: #333333;
  800. line-height: 30rpx;
  801. text-align: left;
  802. flex: 1;
  803. overflow: hidden;
  804. text-overflow: ellipsis;
  805. white-space: nowrap;
  806. margin: 0 84rpx 0 12rpx;
  807. }
  808. .hidden-li-r {
  809. font-size: 28rpx;
  810. color: #0183FA;
  811. line-height: 80rpx;
  812. text-align: left;
  813. display: flex;
  814. justify-content: flex-start;
  815. align-items: center;
  816. >img {
  817. width: 24rpx;
  818. height: 24rpx;
  819. }
  820. }
  821. .manageClass {
  822. color: #009c1f !important;
  823. }
  824. }
  825. .hidden-li:last-of-type {
  826. border: none;
  827. }
  828. .get-data-p {
  829. height: 100rpx;
  830. text-align: center;
  831. .get-data-img {
  832. width: 30rpx;
  833. height: 30rpx;
  834. margin: 0 auto;
  835. margin-top: 15rpx;
  836. }
  837. .get-data-text {
  838. text-align: center;
  839. }
  840. }
  841. .get-data-null-p {
  842. height: 100rpx;
  843. line-height: 100rpx;
  844. text-align: center;
  845. }
  846. }
  847. #color-A {
  848. color: #0183FA;
  849. }
  850. #color-B {
  851. color: #FF8C00;
  852. }
  853. #color-C {
  854. color: #16B531;
  855. }
  856. }
  857. </style>