inspectList.vue 22 KB

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