hiddenDangerItemsDetail.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929
  1. <!-- 检查详情 -->
  2. <template>
  3. <view class="snapshotDetail">
  4. <scroll-view scroll-y @scrolltolower="scrollGet" class="info-max-box">
  5. <view class="list">
  6. <view class="list-li srearch">
  7. <view class="srearch-l">{{newData.subName?newData.subName:'实验室名称'}}</view>
  8. </view>
  9. <view class="list-li" style="margin-bottom: 20rpx;border:none;">
  10. <view>
  11. {{newData.roomNum?newData.roomNum:''}}房间&{{newData.buildName?newData.buildName:'楼栋'}}&{{newData.deptName?newData.deptName:'学院单位'}}
  12. </view>
  13. </view>
  14. <view v-if="newData.checkCollapse">
  15. <view class="list-li">
  16. <view>现场照片</view>
  17. </view>
  18. <view v-if="pageType==0" class="photo" @click="lockImg(newData.photoList)">
  19. <img v-for="(item,index) in newData.photoList" :src="baseUrl+item.fileUrl">
  20. </view>
  21. <view class="list-li" style="border-bottom: none;">
  22. <view> {{newData.hazardCheckCode?newData.hazardCheckCode:''}}
  23. {{newData.hazardCheckName?newData.hazardCheckName:'检查项'}}
  24. </view>
  25. </view>
  26. <view class="hazardCheckNum" @click="hiddenDangerClick()">
  27. <img class="hazardCheckNum-l" src="@/pages_safetyCheck/images/icon_aqjc_yinhuan.png">
  28. <view class="hazardCheckNum-r">{{'已连续出现'+hazardCheckNum+'次隐患'}} </view>
  29. </view>
  30. <view class="list-li">
  31. <view>隐患描述</view>
  32. <view></view>
  33. </view>
  34. <view class="hidden" v-if="!newData.checkFlag">
  35. <view class="hidden-content">{{newData.hazardDescribe}}</view>
  36. </view>
  37. <view v-if="pageType==1 || pageType==2" class="photo" @click="lockImg(newData.yhDtoList)">
  38. <img v-for="(item,index) in newData.yhDtoList" :src="baseUrl+item.fileUrl">
  39. </view>
  40. <view class="list-li">
  41. <view>检查人:</view>
  42. <view>{{newData.checkUserName}}</view>
  43. </view>
  44. <view class="list-li">
  45. <view>检查时间</view>
  46. <view>{{newData.checkTime}}</view>
  47. </view>
  48. </view>
  49. <view v-if="pageType==1 || pageType==2" v-for="(item,index) in newData.checkRectifyVoList" :key="index">
  50. <view class="list-li" v-if="item.rectifyTime" @click="rectifyCollapse(item)">
  51. <view>隐患整改</view>
  52. <view :id="item.rectifyResult?'fontColor-B':(item.rectifyResult?'fontColor-C':'')">
  53. {{item.rectifyResult?'已整改':(item.rectifyResult?'暂无法整改':'')}}
  54. <img v-if="!item.rectifyCollapse" src="@/pages_safetyCheck/images/icon_06.png">
  55. <img v-if="item.rectifyCollapse" src="@/pages_safetyCheck/images/icon_06_1.png">
  56. </view>
  57. </view>
  58. <view v-if="item.rectifyCollapse && item.rectifyTime">
  59. <view v-if="item.rectifyMeasure" class="hidden">
  60. <view class="hidden-content">{{item.rectifyMeasure}}</view>
  61. </view>
  62. <view class="photo" @click="lockImg(item.rectifyUploadList)">
  63. <img v-for="(item2,index2) in item.rectifyUploadList" :src="baseUrl+item2.fileUrl">
  64. </view>
  65. <view class="list-li">
  66. <view>整改者:</view>
  67. <view>{{item.rectifyName}}</view>
  68. </view>
  69. <view class="list-li">
  70. <view>整改时间</view>
  71. <view>{{item.rectifyTime}}</view>
  72. </view>
  73. </view>
  74. <view class="list-li" v-if="item.reviewTime" @click="reviewCollapse(item)">
  75. <view>复查验证</view>
  76. <view :id="item.examineResult?'fontColor-B':'fontColor-C'">
  77. {{item.examineResult?'复查完毕':'退回整改'}}
  78. <img v-if="!item.reviewCollapse" src="@/pages_safetyCheck/images/icon_06.png">
  79. <img v-if="item.reviewCollapse" src="@/pages_safetyCheck/images/icon_06_1.png">
  80. </view>
  81. </view>
  82. <view v-if="item.reviewCollapse && item.reviewTime">
  83. <view v-if="item.examineOpinion" class="hidden">
  84. <view class="hidden">
  85. <view class="hidden-content">{{item.examineOpinion}}</view>
  86. </view>
  87. </view>
  88. <view class="photo" @click="lockImg(item.examineUploadList)">
  89. <img v-for="(item3,index3) in item.examineUploadList" :src="baseUrl+item3.fileUrl">
  90. </view>
  91. <view class="list-li">
  92. <view>复查者:</view>
  93. <view>{{item.reviewName}}</view>
  94. </view>
  95. <view class="list-li">
  96. <view>复查时间</view>
  97. <view>{{item.reviewTime}}</view>
  98. </view>
  99. </view>
  100. </view>
  101. <view class="voice">
  102. <view class="voice_t">
  103. <view class="voice_t_t" v-if="!newData.voiceList[0]"><text>语音备注:</text><text></text></view>
  104. <view class="voice_t_b" v-if="newData.voiceList[0]">语音备注:({{newData.voiceList.length}})
  105. </view>
  106. </view>
  107. <view class="voice_b" v-if="newData.voiceList[0]"
  108. v-for="(voiceItem,voiceIndex) in newData.voiceList" :key="voiceIndex">
  109. <view class="voice_b_l" @tap="voicePlay(voiceItem.fileUrl)">
  110. <img class="add-button" src="@/pages_safetyCheck/images//icon_yybz_yy.png" />
  111. {{voiceItem.fileLength}}″
  112. </view>
  113. </view>
  114. </view>
  115. </view>
  116. </scroll-view>
  117. <view class="subBtn">
  118. <!-- 检查 -->
  119. <img @click="saoCode()" v-if="pageType==0" src="@/pages_safetyCheck/images/icon_aqjc_saoma.png">
  120. <img @click="submitBtn(1)" v-if="pageType==0 && newData.checkSetProgress !=100 && !hiddenDangerRecordStatus"
  121. style="margin-left: 60rpx;" src="@/pages_safetyCheck/images/icon_aqjc_bianji.png" />
  122. <img @click="submitBtn(2)" v-if="pageType==0 && newData.checkSetProgress !=100" style="margin-left: 60rpx;"
  123. src="@/pages_safetyCheck/images/icon_aqjc_jiancha.png" />
  124. <!-- 整改 -->
  125. <img @click="submitBtn(1)" v-if="pageType==2 && !hiddenDangerRecordStatus && !newData.finishRectify"
  126. src="@/pages_safetyCheck/images/icon_aqjc_bianji.png" />
  127. <img @click="submitBtn(2)" v-if="pageType==2 && !hiddenDangerRecordStatus && !newData.finishRectify"
  128. src="@/pages_safetyCheck/images/icon_aqjc_zhenggai.png" />
  129. <!-- 复查 -->
  130. <img @click="submitBtn(2)" v-if="pageType==1 && !hiddenDangerRecordStatus"
  131. src="@/pages_safetyCheck/images/icon_aqjc_fucha.png" />
  132. </view>
  133. <view v-if="pageType==0" class="inspectRecord" @click="inspectRecordClick()">检查记录</view>
  134. </view>
  135. </template>
  136. <script>
  137. const myaudio = uni.createInnerAudioContext();
  138. import {
  139. config
  140. } from '@/api/request/config.js'
  141. import {
  142. parseTime
  143. } from '@/component/public.js'
  144. import {
  145. securityAppCheckPlanCheckInfo,
  146. securityAppCheckPhotoGetCheckNumBySub,
  147. securityAppCheckDangerGetCheckProDetail,
  148. securityAppCheckSetOptionList,
  149. securityAppCheckDangerReviewSubList,
  150. securityAppCheckDangerGetCheckDangerSubList,
  151. securityAppCheckManageList,
  152. } from '@/pages_safetyCheck/api/index.js'
  153. export default {
  154. name: "snapshotDetail",
  155. components: {
  156. },
  157. data() {
  158. return {
  159. baseUrl: config.base_url,
  160. inspectionItems: 0, //0有检查项 1无检查项
  161. newData: {},
  162. setOptionId: '',
  163. manageId: '',
  164. subId: '',
  165. hazardCheckPro: '',
  166. hazardCheckNum: 0,
  167. pageType: 0, //0检查 1复查 2整改
  168. itemsStatus: '',
  169. optionData: null,
  170. lotName: null,
  171. hiddenDangerRecordStatus: null, //判断是否是从隐患列表页面跳转过来
  172. }
  173. },
  174. onLoad(option) {
  175. let optionData = JSON.parse(decodeURIComponent(option.infoData));
  176. console.log('详情', optionData)
  177. this.$set(this, 'pageType', optionData.pageType);
  178. this.$set(this, 'itemsStatus', optionData.itemsStatus);
  179. this.$set(this, 'setOptionId', optionData.setOptionId);
  180. this.$set(this, 'manageId', optionData.manageId);
  181. this.$set(this, 'subId', optionData.subId);
  182. this.$set(this, 'hazardCheckPro', optionData.hazardCheckPro);
  183. this.$set(this, 'hiddenDangerRecordStatus', optionData.hiddenDangerRecordStatus);
  184. this.$set(this, 'optionData', optionData);
  185. this.$set(this, 'lotName',
  186. optionData.pageType == 0 ? optionData.checkPlanSetVoList.checkName : (
  187. optionData.checkPlanSetVoList.overdueUnrectify ? '整改期限' + optionData.checkPlanSetVoList
  188. .rectifyDeadline +
  189. '(逾期未完成整改关闭实验室)' : '整改期限' + optionData.checkPlanSetVoList.rectifyDeadline));
  190. },
  191. onShow() {
  192. },
  193. mounted() {
  194. if (this.pageType == 0) {
  195. this.securityAppCheckPlanCheckInfo();
  196. } else if (this.pageType == 1 || this.pageType == 2) {
  197. //复查-整改
  198. this.securityAppCheckDangerGetCheckProDetail();
  199. }
  200. this.securityAppCheckPhotoGetCheckNumBySub();
  201. },
  202. methods: {
  203. //滚动事件
  204. scrollGet() {},
  205. //检查记录
  206. inspectRecordClick() {
  207. let infoData = this.optionData;
  208. infoData.curTabTow = 1; //已检查
  209. uni.navigateTo({
  210. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItems?infoData=' +
  211. encodeURIComponent(JSON
  212. .stringify(infoData))
  213. });
  214. },
  215. /******调用摄像头******/
  216. saoCode() {
  217. let self = this;
  218. uni.scanCode({
  219. onlyFromCamera: true,
  220. success: function(res) {
  221. let list = res.result.split("?")[1].split("&");
  222. let codeData = {};
  223. list.forEach((item) => {
  224. codeData[item.split("=")[0]] = item.split("=")[1];
  225. })
  226. if (codeData.code) {
  227. self.saoList(codeData.subId);
  228. } else {
  229. uni.showToast({
  230. title: '请扫描正确的二维码',
  231. icon: "none",
  232. mask: true,
  233. duration: 2000
  234. });
  235. }
  236. }
  237. });
  238. },
  239. //扫一扫查询数据
  240. async saoList(subId) {
  241. let obj = {
  242. planSetId: this.optionData.checkPlanSetVoList.planSetId,
  243. subId: subId,
  244. }
  245. if (this.pageType == 0) {
  246. //检查计划
  247. const {
  248. data
  249. } = await securityAppCheckManageList(obj);
  250. if (data.code == 200) {
  251. if (data.data.records[0]) {
  252. this.securityAppCheckSetOptionList(data.data.records[0], 0)
  253. //跳转检查项列表页面
  254. /* let infoData = data.data.records[0];
  255. infoData.pageType = this.tabIndexTow;
  256. infoData.checkPlanSetVoList = this.optionData.checkPlanSetVoList;
  257. uni.navigateTo({
  258. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItems?infoData=' +
  259. encodeURIComponent(
  260. JSON.stringify(infoData))
  261. }); */
  262. } else {
  263. //未找到数据提示
  264. uni.showToast({
  265. title: '未找到该实验室与本计划批次关联的数据',
  266. icon: "none",
  267. mask: true,
  268. duration: 2000
  269. });
  270. }
  271. }
  272. } else if (this.pageType == 1) {
  273. //复查计划
  274. obj.planId = this.optionData.checkPlanSetVoList.planId;
  275. obj.userId = uni.getStorageSync('userId');
  276. const {
  277. data
  278. } = await securityAppCheckDangerReviewSubList(obj);
  279. if (data.code == 200) {
  280. if (data.data[0] && data.data[0].stayExamineCheckNum != 0) {
  281. //跳转检查项列表页面
  282. let infoData = data.data[0];
  283. infoData.pageType = this.pageType;
  284. infoData.checkPlanSetVoList = this.optionData.checkPlanSetVoList;
  285. uni.navigateTo({
  286. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItems?infoData=' +
  287. encodeURIComponent(
  288. JSON.stringify(infoData))
  289. });
  290. } else {
  291. //未找到数据提示
  292. uni.showToast({
  293. title: '未找到该实验室与本计划批次关联的数据',
  294. icon: "none",
  295. mask: true,
  296. duration: 2000
  297. });
  298. }
  299. }
  300. } else if (this.pageType == 2) {
  301. //整改计划
  302. obj.planId = this.optionData.checkPlanSetVoList.planId;
  303. obj.userId = uni.getStorageSync('userId');
  304. const {
  305. data
  306. } = await securityAppCheckDangerGetCheckDangerSubList(obj);
  307. if (data.code == 200) {
  308. if (data.data[0]) {
  309. //跳转检查项列表页面
  310. let infoData = data.data[0];
  311. infoData.pageType = this.pageType;
  312. infoData.checkPlanSetVoList = this.optionData.checkPlanSetVoList;
  313. uni.navigateTo({
  314. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItems?infoData=' +
  315. encodeURIComponent(
  316. JSON.stringify(infoData))
  317. });
  318. } else {
  319. //未找到数据提示
  320. uni.showToast({
  321. title: '未找到该实验室与本计划批次关联的数据',
  322. icon: "none",
  323. mask: true,
  324. duration: 2000
  325. });
  326. }
  327. }
  328. }
  329. },
  330. //获取检查提交详情
  331. async securityAppCheckPlanCheckInfo() {
  332. let obj = {
  333. setOptionId: this.setOptionId,
  334. manageId: this.manageId,
  335. }
  336. const {
  337. data
  338. } = await securityAppCheckPlanCheckInfo(obj);
  339. if (data.code == 200) {
  340. uni.setNavigationBarTitle({
  341. title: data.data.subName + '(' + (this.pageType == 0 ? data.data.roomNum ? data.data
  342. .roomNum : '-' : data.data
  343. .subRoom ? data.data.subRoom : '-') + ')'
  344. })
  345. data.data.checkCollapse = true;
  346. data.data.inspectDot = false;
  347. this.$set(this, 'newData', data.data);
  348. this.$set(this.newData, 'checkTime', parseTime(data.data.checkTime, "{y}-{m}-{d}"));
  349. this.$set(this.newData, 'voiceList', data.data.voiceList ? data.data.voiceList : []);
  350. }
  351. },
  352. //整改详情
  353. async securityAppCheckDangerGetCheckProDetail() {
  354. let obj = {
  355. planId: this.optionData.checkPlanSetVoList.planId,
  356. planSetId: this.optionData.checkPlanSetVoList.planSetId,
  357. checkCategory: this.optionData.checkCategory,
  358. hazardCheckPro: this.optionData.hazardCheckPro,
  359. subId: this.optionData.subId,
  360. }
  361. const {
  362. data
  363. } = await securityAppCheckDangerGetCheckProDetail(obj);
  364. if (data.code == 200) {
  365. uni.setNavigationBarTitle({
  366. title: data.data.subName + '(' + data.data.roomNum + ')'
  367. })
  368. data.data.checkCollapse = false;
  369. data.data.inspectDot = false;
  370. data.data.checkTime = parseTime(data.data.checkTime, "{y}-{m}-{d}");
  371. data.data.checkRectifyVoList.forEach(function(item, index) {
  372. item.rectifyTime = parseTime(item.rectifyTime, "{y}-{m}-{d}");
  373. item.reviewTime = parseTime(item.reviewTime, "{y}-{m}-{d}");
  374. item.rectifyCollapse = false;
  375. item.reviewCollapse = false;
  376. if (index == data.data.checkRectifyVoList.length - 1) {
  377. item.rectifyCollapse = true;
  378. item.reviewCollapse = true;
  379. }
  380. })
  381. this.$set(this, 'newData', data.data);
  382. this.$set(this.newData, 'voiceList', data.data.voiceList ? data.data.voiceList : []);
  383. }
  384. },
  385. async securityAppCheckSetOptionList(item, checkStatus) {
  386. let self = this;
  387. let upData = item;
  388. let obj = {
  389. page: 1,
  390. pageSize: 20,
  391. checkStatus: checkStatus,
  392. manageId: upData.manageId,
  393. }
  394. this.inspectRemporaryList = [];
  395. const {
  396. data
  397. } = await securityAppCheckSetOptionList(obj);
  398. if (data.code == 200 && checkStatus == 0) { //先查询待检查数据
  399. if (data.data.records[0]) {
  400. let infoData = self.optionData;
  401. infoData.pageType = 0;
  402. infoData.subName = upData.subName;
  403. infoData.roomNum = upData.roomNum;
  404. infoData.subId = data.data.records[0].subId;
  405. infoData.manageId = data.data.records[0].manageId;
  406. infoData.setOptionId = data.data.records[0].setOptionId;
  407. infoData.hazardCheckPro = data.data.records[0].hazardCheckPro;
  408. infoData.checkCategory = data.data.records[0].checkCategory;
  409. uni.navigateTo({
  410. url: '/pages_safetyCheck/views/inspectManage/conductInspections?infoData=' +
  411. encodeURIComponent(
  412. JSON
  413. .stringify(infoData))
  414. });
  415. } else {
  416. uni.showToast({
  417. title: '该实验室暂无检查工作!',
  418. icon: "none",
  419. mask: true,
  420. duration: 2000
  421. });
  422. }
  423. }
  424. },
  425. //语音备忘播放
  426. async voicePlay(item) {
  427. myaudio.src = config.base_url + item;
  428. myaudio.play();
  429. },
  430. //获取检查项在当前实验室出现的次数
  431. async securityAppCheckPhotoGetCheckNumBySub() {
  432. let obj = {
  433. subId: this.subId,
  434. hazardCheckPro: this.hazardCheckPro,
  435. }
  436. const {
  437. data
  438. } = await securityAppCheckPhotoGetCheckNumBySub(obj);
  439. if (data.code == 200) {
  440. this.$set(this, 'hazardCheckNum', data.data);
  441. }
  442. },
  443. hiddenDangerClick(row) {
  444. if (!this.hiddenDangerRecordStatus) {
  445. let infoData = this.optionData;
  446. infoData.subName = this.newData.subName;
  447. infoData.roomNum = this.newData.roomNum;
  448. infoData.hiddenDangerRecordStatus = true; //判断是否跳转隐患列表
  449. uni.navigateTo({
  450. url: '/pages_safetyCheck/views/inspectManage/hiddenDangerRecord?infoData=' +
  451. encodeURIComponent(JSON.stringify(infoData))
  452. });
  453. }
  454. },
  455. //检查-按钮
  456. submitBtn(status) {
  457. if (status == 1) {
  458. //编辑
  459. if (this.pageType == 0) {
  460. //检查
  461. let infoData = this.optionData;
  462. infoData.editStatus = true;
  463. uni.redirectTo({
  464. url: '/pages_safetyCheck/views/inspectManage/conductInspections?infoData=' +
  465. encodeURIComponent(
  466. JSON
  467. .stringify(infoData))
  468. });
  469. } else if (this.pageType == 1) {
  470. //复核
  471. let infoData = this.optionData
  472. infoData.editStatus = true;
  473. uni.redirectTo({
  474. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerRectification?infoData=' +
  475. encodeURIComponent(
  476. JSON
  477. .stringify(infoData))
  478. });
  479. } else if (this.pageType == 2) {
  480. //整改
  481. let infoData = this.optionData
  482. infoData.editStatus = true;
  483. uni.redirectTo({
  484. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerRectification?infoData=' +
  485. encodeURIComponent(
  486. JSON
  487. .stringify(infoData))
  488. });
  489. }
  490. } else if (status == 2) {
  491. //继续检查
  492. if (this.pageType == 0) {
  493. this.securityAppCheckSetOptionList(this.optionData, 0)
  494. } else {
  495. let infoData = this.optionData;
  496. uni.redirectTo({
  497. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItems?infoData=' +
  498. encodeURIComponent(JSON
  499. .stringify(infoData))
  500. });
  501. }
  502. }
  503. },
  504. //图片预览
  505. lockImg(list) {
  506. if (!list[0]) {
  507. return
  508. }
  509. let urlList = [];
  510. for (let i = 0; i < list.length; i++) {
  511. urlList.push(config.base_url + list[i].fileUrl)
  512. }
  513. wx.previewImage({
  514. urls: urlList, //需要预览的图片http链接列表,多张的时候,url直接写在后面就行了
  515. current: '', // 当前显示图片的http链接,默认是第一个
  516. success: function(res) {},
  517. fail: function(res) {},
  518. complete: function(res) {},
  519. })
  520. },
  521. //折叠展开
  522. inspectDot() {
  523. this.newData.inspectDot = !this.newData.inspectDot
  524. },
  525. checkCollapse(row) {
  526. this.newData.checkCollapse = !this.newData.checkCollapse
  527. },
  528. rectifyCollapse(row) {
  529. row.rectifyCollapse = !row.rectifyCollapse
  530. },
  531. reviewCollapse(row) {
  532. row.reviewCollapse = !row.reviewCollapse
  533. },
  534. }
  535. }
  536. </script>
  537. <style lang="stylus" scoped>
  538. .snapshotDetail {
  539. height: 100%;
  540. display flex;
  541. box-sizing: border-box;
  542. padding-bottom: 160rpx;
  543. box-sizing: border-box;
  544. .tip {
  545. width: 750rpx;
  546. height: 80rpx;
  547. background: rgba(1, 131, 250, 0.2);
  548. border-radius: 0rpx 0rpx 0rpx 0rpx;
  549. font-size: 30rpx;
  550. color: #0183FA;
  551. line-height: 80rpx;
  552. text-align: center;
  553. }
  554. .tip-tow {
  555. width: 750rpx;
  556. height: 80rpx;
  557. background: rgba(255, 140, 0, 0.2);
  558. border-radius: 0rpx 0rpx 0rpx 0rpx;
  559. font-size: 30rpx;
  560. color: #FF8C00;
  561. line-height: 80rpx;
  562. text-align: center;
  563. }
  564. .list {
  565. width: 750rpx;
  566. .list-li {
  567. display: flex;
  568. justify-content: space-between;
  569. align-items: center;
  570. border-bottom: 1rpx solid #E0E0E0;
  571. background: #FFFFFF;
  572. padding: 0 30rpx;
  573. box-sizing: border-box;
  574. >view:nth-of-type(1) {
  575. font-size: 30rpx;
  576. color: #333333;
  577. line-height: 100rpx;
  578. text-align: left;
  579. }
  580. >view:nth-of-type(2) {
  581. font-size: 28rpx;
  582. color: #666666;
  583. line-height: 100rpx;
  584. text-align: left;
  585. display: flex;
  586. justify-content: space-between;
  587. align-items: center;
  588. >img {
  589. width: 24rpx;
  590. height: 12rpx;
  591. margin-left: 10rpx;
  592. }
  593. }
  594. }
  595. .file-li {
  596. display: flex;
  597. justify-content: space-between;
  598. align-items: center;
  599. padding: 0 30rpx;
  600. box-sizing: border-box;
  601. >img:nth-of-type(1) {
  602. width: 30rpx;
  603. height: 30rpx;
  604. }
  605. >view {
  606. flex: 1;
  607. font-size: 28rpx;
  608. color: #333333;
  609. line-height: 80rpx;
  610. text-align: left;
  611. margin: 0 92rpx 0 16rpx;
  612. overflow: hidden;
  613. text-overflow: ellipsis;
  614. white-space: nowrap;
  615. }
  616. >img:nth-of-type(2) {
  617. width: 30rpx;
  618. height: 30rpx;
  619. }
  620. }
  621. .hidden {
  622. width: 750rpx;
  623. background: #fff;
  624. overflow: hidden;
  625. border-bottom: 2rpx solid #E0E0E0;
  626. .hidden-content {
  627. border-radius: 20rpx 20rpx 20rpx 20rpx;
  628. width: 690rpx;
  629. min-height: 180rpx;
  630. background: #F5F5F5;
  631. margin: 40rpx 30rpx;
  632. padding: 20rpx;
  633. box-sizing: border-box;
  634. font-size: 28rpx;
  635. color: #666666;
  636. line-height: 44rpx;
  637. text-align: left;
  638. }
  639. }
  640. .photo {
  641. display: flex;
  642. justify-content: flex-start;
  643. flex-wrap: wrap;
  644. padding: 20rpx 30rpx 0;
  645. box-sizing: border-box;
  646. background: #fff;
  647. border-bottom: 2rpx solid #E0E0E0;
  648. >img {
  649. width: 150rpx;
  650. height: 150rpx;
  651. border-radius: 10rpx 10rpx 10rpx 10rpx;
  652. margin: 0 10rpx 10rpx 0;
  653. }
  654. >img:nth-of-type(4) {
  655. margin-right: 0;
  656. }
  657. }
  658. /* .list-li:last-of-type {
  659. border: none;
  660. } */
  661. .hazardCheckNum {
  662. border-bottom: 2rpx solid #E0E0E0;
  663. padding: 30rpx 40rpx 34rpx 40rpx;
  664. box-sizing: border-box;
  665. background: #fff;
  666. display: flex;
  667. justify-content: flex-end;
  668. align-items: center;
  669. .hazardCheckNum-l {
  670. width: 30rpx;
  671. height: 30rpx;
  672. margin-right: 18rpx;
  673. }
  674. .hazardCheckNum-r {
  675. font-size: 28rpx;
  676. color: #FF5900;
  677. line-height: 40rpx;
  678. text-align: left;
  679. }
  680. }
  681. }
  682. .srearch {
  683. display: flex;
  684. justify-content: space-between;
  685. align-items: center;
  686. .srearch-l {
  687. font-size: 30rpx;
  688. color: #333333;
  689. line-height: 100rpx;
  690. text-align: left;
  691. }
  692. .srearch-r {
  693. width: 30rpx;
  694. height: 30rpx;
  695. margin-right: 0rpx;
  696. }
  697. }
  698. }
  699. /* 语音备注 */
  700. .voice {
  701. width: 750rpx;
  702. min-height: 100rpx;
  703. background: #FFFFFF;
  704. border-radius: 20rpx 20rpx 20rpx 20rpx;
  705. overflow: hidden;
  706. .voice_t {
  707. height: 100rpx;
  708. display: flex;
  709. justify-content: space-between;
  710. align-items: center;
  711. padding: 0 30rpx;
  712. box-sizing: border-box;
  713. border-bottom: 2rpx solid #E0E0E0;
  714. margin-bottom: 40rpx;
  715. .voice_t_t {
  716. width: 100%;
  717. display: flex;
  718. justify-content: space-between;
  719. >text:nth-of-type(1) {
  720. font-size: 30rpx;
  721. color: #333333;
  722. line-height: 100rpx;
  723. }
  724. >text:nth-of-type(2) {
  725. font-size: 28rpx;
  726. color: #999999;
  727. line-height: 100rpx;
  728. }
  729. }
  730. .voice_t_b {
  731. width: 100%;
  732. font-size: 30rpx;
  733. font-family: PingFang SC-Medium, PingFang SC;
  734. font-weight: 400;
  735. color: #333333;
  736. line-height: 100rpx;
  737. text-align: left;
  738. }
  739. }
  740. .voice_b {
  741. display flex;
  742. justify-content flex-start;
  743. align-items center;
  744. margin-bottom: 20rpx;
  745. padding: 0 30rpx;
  746. box-sizing: border-box;
  747. .voice_b_l {
  748. width: 400rpx;
  749. height: 40rpx;
  750. background: #0183FA;
  751. border-radius: 10rpx;
  752. display flex;
  753. justify-content flex-start;
  754. align-items center;
  755. font-size: 24rpx;
  756. color: #FFFFFF;
  757. line-height: 30rpx;
  758. text-align: left;
  759. >img {
  760. width: 20rpx;
  761. height: 20rpx;
  762. margin-left: 16rpx;
  763. margin-right: 20rpx;
  764. }
  765. }
  766. .voice_b_r {
  767. width: 28rpx;
  768. height: 28rpx;
  769. margin-left: 20rpx;
  770. }
  771. }
  772. .voice-btn {
  773. width: 150rpx;
  774. height: 150rpx;
  775. position: fixed;
  776. right: 24rpx;
  777. bottom: 176rpx;
  778. >img {
  779. width: 150rpx;
  780. height: 150rpx;
  781. position: absolute;
  782. }
  783. >text {
  784. font-size: 24rpx;
  785. color: #999999;
  786. line-height: 30rpx;
  787. text-align: center;
  788. position: absolute;
  789. top: 84rpx;
  790. left: 26rpx;
  791. }
  792. }
  793. }
  794. .subBtn {
  795. display: flex;
  796. justify-content: center;
  797. position: fixed;
  798. bottom: 30rpx;
  799. width: 750rpx;
  800. padding: 0 46rpx;
  801. box-sizing: border-box;
  802. >img {
  803. width: 160rpx;
  804. height: 160rpx;
  805. }
  806. }
  807. .sub-btn {
  808. display: flex;
  809. justify-content: center;
  810. position: fixed;
  811. left: 30rpx;
  812. bottom: 30rpx;
  813. >view:nth-of-type(1) {
  814. width: 345rpx;
  815. height: 100rpx;
  816. background: #FF8C00;
  817. border-radius: 50rpx 0rpx 0rpx 50rpx;
  818. font-size: 30rpx;
  819. color: #FFFFFF;
  820. line-height: 100rpx;
  821. text-align: center;
  822. }
  823. >view:nth-of-type(2) {
  824. width: 345rpx;
  825. height: 100rpx;
  826. background: #0183FA;
  827. border-radius: 0rpx 50rpx 50rpx 0rpx;
  828. font-size: 30rpx;
  829. color: #FFFFFF;
  830. line-height: 100rpx;
  831. text-align: center;
  832. }
  833. }
  834. .sub-btn-tow {
  835. width: 686rpx;
  836. height: 100rpx;
  837. background: #0183FA;
  838. border-radius: 50rpx 50rpx 50rpx 50rpx;
  839. position: fixed;
  840. left: 30rpx;
  841. bottom: 30rpx;
  842. font-weight: 400;
  843. font-size: 30rpx;
  844. color: #FFFFFF;
  845. line-height: 100rpx;
  846. text-align: center;
  847. }
  848. .inspectRecord {
  849. position: fixed;
  850. top: 118rpx;
  851. right: 0;
  852. z-index: 200;
  853. width: 160rpx;
  854. height: 60rpx;
  855. background: #0183FA;
  856. border-radius: 50rpx 0rpx 0rpx 50rpx;
  857. font-size: 30rpx;
  858. color: #FFFFFF;
  859. line-height: 60rpx;
  860. text-align: center;
  861. }
  862. </style>