inspectList.vue 22 KB

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