inspectList.vue 25 KB

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