inspectList.vue 22 KB

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