inspectList.vue 22 KB

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