dangerDetail.vue 27 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045
  1. <!-- 安全检查-安全隐患 -->
  2. <template>
  3. <view class="examine">
  4. <scroll-view scroll-x @scrolltolower="scrollGet" class="header">
  5. <view class="tabTitle_tow">
  6. <view class="tabTitle_tow_li" @tap="tabClickTow(item,index)" :key="index" v-for="(item,index) in tabTextTow">
  7. <view :class="{on:curTabTow==index}" class="tabTitle_tow_text">{{item.name}}</view>
  8. <view :class="{on:curTabTow==index}" class="tabTitle_tow_across"></view>
  9. </view>
  10. </view>
  11. </scroll-view>
  12. <scroll-view scroll-y @scrolltolower="scrollGet" class="info-max-box">
  13. <!-- 隐患检查 -->
  14. <view v-if="curTabIndex=='detail'">
  15. <view class="basics">
  16. <view class="basics_li">
  17. <text>学院:</text>
  18. <text>{{infoData.collegeName}}</text>
  19. </view>
  20. <view class="basics_li">
  21. <text>实验室:</text>
  22. <text>{{infoData.subjectName}}-{{infoData.roomNumber}}</text>
  23. </view>
  24. <view class="basics_li">
  25. <text>楼栋:</text>
  26. <text>{{infoData.subjectName}}</text>
  27. </view>
  28. <view class="basics_li">
  29. <text>检查类型:</text>
  30. <text>{{infoData.checkType==1?'校园巡查':(infoData.checkType==2?'实验室自查':'')}}</text>
  31. </view>
  32. <view class="basics_li">
  33. <text>检查范围:</text>
  34. <text>{{infoData.checkRange==1?'全校':(infoData.checkRange==2?'学院':'实验室')}}</text>
  35. </view>
  36. <view class="basics_li" style="border:none;">
  37. <text>检查计划:</text>
  38. <text>{{infoData.title}}</text>
  39. </view>
  40. </view>
  41. <view class="basics">
  42. <view class="basics_li">
  43. <text>检查结果:</text>
  44. <text>{{infoData.checkResult==0?'不符合':(infoData.checkResult==1?'符合':'')}}</text>
  45. </view>
  46. <view class="basics_li">
  47. <text>整改期限:</text>
  48. <text>{{infoData.rectifyDeadline}}</text>
  49. </view>
  50. <view class="basics_li">
  51. <text>整改通知:</text>
  52. <text style="color: #0183FA;">{{infoData.rectifyNotice == 1?'整改告知书':(infoData.rectifyNotice == 2?'整改通知书':'')}}</text>
  53. </view>
  54. <view class="basics_li">
  55. <text>检查者:</text>
  56. <text>{{infoData.checkUser}}</text>
  57. </view>
  58. <view class="basics_li" style="border:none;">
  59. <text>检查时间:</text>
  60. <text>{{infoData.checkTime}}</text>
  61. </view>
  62. </view>
  63. <view class="danger">
  64. <view class="danger_title">不符合项</view>
  65. <view class="grade">
  66. <text>隐患等级:</text>
  67. <text>{{infoData.checkHazardApplyDto.hazardLevel==0?'一般隐患':(infoData.checkHazardApplyDto.hazardLevel==1?'重大隐患':(infoData.checkHazardApplyDto.hazardLevel==2?'管理问题':''))}}</text>
  68. </view>
  69. <view class="project">
  70. <view class="project_t">检查项目:</view>
  71. <view class="project_b">{{infoData.checkHazardApplyDto.hazardCheckProStr}}</view>
  72. <view class="project_b2" v-if="infoData.checkHazardApplyDto.hazardCheckCount>0">此检查项在当前实验室累计出现{{infoData.checkHazardApplyDto.hazardCheckCount}}次隐患</view>
  73. </view>
  74. <view class="project">
  75. <view class="project_t">检查要点:</view>
  76. <view class="project_b">{{infoData.checkHazardApplyDto.hazardCheckPoint}}</view>
  77. </view>
  78. <view class="project">
  79. <view class="project_t">隐患描述:</view>
  80. <view class="project_b">{{infoDialogData.checkHazardApplyDto.hazardDescribe}}</view>
  81. </view>
  82. <view class="picture">
  83. <view class="picture_t">隐患照片</view>
  84. <view class="picture_b">
  85. <img :src="imgItem.fileUrl" v-for="(imgItem,index) in infoData.checkHazardApplyDto.uploadDtoList" :key="index" @click="lockImg(infoData.checkHazardApplyDto.uploadDtoList)"/>
  86. </view>
  87. </view>
  88. </view>
  89. </view>
  90. <view v-for="(item,index) in infoData.checkRectifyApplyList" :key="index" v-if="curTabIndex== index">
  91. <!-- 整改结果 -->
  92. <view v-if="item.applyFlag == 1" class="abarbeitung_result danger">
  93. <view class="grade">
  94. <text>整改结果:</text>
  95. <text style="color: #0183FA;">{{item.rectifyResult == 1?'已整改':(item.rectifyResult == 0?'暂无法整改':'')}}</text>
  96. </view>
  97. <view class="project">
  98. <view class="project_t">整改措施:</view>
  99. <view class="project_b">{{item.rectifyMeasure}}</view>
  100. </view>
  101. <view class="picture">
  102. <view class="picture_t">整改照片:</view>
  103. <view class="picture_b">
  104. <img :src="imgItem.fileUrl" @click="lockImg(imgItem)" v-for="(imgItem,imgIndex) in item.uploadDtoList" :key="imgIndex">
  105. </view>
  106. </view>
  107. <view class="grade">
  108. <text>整改人:</text>
  109. <text>{{item.createName}}</text>
  110. </view>
  111. <view class="grade" style="border:none;">
  112. <text>整改时间:</text>
  113. <text >{{item.createTime}}</text>
  114. </view>
  115. </view>
  116. <!-- 复核结果 -->
  117. <view v-if="item.applyFlag == 2" class="review_result danger">
  118. <view class="audit">
  119. <text>审核结果:</text>
  120. <img v-if="item.examineResult == 0" src="@/images/Version3.3.3/icon_ywc.png"/>
  121. <img v-if="item.examineResult == 1" src="@/images/Version3.3.3/icon_cg.png"/>
  122. </view>
  123. <view class="project">
  124. <view class="project_t">审核意见:</view>
  125. <view class="project_b">{{item.examineOpinion}}</view>
  126. </view>
  127. <view class="grade">
  128. <text>审核人:</text>
  129. <text>{{item.reviewedName}}</text>
  130. </view>
  131. <view class="grade" style="border:none;">
  132. <text>审核时间:</text>
  133. <text >{{item.reviewedTime}}</text>
  134. </view>
  135. </view>
  136. </view>
  137. <!-- 待整改 -->
  138. <view v-if="rectifyStatus==2 && curTabIndex=='add'">
  139. <view class="await">
  140. <view class="result">
  141. <view class="result_l">整改结果</view>
  142. <view class="result_r">
  143. <view v-for="(item,index) in resultArray" :key="index" @click="tabClick(index)">
  144. <text :class="resultIndex==index?'checked':'result_r_l' "></text>
  145. <text class="result_r_r">{{item}}</text>
  146. </view>
  147. </view>
  148. </view>
  149. <view class="describe">
  150. <view class="describe_l">{{form.rectifyResult==1?'整改措施:':'原因描述:'}}</view>
  151. <textarea class="describe_r" type="text" v-model="form.rectifyMeasure" maxlength="50" placeholder="请输入原因描述" placeholder-style="font-size:28rpx;color:#999;"></textarea>
  152. </view>
  153. <view class="check-for-img-max-box">
  154. <view class="left-title-p">隐患照片(最多上传5张):</view>
  155. <view class="right-img-box">
  156. <view class="img-box" v-for="(imgUrl,imgIndex) in form.uploadDtoList" :key="imgIndex">
  157. <img class="img-data" :src="configURL+imgUrl">
  158. <img class="position-img" src="@/pages_manage/images/icon_ssp_closure.png" @click="delImg(imgIndex)">
  159. </view>
  160. <img class="add-button" src="@/pages_manage/images/icon_07.png" @click="selectImage()" v-if="form.uploadDtoList.length<5">
  161. </view>
  162. </view>
  163. </view>
  164. </view>
  165. <!-- 待复核 -->
  166. <view v-if="rectifyStatus==3 && curTabIndex=='check'" class="review">
  167. <view class="describe">
  168. <view class="describe_l">审核意见:</view>
  169. <textarea class="describe_r" type="text" v-model="form.examineOpinion" maxlength="50" placeholder="请输入审核意见" placeholder-style="font-size:28rpx;color:#999;"></textarea>
  170. </view>
  171. <view class="quick">
  172. <view class="quick_l">审核意见快捷输入</view>
  173. <view class="quick_r">
  174. <text @click="quickSelect(index)" :class="item.type?'quick_B':'quick_A'" v-for="(item,index) in quickArray">{{item.name}}</text>
  175. </view>
  176. </view>
  177. </view>
  178. <!-- 暂无法整改 -->
  179. <view v-if="rectifyStatus==4" class="incapable danger">
  180. <view class="grade">
  181. <text>整改结果:</text>
  182. <text style="color: #0183FA;">暂无法整改</text>
  183. </view>
  184. <view class="project">
  185. <view class="project_t">原因描述:</view>
  186. <view class="project_b">实验室施工</view>
  187. </view>
  188. <view class="picture">
  189. <view class="picture_t">上传照片:</view>
  190. <view class="picture_b">
  191. <img src="@/images/Version3.3.3/icon_xyxc_syszc.png"/>
  192. <img src="@/images/Version3.3.3/icon_xyxc_syszc.png"/>
  193. <img src="@/images/Version3.3.3/icon_xyxc_syszc.png"/>
  194. <img src="@/images/Version3.3.3/icon_xyxc_syszc.png"/>
  195. </view>
  196. </view>
  197. <view class="grade">
  198. <text>整改人:</text>
  199. <text>褚朝朝</text>
  200. </view>
  201. <view class="grade" style="border:none;">
  202. <text>整改时间:</text>
  203. <text >2023-04-0114:00</text>
  204. </view>
  205. </view>
  206. </scroll-view>
  207. <view class="bottom_btn" @click="submitForm('rectify')" v-if="rectifyStatus==2">提交</view>
  208. <view class="bottom_btn_tow" v-if="rectifyStatus==3">
  209. <text @click="submitForm('pass')">驳回</text>
  210. <text @click="submitForm('reject')">通过</text>
  211. </view>
  212. </view>
  213. </template>
  214. <script>
  215. import { config } from '@/api/request/config.js'
  216. import {getHazardById,checkHazardAdd} from '@/api/index.js'
  217. export default {
  218. name: "rectifyList",
  219. components: {
  220. },
  221. data() {
  222. return {
  223. id:'',
  224. pageType:0,
  225. configURL:config.base_url,
  226. //列表请求参数
  227. getData:{
  228. pageNum:1,
  229. pageSize:20,
  230. },
  231. tabTextTow:[],
  232. curTabTow:0,
  233. curTabIndex:'detail',//随顶部按钮点击变化索引
  234. resultIndex:0,
  235. resultArray:['已整改','暂无法整改'],
  236. form:{
  237. checkHazardId:'',// 隐患id
  238. rectifyType:'',// 整改类型:1是院校巡查,2是自查
  239. rectifyResult:'1',//1是已整改,0是暂无法整改
  240. rectifyMeasure:'',//整改措施
  241. uploadDtoList:[],
  242. //复核---------------
  243. id:'',
  244. examineResult:'',//审核结果1是通过,0是驳回
  245. examineOpinion:'',
  246. },
  247. quickIndex:0,
  248. quickArray:[{name:'复核驳回',type:false},{name:'驳回在整改',type:false},{name:'请补充材料',type:false},{name:'请补充描述',type:false},{name:'未解决',type:false}],
  249. infoData:{},
  250. item:{},
  251. rectifyStatus:'',//1已完成 2待整改 3待复核 4 暂无法整改
  252. }
  253. },
  254. onLoad(option) {
  255. if(option.item){
  256. this.item=JSON.parse(decodeURIComponent(option.item));
  257. this.id=this.item.id
  258. this.rectifyStatus=this.item.rectifyStatus;
  259. this.getHazardById()
  260. }
  261. },
  262. onShow() {
  263. },
  264. mounted(){
  265. },
  266. methods: {
  267. //整改结果
  268. tabClick(index) {
  269. this.resultIndex = index;
  270. if(index==0){
  271. this.form.resultArray=1
  272. }else if(idnex==1){
  273. this.form.resultArray=0
  274. }
  275. },
  276. //顶部tab点击
  277. tabClickTow(item,index) {
  278. this.curTabTow = index;
  279. this.pageType=index;
  280. if(item.type=='detail' || item.type=='add' || item.type=='check'){
  281. this.curTabIndex=item.type
  282. }else{
  283. this.curTabIndex=index-1;
  284. }
  285. console.log(this.curTabIndex)
  286. },
  287. //详情
  288. async getHazardById(){
  289. let _this = this;
  290. const {data} = await getHazardById({id:this.id});
  291. if(data.code == 200){
  292. this.infoData=data.data
  293. this.form.checkHazardId=data.data.checkHazardApplyDto.id;
  294. this.form.rectifyType=data.data.checkType;
  295. if(data.data.checkRectifyApplyList[0]){
  296. this.tabTextTow.push({'type':'detail','name':'隐患检查'})
  297. for(let i=0;i<data.data.checkRectifyApplyList.length;i++){
  298. if(i == 0){
  299. this.tabTextTow.push({'type':'item','name':'隐患整改'})
  300. }else if(i == 1){
  301. this.tabTextTow.push({'type':'item','name':'整改复核'})
  302. }else{
  303. let nameLeft = this.frequencyCalculation(i,data.data.checkRectifyApplyList[i].applyFlag);
  304. let nameRight = data.data.checkRectifyApplyList[i].applyFlag == 1?'整改':'复核';
  305. this.tabTextTow.push({'type':'item','name':nameLeft+nameRight})
  306. }
  307. }
  308. if(this.rectifyStatus==3){
  309. this.tabTextTow.push({'type':'check','name':'整改复核'})
  310. }
  311. }else{
  312. if(this.rectifyStatus==2){
  313. this.tabTextTow=[{'type':'detail','name':'隐患检查'},{'type':'add','name':'隐患整改'}]
  314. }
  315. }
  316. }
  317. },
  318. //多次名称匹配
  319. frequencyCalculation(length,type){
  320. console.log(length)
  321. console.log(type)
  322. let textList = [
  323. {value:'二次',key:'2'},{value:'三次',key:'3'},{value:'四次',key:'4'},{value:'五次',key:'5'}, {value:'六次',key:'6'}, {value:'七次',key:'7'},
  324. {value:'八次',key:'8'},{value:'九次',key:'9'},{value:'十次',key:'10'}
  325. ]
  326. let num = type === 2?Math.ceil(length/2):Math.floor(length/2)
  327. if(type == 1){
  328. num++
  329. }
  330. if (num > 10){
  331. return '再次'
  332. } else{
  333. for(let i=0;i<textList.length;i++){
  334. if(num == textList[i].key){
  335. return textList[i].value
  336. console.log(textList[i].value)
  337. }
  338. }
  339. }
  340. },
  341. //滚动事件
  342. scrollGet(){},
  343. handleClick(doType){
  344. let self=this;
  345. if( doType=='subBtn'){//
  346. console.log(11)
  347. }
  348. },
  349. //查看图片
  350. lockImg(list){
  351. console.log(list)
  352. if(!list[0]){
  353. return
  354. }
  355. let urlList=[];
  356. for(let i=0;i<list.length;i++){
  357. urlList.push(list[i].fileUrl)
  358. }
  359. wx.previewImage({
  360. urls: urlList, //需要预览的图片http链接列表,多张的时候,url直接写在后面就行了
  361. current: '', // 当前显示图片的http链接,默认是第一个
  362. success: function(res) {},
  363. fail: function(res) {},
  364. complete: function(res) {},
  365. })
  366. },
  367. //快捷选择
  368. quickSelect(index) {
  369. this.quickArray[index].type = !this.quickArray[index].type
  370. this.form.examineOpinion=this.quickArray[index].name
  371. let _this = this;
  372. if (_this.quickArray[index].type == true) {
  373. _this.quickArray.forEach(function(item2) {
  374. if (item2.name == _this.quickArray[index].name) {
  375. item2.type = true
  376. } else {
  377. item2.type = false
  378. }
  379. })
  380. }else{
  381. this.form.examineOpinion='';
  382. }
  383. },
  384. // 图片上传
  385. selectImage(item) {
  386. let self = this;
  387. if(this.form.uploadDtoList.length>4){
  388. uni.showToast({
  389. title: '最多上传5张图片',
  390. icon:"none",
  391. mask:true,
  392. duration: 2000
  393. });
  394. return
  395. }
  396. wx.chooseImage({
  397. count: 1,
  398. sizeType: ["original", "compressed"],
  399. sourceType: ["album", "camera"],
  400. success: function(res) {
  401. let tempFilePaths = res.tempFilePaths[0];
  402. self.uploadImg(tempFilePaths);
  403. }
  404. });
  405. },
  406. async uploadImg(tempFilePaths){
  407. var self = this;
  408. uni.showLoading({
  409. title: '上传中',
  410. mask: true
  411. });
  412. uni.uploadFile({
  413. url: config.base_url+'/base/file/upload', //仅为示例,非真实的接口地址
  414. header:{'Authorization':uni.getStorageSync('token')},
  415. filePath: tempFilePaths,
  416. name: 'file',
  417. formData: {
  418. 'user': 'test'
  419. },
  420. success: (uploadFileRes) => {
  421. let res = JSON.parse(uploadFileRes.data);
  422. if(res.code == 200){
  423. this.form.uploadDtoList.push({'fileUrl':res.data.url,'fileName':res.data.name});
  424. }else{
  425. uni.showToast({
  426. title: res.msg,
  427. icon:"none",
  428. mask:true,
  429. duration: 2000
  430. });
  431. }
  432. },
  433. fail: err => {},
  434. complete: () => {
  435. uni.hideLoading()
  436. }
  437. });
  438. },
  439. //删除图片
  440. delImg(minIndex){
  441. this.form.uploadDtoList.splice(minIndex,1);
  442. this.$forceUpdate();
  443. },
  444. async submitForm(doType){
  445. let _this = this;
  446. let obj={};
  447. if(doType=='rectify'){//整改
  448. obj.checkHazardId=this.form.checkHazardId;
  449. obj.rectifyType=this.form.rectifyType;
  450. obj.rectifyResult=this.form.rectifyResult;
  451. obj.rectifyMeasure=this.form.rectifyMeasure;
  452. obj.uploadDtoList=this.form.uploadDtoList;
  453. }else if(doType=='reject' ){//复核 驳回
  454. obj.id=this.form.id;
  455. obj.examineResult=0;
  456. obj.examineOpinion=this.form.examineOpinion;
  457. }else if(doType=='pass'){//复核 通过
  458. obj.id=this.form.id;
  459. obj.examineResult=1;
  460. obj.examineOpinion=this.form.examineOpinion;
  461. }
  462. const {data} = await checkHazardAdd(obj);
  463. if(data.code == 200){
  464. uni.showToast({
  465. title: '提交成功',
  466. icon:"none",
  467. mask:true,
  468. duration: 2000
  469. });
  470. }
  471. },
  472. }
  473. }
  474. </script>
  475. <style lang="stylus" scoped>
  476. .examine{
  477. height:100%;
  478. display flex;
  479. // padding: 0 30rpx;
  480. // box-sizing: border-box;
  481. padding-bottom: 20rpx;
  482. box-sizing: border-box;
  483. .info-max-box{
  484. flex: 1;
  485. overflow: scroll;
  486. padding: 120rpx 0rpx 0;
  487. box-sizing: border-box;
  488. }
  489. /* 隐患检查 */
  490. .header{
  491. width:750rpx;
  492. height: 100rpx;
  493. position: fixed;
  494. top: 0rpx;
  495. z-index: 100;
  496. background: #fff;
  497. .tabTitle_tow{
  498. height: 100rpx;
  499. white-space: nowrap;
  500. display: inline-flex;
  501. .tabTitle_tow_li{
  502. position: relative;
  503. width:152rpx;
  504. height: 100rpx;
  505. text-align center;
  506. padding-top: 26rpx;
  507. box-sizing: border-box;
  508. .tabTitle_tow_text{
  509. display: inline-block;
  510. font-size: 30rpx;
  511. font-family: PingFang SC;
  512. font-weight: 500;
  513. color: #333333;
  514. line-height: 46rpx;
  515. position: relative;
  516. &.on{
  517. color:#0183FA;
  518. }
  519. }
  520. .tabTitle_tow_across{
  521. width: 50rpx;
  522. height: 4rpx;
  523. background: #0183FA;
  524. border-radius: 2rpx;
  525. margin-left: 33%;
  526. display none;
  527. &.on{
  528. display block;
  529. }
  530. }
  531. }
  532. }
  533. }
  534. .basics{
  535. width: 690rpx;
  536. background: #FFFFFF;
  537. border-radius: 20rpx;
  538. padding: 30rpx 30rpx 32rpx;
  539. box-sizing: border-box;
  540. margin: 20rpx 30rpx ;
  541. .basics_li{
  542. height: 80rpx;
  543. display: flex;
  544. justify-content: space-between;
  545. border-bottom: 1rpx solid #D8D8D8;
  546. >text:nth-of-type(1){
  547. font-size: 28rpx;
  548. font-family: PingFang SC-Medium, PingFang SC;
  549. font-weight: 400;
  550. color: #666666;
  551. line-height: 80rpx;
  552. width: 140rpx;
  553. }
  554. >text:nth-of-type(2){
  555. flex: 1;
  556. font-size: 28rpx;
  557. font-family: PingFang SC-Medium, PingFang SC;
  558. font-weight: 400;
  559. color: #333333;
  560. line-height: 80rpx;
  561. text-align: right;
  562. white-space: nowrap;
  563. overflow: hidden;
  564. text-overflow: ellipsis;
  565. }
  566. }
  567. }
  568. .attachment{
  569. width: 690rpx;
  570. background: #FFFFFF;
  571. border-radius: 20rpx;
  572. margin: 20rpx 30rpx 0;
  573. padding-bottom: 32rpx;
  574. box-sizing: border-box;
  575. .attachment_t{
  576. border-bottom: 1rpx solid #D8D8D8;
  577. >text:nth-of-type(1){
  578. font-size: 30rpx;
  579. font-family: PingFang SC-Medium, PingFang SC;
  580. font-weight: 400;
  581. color: #333333;
  582. line-height: 110rpx;
  583. margin-left: 28rpx;
  584. }
  585. >text:nth-of-type(2){
  586. font-size: 30rpx;
  587. font-family: PingFang SC-Medium, PingFang SC;
  588. font-weight: 400;
  589. color: #999999;
  590. line-height: 110rpx;
  591. margin-left: 24rpx;
  592. }
  593. }
  594. .attachment_li{
  595. height: 40rpx;
  596. display: flex;
  597. justify-content: flex-start;
  598. align-items: center;
  599. margin-top: 32rpx;
  600. >img{
  601. width: 30rpx;
  602. height: 26rpx;
  603. margin-right: 20rpx;
  604. margin-left: 50rpx;
  605. }
  606. >text{
  607. flex: 1;
  608. font-size: 28rpx;
  609. font-family: PingFang SC-Medium, PingFang SC;
  610. font-weight: 400;
  611. color: #0183FA;
  612. line-height: 40rpx;
  613. white-space: nowrap;
  614. overflow: hidden;
  615. text-overflow: ellipsis;
  616. }
  617. .attachment_li_del{
  618. width: 30rpx;
  619. height: 30rpx;
  620. }
  621. }
  622. }
  623. .danger{
  624. width: 690rpx;
  625. background: #FFFFFF;
  626. border-radius: 20rpx;
  627. padding: 30rpx 30rpx 32rpx;
  628. box-sizing: border-box;
  629. margin: 20rpx 30rpx ;
  630. .danger_title{
  631. font-size: 30rpx;
  632. font-family: PingFang SC-Medium, PingFang SC;
  633. font-weight: 400;
  634. color: #333333;
  635. line-height:80rpx;
  636. border-bottom: 1rpx solid #D8D8D8;
  637. }
  638. .grade{
  639. height: 80rpx;
  640. display: flex;
  641. justify-content: space-between;
  642. border-bottom: 1rpx solid #D8D8D8;
  643. >text:nth-of-type(1){
  644. font-size: 28rpx;
  645. font-family: PingFang SC-Medium, PingFang SC;
  646. font-weight: 400;
  647. color: #666666;
  648. line-height: 80rpx;
  649. width: 140rpx;
  650. }
  651. >text:nth-of-type(2){
  652. flex: 1;
  653. font-size: 28rpx;
  654. font-family: PingFang SC-Medium, PingFang SC;
  655. font-weight: 400;
  656. color: #333333;
  657. line-height: 80rpx;
  658. text-align: right;
  659. }
  660. }
  661. .project{
  662. .project_t{
  663. font-size: 30rpx;
  664. font-family: PingFang SC-Medium, PingFang SC;
  665. font-weight: 400;
  666. color: #333333;
  667. line-height: 80rpx;
  668. }
  669. .project_b{
  670. min-height: 158rpx;
  671. font-size: 28rpx;
  672. font-family: PingFang SC-Medium, PingFang SC;
  673. font-weight: 400;
  674. color: #333333;
  675. line-height: 40rpx;
  676. padding: 20rpx 14rpx;
  677. box-sizing: border-box;
  678. background: #F5F5F5;
  679. border-radius: 20rpx 20rpx 20rpx 20rpx;
  680. }
  681. .project_b2{
  682. font-size: 26rpx;
  683. font-family: PingFang SC-Medium, PingFang SC;
  684. font-weight: 400;
  685. color: #666666;
  686. line-height: 26rpx;
  687. margin-top: 14rpx;
  688. text-align: right;
  689. }
  690. }
  691. .picture{
  692. .picture_t{
  693. font-size: 30rpx;
  694. font-family: PingFang SC-Medium, PingFang SC;
  695. font-weight: 400;
  696. color: #333333;
  697. line-height: 80rpx;
  698. }
  699. .picture_b{
  700. display: flex;
  701. justify-content: flex-start;
  702. flex-wrap: wrap;
  703. >img{
  704. width: 200rpx;
  705. height: 200rpx;
  706. border-radius: 10rpx 10rpx 10rpx 10rpx;
  707. margin-right: 14rpx;
  708. margin-bottom: 10rpx;
  709. }
  710. >img:nth-of-type(3n+3){
  711. margin-right: 0rpx;
  712. }
  713. }
  714. }
  715. }
  716. /* 待整改 */
  717. .await{
  718. width: 690rpx;
  719. background: #FFFFFF;
  720. border-radius: 20rpx;
  721. padding: 30rpx 30rpx 32rpx;
  722. box-sizing: border-box;
  723. margin: 20rpx 30rpx ;
  724. /* 整改结果 */
  725. .result{
  726. display: flex;
  727. justify-content: flex-start;
  728. border-bottom: 1rpx solid #D8D8D8;
  729. .result_l{
  730. width: 146rpx;
  731. text-align: left;
  732. font-size: 30rpx;
  733. font-family: PingFang SC-Medium, PingFang SC;
  734. font-weight: 400;
  735. color: #333333;
  736. line-height: 80rpx;
  737. }
  738. .result_r{
  739. width: 486rpx;
  740. height: 80rpx;
  741. padding-left: 20rpx;
  742. box-sizing: border-box;
  743. display: flex;
  744. justify-content: flex-end;
  745. align-items: center;
  746. >view{
  747. display: flex;
  748. justify-content: flex-start;
  749. align-items: center;
  750. margin-right: 24rpx;
  751. .result_r_l{
  752. display: inline-block;
  753. width: 30rpx;
  754. height: 30rpx;
  755. border-radius: 50%;
  756. border: 1rpx solid #E0E0E0;
  757. margin-right: 14rpx;
  758. }
  759. .result_r_r{
  760. font-size: 30rpx;
  761. font-family: PingFang SC-Medium, PingFang SC;
  762. font-weight: 400;
  763. color: #333333;
  764. line-height: 80rpx;
  765. }
  766. .checked{
  767. display: inline-block;
  768. width: 30rpx;
  769. height: 30rpx;
  770. border-radius: 50%;
  771. border: 1rpx solid #0183FA;
  772. margin-right: 14rpx;
  773. position: relative;
  774. }
  775. .checked::after{
  776. content: '';
  777. position: absolute;
  778. top: 5rpx;
  779. left:5rpx;
  780. width: 20rpx;
  781. height: 20rpx;
  782. border-radius: 50%;
  783. background: #0183FA;
  784. }
  785. }
  786. }
  787. }
  788. /* 原因描述 */
  789. .describe{
  790. .describe_l{
  791. width: 158rpx;
  792. text-align: left;
  793. font-size: 30rpx;
  794. font-family: PingFang SC-Medium, PingFang SC;
  795. font-weight: 400;
  796. color: #333333;
  797. line-height: 80rpx;
  798. }
  799. .describe_r{
  800. width: 630rpx;
  801. height: 158rpx;
  802. border-radius: 20rpx 20rpx 20rpx 20rpx;
  803. opacity: 1;
  804. border: 1rpx solid #E0E0E0;
  805. padding: 20rpx 14rpx;
  806. box-sizing: border-box;
  807. font-size: 30rpx;
  808. font-family: PingFang SC-Medium, PingFang SC;
  809. font-weight: 400;
  810. color: #333333;
  811. line-height: 34rpx;
  812. }
  813. }
  814. /* 上传照片 */
  815. .check-for-img-max-box{
  816. .left-title-p{
  817. width: 100%;
  818. text-align: left;
  819. font-size: 30rpx;
  820. font-family: PingFang SC-Medium, PingFang SC;
  821. font-weight: 400;
  822. color: #333333;
  823. line-height: 80rpx;
  824. }
  825. .right-img-box{
  826. .img-box{
  827. display inline-block;
  828. height:200rpx;
  829. width:200rpx;
  830. position relative
  831. margin:0 14rpx 20rpx 0;
  832. border-radius 10rpx;
  833. overflow hidden;
  834. .img-data{
  835. height:200rpx;
  836. width:200rpx;
  837. }
  838. .position-img{
  839. position absolute
  840. right:0;
  841. top:0;
  842. width:36rpx;
  843. height:36rpx;
  844. }
  845. }
  846. .img-box:nth-of-type(3n+3){
  847. margin-right: 0rpx;
  848. }
  849. .add-button{
  850. margin:0 0rpx 20rpx 0;
  851. border-radius 10rpx;
  852. overflow hidden;
  853. display inline-block
  854. height:200rpx;
  855. width:200rpx;
  856. }
  857. }
  858. }
  859. }
  860. /* 待复核 */
  861. .review{
  862. width: 690rpx;
  863. background: #FFFFFF;
  864. border-radius: 20rpx;
  865. padding: 30rpx 30rpx 32rpx;
  866. box-sizing: border-box;
  867. margin: 20rpx 30rpx ;
  868. /* 审核意见 */
  869. .describe{
  870. .describe_l{
  871. width: 158rpx;
  872. text-align: left;
  873. font-size: 30rpx;
  874. font-family: PingFang SC-Medium, PingFang SC;
  875. font-weight: 400;
  876. color: #666;
  877. line-height: 80rpx;
  878. }
  879. .describe_r{
  880. width: 630rpx;
  881. height: 158rpx;
  882. border-radius: 20rpx 20rpx 20rpx 20rpx;
  883. opacity: 1;
  884. border: 1rpx solid #E0E0E0;
  885. padding: 20rpx 14rpx;
  886. box-sizing: border-box;
  887. font-size: 30rpx;
  888. font-family: PingFang SC-Medium, PingFang SC;
  889. font-weight: 400;
  890. color: #333333;
  891. line-height: 34rpx;
  892. }
  893. }
  894. /* 快捷输入 */
  895. .quick{
  896. .quick_l{
  897. font-size: 30rpx;
  898. font-family: PingFang SC-Medium, PingFang SC;
  899. font-weight: 400;
  900. color: #666666;
  901. line-height: 80rpx;
  902. }
  903. .quick_r{
  904. >text{
  905. display: inline-block;
  906. font-size: 30rpx;
  907. font-family: PingFang SC-Medium, PingFang SC;
  908. font-weight: 400;
  909. line-height: 60rpx;
  910. padding: 0 24rpx;
  911. box-sizing: border-box;
  912. border-radius: 10rpx 10rpx 10rpx 10rpx;
  913. margin-right: 20rpx;
  914. margin-bottom: 30rpx;
  915. }
  916. .quick_A{
  917. color: #666666;
  918. background: #F5F5F5;
  919. }
  920. .quick_B{
  921. color: #0183FA;
  922. background: rgba(1,131,250,0.2);
  923. }
  924. }
  925. }
  926. }
  927. /* 暂无法整改 */
  928. .incapable{
  929. width: 690rpx;
  930. background: #FFFFFF;
  931. border-radius: 20rpx;
  932. padding: 30rpx 30rpx 32rpx;
  933. box-sizing: border-box;
  934. margin: 20rpx 30rpx ;
  935. }
  936. /* 整改结果 */
  937. .abarbeitung_result{
  938. width: 690rpx;
  939. background: #FFFFFF;
  940. border-radius: 20rpx;
  941. padding: 30rpx 30rpx 32rpx;
  942. box-sizing: border-box;
  943. margin: 20rpx 30rpx ;
  944. }
  945. /* 审核结果 */
  946. .review_result{
  947. width: 690rpx;
  948. background: #FFFFFF;
  949. border-radius: 20rpx;
  950. padding: 30rpx 30rpx 32rpx;
  951. box-sizing: border-box;
  952. margin: 20rpx 30rpx ;
  953. .audit{
  954. height: 80rpx;
  955. display: flex;
  956. justify-content: space-between;
  957. border-bottom: 1rpx solid #D8D8D8;
  958. >text:nth-of-type(1){
  959. font-size: 28rpx;
  960. font-family: PingFang SC-Medium, PingFang SC;
  961. font-weight: 400;
  962. color: #666666;
  963. line-height: 80rpx;
  964. width: 140rpx;
  965. }
  966. >img{
  967. width: 80rpx;
  968. height: 70rpx;
  969. }
  970. }
  971. }
  972. .bottom_btn{
  973. position: fixed;
  974. bottom: 26rpx;
  975. left: 30rpx;
  976. font-size: 30rpx;
  977. font-family: PingFang SC-Medium, PingFang SC;
  978. font-weight: 400;
  979. color: #FFFFFF;
  980. line-height: 90rpx;
  981. width: 690rpx;
  982. height: 90rpx;
  983. background: #0183FA;
  984. border-radius: 20rpx;
  985. text-align: center;
  986. }
  987. .bottom_btn_tow{
  988. display: flex;
  989. justify-content: center;
  990. position: fixed;
  991. bottom: 26rpx;
  992. left: 30rpx;
  993. width: 690rpx;
  994. height: 90rpx;
  995. >text{
  996. flex: 1;
  997. display: inline-block;
  998. font-size: 30rpx;
  999. font-family: PingFang SC-Medium, PingFang SC;
  1000. font-weight: 400;
  1001. color: #FFFFFF;
  1002. line-height: 90rpx;
  1003. text-align: center
  1004. }
  1005. >text:nth-of-type(1){
  1006. background: #FA8201;
  1007. border-radius: 45rpx 0rpx 0rpx 45rpx;
  1008. }
  1009. >text:nth-of-type(2){
  1010. background: #0183FA;
  1011. border-radius: 0rpx 45rpx 45rpx 0rpx;
  1012. }
  1013. }
  1014. }
  1015. </style>