inspectList.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904
  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. 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 { data } = await securityAppCheckManageList(obj);
  272. if (data.code == 200) {
  273. if(data.data.records[0]){
  274. //跳转检查项列表页面
  275. let infoData = data.data.records[0];
  276. infoData.pageType = this.tabIndexTow;
  277. infoData.checkPlanSetVoList = this.optionData.checkPlanSetVoList;
  278. uni.navigateTo({
  279. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItems?infoData=' + encodeURIComponent(
  280. JSON.stringify(infoData))
  281. });
  282. }else{
  283. //未找到数据提示
  284. uni.showToast({
  285. title: '未找到该实验室与本计划批次关联的数据',
  286. icon: "none",
  287. mask: true,
  288. duration: 2000
  289. });
  290. }
  291. }
  292. }else if(this.tabIndexTow == 1){
  293. //复查计划
  294. obj.planId = this.optionData.planId;
  295. const { data } = await securityAppCheckDangerReviewSubList(obj);
  296. if (data.code == 200) {
  297. if(data.data.records[0]){
  298. //跳转检查项列表页面
  299. let infoData = data.data.records[0];
  300. infoData.pageType = this.tabIndexTow;
  301. infoData.checkPlanSetVoList = this.optionData.checkPlanSetVoList;
  302. uni.navigateTo({
  303. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItems?infoData=' + encodeURIComponent(
  304. JSON.stringify(infoData))
  305. });
  306. }else{
  307. //未找到数据提示
  308. uni.showToast({
  309. title: '未找到该实验室与本计划批次关联的数据',
  310. icon: "none",
  311. mask: true,
  312. duration: 2000
  313. });
  314. }
  315. }
  316. } else if(this.tabIndexTow == 2){
  317. //整改计划
  318. obj.planId = this.optionData.planId;
  319. const { data } = await securityAppCheckDangerGetCheckDangerSubList(obj);
  320. if (data.code == 200) {
  321. if(data.data.records[0]){
  322. //跳转检查项列表页面
  323. let infoData = data.data.records[0];
  324. infoData.pageType = this.tabIndexTow;
  325. infoData.checkPlanSetVoList = this.optionData.checkPlanSetVoList;
  326. uni.navigateTo({
  327. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItems?infoData=' + encodeURIComponent(
  328. JSON.stringify(infoData))
  329. });
  330. }else{
  331. //未找到数据提示
  332. uni.showToast({
  333. title: '未找到该实验室与本计划批次关联的数据',
  334. icon: "none",
  335. mask: true,
  336. duration: 2000
  337. });
  338. }
  339. }
  340. }
  341. },
  342. //学院选择
  343. deptChange(e) {
  344. let self = this;
  345. self.deptData.list.forEach(function(item, index) {
  346. if (index == e.detail.value) {
  347. if(!item.deptId){
  348. self.$set(self.deptData, 'id', null)
  349. self.$set(self.deptData, 'name', null)
  350. }else{
  351. self.$set(self.deptData, 'id', item.deptId)
  352. self.$set(self.deptData, 'name', item.deptName)
  353. }
  354. }
  355. })
  356. this.$set(this, 'getDataType', false);
  357. this.$set(this.queryParams,'page',1);
  358. this.getList();
  359. },
  360. //获取院系
  361. async systemDeptDropList() {
  362. const {
  363. data
  364. } = await systemDeptDropList({
  365. deptName: '',
  366. level: 2,
  367. deptType: 1
  368. });
  369. if (data.code == 200) {
  370. data.data.unshift({
  371. deptid:null,
  372. deptName:'全部'
  373. })
  374. this.$set(this.deptData,'list',data.data);
  375. }
  376. },
  377. //获取分级
  378. async laboratoryClassLevelGetList() {
  379. const {
  380. data
  381. } = await laboratoryClassLevelGetList({});
  382. if (data.code == 200) {
  383. this.$set(this,'levelList',data.data);
  384. }
  385. },
  386. //回车触发
  387. carriageReturnRequest() {
  388. this.$set(this, 'getDataType', false);
  389. this.$set(this.queryParams,'page',1);
  390. this.getList();
  391. },
  392. //检查任务
  393. async getList() {
  394. let self = this;
  395. let obj = JSON.parse(JSON.stringify(this.queryParams));
  396. obj.planSetId = this.planSetId;
  397. obj.deptId = this.deptData.id?this.deptData.id:'';
  398. obj.searchValue = this.searchValue?this.searchValue:'';
  399. obj.levelId = this.levelId?this.levelId:'';
  400. if(this.tabIndexTow == 0){
  401. //检查计划
  402. const { data } = await securityAppCheckManageList(obj);
  403. if (data.code == 200) {
  404. if (self.queryParams.page == 1) {
  405. this.dataList = data.data.records;
  406. this.total = data.data.total;
  407. if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
  408. this.$set(this, 'getDataType', true);
  409. }
  410. } else {
  411. this.dataList = [...this.dataList, ...data.data.records]
  412. this.total = data.data.total;
  413. if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
  414. this.$set(this, 'getDataType', true);
  415. }
  416. }
  417. }
  418. }else if(this.tabIndexTow == 1){
  419. //复查计划
  420. obj.planId = this.optionData.planId;
  421. const { data } = await securityAppCheckDangerReviewSubList(obj);
  422. if (data.code == 200) {
  423. this.dataList = data.data;
  424. this.$set(this, 'getDataType', true);
  425. // 后台接口暂时不支持分页
  426. // if (self.queryParams.page == 1) {
  427. // this.dataList = data.data.records;
  428. // this.total = data.data.total;
  429. // if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
  430. // this.$set(this, 'getDataType', true);
  431. // }
  432. // } else {
  433. // this.dataList = [...this.dataList, ...data.data.records]
  434. // this.total = data.data.total;
  435. // if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
  436. // this.$set(this, 'getDataType', true);
  437. // }
  438. // }
  439. }
  440. }else if(this.tabIndexTow == 2){
  441. //整改计划
  442. obj.planId = this.optionData.planId;
  443. const { data } = await securityAppCheckDangerGetCheckDangerSubList(obj);
  444. if (data.code == 200) {
  445. this.dataList = data.data;
  446. this.$set(this, 'getDataType', true);
  447. // 后台接口暂时不支持分页
  448. // if (self.queryParams.page == 1) {
  449. // this.dataList = data.data.records;
  450. // this.total = data.data.total;
  451. // if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
  452. // this.$set(this, 'getDataType', true);
  453. // }
  454. // } else {
  455. // this.dataList = [...this.dataList, ...data.data.records]
  456. // this.total = data.data.total;
  457. // if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
  458. // this.$set(this, 'getDataType', true);
  459. // }
  460. // }
  461. }
  462. }
  463. },
  464. }
  465. }
  466. </script>
  467. <style lang="stylus" scoped>
  468. .snapshotList {
  469. height: 100%;
  470. display flex;
  471. overflow: hidden;
  472. .info-max-box{
  473. padding-top:20rpx;
  474. }
  475. .title {
  476. width: 690rpx;
  477. margin:0 30rpx 20rpx;
  478. height: 150rpx;
  479. background: #FFFFFF;
  480. border-radius: 20rpx 20rpx 20rpx 20rpx;
  481. display: flex;
  482. justify-content: space-between;
  483. align-items: center;
  484. padding: 0 30rpx;
  485. box-sizing: border-box;
  486. .title-l {
  487. width: 594rpx;
  488. .title-l-t {
  489. font-size: 30rpx;
  490. color: #333333;
  491. line-height: 42rpx;
  492. text-align: left;
  493. overflow: hidden;
  494. text-overflow: ellipsis;
  495. white-space: nowrap;
  496. }
  497. .title-l-b {
  498. display: flex;
  499. justify-content: flex-start;
  500. margin-top: 16rpx;
  501. >view {
  502. width: 130rpx;
  503. height: 50rpx;
  504. background: rgba(1, 131, 250, 0.2);
  505. border-radius: 6rpx 6rpx 6rpx 6rpx;
  506. font-size: 24rpx;
  507. color: #0183FA;
  508. line-height: 50rpx;
  509. text-align: center;
  510. margin-right: 14rpx;
  511. }
  512. }
  513. }
  514. .title-r {
  515. width: 24rpx;
  516. height: 24rpx;
  517. }
  518. }
  519. .tabTitleTow {
  520. width: 690rpx;
  521. height: 80rpx;
  522. display: flex;
  523. justify-content: center;
  524. margin: 20rpx 0 0 30rpx;
  525. >view:nth-of-type(1) {
  526. width: 230rpx;
  527. height: 80rpx;
  528. border-radius: 50rpx 0rpx 0rpx 50rpx;
  529. }
  530. >view:nth-of-type(2) {
  531. width: 230rpx;
  532. height: 80rpx;
  533. border-radius: 0rpx 0rpx 0rpx 0rpx;
  534. }
  535. >view:nth-of-type(3) {
  536. width: 230rpx;
  537. height: 80rpx;
  538. border-radius: 0rpx 50rpx 50rpx 0rpx;
  539. }
  540. .tab-C {
  541. font-size: 30rpx;
  542. color: #FFFFFF;
  543. line-height: 80rpx;
  544. text-align: center;
  545. background: #0183FA;
  546. }
  547. .tab-D {
  548. font-size: 30rpx;
  549. color: #333333;
  550. line-height: 80rpx;
  551. text-align: center;
  552. background: #FFFFFF;
  553. }
  554. }
  555. .srearch {
  556. width: 750rpx;
  557. height: 100rpx;
  558. background: #FFFFFF;
  559. border-radius: 0rpx 0rpx 0rpx 0rpx;
  560. overflow: hidden;
  561. margin-top: 20rpx;
  562. display: flex;
  563. display: flex;
  564. justify-content: space-between;
  565. align-items: center;
  566. padding: 0 30rpx;
  567. box-sizing: border-box;
  568. .college {
  569. width: 200rpx;
  570. height: 60rpx;
  571. border-radius: 50rpx 50rpx 50rpx 50rpx;
  572. border: 1rpx solid #E0E0E0;
  573. font-size: 24rpx;
  574. color: #333333;
  575. line-height: 60rpx;
  576. text-align: left;
  577. display: flex;
  578. justify-content: space-between;
  579. align-items: center;
  580. padding: 0 26rpx;
  581. box-sizing: border-box;
  582. overflow: hidden;
  583. text-overflow: ellipsis;
  584. white-space: nowrap;
  585. >view{
  586. width:124rpx;
  587. display:block;
  588. overflow:hidden;
  589. text-overflow:ellipsis;
  590. white-space:nowrap;
  591. }
  592. >img {
  593. display: block;
  594. width: 24rpx;
  595. height: 12rpx;
  596. }
  597. }
  598. .srearch-n {
  599. width: 480rpx;
  600. height: 60rpx;
  601. border-radius: 50rpx 50rpx 50rpx 50rpx;
  602. border: 1rpx solid #E0E0E0;
  603. display: flex;
  604. justify-content: flex-start;
  605. align-items: center;
  606. .srearch-l {
  607. width: 60rpx;
  608. height: 60rpx;
  609. >img {
  610. width: 20rpx;
  611. height: 20rpx;
  612. margin: 20rpx 0 0 26rpx;
  613. }
  614. }
  615. .srearch-c {
  616. flex: 1;
  617. height: 58rpx;
  618. font-size: 24rpx;
  619. color: #999999;
  620. line-height: 30rpx;
  621. text-align: left;
  622. }
  623. .srearch-r {
  624. width: 90rpx;
  625. height: 60rpx;
  626. >img {
  627. width: 30rpx;
  628. height: 30rpx;
  629. margin: 14rpx 22rpx 0 30rpx;
  630. }
  631. }
  632. }
  633. }
  634. .level {
  635. width: 750rpx;
  636. height: 80rpx;
  637. background: #FFFFFF;
  638. display: flex;
  639. justify-content: flex-start;
  640. padding: 0 30rpx;
  641. box-sizing: border-box;
  642. .level-li {
  643. width: 100rpx;
  644. height: 50rpx;
  645. background: #F5F5F5;
  646. border-radius: 50rpx 50rpx 50rpx 50rpx;
  647. border: 1rpx solid #E0E0E0;
  648. margin-right: 10rpx;
  649. font-size: 24rpx;
  650. color: #333333;
  651. line-height: 50rpx;
  652. text-align: center;
  653. }
  654. #levelColor-A {
  655. background: rgba(255, 0, 0, 0.2);
  656. color: #FF0000;
  657. border: 1rpx solid #FF0000;
  658. }
  659. #levelColor-B {
  660. background: #F5F5F5;
  661. color: #333333;
  662. border: 1rpx solid #E0E0E0;
  663. }
  664. }
  665. .list {
  666. width: 690rpx;
  667. min-height: 765rpx;
  668. background: #FFFFFF;
  669. border-radius: 20rpx 20rpx 20rpx 20rpx;
  670. margin: 20rpx 0 0 30rpx;
  671. .list-li {
  672. display: flex;
  673. justify-content: space-between;
  674. border-bottom: 1rpx solid #E0E0E0;
  675. padding: 0 22rpx 0 28rpx;
  676. box-sizing: border-box;
  677. >view:nth-of-type(1) {
  678. font-size: 30rpx;
  679. color: #333333;
  680. line-height: 80rpx;
  681. text-align: left;
  682. }
  683. >view:nth-of-type(2) {
  684. font-size: 28rpx;
  685. color: #666666;
  686. line-height: 80rpx;
  687. text-align: left;
  688. display: flex;
  689. justify-content: flex-start;
  690. align-items: center;
  691. >img {
  692. width: 24rpx;
  693. height: 24rpx;
  694. margin-left: 8rpx;
  695. }
  696. }
  697. .project_r {
  698. width: 510rpx;
  699. min-height: 80rpx;
  700. display: flex;
  701. justify-content: flex-end;
  702. align-items: center;
  703. padding-left: 20rpx;
  704. box-sizing: border-box;
  705. color: #666;
  706. }
  707. }
  708. .describe {
  709. width: 636rpx;
  710. height: 120rpx;
  711. border-radius: 10rpx 10rpx 10rpx 10rpx;
  712. border: 1rpx solid #E0E0E0;
  713. margin: 20rpx 0 0 28rpx;
  714. padding: 12rpx 16rpx;
  715. box-sizing: border-box;
  716. }
  717. .check-for-img-max-box {
  718. margin: 20px 28rpx;
  719. .left-title-p {
  720. width: 100%;
  721. text-align: left;
  722. font-size: 30rpx;
  723. font-family: PingFang SC-Medium, PingFang SC;
  724. font-weight: 400;
  725. color: #333333;
  726. line-height: 80rpx;
  727. }
  728. .right-img-box {
  729. .img-box {
  730. display inline-block;
  731. height: 150rpx;
  732. width: 150rpx;
  733. position relative;
  734. margin: 0 14rpx 20rpx 0;
  735. border-radius 10rpx;
  736. overflow hidden;
  737. .img-data {
  738. height: 150rpx;
  739. width: 150rpx;
  740. }
  741. .position-img {
  742. position absolute;
  743. right: 0;
  744. top: 0;
  745. width: 36rpx;
  746. height: 36rpx;
  747. }
  748. }
  749. .img-box:nth-of-type(3n+3) {
  750. margin-right: 0rpx;
  751. }
  752. .add-button {
  753. margin: 0 0rpx 20rpx 0;
  754. border-radius 10rpx;
  755. overflow hidden;
  756. display inline-block;
  757. height: 150rpx;
  758. width: 150rpx;
  759. }
  760. }
  761. }
  762. }
  763. /* 隐患整改 */
  764. .hidden {
  765. box-sizing: border-box;
  766. margin: 20rpx 0;
  767. .hidden-li:nth-child(1){
  768. border-top:none;
  769. }
  770. .hidden-li {
  771. padding: 0 30rpx;
  772. height: 80rpx;
  773. background: #FFFFFF;
  774. border-top: 1rpx solid #E0E0E0;
  775. display: flex;
  776. justify-content: flex-start;
  777. align-items: center;
  778. .hidden-li-l {
  779. width: 34rpx;
  780. height: 34rpx;
  781. }
  782. .hidden-li-c {
  783. font-size: 28rpx;
  784. color: #333333;
  785. line-height: 30rpx;
  786. text-align: left;
  787. flex: 1;
  788. overflow: hidden;
  789. text-overflow: ellipsis;
  790. white-space: nowrap;
  791. margin: 0 84rpx 0 12rpx;
  792. }
  793. .hidden-li-r {
  794. font-size: 28rpx;
  795. color: #0183FA;
  796. line-height: 80rpx;
  797. text-align: left;
  798. display: flex;
  799. justify-content: flex-start;
  800. align-items: center;
  801. >img {
  802. width: 24rpx;
  803. height: 24rpx;
  804. }
  805. }
  806. .manageClass{
  807. color: #009c1f !important;;
  808. }
  809. }
  810. .hidden-li:last-of-type {
  811. border: none;
  812. }
  813. .get-data-p {
  814. height: 100rpx;
  815. text-align: center;
  816. .get-data-img {
  817. width: 30rpx;
  818. height: 30rpx;
  819. margin: 0 auto;
  820. margin-top: 15rpx;
  821. }
  822. .get-data-text {
  823. text-align: center;
  824. }
  825. }
  826. .get-data-null-p {
  827. height: 100rpx;
  828. line-height: 100rpx;
  829. text-align: center;
  830. }
  831. }
  832. #color-A {
  833. color: #0183FA;
  834. }
  835. #color-B {
  836. color: #FF8C00;
  837. }
  838. #color-C {
  839. color: #16B531;
  840. }
  841. }
  842. </style>