inspectList.vue 21 KB

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