snapshotList.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882
  1. <!-- 随手拍列表 -->
  2. <template>
  3. <view class="snapshotList">
  4. <scroll-view scroll-y @scrolltolower="scrollGet" class="info-max-box">
  5. <view class="tabTitle" v-if="userType==0">
  6. <view :class="tabIndex==index?'tab-A':'tab-B'" v-for="(item,index) in tabList" @click="tabClick(index)">
  7. {{item}}
  8. </view>
  9. </view>
  10. <view class="tabTitleTow" v-if="userType==1">
  11. <view :class="tabIndexTow==index?'tab-C':'tab-D'" v-for="(item,index) in tabListTow"
  12. @click="tabClickTow(index)">{{item}}</view>
  13. </view>
  14. <view v-if="pageType==0">
  15. <view class="list">
  16. <view class="list-li srearch">
  17. <view>{{form.subName?form.subName:'实验室名称'}}({{form.subRoom?form.subRoom:'房间号'}})</view>
  18. <view>
  19. <view class="srearch-l" @click="popupClick(1)">
  20. <img src="@/pages_safetyCheck/images/icon_aqjc_ss.png">
  21. </view>
  22. <view class="srearch-r" @click="saoCode()">
  23. <img src="@/pages_safetyCheck/images/icon_aqjc_sm.png">
  24. </view>
  25. </view>
  26. </view>
  27. <view class="list-li">
  28. <view>学院单位名称</view>
  29. <view>{{form.deptName}}</view>
  30. </view>
  31. <view class="list-li">
  32. <view>检查项目</view>
  33. <view @click="inspectionItemsClick()">
  34. {{form.hazardCheckCode?form.hazardCheckCode:''}}{{form.hazardCheckName?form.hazardCheckName:'模糊搜索检查项'}}
  35. <img src="@/pages_safetyCheck/images/icon_wd_gd@1x.png">
  36. </view>
  37. </view>
  38. <view class="list-li">
  39. <view>隐患描述</view>
  40. <view></view>
  41. </view>
  42. <textarea class="describe" type="text" v-model="form.hazardDescribe" maxlength="200"
  43. placeholder="请填写隐患描述" placeholder-style="font-size:24rpx;color:#999;"></textarea>
  44. <view class="check-for-img-max-box">
  45. <view class="left-title-p"></view>
  46. <view class="right-img-box">
  47. <view class="img-box" v-for="(imgUrl,imgIndex) in form.imgDtoList" :key="imgIndex">
  48. <img class="img-data" :src="baseUrl+imgUrl.fileUrl">
  49. <img class="position-img" src="@/pages_safetyCheck/images/icon_ssp_closure.png"
  50. @click="delImg(imgIndex)">
  51. </view>
  52. <img class="add-button" src="@/pages_safetyCheck/images/img_ssp_pz@1x.png"
  53. @click="selectImage()" v-if="form.imgDtoList.length<5">
  54. </view>
  55. </view>
  56. </view>
  57. <view class="subBtn" @click="submitForm">提交</view>
  58. </view>
  59. <!-- 上报记录 -->
  60. <view class="escalation" v-if="pageType==1">
  61. <view class="escalation-li" @click="recordClick(item)" v-for="(item,index) in dataList">
  62. <view class="escalation-li-t">
  63. <view>{{item.subName}} ({{item.subRoom}})</view>
  64. <view :id="item.rectifyStatus==0?'color-A':(item.rectifyStatus==1?'color-B':(item.rectifyStatus==2?'color-C':''))">
  65. {{item.rectifyStatus==0?'待整改':(item.rectifyStatus==1?'已完成':(item.rectifyStatus==1?'暂无法整改':''))}}
  66. <img src="@/pages_safetyCheck/images/icon_wd_gd@1x.png">
  67. </view>
  68. </view>
  69. <view class="escalation-li-b">
  70. <view>上报时间</view>
  71. <view>{{item.createTime}}</view>
  72. </view>
  73. </view>
  74. </view>
  75. <!-- 隐患整改 -->
  76. <view class="hidden" v-if="pageType==2">
  77. <view class="hidden-li" v-for="(item,index) in dataList">
  78. <img class="hidden-li-l" src="@/pages_safetyCheck/images/icon_sys_xz@1x.png">
  79. <view class="hidden-li-c">{{item.subName}}</view>
  80. <view class="hidden-li-r">待整改{{item.stayhRectifyCheckNum}}项
  81. <img src="@/pages_safetyCheck/images/icon_wd_gd@1x.png">
  82. </view>
  83. </view>
  84. </view>
  85. <view class="get-data-null-p" v-if="getDataType">- 没有更多数据 -</view>
  86. </scroll-view>
  87. <view class="popup-max-box" v-if="popupType">
  88. <view class="popup-null" @click="popupClick(2)"></view>
  89. <view class="popup-big-box">
  90. <view class="popup-input-box">
  91. <input type="text" maxlength="10" v-model="form.searchValue" placeholder="请输入关键字">
  92. <view @click="buildBySub">搜索</view>
  93. </view>
  94. <view class="popup-for-max-box">
  95. <view class="popup-for-null" v-if="!roomList[0]">暂无数据</view>
  96. <view class="popup-for-box" v-for="(item,index) in roomList" :key="index">
  97. <view class="name-p">{{item.subName}} ({{item.roomNum?item.roomNum:'-'}})</view>
  98. <view class="button-p" @click="popupClickItem(item)">确定</view>
  99. </view>
  100. </view>
  101. </view>
  102. </view>
  103. </view>
  104. </template>
  105. <script>
  106. import {
  107. config
  108. } from '@/api/request/config.js'
  109. import {} from '@/pages/api/index.js'
  110. import {
  111. laboratorySubRelInfoGetRelList,
  112. securityAppCheckPhotoMyAdd,
  113. securityAppCheckPhotoMyList,
  114. securityAppCheckPhotoRectifyList,
  115. } from '@/pages_safetyCheck/api/index.js'
  116. export default {
  117. name: "snapshotList",
  118. components: {
  119. },
  120. data() {
  121. return {
  122. baseUrl: config.base_url,
  123. pageType: 0,
  124. userType: 1,
  125. tabList: ['随手拍上报', '上报记录'],
  126. tabIndex: 0,
  127. tabListTow: ['随手拍上报', '上报记录', '隐患整改'],
  128. tabIndexTow: 0,
  129. newData: {
  130. },
  131. form: {
  132. rectifyDescribe: '',
  133. imgDtoList: [],
  134. hazardCheckName: '',
  135. },
  136. popupType: false,
  137. roomList: [],
  138. checkOptionList: [],
  139. getDataType: false,
  140. // 查询参数
  141. queryParams: {
  142. page: 1,
  143. pageSize: 10,
  144. },
  145. total: 0,
  146. dataList:[],
  147. }
  148. },
  149. onLoad(option) {
  150. if (option.form) {
  151. this.form = JSON.parse(decodeURIComponent(option.form));
  152. }
  153. },
  154. onShow() {
  155. },
  156. mounted() {
  157. },
  158. methods: {
  159. //滚动事件
  160. scrollGet() {
  161. let self = this;
  162. if (self.total / self.queryParams.pageSize <= self.queryParams.page) {
  163. this.$set(this, 'getDataType', true);
  164. } else {
  165. this.queryParams.page += 1;
  166. this.$nextTick(() => {
  167. if(this.pageType==1){
  168. this.getList();
  169. }else if(this.pageType==2){
  170. this.getListTow();
  171. }
  172. })
  173. }
  174. },
  175. //上报记录
  176. async getList() {
  177. let self = this;
  178. const {
  179. data
  180. } = await securityAppCheckPhotoMyList(this.queryParams);
  181. if (data.code == 200) {
  182. if (self.queryParams.page == 1) {
  183. this.dataList = data.data.records;
  184. this.total = data.data.total;
  185. if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
  186. this.$set(this, 'getDataType', true);
  187. }
  188. } else {
  189. this.dataList = [...this.dataList, ...data.data.records]
  190. this.total = data.data.total;
  191. if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
  192. this.$set(this, 'getDataType', true);
  193. }
  194. }
  195. }
  196. },
  197. //隐患整改
  198. async getListTow() {
  199. let self = this;
  200. const {
  201. data
  202. } = await securityAppCheckPhotoRectifyList(this.queryParams);
  203. if (data.code == 200) {
  204. if (self.queryParams.page == 1) {
  205. this.dataList = data.data.records;
  206. this.total = data.data.total;
  207. if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
  208. this.$set(this, 'getDataType', true);
  209. }
  210. } else {
  211. this.dataList = [...this.dataList, ...data.data.records]
  212. this.total = data.data.total;
  213. if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
  214. this.$set(this, 'getDataType', true);
  215. }
  216. }
  217. }
  218. },
  219. //上报记录跳转详情
  220. recordClick(row){
  221. let infoData=row;
  222. uni.navigateTo({
  223. url: '/pages_safetyCheck/views/snapshotManage/snapshotDetail?infoData=' + encodeURIComponent(JSON.stringify(infoData))
  224. });
  225. },
  226. tabClick(index) {
  227. this.tabIndex = index;
  228. this.pageType = index;
  229. if(index==1){
  230. this.getList();
  231. }else if(index==2){
  232. this.getListTow();
  233. }
  234. },
  235. tabClickTow(index) {
  236. this.tabIndexTow = index;
  237. this.pageType = index;
  238. if(index==1){
  239. this.getList();
  240. }else if(index==2){
  241. this.getListTow();
  242. }
  243. },
  244. /******图片上传******/
  245. selectImage() {
  246. let self = this;
  247. if (this.form.imgDtoList.length > 4) {
  248. uni.showToast({
  249. title: '最多上传5张图片',
  250. icon: "none",
  251. mask: true,
  252. duration: 2000
  253. });
  254. return
  255. }
  256. wx.chooseImage({
  257. count: 1,
  258. sizeType: ["original", "compressed"],
  259. sourceType: ["album", "camera"],
  260. success: function(res) {
  261. let tempFilePaths = res.tempFilePaths[0];
  262. self.uploadImg(tempFilePaths);
  263. }
  264. });
  265. },
  266. async uploadImg(tempFilePaths) {
  267. var self = this;
  268. uni.showLoading({
  269. title: '上传中',
  270. mask: true
  271. });
  272. uni.uploadFile({
  273. url: config.base_url + '/system/file/upload', //仅为示例,非真实的接口地址
  274. header: {
  275. 'Authorization': uni.getStorageSync('token')
  276. },
  277. filePath: tempFilePaths,
  278. name: 'file',
  279. formData: {
  280. 'user': 'test'
  281. },
  282. success: (uploadFileRes) => {
  283. let res = JSON.parse(uploadFileRes.data);
  284. if (res.code == 200) {
  285. this.form.imgDtoList.push({
  286. 'fileUrl': res.data.url,
  287. 'fileName': res.data.name
  288. });
  289. console.log(res.data.url)
  290. } else {
  291. uni.showToast({
  292. title: res.msg,
  293. icon: "none",
  294. mask: true,
  295. duration: 2000
  296. });
  297. }
  298. },
  299. fail: err => {},
  300. complete: () => {
  301. uni.hideLoading()
  302. }
  303. });
  304. },
  305. //删除图片
  306. delImg(minIndex) {
  307. this.form.imgDtoList.splice(minIndex, 1);
  308. this.$forceUpdate();
  309. },
  310. /******搜索房间弹层开关******/
  311. popupClick(type) {
  312. if (type == 1) {
  313. this.room = "";
  314. this.roomList = [];
  315. this.popupType = true;
  316. this.buildBySub();
  317. } else if (type == 2) {
  318. this.popupType = false;
  319. }
  320. },
  321. //搜索房间接口
  322. async buildBySub() {
  323. let self = this;
  324. const {
  325. data
  326. } = await laboratorySubRelInfoGetRelList({
  327. 'searchValue': this.form.searchValue,
  328. });
  329. if (data.code == 200) {
  330. if (data.data[0]) {
  331. this.roomList = data.data;
  332. } else {
  333. uni.showToast({
  334. title: '未找到相关实验室',
  335. icon: "none",
  336. mask: true,
  337. duration: 2000
  338. });
  339. }
  340. }
  341. },
  342. //确认搜索房间
  343. popupClickItem(item) {
  344. console.log(item)
  345. this.$set(this.form, "subId", item.subId)
  346. this.$set(this.form, "subName", item.subName)
  347. this.$set(this.form, "subRoom", item.roomNum)
  348. this.$set(this.form, "deptId", item.deptId)
  349. this.$set(this.form, "deptName", item.deptName)
  350. this.$set(this.form, "buildId", item.buildId)
  351. this.$set(this.form, "buildName", item.buildName)
  352. this.$set(this.form, "floorId", item.floorId)
  353. this.$set(this.form, "floorName", item.floorName)
  354. this.$set(this.form, "typeId", item.typeId)
  355. this.$set(this.form, "classTypeNames", item.classTypeNames)
  356. this.$set(this.form, "levelId", item.levelId)
  357. this.$set(this.form, "classLevelName", item.classLevelName)
  358. this.popupType = false;
  359. },
  360. /******调用摄像头******/
  361. saoCode() {
  362. let self = this;
  363. uni.scanCode({
  364. onlyFromCamera: true,
  365. success: function(res) {
  366. let list = res.result.split("?")[1].split("&");
  367. let codeData = {};
  368. list.forEach((item) => {
  369. codeData[item.split("=")[0]] = item.split("=")[1];
  370. })
  371. console.log('二维码', codeData)
  372. if (codeData.code) {
  373. self.laboratoryAppletGetSubDetailInfo(codeData.code);
  374. } else {
  375. uni.showToast({
  376. title: '请扫描正确的二维码',
  377. icon: "none",
  378. mask: true,
  379. duration: 2000
  380. });
  381. }
  382. }
  383. });
  384. },
  385. //搜索项跳转
  386. inspectionItemsClick() {
  387. uni.navigateTo({
  388. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItemsSearch?form=' + encodeURIComponent(
  389. JSON.stringify(this.form))
  390. });
  391. },
  392. //上报
  393. async submitForm() {
  394. let self = this;
  395. console.log(self.form)
  396. const {
  397. data
  398. } = await securityAppCheckPhotoMyAdd(self.form);
  399. if (data.code == 200) {
  400. uni.showToast({
  401. title: '提交成功',
  402. icon: "none",
  403. mask: true,
  404. duration: 2000
  405. });
  406. }
  407. },
  408. }
  409. }
  410. </script>
  411. <style lang="stylus" scoped>
  412. .snapshotList {
  413. height: 100%;
  414. display flex;
  415. .tabTitle {
  416. width: 600rpx;
  417. height: 80rpx;
  418. display: flex;
  419. justify-content: center;
  420. margin: 20rpx 0 0 74rpx;
  421. >view:nth-of-type(1) {
  422. width: 300rpx;
  423. height: 80rpx;
  424. border-radius: 50rpx 0rpx 0rpx 50rpx;
  425. }
  426. >view:nth-of-type(2) {
  427. width: 300rpx;
  428. height: 80rpx;
  429. border-radius: 0rpx 50rpx 50rpx 0rpx;
  430. }
  431. .tab-A {
  432. font-size: 30rpx;
  433. color: #FFFFFF;
  434. line-height: 80rpx;
  435. text-align: center;
  436. background: #0183FA;
  437. }
  438. .tab-B {
  439. font-size: 30rpx;
  440. color: #333333;
  441. line-height: 80rpx;
  442. text-align: center;
  443. background: #FFFFFF;
  444. }
  445. }
  446. .tabTitleTow {
  447. width: 690rpx;
  448. height: 80rpx;
  449. display: flex;
  450. justify-content: center;
  451. margin: 20rpx 0 0 30rpx;
  452. >view:nth-of-type(1) {
  453. width: 230rpx;
  454. height: 80rpx;
  455. border-radius: 50rpx 0rpx 0rpx 50rpx;
  456. }
  457. >view:nth-of-type(2) {
  458. width: 230rpx;
  459. height: 80rpx;
  460. border-radius: 0rpx 0rpx 0rpx 0rpx;
  461. }
  462. >view:nth-of-type(3) {
  463. width: 230rpx;
  464. height: 80rpx;
  465. border-radius: 0rpx 50rpx 50rpx 0rpx;
  466. }
  467. .tab-C {
  468. font-size: 30rpx;
  469. color: #FFFFFF;
  470. line-height: 80rpx;
  471. text-align: center;
  472. background: #0183FA;
  473. }
  474. .tab-D {
  475. font-size: 30rpx;
  476. color: #333333;
  477. line-height: 80rpx;
  478. text-align: center;
  479. background: #FFFFFF;
  480. }
  481. }
  482. .list {
  483. width: 690rpx;
  484. min-height: 765rpx;
  485. background: #FFFFFF;
  486. border-radius: 20rpx 20rpx 20rpx 20rpx;
  487. margin: 20rpx 0 0 30rpx;
  488. .list-li {
  489. display: flex;
  490. justify-content: space-between;
  491. border-bottom: 1rpx solid #E0E0E0;
  492. padding: 0 22rpx 0 28rpx;
  493. box-sizing: border-box;
  494. >view:nth-of-type(1) {
  495. font-size: 30rpx;
  496. color: #333333;
  497. line-height: 80rpx;
  498. text-align: left;
  499. }
  500. >view:nth-of-type(2) {
  501. font-size: 28rpx;
  502. color: #666666;
  503. line-height: 80rpx;
  504. text-align: left;
  505. display: flex;
  506. justify-content: flex-start;
  507. align-items: center;
  508. >img {
  509. width: 24rpx;
  510. height: 24rpx;
  511. margin-left: 8rpx;
  512. }
  513. }
  514. .project_r {
  515. width: 510rpx;
  516. min-height: 80rpx;
  517. display: flex;
  518. justify-content: flex-end;
  519. align-items: center;
  520. padding-left: 20rpx;
  521. box-sizing: border-box;
  522. color: #666;
  523. }
  524. }
  525. .srearch {
  526. .srearch-l {
  527. width: 60rpx;
  528. height: 60rpx;
  529. margin-right: 40rpx;
  530. >img {
  531. width: 30rpx;
  532. height: 30rpx;
  533. margin: 15rpx 0 0 15rpx;
  534. }
  535. }
  536. .srearch-r {
  537. width: 60rpx;
  538. height: 60rpx;
  539. >img {
  540. width: 30rpx;
  541. height: 30rpx;
  542. margin: 15rpx 0 0 15rpx;
  543. }
  544. }
  545. }
  546. .describe {
  547. width: 636rpx;
  548. height: 120rpx;
  549. border-radius: 10rpx 10rpx 10rpx 10rpx;
  550. border: 1rpx solid #E0E0E0;
  551. margin: 20rpx 0 0 28rpx;
  552. padding: 12rpx 16rpx;
  553. box-sizing: border-box;
  554. }
  555. .check-for-img-max-box {
  556. margin: 20px 28rpx;
  557. .left-title-p {
  558. width: 100%;
  559. text-align: left;
  560. font-size: 30rpx;
  561. font-family: PingFang SC-Medium, PingFang SC;
  562. font-weight: 400;
  563. color: #333333;
  564. line-height: 80rpx;
  565. }
  566. .right-img-box {
  567. .img-box {
  568. display inline-block;
  569. height: 150rpx;
  570. width: 150rpx;
  571. position relative;
  572. margin: 0 14rpx 20rpx 0;
  573. border-radius 10rpx;
  574. overflow hidden;
  575. .img-data {
  576. height: 150rpx;
  577. width: 150rpx;
  578. }
  579. .position-img {
  580. position absolute;
  581. right: 0;
  582. top: 0;
  583. width: 36rpx;
  584. height: 36rpx;
  585. }
  586. }
  587. .img-box:nth-of-type(3n+3) {
  588. margin-right: 0rpx;
  589. }
  590. .add-button {
  591. margin: 0 0rpx 20rpx 0;
  592. border-radius 10rpx;
  593. overflow hidden;
  594. display inline-block;
  595. height: 150rpx;
  596. width: 150rpx;
  597. }
  598. }
  599. }
  600. }
  601. /* 实验室弹框 */
  602. .popup-max-box {
  603. z-index: 10;
  604. height: 100%;
  605. width: 100%;
  606. position fixed;
  607. background rgba(0, 0, 0, 0.2);
  608. display flex;
  609. flex-direction column;
  610. .popup-null {
  611. flex: 1;
  612. }
  613. .popup-big-box {
  614. border-top-left-radius: 20rpx;
  615. border-top-right-radius: 20rpx;
  616. background #fff;
  617. .popup-input-box {
  618. padding: 30rpx 20rpx;
  619. display: flex;
  620. input {
  621. flex: 1;
  622. height: 70rpx;
  623. border: 1rpx solid #e0e0e0;
  624. border-radius: 10rpx;
  625. margin-right: 20rpx;
  626. padding: 0 20rpx;
  627. }
  628. view {
  629. background #0183FA;
  630. color: #fff;
  631. border-radius: 10rpx;
  632. width: 140rpx;
  633. line-height: 70rpx;
  634. text-align center;
  635. font-size: 28rpx;
  636. }
  637. }
  638. .popup-for-max-box {
  639. margin: 0 20rpx 30rpx;
  640. height: 600rpx;
  641. overflow-y scroll;
  642. .popup-for-null {
  643. line-height: 100rpx;
  644. text-align center;
  645. color: #999;
  646. }
  647. .popup-for-box {
  648. display: flex;
  649. padding: 10px 0;
  650. .name-p {
  651. flex: 1;
  652. line-height: 60rpx;
  653. }
  654. .button-p {
  655. background #0183FA;
  656. color: #fff;
  657. text-align center;
  658. width: 100rpx;
  659. line-height: 60rpx;
  660. height: 60rpx;
  661. border-radius: 10rpx;
  662. }
  663. }
  664. }
  665. }
  666. }
  667. .subBtn {
  668. width: 690rpx;
  669. height: 100rpx;
  670. background: #0183FA;
  671. border-radius: 50rpx 50rpx 50rpx 50rpx;
  672. font-weight: 400;
  673. font-size: 30rpx;
  674. color: #FFFFFF;
  675. line-height: 100rpx;
  676. text-align: center;
  677. position: fixed;
  678. left: 30rpx;
  679. bottom: 10rpx;
  680. }
  681. /* 上报记录 */
  682. .escalation {
  683. .escalation-li {
  684. width: 690rpx;
  685. height: 162rpx;
  686. background: #FFFFFF;
  687. border-radius: 20rpx 20rpx 20rpx 20rpx;
  688. margin: 20rpx 30rpx;
  689. padding: 0 30rpx;
  690. box-sizing: border-box;
  691. .escalation-li-t {
  692. display: flex;
  693. justify-content: space-between;
  694. align-items: center;
  695. border-bottom: 1rpx solid #E0E0E0;
  696. >view:nth-of-type(1) {
  697. font-weight: 400;
  698. font-size: 30rpx;
  699. color: #333333;
  700. line-height: 80rpx;
  701. text-align: left;
  702. }
  703. >view:nth-of-type(2) {
  704. font-weight: 400;
  705. font-size: 28rpx;
  706. color: #0183FA;
  707. line-height: 80rpx;
  708. text-align: left;
  709. display: flex;
  710. justify-content: flex-start;
  711. align-items: center;
  712. >img {
  713. width: 24rpx;
  714. height: 24rpx;
  715. }
  716. }
  717. }
  718. .escalation-li-b {
  719. display: flex;
  720. justify-content: space-between;
  721. align-items: center;
  722. >view:nth-of-type(1) {
  723. font-weight: 400;
  724. font-size: 30rpx;
  725. color: #333333;
  726. line-height: 80rpx;
  727. text-align: left;
  728. }
  729. >view:nth-of-type(2) {
  730. font-weight: 400;
  731. font-size: 30rpx;
  732. color: #666666;
  733. line-height: 80rpx;
  734. text-align: left;
  735. }
  736. }
  737. }
  738. }
  739. /* 隐患整改 */
  740. .hidden {
  741. width: 690rpx;
  742. border-radius: 20rpx 20rpx 20rpx 20rpx;
  743. background: #FFFFFF;
  744. padding: 0 30rpx;
  745. box-sizing: border-box;
  746. margin: 20rpx 30rpx;
  747. .hidden-li {
  748. height: 80rpx;
  749. border-bottom: 1rpx solid #E0E0E0;
  750. display: flex;
  751. justify-content: flex-start;
  752. align-items: center;
  753. .hidden-li-l {
  754. width: 34rpx;
  755. height: 34rpx;
  756. }
  757. .hidden-li-c {
  758. font-size: 28rpx;
  759. color: #333333;
  760. line-height: 30rpx;
  761. text-align: left;
  762. flex: 1;
  763. overflow: hidden;
  764. text-overflow: ellipsis;
  765. white-space: nowrap;
  766. margin: 0 84rpx 0 12rpx;
  767. }
  768. .hidden-li-r {
  769. font-size: 28rpx;
  770. color: #0183FA;
  771. line-height: 80rpx;
  772. text-align: left;
  773. display: flex;
  774. justify-content: flex-start;
  775. align-items: center;
  776. >img {
  777. width: 24rpx;
  778. height: 24rpx;
  779. }
  780. }
  781. }
  782. .hidden-li:last-of-type {
  783. border: none;
  784. }
  785. }
  786. #color-A {
  787. color: #0183FA;
  788. }
  789. #color-B {
  790. color: #FF8C00;
  791. }
  792. #color-C {
  793. color: #16B531;
  794. }
  795. .get-data-null-p {
  796. text-align: center;
  797. height: 100rpx;
  798. line-height: 100rpx;
  799. color: #999;
  800. padding-bottom:200rpx;
  801. }
  802. }
  803. </style>