hiddenDangerRectification.vue 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008
  1. <!-- 检查项隐患项整改 -->
  2. <template>
  3. <view class="snapshotDetail">
  4. <scroll-view scroll-y @scrolltolower="scrollGet" class="info-max-box">
  5. <view class="tip">整改期限{{optionData.checkPlanSetVoList.rectifyDeadline}}{{optionData.checkPlanSetVoList.overdueUnrectify?'(逾期未完成整改关闭实验室)':''}}</view>
  6. <view class="items" v-if="newData.hazardCheckName!=''">
  7. <view class="items-t">
  8. <view class="items-t-r">{{newData.hazardCheckCode}} {{newData.hazardCheckName}}</view>
  9. </view>
  10. <view class="items-b">< {{newData.hazardCheckCode2}}
  11. {{newData.hazardCheckName2}} < {{newData.hazardCheckCode1}} {{newData.hazardCheckName1}}
  12. </view>
  13. </view>
  14. <view class="items-number" v-if="newData.hazardCheckName!=''" @click="hiddenDangerClick()">
  15. 此检查项在当前实验室累计出现<text>{{hazardCheckNum}}</text>次隐患</view>
  16. <view class="list">
  17. <!-- <view class="list-li" v-if="newData.hazardCheckName!=''" @click="inspectDot()">
  18. <view>检查要点</view>
  19. <view>
  20. <img v-if="!newData.inspectDot" src="@/pages_safetyCheck/images/icon_06.png">
  21. <img v-if="newData.inspectDot" src="@/pages_safetyCheck/images/icon_06_1.png">
  22. </view>
  23. </view>
  24. <view v-if="newData.hazardCheckName!='' && newData.inspectDot" class="hidden-content">{{newData.hazardCheckPoint}}
  25. </view> -->
  26. <view class="list-li" @click="checkCollapse()">
  27. <view>检查隐患</view>
  28. <view :id="newData.checkFlag?'fontColor-B':'fontColor-A'">
  29. {{newData.checkFlag?'符合':'不符合 '}}
  30. <img v-if="!newData.checkCollapse" src="@/pages_safetyCheck/images/icon_06.png">
  31. <img v-if="newData.checkCollapse" src="@/pages_safetyCheck/images/icon_06_1.png">
  32. </view>
  33. </view>
  34. <view v-if="newData.checkCollapse">
  35. <view class="hidden-content" v-if="!newData.checkFlag">{{newData.hazardDescribe}}
  36. </view>
  37. <view 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 class="voice">
  49. <view class="voice_t">
  50. <view class="voice_t_t" v-if="!newData.voiceList[0]"><text>语音备注:</text><text></text></view>
  51. <view class="voice_t_b" v-if="newData.voiceList[0]">语音备注:({{newData.voiceList.length}})
  52. </view>
  53. </view>
  54. <view class="voice_b" v-if="newData.voiceList[0]"
  55. v-for="(voiceItem,voiceIndex) in newData.voiceList" :key="voiceIndex">
  56. <view class="voice_b_l" @tap="voicePlay(voiceItem.fileUrl)">
  57. <img class="add-button" src="@/pages_safetyCheck/images//icon_yybz_yy.png" />
  58. {{voiceItem.fileLength}}″
  59. </view>
  60. </view>
  61. </view>
  62. </view>
  63. <view v-if="pageType==1 || pageType==2" v-for="(item,index) in newData.checkRectifyVoList" :key="index">
  64. <view class="list-li" v-if="item.rectifyTime" @click="rectifyCollapse(item)">
  65. <view>隐患整改</view>
  66. <view :id="item.rectifyResult?'fontColor-B':(item.rectifyResult?'fontColor-C':'')">
  67. {{item.rectifyResult?'已整改':(item.rectifyResult?'暂无法整改':'')}}
  68. <img v-if="!item.rectifyCollapse" src="@/pages_safetyCheck/images/icon_06.png">
  69. <img v-if="item.rectifyCollapse" src="@/pages_safetyCheck/images/icon_06_1.png">
  70. </view>
  71. </view>
  72. <view v-if="item.rectifyCollapse && item.rectifyTime">
  73. <view v-if="item.rectifyMeasure" class="hidden-content">{{item.rectifyMeasure}}
  74. </view>
  75. <view class="photo" @click="lockImg(item.rectifyUploadList)">
  76. <img v-for="(item2,index2) in item.rectifyUploadList" :src="baseUrl+item2.fileUrl">
  77. </view>
  78. <view class="list-li">
  79. <view>姓名:</view>
  80. <view>{{item.rectifyName}}</view>
  81. </view>
  82. <view class="list-li">
  83. <view>整改时间</view>
  84. <view>{{item.rectifyTime}}</view>
  85. </view>
  86. </view>
  87. <view class="list-li" v-if="item.reviewTime" @click="reviewCollapse(item)">
  88. <view>复查验证</view>
  89. <view :id="item.examineResult?'fontColor-B':'fontColor-C'">
  90. {{item.examineResult?'复查完毕':'退回整改'}}
  91. <img v-if="!item.reviewCollapse" src="@/pages_safetyCheck/images/icon_06.png">
  92. <img v-if="item.reviewCollapse" src="@/pages_safetyCheck/images/icon_06_1.png">
  93. </view>
  94. </view>
  95. <view v-if="item.reviewCollapse && item.reviewTime">
  96. <view v-if="item.examineOpinion" class="hidden-content" >{{item.examineOpinion}}
  97. </view>
  98. <view class="photo" @click="lockImg(item.examineUploadList)">
  99. <img v-for="(item3,index3) in item.examineUploadList" :src="baseUrl+item3.fileUrl">
  100. </view>
  101. <!-- <view class="list-li">
  102. <view>姓名:</view>
  103. <view>{{item.reviewName}}</view>
  104. </view> -->
  105. <view class="list-li">
  106. <view>复查时间</view>
  107. <view>{{item.reviewTime}}</view>
  108. </view>
  109. </view>
  110. </view>
  111. <view class="list-li">
  112. <view v-if="pageType==1">复查验证</view>
  113. <view v-if="pageType==2">隐患整改({{fontNum}}/500)</view>
  114. <view>
  115. <img src="@/pages_safetyCheck/images/icon_06.png">
  116. </view>
  117. </view>
  118. <textarea v-if="pageType==1" class="describe" type="text" v-model="form.examineOpinion" maxlength="500"
  119. placeholder="请填写隐患描述"
  120. placeholder-style="font-size:24rpx;color:#999;"></textarea>
  121. <textarea v-if="pageType==2" class="describe" type="text" v-model="form.rectifyMeasure" maxlength="500"
  122. @input="sumfontnum" placeholder="立整立改的请填写相关文字及整改前后照片对比等,不能立整立改的请说明原因并附整改计划、措施等"
  123. placeholder-style="font-size:24rpx;color:#999;"></textarea>
  124. <view class="check-for-img-max-box">
  125. <view class="left-title-p"></view>
  126. <view class="right-img-box">
  127. <view class="img-box" v-for="(imgUrl,imgIndex) in form.imgDtoList" :key="imgIndex">
  128. <img class="img-data" :src="baseUrl+imgUrl.fileUrl">
  129. <img class="position-img" src="@/pages_safetyCheck/images/icon_ssp_closure.png"
  130. @click="delImg(imgIndex)">
  131. </view>
  132. <img class="add-button" src="@/pages_safetyCheck/images/img_ssp_pz@1x.png"
  133. @click="selectImage()" v-if="form.imgDtoList.length<6">
  134. </view>
  135. </view>
  136. <!-- <view class="list-li-tow">
  137. <view>整改方案(上传文件)</view>
  138. <view @click="selectFile()">
  139. <img src="@/pages_safetyCheck/images/icon_aqjc_sc.png">
  140. </view>
  141. </view>
  142. <view class="file-li" v-if="form.rectifyProjectName">
  143. <img src="@/pages_safetyCheck/images/icon_djc_wj.png">
  144. <view>{{form.rectifyProjectName}}</view>
  145. <img src="@/pages_safetyCheck/images/icon_yybz_sc.png">
  146. </view> -->
  147. </view>
  148. </scroll-view>
  149. <view class="sub-btn">
  150. <view @click="submitForm(2)">{{pageType==1?'退回整改':'暂无法整改'}}</view>
  151. <view @click="submitForm(1)">{{pageType==1?'复查完毕':'完成整改'}}</view>
  152. </view>
  153. </view>
  154. </template>
  155. <script>
  156. const myaudio = uni.createInnerAudioContext();
  157. import {
  158. parseTime
  159. } from '@/component/public.js'
  160. import {
  161. config
  162. } from '@/api/request/config.js'
  163. import {
  164. securityAppCheckPhotoUpdate,
  165. securityAppCheckDangerGetCheckProDetail,
  166. securityAppCheckDangerCheckRectify,
  167. securityAppCheckDangerApprove,
  168. securityAppCheckPhotoGetCheckNumBySub,
  169. } from '@/pages_safetyCheck/api/index.js'
  170. export default {
  171. name: "snapshotDetail",
  172. components: {
  173. },
  174. data() {
  175. return {
  176. baseUrl: config.base_url,
  177. inspectionItems: 0, //0有检查项 1无检查项
  178. pageType:null,
  179. form: {
  180. imgDtoList: [],
  181. rectifyProjectName: '',
  182. rectifyProjectUrl: '',
  183. },
  184. hazardCheckNum: 0,
  185. newData: {},
  186. optionData: null,
  187. fontNum:0,
  188. rectifyId:null,
  189. editStatus:null,
  190. }
  191. },
  192. onLoad(option) {
  193. let optionData = JSON.parse(decodeURIComponent(option.infoData));
  194. console.log('测试整改',optionData)
  195. this.$set(this, 'pageType', optionData.pageType);
  196. this.$set(this, 'optionData', optionData);
  197. this.$set(this, 'editStatus', optionData.editStatus);
  198. },
  199. onShow() {
  200. },
  201. mounted() {
  202. this.securityAppCheckDangerGetCheckProDetail();
  203. this.securityAppCheckPhotoGetCheckNumBySub();
  204. },
  205. methods: {
  206. //语音备忘播放
  207. async voicePlay(item) {
  208. myaudio.src = config.base_url + item;
  209. myaudio.play();
  210. },
  211. //详情
  212. async securityAppCheckDangerGetCheckProDetail() {
  213. let self=this;
  214. let obj = {
  215. planId: this.optionData.checkPlanSetVoList.planId,
  216. planSetId: this.optionData.checkPlanSetVoList.planSetId,
  217. checkCategory: this.optionData.checkCategory,
  218. hazardCheckPro: this.optionData.hazardCheckPro,
  219. subId: this.optionData.subId,
  220. }
  221. const {
  222. data
  223. } = await securityAppCheckDangerGetCheckProDetail(obj);
  224. if (data.code == 200) {
  225. uni.setNavigationBarTitle({
  226. title: data.data.subName+'(' + data.data.roomNum + ')'
  227. })
  228. data.data.checkCollapse=false;
  229. data.data.inspectDot=false;
  230. data.data.checkTime= parseTime(data.data.checkTime, "{y}-{m}-{d}");
  231. if(data.data.checkRectifyVoList[0]){
  232. data.data.checkRectifyVoList.forEach(function(item,index){
  233. item.rectifyTime= parseTime(item.rectifyTime, "{y}-{m}-{d}");
  234. item.reviewTime= parseTime(item.reviewTime, "{y}-{m}-{d}");
  235. item.rectifyCollapse=false;
  236. item.reviewCollapse=false;
  237. if(index==data.data.checkRectifyVoList.length-1){
  238. self.$set(self, 'rectifyId', item.rectifyId);
  239. //编辑数据的时候数据回填
  240. if(self.pageType==1 && self.editStatus){
  241. item.rectifyCollapse=true;
  242. item.reviewTime=null;
  243. self.$set(self.form, 'examineOpinion', item.examineOpinion?item.examineOpinion:'');
  244. self.$set(self.form, 'imgDtoList', item.examineUploadList?item.examineUploadList:[]);
  245. }else if(self.pageType==2 && self.editStatus){
  246. item.reviewCollapse=true;
  247. item.rectifyTime=null;
  248. self.$set(self.form, 'rectifyMeasure', item.rectifyMeasure?item.rectifyMeasure:'');
  249. self.$set(self.form, 'imgDtoList', item.rectifyUploadList?item.rectifyUploadList:[]);
  250. }
  251. }
  252. })
  253. }
  254. this.$set(this, 'newData', data.data);
  255. this.$set(this.newData, 'voiceList', data.data.voiceList ? data.data.voiceList : []);
  256. }
  257. },
  258. // 限制文本框字数
  259. sumfontnum(e) {
  260. this.fontNum = e.detail.value.length
  261. },
  262. //获取检查项在当前实验室出现的次数
  263. async securityAppCheckPhotoGetCheckNumBySub() {
  264. let obj = {
  265. subId: this.optionData.subId,
  266. hazardCheckPro: this.optionData.hazardCheckPro,
  267. }
  268. const {
  269. data
  270. } = await securityAppCheckPhotoGetCheckNumBySub(obj);
  271. if (data.code == 200) {
  272. this.$set(this, 'hazardCheckNum', data.data);
  273. }
  274. },
  275. hiddenDangerClick(row) {
  276. let infoData = this.optionData;
  277. infoData.subName=this.newData.subName;
  278. infoData.roomNum=this.newData.roomNum;
  279. infoData.hiddenDangerRecordStatus = true;//判断是否跳转隐患列表
  280. uni.redirectTo({
  281. url: '/pages_safetyCheck/views/inspectManage/hiddenDangerRecord?infoData=' +
  282. encodeURIComponent(JSON.stringify(infoData))
  283. });
  284. },
  285. //图片预览
  286. lockImg(list) {
  287. if (!list[0]) {
  288. return
  289. }
  290. let urlList = [];
  291. for (let i = 0; i < list.length; i++) {
  292. urlList.push(config.base_url + list[i].fileUrl)
  293. }
  294. wx.previewImage({
  295. urls: urlList, //需要预览的图片http链接列表,多张的时候,url直接写在后面就行了
  296. current: '', // 当前显示图片的http链接,默认是第一个
  297. success: function(res) {},
  298. fail: function(res) {},
  299. complete: function(res) {},
  300. })
  301. },
  302. //滚动事件
  303. scrollGet() {},
  304. /******文件上传******/
  305. selectFile() {
  306. let self = this;
  307. wx.chooseMessageFile({
  308. count: 1,
  309. type: 'file',
  310. success(res) {
  311. console.log(res)
  312. // tempFilePath可以作为img标签的src属性显示图片
  313. const tempFilePaths = res.tempFiles[0].path
  314. self.form.rectifyProjectName = res.tempFiles[0].name
  315. self.uploadFile(tempFilePaths);
  316. }
  317. })
  318. },
  319. async uploadFile(tempFilePaths) {
  320. var self = this;
  321. uni.showLoading({
  322. title: '上传中',
  323. mask: true
  324. });
  325. uni.uploadFile({
  326. url: config.base_url + '/system/file/upload', //仅为示例,非真实的接口地址
  327. header: {
  328. 'Authorization': uni.getStorageSync('token')
  329. },
  330. filePath: tempFilePaths,
  331. name: 'file',
  332. formData: {
  333. 'user': 'test'
  334. },
  335. success: (uploadFileRes) => {
  336. let res = JSON.parse(uploadFileRes.data);
  337. console.log(res)
  338. if (res.code == 200) {
  339. self.form.rectifyProjectUrl = res.data.url;
  340. } else {
  341. uni.showToast({
  342. title: res.msg,
  343. icon: "none",
  344. mask: true,
  345. duration: 2000
  346. });
  347. }
  348. },
  349. fail: err => {},
  350. complete: () => {
  351. uni.hideLoading()
  352. }
  353. });
  354. },
  355. /******图片上传******/
  356. selectImage() {
  357. let self=this;
  358. let photoMaxNun = 0;
  359. if (this.form.imgDtoList.length > 5) {
  360. uni.showToast({
  361. title: '最多上传6张图片',
  362. icon: "none",
  363. mask: true,
  364. duration: 2000
  365. });
  366. return
  367. }
  368. photoMaxNun = 6 - this.form.imgDtoList.length;
  369. wx.chooseImage({
  370. count: photoMaxNun,
  371. sizeType: ["original", "compressed"],
  372. sourceType: ["album", "camera"],
  373. success: function(res) {
  374. if (res.tempFilePaths[0]) {
  375. res.tempFilePaths.forEach(function(item, index) {
  376. self.uploadImg(item);
  377. })
  378. }
  379. }
  380. });
  381. },
  382. async uploadImg(tempFilePaths) {
  383. var self = this;
  384. uni.showLoading({
  385. title: '上传中',
  386. mask: true
  387. });
  388. uni.uploadFile({
  389. url: config.base_url + '/system/file/upload', //仅为示例,非真实的接口地址
  390. header: {
  391. 'Authorization': uni.getStorageSync('token')
  392. },
  393. filePath: tempFilePaths,
  394. name: 'file',
  395. formData: {
  396. 'user': 'test'
  397. },
  398. success: (uploadFileRes) => {
  399. let res = JSON.parse(uploadFileRes.data);
  400. if (res.code == 200) {
  401. this.form.imgDtoList.push({
  402. 'fileUrl': res.data.url,
  403. 'fileName': res.data.name,
  404. 'fileType': 2,
  405. });
  406. console.log(res.data.url)
  407. } else {
  408. uni.showToast({
  409. title: res.msg,
  410. icon: "none",
  411. mask: true,
  412. duration: 2000
  413. });
  414. }
  415. },
  416. fail: err => {},
  417. complete: () => {
  418. uni.hideLoading()
  419. }
  420. });
  421. },
  422. //删除图片
  423. delImg(minIndex) {
  424. this.form.imgDtoList.splice(minIndex, 1);
  425. this.$forceUpdate();
  426. },
  427. //折叠展开
  428. inspectDot(){
  429. this.newData.inspectDot=!this.newData.inspectDot
  430. },
  431. checkCollapse(row){
  432. this.newData.checkCollapse=!this.newData.checkCollapse
  433. },
  434. rectifyCollapse(row){
  435. row.rectifyCollapse=!row.rectifyCollapse
  436. },
  437. reviewCollapse(row){
  438. row.reviewCollapse=!row.reviewCollapse
  439. },
  440. //提交
  441. async submitForm(status) {
  442. let self = this;
  443. if(self.pageType==1){
  444. if(!this.form.examineOpinion && status==2){
  445. uni.showToast({
  446. title: '请填写复查验证描述!',
  447. icon: "none",
  448. mask: true,
  449. duration: 2000
  450. });
  451. return
  452. }
  453. if(!this.form.imgDtoList[0] && status==2){
  454. uni.showToast({
  455. title: '请选择现场照片!',
  456. icon: "none",
  457. mask: true,
  458. duration: 2000
  459. });
  460. return
  461. }
  462. //复查
  463. let obj = {
  464. rectifyId: this.rectifyId,
  465. examineOpinion: this.form.examineOpinion,
  466. examineResult: status == 1 ? 1 : 0, //1是通过,0是驳回
  467. examineUploadList: this.form.imgDtoList,
  468. }
  469. const {
  470. data
  471. } = await securityAppCheckDangerApprove(obj);
  472. if (data.code == 200) {
  473. uni.showToast({
  474. title: '提交成功',
  475. icon: "none",
  476. mask: true,
  477. duration: 2000
  478. });
  479. let infoData = this.optionData;
  480. uni.redirectTo({
  481. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItemsDetail?infoData=' +
  482. encodeURIComponent(JSON.stringify(infoData))
  483. });
  484. }
  485. }else if(self.pageType==2){
  486. if(!this.form.rectifyMeasure){
  487. uni.showToast({
  488. title: '请填写隐患整改描述!',
  489. icon: "none",
  490. mask: true,
  491. duration: 2000
  492. });
  493. return
  494. }
  495. if(!this.form.imgDtoList[0]){
  496. uni.showToast({
  497. title: '请选择现场照片!',
  498. icon: "none",
  499. mask: true,
  500. duration: 2000
  501. });
  502. return
  503. }
  504. //整改
  505. let obj = {
  506. checkCategory: this.optionData.checkCategory,
  507. dangerId: this.newData.dangerId,
  508. rectifyMaterialName: '', //待定字段
  509. rectifyMaterialUrl: '', //待定字段
  510. rectifyMeasure: this.form.rectifyMeasure,
  511. rectifyResult: status == 1 ? true : false, //true已整改false暂无法整改
  512. rectifyUploadList: this.form.imgDtoList,
  513. }
  514. const {
  515. data
  516. } = await securityAppCheckDangerCheckRectify(obj);
  517. if (data.code == 200) {
  518. uni.showToast({
  519. title: '提交成功',
  520. icon: "none",
  521. mask: true,
  522. duration: 2000
  523. });
  524. let infoData = this.optionData;
  525. uni.redirectTo({
  526. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItemsDetail?infoData=' +
  527. encodeURIComponent(JSON.stringify(infoData))
  528. });
  529. }
  530. }
  531. },
  532. }
  533. }
  534. </script>
  535. <style lang="stylus" scoped>
  536. .snapshotDetail {
  537. height: 100%;
  538. display flex;
  539. box-sizing: border-box;
  540. padding-bottom: 160rpx;
  541. box-sizing: border-box;
  542. #bgColor-A {
  543. color: #FFD400;
  544. }
  545. #bgColor-B {
  546. color: #FF8C00;
  547. }
  548. #bgColor-C {
  549. color: #E11608;
  550. }
  551. #fontColor-A {
  552. color: #FF8C00;
  553. }
  554. #fontColor-B {
  555. color: #16B531;
  556. }
  557. .tip {
  558. width: 750rpx;
  559. height: 80rpx;
  560. background: rgba(255, 140, 0, 0.2);
  561. font-weight: normal;
  562. font-size: 28rpx;
  563. color: #FF8C00;
  564. line-height: 80rpx;
  565. text-align: center;
  566. }
  567. .items {
  568. width: 690rpx;
  569. min-height: 165rpx;
  570. background: #FFFFFF;
  571. border-radius: 20rpx 20rpx 20rpx 20rpx;
  572. margin: 20rpx 0 0 30rpx;
  573. .items-li {
  574. display: flex;
  575. justify-content: space-between;
  576. align-items: center;
  577. padding: 0 30rpx;
  578. box-sizing: border-box;
  579. border-bottom: 1rpx solid #E0E0E0;
  580. >view:nth-of-type(1) {
  581. font-size: 30rpx;
  582. color: #333333;
  583. line-height: 80rpx;
  584. text-align: left;
  585. }
  586. >view:nth-of-type(2) {
  587. font-size: 28rpx;
  588. color: #666666;
  589. line-height: 80rpx;
  590. text-align: left;
  591. display: flex;
  592. justify-content: space-between;
  593. align-items: center;
  594. }
  595. }
  596. .items-t {
  597. border-bottom: 1rpx solid #E0E0E0;
  598. height: 80rpx;
  599. display: flex;
  600. justify-content: flex-start;
  601. align-items: center;
  602. padding: 0 30rpx;
  603. box-sizing: border-box;
  604. .items-t-l {
  605. width: 175rpx;
  606. height: 50rpx;
  607. background: #E11608;
  608. border-radius: 50rpx 50rpx 50rpx 50rpx;
  609. font-size: 30rpx;
  610. color: #FFFFFF;
  611. line-height: 50rpx;
  612. text-align: center;
  613. margin-right: 14rpx;
  614. }
  615. .items-t-r {
  616. font-size: 30rpx;
  617. color: #333333;
  618. line-height: 42rpx;
  619. text-align: left;
  620. }
  621. }
  622. .items-b {
  623. padding: 0 30rpx;
  624. box-sizing: border-box;
  625. height: 80rpx;
  626. font-size: 28rpx;
  627. color: #666666;
  628. line-height: 80rpx;
  629. text-align: left;
  630. }
  631. }
  632. .items-number {
  633. font-size: 24rpx;
  634. color: #3D3D3D;
  635. line-height: 34rpx;
  636. text-align: right;
  637. margin: 20rpx 60rpx 0 0;
  638. >text {
  639. font-size: 24rpx;
  640. color: #FF0000;
  641. line-height: 34rpx;
  642. text-align: right;
  643. }
  644. }
  645. .list {
  646. width: 690rpx;
  647. margin: 20rpx 30rpx 0;
  648. background: #FFFFFF;
  649. border-radius: 20rpx 20rpx 20rpx 20rpx;
  650. .list-li {
  651. display: flex;
  652. justify-content: space-between;
  653. align-items: center;
  654. padding: 0 30rpx;
  655. box-sizing: border-box;
  656. border-bottom: 1rpx solid #E0E0E0;
  657. >view:nth-of-type(1) {
  658. font-size: 30rpx;
  659. color: #333333;
  660. line-height: 80rpx;
  661. text-align: left;
  662. }
  663. >view:nth-of-type(2) {
  664. font-size: 28rpx;
  665. color: #666666;
  666. line-height: 80rpx;
  667. text-align: left;
  668. display: flex;
  669. justify-content: space-between;
  670. align-items: center;
  671. >img {
  672. width: 24rpx;
  673. height: 12rpx;
  674. margin-left: 10rpx;
  675. }
  676. }
  677. }
  678. .list-li-tow {
  679. display: flex;
  680. justify-content: space-between;
  681. align-items: center;
  682. padding: 0 30rpx;
  683. box-sizing: border-box;
  684. border-top: 1rpx solid #E0E0E0;
  685. border-bottom: 1rpx solid #E0E0E0;
  686. >view:nth-of-type(1) {
  687. font-size: 30rpx;
  688. color: #333333;
  689. line-height: 80rpx;
  690. text-align: left;
  691. }
  692. >view:nth-of-type(2) {
  693. font-size: 28rpx;
  694. color: #666666;
  695. line-height: 80rpx;
  696. text-align: left;
  697. display: flex;
  698. justify-content: space-between;
  699. align-items: center;
  700. >img {
  701. width: 30rpx;
  702. height: 28rpx;
  703. margin-left: 10rpx;
  704. }
  705. }
  706. }
  707. .file-li {
  708. display: flex;
  709. justify-content: space-between;
  710. align-items: center;
  711. padding: 0 30rpx;
  712. box-sizing: border-box;
  713. >img:nth-of-type(1) {
  714. width: 30rpx;
  715. height: 30rpx;
  716. }
  717. >view {
  718. flex: 1;
  719. font-size: 28rpx;
  720. color: #333333;
  721. line-height: 80rpx;
  722. text-align: left;
  723. margin: 0 92rpx 0 16rpx;
  724. overflow: hidden;
  725. text-overflow: ellipsis;
  726. white-space: nowrap;
  727. }
  728. >img:nth-of-type(2) {
  729. width: 30rpx;
  730. height: 30rpx;
  731. }
  732. }
  733. .hidden-content {
  734. width: 630rpx;
  735. min-height: 200rpx;
  736. background: #F5F5F5;
  737. border-radius: 20rpx 20rpx 20rpx 20rpx;
  738. margin: 20rpx 30rpx 0;
  739. padding: 20rpx;
  740. box-sizing: border-box;
  741. font-size: 28rpx;
  742. color: #666666;
  743. line-height: 39rpx;
  744. text-align: left;
  745. }
  746. .photo {
  747. display: flex;
  748. justify-content: flex-start;
  749. flex-wrap: wrap;
  750. margin-top: 20rpx;
  751. padding: 0 30rpx;
  752. box-sizing: border-box;
  753. >img {
  754. width: 150rpx;
  755. height: 150rpx;
  756. border-radius: 10rpx 10rpx 10rpx 10rpx;
  757. margin: 0 10rpx 10rpx 0;
  758. }
  759. >img:nth-of-type(4) {
  760. margin-right: 0;
  761. }
  762. }
  763. .describe {
  764. width: 636rpx;
  765. height: 120rpx;
  766. border-radius: 10rpx 10rpx 10rpx 10rpx;
  767. border: 1rpx solid #E0E0E0;
  768. margin: 20rpx 0 0 28rpx;
  769. padding: 12rpx 16rpx;
  770. box-sizing: border-box;
  771. }
  772. .check-for-img-max-box {
  773. margin: 20px 28rpx;
  774. .left-title-p {
  775. width: 100%;
  776. text-align: left;
  777. font-size: 30rpx;
  778. font-family: PingFang SC-Medium, PingFang SC;
  779. font-weight: 400;
  780. color: #333333;
  781. line-height: 80rpx;
  782. }
  783. .right-img-box {
  784. .img-box {
  785. display inline-block;
  786. height: 150rpx;
  787. width: 150rpx;
  788. position relative;
  789. margin: 0 10rpx 20rpx 0;
  790. border-radius 10rpx;
  791. overflow hidden;
  792. .img-data {
  793. height: 150rpx;
  794. width: 150rpx;
  795. }
  796. .position-img {
  797. position absolute;
  798. right: 0;
  799. top: 0;
  800. width: 36rpx;
  801. height: 36rpx;
  802. }
  803. }
  804. .img-box:nth-of-type(4n+4) {
  805. margin-right: 0rpx;
  806. }
  807. .add-button {
  808. margin: 0 0rpx 20rpx 0;
  809. border-radius 10rpx;
  810. overflow hidden;
  811. display inline-block;
  812. height: 150rpx;
  813. width: 150rpx;
  814. }
  815. }
  816. }
  817. /* .list-li:last-of-type {
  818. border: none;
  819. } */
  820. }
  821. }
  822. /* 语音备注 */
  823. .voice {
  824. width: 690rpx;
  825. min-height: 100rpx;
  826. background: #FFFFFF;
  827. border-radius: 20rpx 20rpx 20rpx 20rpx;
  828. padding: 0 30rpx;
  829. box-sizing: border-box;
  830. overflow: hidden;
  831. .voice_t {
  832. height: 100rpx;
  833. display: flex;
  834. justify-content: space-between;
  835. align-items: center;
  836. .voice_t_t {
  837. width: 100%;
  838. font-size: 30rpx;
  839. font-family: PingFang SC-Medium, PingFang SC;
  840. font-weight: 400;
  841. color: #333333;
  842. line-height: 100rpx;
  843. }
  844. .voice_t_b {
  845. width: 100%;
  846. font-size: 30rpx;
  847. font-family: PingFang SC-Medium, PingFang SC;
  848. font-weight: 400;
  849. color: #333333;
  850. line-height: 100rpx;
  851. text-align: left;
  852. }
  853. }
  854. .voice_b {
  855. display flex;
  856. justify-content flex-start;
  857. align-items center;
  858. margin-bottom: 20rpx;
  859. .voice_b_l {
  860. width: 400rpx;
  861. height: 40rpx;
  862. background: #0183FA;
  863. border-radius: 10rpx;
  864. display flex;
  865. justify-content flex-start;
  866. align-items center;
  867. font-size: 24rpx;
  868. color: #FFFFFF;
  869. line-height: 30rpx;
  870. text-align: left;
  871. >img {
  872. width: 20rpx;
  873. height: 20rpx;
  874. margin-left: 16rpx;
  875. margin-right: 20rpx;
  876. }
  877. }
  878. .voice_b_r {
  879. width: 28rpx;
  880. height: 28rpx;
  881. margin-left: 20rpx;
  882. }
  883. }
  884. .voice-btn {
  885. width: 150rpx;
  886. height: 150rpx;
  887. position: fixed;
  888. right: 24rpx;
  889. bottom: 176rpx;
  890. >img {
  891. width: 150rpx;
  892. height: 150rpx;
  893. position: absolute;
  894. }
  895. >text {
  896. font-size: 24rpx;
  897. color: #999999;
  898. line-height: 30rpx;
  899. text-align: center;
  900. position: absolute;
  901. top: 84rpx;
  902. left: 26rpx;
  903. }
  904. }
  905. }
  906. .sub-btn {
  907. display: flex;
  908. justify-content: center;
  909. position: fixed;
  910. left: 30rpx;
  911. bottom: 30rpx;
  912. >view:nth-of-type(1) {
  913. width: 345rpx;
  914. height: 100rpx;
  915. background: #FF8C00;
  916. border-radius: 50rpx 0rpx 0rpx 50rpx;
  917. font-size: 30rpx;
  918. color: #FFFFFF;
  919. line-height: 100rpx;
  920. text-align: center;
  921. }
  922. >view:nth-of-type(2) {
  923. width: 345rpx;
  924. height: 100rpx;
  925. background: #0183FA;
  926. border-radius: 0rpx 50rpx 50rpx 0rpx;
  927. font-size: 30rpx;
  928. color: #FFFFFF;
  929. line-height: 100rpx;
  930. text-align: center;
  931. }
  932. }
  933. </style>