examineDetail.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957
  1. <!-- 安全检查-检查详情 -->
  2. <template>
  3. <view class="examine">
  4. <scroll-view scroll-y @scrolltolower="scrollGet" class="info-max-box">
  5. <view class="basics">
  6. <view class="basics_li">
  7. <text>学院:</text>
  8. <text>{{infoData.collegeName}}</text>
  9. </view>
  10. <view class="basics_li">
  11. <text>实验室:</text>
  12. <text>{{infoData.subjectName}}-{{infoData.roomNumber}}</text>
  13. </view>
  14. <view class="basics_li">
  15. <text>楼栋:</text>
  16. <text>{{infoData.buildName?infoData.buildName:'-'}}</text>
  17. </view>
  18. <view class="basics_li">
  19. <text>检查组织:</text>
  20. <text>{{infoData.checkType==1?'校园巡查':(infoData.checkType==2?'实验室自查':'')}}</text>
  21. </view>
  22. <view class="basics_li">
  23. <text>检查类型:</text>
  24. <text>{{infoData.checkCategory==1?'综合检查':(infoData.checkCategory==2?'专项检查':'')}}</text>
  25. </view>
  26. <view class="basics_li">
  27. <text>检查范围:</text>
  28. <text>{{infoData.checkRange==1?'全校':(infoData.checkRange==2?'学院':'实验室')}}</text>
  29. </view>
  30. <view class="basics_li" >
  31. <text>计划标题:</text>
  32. <text>{{infoData.title}}</text>
  33. </view>
  34. <view class="demand" style="border:none;">
  35. <text>检查要求:</text>
  36. <text>{{infoData.checkDemand?infoData.checkDemand:''}}</text>
  37. </view>
  38. </view>
  39. <view class="attachment" v-if="infoData.isAttachment==1">
  40. <view class="attachment_t">
  41. <text>材料附件</text>
  42. <text>点击文件标题查看</text>
  43. </view>
  44. <view class="attachment_li" v-for="item in attachmentList">
  45. <img src="@/pages_safetyExamine/images/icon_djc_wj.png"/>
  46. <text @click="attachmentPreview(item)">{{item.fileName}}</text>
  47. <!-- <img class="attachment_li_del" src="@/images/Version3.3.3/icon_fjgk_sc.png"/> -->
  48. </view>
  49. </view>
  50. <view class="basics" v-if="manageStatus==2">
  51. <view class="basics_li">
  52. <text>检查结果:</text>
  53. <text>{{infoData.checkResult==0?'不符合':(infoData.checkResult==1?'符合':'')}}</text>
  54. </view>
  55. <view class="basics_li" v-if="infoData.checkResult==0">
  56. <text>整改期限:</text>
  57. <text>{{infoData.rectifyDeadline}}</text>
  58. </view>
  59. <view class="basics_li" v-if="infoData.checkResult==0">
  60. <text>整改通知:</text>
  61. <text style="color: #0183FA;" @click="rectifyInform">{{infoData.rectifyNotice == 1?'整改告知书':(infoData.rectifyNotice == 2?'整改通知书':'')}}</text>
  62. </view>
  63. <view class="basics_li">
  64. <text>检查者:</text>
  65. <text>{{infoData.checkUser}}</text>
  66. </view>
  67. <view class="basics_li" style="border:none;">
  68. <text>检查时间:</text>
  69. <text>{{infoData.checkTime}}</text>
  70. </view>
  71. </view>
  72. <!-- 综合检查 -->
  73. <viw v-if="infoData.checkCategory==1">
  74. <view class="inconformity" @click="inconformityFun()" v-if="manageStatus==2 && infoData.checkResult==0">不符合项<img v-if="inconformityStatus" src="@/pages_safetyExamine/images/icon_bfhx_xq.png"/><img v-if="!inconformityStatus" src="@/pages_safetyExamine/images/icon_bfhx_sq.png"/></view>
  75. <view v-for="(item,index) in infoData.checkHazardDtoList" v-if="manageStatus==2 && infoData.checkResult==0">
  76. <view class="danger">
  77. <view class="sort">{{index+1}}</view>
  78. <view class="grade" :style="item.switch?'border-bottom: 1rpx solid #D8D8D8;':'border:none;'">
  79. <text>第{{index+1}}项隐患</text>
  80. <text style="color: #0183FA;" @click="dangerItem(item)">{{item.rectifyStatus==1?'已完成':(item.rectifyStatus==2?'待整改':(item.rectifyStatus==3?'待复核':(item.rectifyStatus==4?'暂无法整改':'')))}} >></text>
  81. </view>
  82. <view v-if="item.switch">
  83. <view class="grade">
  84. <text>隐患等级:</text>
  85. <text>{{item.hazardLevel==2?'一般隐患':(item.hazardLevel==1?'重大隐患':(item.hazardLevel==3?'管理问题':''))}}</text>
  86. </view>
  87. <view class="project">
  88. <view class="project_t">检查项目:</view>
  89. <view class="project_b">{{item.hazardCheckProStr}}</view>
  90. <view class="project_b2" v-if="item.hazardCheckCount>0">此检查项在当前实验室累计出现{{item.hazardCheckCount}}次隐患</view>
  91. </view>
  92. <view class="project">
  93. <view class="project_t">检查要点:</view>
  94. <view class="project_b">{{item.hazardCheckPoint}}</view>
  95. </view>
  96. <view class="project">
  97. <view class="project_t">隐患描述:</view>
  98. <view class="project_b">{{item.hazardDescribe}}</view>
  99. </view>
  100. <view class="picture">
  101. <view class="picture_t">隐患照片</view>
  102. <view class="picture_b" @click="lockImg(item.uploadDtoList)">
  103. <img :src="baseUrl+imgItem.fileUrl" v-for="(imgItem,imgIndex) in item.uploadDtoList"/>
  104. </view>
  105. </view>
  106. </view>
  107. </view>
  108. <view class="pack_up" @click="switchFun(item)">{{item.switch?'收起':'展开'}}<img v-if="item.switch" src="@/pages_safetyExamine/images/icon_06_1.png"/><img v-if="!item.switch" src="@/pages_safetyExamine/images/icon_06.png"/></view>
  109. </view>
  110. </viw>
  111. <!-- 专项检查 -->
  112. <view v-if="infoData.checkCategory==2 && manageStatus==2" v-for="(itemAll,indexAll) in infoData.checkHazardInfoVoList">
  113. <view class="inconformity_tow" @click="inconformityFun2(itemAll)" >{{itemAll.hazardName}}<img v-if="inconformityStatus2" src="@/pages_safetyExamine/images/icon_bfhx_xq.png"/><img v-if="!inconformityStatus2" src="@/pages_safetyExamine/images/icon_bfhx_sq.png"/></view>
  114. <view class="danger_border">
  115. <view class="ident">检查项目</view>
  116. <view class="danger special_danger" v-for="(item,index) in itemAll.checkHazardDtoList">
  117. <view class="grade" :style="item.switch?'border-bottom: 1rpx solid #D8D8D8;':'border:none;'">
  118. <view class="sort">{{index+1}}</view>
  119. <text>第{{index+1}}项隐患</text>
  120. <viwe :class="item.checkFlag==0?'noConform':'isConform'">{{item.checkFlag==0?'不符合':'符合'}}</viwe>
  121. <text style="color: #0183FA;" v-if="item.checkFlag==0" @click="dangerItem(item)">{{item.rectifyStatus==1?'已完成':(item.rectifyStatus==2?'待整改':(item.rectifyStatus==3?'待复核':(item.rectifyStatus==4?'暂无法整改':'')))}} >></text>
  122. </view>
  123. <view class="small_items">{{item.hazardCheckProStr}}</view>
  124. <view v-if="item.switch">
  125. <view class="frequency" v-if="item.hazardCheckCount>0">此检查项在当前实验室累计出现{{item.hazardCheckCount}}次隐患</view>
  126. <view class="grading">
  127. <text>隐患等级:</text>
  128. <text>{{item.hazardLevel==2?'一般隐患':(item.hazardLevel==1?'重大隐患':(item.hazardLevel==3?'管理问题':''))}}</text>
  129. </view>
  130. <view class="project">
  131. <view class="project_t">隐患描述:</view>
  132. <view class="project_b">{{item.hazardDescribe}}</view>
  133. </view>
  134. <view class="picture">
  135. <view class="picture_t">隐患照片</view>
  136. <view class="picture_b" @click="lockImg(item.uploadDtoList)">
  137. <img :src="baseUrl+imgItem.fileUrl" v-for="(imgItem,imgIndex) in item.uploadDtoList"/>
  138. </view>
  139. </view>
  140. </view>
  141. <view class="pack_up" v-if="item.checkFlag==0" @click="switchFun(item)">{{item.switch?'收起':'展开'}}<img v-if="item.switch" src="@/pages_safetyExamine/images/icon_06_1.png"/><img v-if="!item.switch" src="@/pages_safetyExamine/images/icon_06.png"/></view>
  142. </view>
  143. </view>
  144. </view>
  145. </scroll-view>
  146. <view class="report" @click="rectifyReport" v-if="isEndProcess==1 && infoData.checkResult==0">整改报告</view>
  147. <view class="bottom_btn" v-if="manageStatus==0 && isSelfData==1" @click="handleClick('','startInspect')">开始检查</view>
  148. </view>
  149. </template>
  150. <script>
  151. import { config } from '@/api/request/config.js'
  152. import {checkSign,queryDeptSignByUserId,findCheckManage,findByPlanIdAttachment} from '@/api/apiDemo/index.js'
  153. export default {
  154. name: "rectifyList",
  155. components: {
  156. },
  157. data() {
  158. return {
  159. baseUrl:config.base_url,
  160. manageStatus:0,//0 待检查 1 检查中 2已检查
  161. pageType:0,
  162. inconformityStatus:false,
  163. infoData:{},
  164. isSelfData:'',
  165. attachmentList:[],
  166. checkCategory:'2',//检查类型 1综合检查 2专项检查
  167. inconformityStatus2:false,
  168. isEndProcess:'',
  169. }
  170. },
  171. onLoad(option) {
  172. if(option.id){
  173. this.id=option.id
  174. this.isEndProcess=option.isEndProcess
  175. this.findCheckManage()
  176. }
  177. if(option.manageStatus){//检查状态
  178. this.manageStatus=option.manageStatus;
  179. }
  180. if(option.isSelfData){//0没有权限 1 有权限
  181. this.isSelfData=option.isSelfData;
  182. }
  183. if(option.manageStatus==0 || option.manageStatus==1){
  184. uni.setNavigationBarTitle({
  185. title:'待检查'
  186. })
  187. }else if(option.manageStatus==2){
  188. uni.setNavigationBarTitle({
  189. title:'已检查'
  190. })
  191. }
  192. },
  193. onShow() {
  194. },
  195. mounted(){
  196. },
  197. methods: {
  198. //滚动事件
  199. scrollGet(){
  200. },
  201. //开展检查
  202. handleClick(row,doType){
  203. if(doType=='startInspect'){
  204. uni.navigateTo({
  205. url: '/pages_safetyExamine/examineManage/examineAdd?id='+this.id
  206. });
  207. }
  208. },
  209. //根据计划id查询附件列表
  210. async findByPlanIdAttachment(){
  211. let _this = this;
  212. const {data} = await findByPlanIdAttachment({checkPlanId:this.infoData.checkPlanId});
  213. if(data.code == 200){
  214. _this.attachmentList=data.data;
  215. }
  216. },
  217. //详情
  218. async findCheckManage(){
  219. let _this = this;
  220. const {data} = await findCheckManage({id:this.id});
  221. if(data.code == 200){
  222. if(data.data.checkCategory==1){//综合检查
  223. data.data.checkHazardDtoList.forEach(function(item){
  224. item.switch=false;
  225. })
  226. }else if(data.data.checkCategory==2){//专项检查
  227. data.data.checkHazardInfoVoList.forEach(function(item){
  228. item.checkHazardDtoList.forEach(function(item2){
  229. item2.switch=false;
  230. })
  231. })
  232. }
  233. this.infoData=data.data;
  234. if(data.data.isAttachment==1){//0没有附件 1有附件
  235. this.findByPlanIdAttachment()
  236. }
  237. }
  238. },
  239. //附件查看
  240. attachmentPreview(item){
  241. uni.showLoading({
  242. title: '下载中'
  243. });
  244. wx.downloadFile({
  245. url: config.base_url+item.fileUrl,
  246. header: {
  247. Authorization: uni.getStorageSync('token')
  248. },
  249. success: function (res) {
  250. uni.hideLoading();
  251. const filePath = res.tempFilePath
  252. wx.openDocument({
  253. filePath: filePath,
  254. success: function (res) {
  255. console.log('打开文档成功')
  256. }
  257. })
  258. },
  259. fail: function (res){
  260. uni.hideLoading();
  261. uni.showToast({
  262. title: '下载失败',
  263. icon:"none",
  264. mask:true,
  265. duration: 2000
  266. });
  267. }
  268. })
  269. },
  270. //查看图片
  271. lockImg(list){
  272. console.log(list)
  273. if(!list[0]){
  274. return
  275. }
  276. let urlList=[];
  277. for(let i=0;i<list.length;i++){
  278. urlList.push(this.baseUrl+list[i].fileUrl)
  279. }
  280. wx.previewImage({
  281. urls: urlList, //需要预览的图片http链接列表,多张的时候,url直接写在后面就行了
  282. current: '', // 当前显示图片的http链接,默认是第一个
  283. success: function(res) {},
  284. fail: function(res) {},
  285. complete: function(res) {},
  286. })
  287. },
  288. //隐患项跳转详情
  289. dangerItem(row){
  290. uni.navigateTo({
  291. url: '/pages_safetyExamine/dangerManage/dangerDetail?item='+encodeURIComponent(JSON.stringify(row))
  292. })
  293. },
  294. //隐患项收起展开
  295. inconformityFun(){
  296. this.inconformityStatus=!this.inconformityStatus;
  297. if(this.inconformityStatus){
  298. this.infoData.checkHazardDtoList.forEach(function(item){
  299. item.switch=true;
  300. })
  301. }else{
  302. this.infoData.checkHazardDtoList.forEach(function(item){
  303. item.switch=false;
  304. })
  305. }
  306. },
  307. //专项隐患项收起展开
  308. inconformityFun2(itemAll){
  309. this.inconformityStatus2=!this.inconformityStatus2;
  310. if(this.inconformityStatus2){
  311. itemAll.checkHazardDtoList.forEach(function(item){
  312. item.switch=true;
  313. })
  314. }else{
  315. itemAll.checkHazardDtoList.forEach(function(item){
  316. item.switch=false;
  317. })
  318. }
  319. },
  320. //隐患小项收起展开
  321. switchFun(item){
  322. item.switch=!item.switch
  323. },
  324. //整改通知
  325. rectifyInform(){//rectifyNotice 整改通知(1整改告知书 2整改通知书)
  326. if(this.infoData.rectifyNotice==1){//1整改告知书
  327. this.genReport(this.infoData.id)
  328. }else if(this.infoData.rectifyNotice==2){//2整改通知书
  329. this.genNotice(this.infoData.id)
  330. }
  331. },
  332. //整改报告
  333. rectifyReport(){
  334. uni.showLoading({
  335. title: '下载中'
  336. });
  337. wx.downloadFile({
  338. url: config.base_url+'/zd-security/checkRectify/genReport/' + this.infoData.id,
  339. header: {
  340. Authorization: uni.getStorageSync('token')
  341. },
  342. success: function (res) {
  343. const fileManager = wx.getFileSystemManager()
  344. const filePath = wx.env.USER_DATA_PATH + '/(整改报告).docx'
  345. fileManager.saveFile({
  346. tempFilePath: res.tempFilePath,
  347. filePath,
  348. success: () => {
  349. uni.hideLoading();
  350. wx.openDocument({
  351. filePath: filePath,
  352. showMenu: true,
  353. fileType: 'docx'
  354. })
  355. },
  356. fail: function (res){
  357. uni.hideLoading();
  358. uni.showToast({
  359. title: '下载失败',
  360. icon:"none",
  361. mask:true,
  362. duration: 2000
  363. });
  364. }
  365. })
  366. },
  367. fail: function (res){
  368. uni.hideLoading();
  369. uni.showToast({
  370. title: '下载失败',
  371. icon:"none",
  372. mask:true,
  373. duration: 2000
  374. });
  375. }
  376. })
  377. },
  378. //整改通知书
  379. genNotice(id){
  380. uni.showLoading({
  381. title: '下载中'
  382. });
  383. wx.downloadFile({
  384. url: config.base_url+'/zd-security/checkManage/getRectifyAdviceNote/' + id,
  385. header: {
  386. Authorization: uni.getStorageSync('token')
  387. },
  388. success: function (res) {
  389. const fileManager = wx.getFileSystemManager()
  390. const filePath = wx.env.USER_DATA_PATH + '/(整改通知书).docx'
  391. fileManager.saveFile({
  392. tempFilePath: res.tempFilePath,
  393. filePath,
  394. success: () => {
  395. uni.hideLoading();
  396. wx.openDocument({
  397. filePath: filePath,
  398. showMenu: true,
  399. fileType: 'docx'
  400. })
  401. },
  402. fail: function (res){
  403. uni.hideLoading();
  404. uni.showToast({
  405. title: '下载失败',
  406. icon:"none",
  407. mask:true,
  408. duration: 2000
  409. });
  410. }
  411. })
  412. },
  413. fail: function (res){
  414. uni.hideLoading();
  415. uni.showToast({
  416. title: '下载失败',
  417. icon:"none",
  418. mask:true,
  419. duration: 2000
  420. });
  421. }
  422. })
  423. },
  424. //整改告知书
  425. genReport(id){
  426. uni.showLoading({
  427. title: '下载中'
  428. });
  429. wx.downloadFile({
  430. url: config.base_url+'/zd-security/checkManage/getRectifyNotification/' + id,
  431. header: {
  432. Authorization: uni.getStorageSync('token')
  433. },
  434. success: function (res) {
  435. const fileManager = wx.getFileSystemManager()
  436. const filePath = wx.env.USER_DATA_PATH + '/整改报告.docx'
  437. fileManager.saveFile({
  438. tempFilePath: res.tempFilePath,
  439. filePath,
  440. success: () => {
  441. uni.hideLoading();
  442. wx.openDocument({
  443. filePath: filePath,
  444. showMenu: true,
  445. fileType: 'docx'
  446. })
  447. },
  448. fail: function (res){
  449. uni.hideLoading();
  450. uni.showToast({
  451. title: '下载失败',
  452. icon:"none",
  453. mask:true,
  454. duration: 2000
  455. });
  456. }
  457. })
  458. },
  459. fail: function (res){
  460. uni.hideLoading();
  461. uni.showToast({
  462. title: '下载失败',
  463. icon:"none",
  464. mask:true,
  465. duration: 2000
  466. });
  467. }
  468. })
  469. },
  470. }
  471. }
  472. </script>
  473. <style lang="stylus" scoped>
  474. .examine{
  475. height:100%;
  476. display flex;
  477. .info-max-box{
  478. flex: 1;
  479. overflow: scroll;
  480. padding-bottom: 140rpx;
  481. }
  482. .basics{
  483. width: 690rpx;
  484. background: #FFFFFF;
  485. border-radius: 20rpx;
  486. padding: 30rpx 30rpx 32rpx;
  487. box-sizing: border-box;
  488. margin: 20rpx 30rpx ;
  489. .basics_li{
  490. height: 80rpx;
  491. display: flex;
  492. justify-content: space-between;
  493. border-bottom: 1rpx solid #D8D8D8;
  494. >text:nth-of-type(1){
  495. font-size: 28rpx;
  496. font-family: PingFang SC-Medium, PingFang SC;
  497. font-weight: 400;
  498. color: #666666;
  499. line-height: 80rpx;
  500. width: 140rpx;
  501. }
  502. >text:nth-of-type(2){
  503. flex: 1;
  504. font-size: 28rpx;
  505. font-family: PingFang SC-Medium, PingFang SC;
  506. font-weight: 400;
  507. color: #333333;
  508. line-height: 80rpx;
  509. text-align: right;
  510. white-space: nowrap;
  511. overflow: hidden;
  512. text-overflow: ellipsis;
  513. }
  514. }
  515. .demand{
  516. >text{
  517. display: block;
  518. }
  519. >text:nth-of-type(1){
  520. font-size: 28rpx;
  521. font-family: PingFang SC-Medium, PingFang SC;
  522. font-weight: 400;
  523. color: #666666;
  524. line-height: 70rpx;
  525. width: 140rpx;
  526. }
  527. >text:nth-of-type(2){
  528. font-size: 28rpx;
  529. font-family: PingFang SC-Medium, PingFang SC;
  530. font-weight: 400;
  531. color: #333333;
  532. line-height: 40rpx;
  533. text-align: left;
  534. }
  535. }
  536. }
  537. .attachment{
  538. width: 690rpx;
  539. background: #FFFFFF;
  540. border-radius: 20rpx;
  541. margin: 20rpx 30rpx 0;
  542. padding-bottom: 32rpx;
  543. box-sizing: border-box;
  544. .attachment_t{
  545. border-bottom: 1rpx solid #D8D8D8;
  546. >text:nth-of-type(1){
  547. font-size: 30rpx;
  548. font-family: PingFang SC-Medium, PingFang SC;
  549. font-weight: 400;
  550. color: #333333;
  551. line-height: 110rpx;
  552. margin-left: 28rpx;
  553. }
  554. >text:nth-of-type(2){
  555. font-size: 30rpx;
  556. font-family: PingFang SC-Medium, PingFang SC;
  557. font-weight: 400;
  558. color: #999999;
  559. line-height: 110rpx;
  560. margin-left: 24rpx;
  561. }
  562. }
  563. .attachment_li{
  564. height: 40rpx;
  565. display: flex;
  566. justify-content: flex-start;
  567. align-items: center;
  568. margin-top: 32rpx;
  569. >img{
  570. width: 30rpx;
  571. height: 26rpx;
  572. margin-right: 20rpx;
  573. margin-left: 50rpx;
  574. }
  575. >text{
  576. flex: 1;
  577. font-size: 28rpx;
  578. font-family: PingFang SC-Medium, PingFang SC;
  579. font-weight: 400;
  580. color: #0183FA;
  581. line-height: 40rpx;
  582. white-space: nowrap;
  583. overflow: hidden;
  584. text-overflow: ellipsis;
  585. }
  586. .attachment_li_del{
  587. width: 30rpx;
  588. height: 30rpx;
  589. }
  590. }
  591. }
  592. .inconformity{
  593. width: 690rpx;
  594. height: 100rpx;
  595. background: #FFFFFF;
  596. border-radius: 20rpx 20rpx 20rpx 20rpx;
  597. margin: 20rpx 30rpx;
  598. font-size: 30rpx;
  599. font-family: PingFang SC-Medium, PingFang SC;
  600. font-weight: 400;
  601. color: #333333;
  602. line-height: 100rpx;
  603. text-align: center;
  604. display: flex;
  605. justify-content: center;
  606. align-items: center;
  607. >img{
  608. width: 30rpx;
  609. height: 26rpx;
  610. margin-left: 20rpx;
  611. }
  612. }
  613. /* 专项检查 */
  614. .inconformity_tow{
  615. width: 690rpx;
  616. height: 100rpx;
  617. background: #FFFFFF;
  618. border-radius: 20rpx 20rpx 20rpx 20rpx;
  619. margin: 20rpx 30rpx;
  620. font-size: 30rpx;
  621. font-family: PingFang SC-Medium, PingFang SC;
  622. font-weight: 400;
  623. color: #333333;
  624. line-height: 100rpx;
  625. text-align: center;
  626. display: flex;
  627. justify-content: space-between;
  628. align-items: center;
  629. padding: 0 30rpx;
  630. box-sizing: border-box;
  631. >img{
  632. width: 30rpx;
  633. height: 26rpx;
  634. margin-left: 20rpx;
  635. }
  636. }
  637. .danger{
  638. width: 690rpx;
  639. background: #FFFFFF;
  640. border-radius: 20rpx;
  641. padding: 15rpx 30rpx 15rpx;
  642. box-sizing: border-box;
  643. margin: 20rpx 30rpx;
  644. position: relative;
  645. .sort{
  646. width: 40rpx;
  647. height: 40rpx;
  648. background: #0183FA;
  649. border-radius: 20rpx 0rpx 10rpx 0rpx;
  650. font-size: 30rpx;
  651. font-family: PingFang SC-Medium, PingFang SC;
  652. font-weight: 400;
  653. color: #FFFFFF;
  654. line-height: 40rpx;
  655. text-align: center;
  656. position: absolute;
  657. left: 0;
  658. top: 0;
  659. }
  660. .danger_title{
  661. font-size: 30rpx;
  662. font-family: PingFang SC-Medium, PingFang SC;
  663. font-weight: 400;
  664. color: #333333;
  665. line-height:80rpx;
  666. border-bottom: 1rpx solid #D8D8D8;
  667. }
  668. .grade{
  669. height: 80rpx;
  670. display: flex;
  671. justify-content: space-between;
  672. border-bottom: 1rpx solid #D8D8D8;
  673. >text:nth-of-type(1){
  674. font-size: 28rpx;
  675. font-family: PingFang SC-Medium, PingFang SC;
  676. font-weight: 400;
  677. color: #666666;
  678. line-height: 80rpx;
  679. width: 140rpx;
  680. }
  681. >text:nth-of-type(2){
  682. flex: 1;
  683. font-size: 28rpx;
  684. font-family: PingFang SC-Medium, PingFang SC;
  685. font-weight: 400;
  686. color: #333333;
  687. line-height: 80rpx;
  688. text-align: right;
  689. }
  690. }
  691. .grading{
  692. height: 80rpx;
  693. display: flex;
  694. justify-content: space-between;
  695. >text:nth-of-type(1){
  696. font-size: 28rpx;
  697. font-family: PingFang SC-Medium, PingFang SC;
  698. font-weight: 400;
  699. color: #666666;
  700. line-height: 80rpx;
  701. width: 140rpx;
  702. }
  703. >text:nth-of-type(2){
  704. flex: 1;
  705. font-size: 28rpx;
  706. font-family: PingFang SC-Medium, PingFang SC;
  707. font-weight: 400;
  708. color: #333333;
  709. line-height: 80rpx;
  710. text-align: left;
  711. background: #F5F5F5;
  712. border-radius: 10rpx 10rpx 10rpx 10rpx;
  713. padding-left: 20rpx;
  714. box-sizing: border-box;
  715. }
  716. }
  717. .small_items{
  718. min-height: 158rpx;
  719. font-size: 28rpx;
  720. font-family: PingFang SC-Medium, PingFang SC;
  721. font-weight: 400;
  722. color: #333333;
  723. line-height: 40rpx;
  724. padding: 20rpx 14rpx;
  725. box-sizing: border-box;
  726. border-radius: 0rpx 0rpx 20rpx 20rpx;
  727. opacity: 1;
  728. border: 1rpx solid #E0E0E0;
  729. border-top:none;
  730. }
  731. .frequency{
  732. font-size: 26rpx;
  733. font-family: PingFang SC-Medium, PingFang SC;
  734. font-weight: 400;
  735. color: #666666;
  736. line-height: 26rpx;
  737. margin-top: 14rpx;
  738. text-align: right;
  739. margin-bottom: 14rpx;
  740. }
  741. .project{
  742. .project_t{
  743. font-size: 30rpx;
  744. font-family: PingFang SC-Medium, PingFang SC;
  745. font-weight: 400;
  746. color: #333333;
  747. line-height: 80rpx;
  748. }
  749. .project_b{
  750. min-height: 158rpx;
  751. font-size: 28rpx;
  752. font-family: PingFang SC-Medium, PingFang SC;
  753. font-weight: 400;
  754. color: #333333;
  755. line-height: 40rpx;
  756. padding: 20rpx 14rpx;
  757. box-sizing: border-box;
  758. background: #F5F5F5;
  759. border-radius: 20rpx 20rpx 20rpx 20rpx;
  760. }
  761. .project_b2{
  762. font-size: 26rpx;
  763. font-family: PingFang SC-Medium, PingFang SC;
  764. font-weight: 400;
  765. color: #666666;
  766. line-height: 26rpx;
  767. margin-top: 14rpx;
  768. text-align: right;
  769. }
  770. }
  771. .picture{
  772. .picture_t{
  773. font-size: 30rpx;
  774. font-family: PingFang SC-Medium, PingFang SC;
  775. font-weight: 400;
  776. color: #333333;
  777. line-height: 80rpx;
  778. }
  779. .picture_b{
  780. display: flex;
  781. justify-content: flex-start;
  782. flex-wrap: wrap;
  783. >img{
  784. width: 200rpx;
  785. height: 200rpx;
  786. border-radius: 10rpx 10rpx 10rpx 10rpx;
  787. margin-right: 14rpx;
  788. margin-bottom: 10rpx;
  789. }
  790. >img:nth-of-type(3n+3){
  791. margin-right: 0rpx;
  792. }
  793. }
  794. }
  795. }
  796. .danger_border{
  797. border-radius: 20rpx;
  798. width: 690rpx;
  799. background: #FFFFFF;
  800. margin: 0rpx 30rpx 20rpx;
  801. overflow: hidden;
  802. }
  803. .special_danger{
  804. width:auto;
  805. background: #FFFFFF;
  806. padding: 0;
  807. box-sizing: border-box;
  808. margin: 0 30rpx 12rpx;
  809. border-radius: 0;
  810. .grade{
  811. height: 80rpx;
  812. display: flex;
  813. justify-content: flex-start;
  814. border-bottom: 1rpx solid #D8D8D8;
  815. position: relative;
  816. background: #F5F5F5;
  817. border-radius: 20rpx 20rpx 0rpx 0rpx;
  818. .sort{
  819. width: 40rpx;
  820. height: 40rpx;
  821. background: #0183FA;
  822. border-radius: 20rpx 0rpx 10rpx 0rpx;
  823. font-size: 30rpx;
  824. font-family: PingFang SC-Medium, PingFang SC;
  825. font-weight: 400;
  826. color: #FFFFFF;
  827. line-height: 40rpx;
  828. text-align: center;
  829. position: absolute;
  830. left: 0;
  831. top: 0;
  832. }
  833. .isConform{
  834. width: 100rpx;
  835. height: 40rpx;
  836. font-size: 24rpx;
  837. font-family: PingFang SC-Medium, PingFang SC;
  838. font-weight: 400;
  839. color: #0183FA;
  840. line-height: 36rpx;
  841. background: #C4DEF6;
  842. text-align: center;
  843. border-radius:20rpx;
  844. margin-left: 12rpx;
  845. margin-top: 20rpx;
  846. }
  847. .noConform{
  848. width: 100rpx;
  849. height: 40rpx;
  850. font-size: 24rpx;
  851. font-family: PingFang SC-Medium, PingFang SC;
  852. font-weight: 400;
  853. color: #FF0000;
  854. line-height: 36rpx;
  855. background: #F7C4C4;
  856. text-align: center;
  857. border-radius:20rpx;
  858. margin-left: 12rpx;
  859. margin-top: 20rpx;
  860. }
  861. >text:nth-of-type(1){
  862. font-size: 28rpx;
  863. font-family: PingFang SC-Medium, PingFang SC;
  864. font-weight: 400;
  865. color: #666666;
  866. line-height: 80rpx;
  867. width: 140rpx;
  868. margin-left: 66rpx;
  869. }
  870. >text:nth-of-type(2){
  871. flex: 1;
  872. font-size: 28rpx;
  873. font-family: PingFang SC-Medium, PingFang SC;
  874. font-weight: 400;
  875. color: #333333;
  876. line-height: 80rpx;
  877. text-align: right;
  878. margin-right: 30rpx;
  879. }
  880. }
  881. }
  882. .ident{
  883. font-size: 30rpx;
  884. font-family: PingFang SC-Medium, PingFang SC;
  885. font-weight: 400;
  886. color: #666666;
  887. line-height: 42rpx;
  888. margin: 34rpx 30rpx;
  889. }
  890. .pack_up{
  891. font-size: 30rpx;
  892. font-family: PingFang SC-Medium, PingFang SC;
  893. font-weight: 400;
  894. color: #666666;
  895. line-height: 80rpx;
  896. display: flex;
  897. justify-content: center;
  898. align-items: center;
  899. >img{
  900. width: 14rpx;
  901. height: 8rpx;
  902. margin-left: 22rpx;
  903. }
  904. }
  905. .report{
  906. width: 153rpx;
  907. height: 50rpx;
  908. background: #0183FA;
  909. border-radius: 25rpx 0rpx 0rpx 25rpx;
  910. font-size: 26rpx;
  911. font-family: Source Han Sans CN-Regular, Source Han Sans CN;
  912. font-weight: 400;
  913. color: #FFFFFF;
  914. line-height: 50rpx;
  915. position: fixed;
  916. top: 180rpx;
  917. right: 0;
  918. text-align: center;
  919. }
  920. .bottom_btn{
  921. position: fixed;
  922. bottom: 26rpx;
  923. left: 30rpx;
  924. font-size: 30rpx;
  925. font-family: PingFang SC-Medium, PingFang SC;
  926. font-weight: 400;
  927. color: #FFFFFF;
  928. line-height: 90rpx;
  929. width: 690rpx;
  930. height: 90rpx;
  931. background: #0183FA;
  932. border-radius: 20rpx;
  933. text-align: center;
  934. }
  935. }
  936. </style>