examineDetail.vue 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429
  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>环测学院</text>
  9. </view>
  10. <view class="basics_li">
  11. <text>实验室:</text>
  12. <text>实验室名称-房间号</text>
  13. </view>
  14. <view class="basics_li">
  15. <text>楼栋:</text>
  16. <text>楼栋名称</text>
  17. </view>
  18. <view class="basics_li">
  19. <text>检查类型:</text>
  20. <text>校级巡查</text>
  21. </view>
  22. <view class="basics_li">
  23. <text>检查范围:</text>
  24. <text>全校</text>
  25. </view>
  26. <view class="basics_li" style="border:none;">
  27. <text>检查计划:</text>
  28. <text>2023年3月份校级督导检查</text>
  29. </view>
  30. </view>
  31. <view class="attachment">
  32. <view class="attachment_t">
  33. <text>材料附件</text>
  34. <text>点击文件标题查看</text>
  35. </view>
  36. <view class="attachment_li">
  37. <img src="@/images/Version3.3.3/icon_djc_wj.png"/>
  38. <text>文件标题文件标题</text>
  39. <img class="attachment_li_del" src="@/images/Version3.3.3/icon_fjgk_sc.png"/>
  40. </view>
  41. </view>
  42. <view class="basics">
  43. <view class="basics_li">
  44. <text>检查结果:</text>
  45. <text>不符合</text>
  46. </view>
  47. <view class="basics_li">
  48. <text>整改期限:</text>
  49. <text>2023-04-06</text>
  50. </view>
  51. <view class="basics_li">
  52. <text>整改通知:</text>
  53. <text style="color: #0183FA;">整改告知书</text>
  54. </view>
  55. <view class="basics_li">
  56. <text>检查者:</text>
  57. <text>管理员</text>
  58. </view>
  59. <view class="basics_li" style="border: none;">
  60. <text>检查时间:</text>
  61. <text>2023-04-06</text>
  62. </view>
  63. </view>
  64. <view class="inconformity" @click="inconformityFun()">不符合项<img v-if="inconformityStatus" src="@/images/Version3.3.3/icon_bfhx_xq.png"/><img v-if="!inconformityStatus" src="@/images/Version3.3.3/icon_bfhx_sq.png"/></view>
  65. <view v-for="(item,index) in dangerList">
  66. <view class="danger">
  67. <view class="sort">{{item.sort}}</view>
  68. <view class="grade" :style="item.switch?'border-bottom: 1rpx solid #D8D8D8;':'border:none;'">
  69. <text>第一项隐患</text>
  70. <text style="color: #0183FA;">待整改 >></text>
  71. </view>
  72. <view v-if="item.switch">
  73. <view class="grade">
  74. <text>隐患等级:</text>
  75. <text>一般隐患</text>
  76. </view>
  77. <view class="project">
  78. <view class="project_t">检查项目:</view>
  79. <view class="project_b">1检查项目名称—1.1检查项目名称名称名称名称—1.1.1检查项目名称名称名称名称名称名称名称名称</view>
  80. <view class="project_b2">此检查项在当前实验室累计出现9次隐患</view>
  81. </view>
  82. <view class="project">
  83. <view class="project_t">检查要点:</view>
  84. <view class="project_b">检查要点检查要点检查要点检查要点检查要点检查要点检查要点检查要点检查要点检查要点检查要点检查要点检查要点检查要点检查要点检查要点检查要点检查要点检查要点检查要点检查要点检查要点检查要点检查要点</view>
  85. </view>
  86. <view class="project">
  87. <view class="project_t">隐患描述:</view>
  88. <view class="project_b">检查要点检查要点检查要点检查要点检查要点检查要点检查要点检查要点检查要点检查要点检查要点检查要点检查要点检查要点检查要点检查要点检查要点检查要点检查要点检查要点检查要点检查要点检查要点检查要点</view>
  89. </view>
  90. <view class="picture">
  91. <view class="picture_t">隐患照片</view>
  92. <view class="picture_b">
  93. <img src="@/images/Version3.3.3/icon_xyxc_syszc.png"/>
  94. <img src="@/images/Version3.3.3/icon_xyxc_syszc.png"/>
  95. <img src="@/images/Version3.3.3/icon_xyxc_syszc.png"/>
  96. <img src="@/images/Version3.3.3/icon_xyxc_syszc.png"/>
  97. </view>
  98. </view>
  99. </view>
  100. </view>
  101. <view class="pack_up" @click="switchFun(item)">{{item.switch?'收起':'展开'}}<img v-if="item.switch" src="@/images/Version3.3.3/icon_06_1.png"/><img v-if="!item.switch" src="@/images/Version3.3.3/icon_06.png"/></view>
  102. </view>
  103. </scroll-view>
  104. <view class="report">整改报告</view>
  105. </view>
  106. </template>
  107. <script>
  108. import { config } from '@/api/request/config.js'
  109. import { } from '@/api/index.js'
  110. export default {
  111. name: "rectifyList",
  112. components: {
  113. },
  114. data() {
  115. return {
  116. pageType:0,
  117. dangerList:[{sort:1,switch:false,},{sort:2,switch:false,},{sort:3,switch:false,},{sort:4,switch:false,}],
  118. inconformityStatus:false,
  119. }
  120. },
  121. onLoad(option) {
  122. if(option.form){
  123. this.form=JSON.parse(decodeURIComponent(option.form));
  124. console.log(this.form)
  125. }
  126. if(option.pageType==1){
  127. uni.setNavigationBarTitle({
  128. title:'校院巡查管理'
  129. })
  130. }else if(option.pageType==2){
  131. uni.setNavigationBarTitle({
  132. title:'实验室自查管理'
  133. })
  134. }
  135. },
  136. onShow() {
  137. },
  138. mounted(){
  139. },
  140. methods: {
  141. //滚动事件
  142. scrollGet(){
  143. },
  144. //隐患项收起展开
  145. inconformityFun(){
  146. this.inconformityStatus=!this.inconformityStatus;
  147. if(this.inconformityStatus){
  148. this.dangerList.forEach(function(item){
  149. item.switch=true;
  150. })
  151. }else{
  152. this.dangerList.forEach(function(item){
  153. item.switch=false;
  154. })
  155. }
  156. },
  157. //隐患小项收起展开
  158. switchFun(item){
  159. item.switch=!item.switch
  160. }
  161. }
  162. }
  163. </script>
  164. <style lang="stylus" scoped>
  165. .examine{
  166. height:100%;
  167. display flex;
  168. .info-max-box{
  169. flex: 1;
  170. overflow: scroll;
  171. }
  172. .basics{
  173. width: 690rpx;
  174. background: #FFFFFF;
  175. border-radius: 20rpx;
  176. padding: 30rpx 30rpx 32rpx;
  177. box-sizing: border-box;
  178. margin: 20rpx 30rpx ;
  179. .basics_li{
  180. height: 80rpx;
  181. display: flex;
  182. justify-content: space-between;
  183. border-bottom: 1rpx solid #D8D8D8;
  184. >text:nth-of-type(1){
  185. font-size: 28rpx;
  186. font-family: PingFang SC-Medium, PingFang SC;
  187. font-weight: 400;
  188. color: #666666;
  189. line-height: 80rpx;
  190. width: 140rpx;
  191. }
  192. >text:nth-of-type(2){
  193. flex: 1;
  194. font-size: 28rpx;
  195. font-family: PingFang SC-Medium, PingFang SC;
  196. font-weight: 400;
  197. color: #333333;
  198. line-height: 80rpx;
  199. text-align: right;
  200. }
  201. }
  202. }
  203. .attachment{
  204. width: 690rpx;
  205. background: #FFFFFF;
  206. border-radius: 20rpx;
  207. margin: 20rpx 30rpx 0;
  208. padding-bottom: 32rpx;
  209. box-sizing: border-box;
  210. .attachment_t{
  211. border-bottom: 1rpx solid #D8D8D8;
  212. >text:nth-of-type(1){
  213. font-size: 30rpx;
  214. font-family: PingFang SC-Medium, PingFang SC;
  215. font-weight: 400;
  216. color: #333333;
  217. line-height: 110rpx;
  218. margin-left: 28rpx;
  219. }
  220. >text:nth-of-type(2){
  221. font-size: 30rpx;
  222. font-family: PingFang SC-Medium, PingFang SC;
  223. font-weight: 400;
  224. color: #999999;
  225. line-height: 110rpx;
  226. margin-left: 24rpx;
  227. }
  228. }
  229. .attachment_li{
  230. height: 40rpx;
  231. display: flex;
  232. justify-content: flex-start;
  233. align-items: center;
  234. margin-top: 32rpx;
  235. >img{
  236. width: 30rpx;
  237. height: 26rpx;
  238. margin-right: 20rpx;
  239. margin-left: 50rpx;
  240. }
  241. >text{
  242. flex: 1;
  243. font-size: 28rpx;
  244. font-family: PingFang SC-Medium, PingFang SC;
  245. font-weight: 400;
  246. color: #0183FA;
  247. line-height: 40rpx;
  248. white-space: nowrap;
  249. overflow: hidden;
  250. text-overflow: ellipsis;
  251. }
  252. .attachment_li_del{
  253. width: 30rpx;
  254. height: 30rpx;
  255. }
  256. }
  257. }
  258. .inconformity{
  259. width: 690rpx;
  260. height: 100rpx;
  261. background: #FFFFFF;
  262. border-radius: 20rpx 20rpx 20rpx 20rpx;
  263. margin: 20rpx 30rpx;
  264. font-size: 30rpx;
  265. font-family: PingFang SC-Medium, PingFang SC;
  266. font-weight: 400;
  267. color: #333333;
  268. line-height: 100rpx;
  269. text-align: center;
  270. display: flex;
  271. justify-content: center;
  272. align-items: center;
  273. >img{
  274. width: 30rpx;
  275. height: 26rpx;
  276. margin-left: 20rpx;
  277. }
  278. }
  279. .danger{
  280. width: 690rpx;
  281. background: #FFFFFF;
  282. border-radius: 20rpx;
  283. padding: 15rpx 30rpx 15rpx;
  284. box-sizing: border-box;
  285. margin: 20rpx 30rpx ;
  286. position: relative;
  287. .sort{
  288. width: 40rpx;
  289. height: 40rpx;
  290. background: #0183FA;
  291. border-radius: 20rpx 0rpx 10rpx 0rpx;
  292. font-size: 30rpx;
  293. font-family: PingFang SC-Medium, PingFang SC;
  294. font-weight: 400;
  295. color: #FFFFFF;
  296. line-height: 40rpx;
  297. text-align: center;
  298. position: absolute;
  299. left: 0;
  300. top: 0;
  301. }
  302. .danger_title{
  303. font-size: 30rpx;
  304. font-family: PingFang SC-Medium, PingFang SC;
  305. font-weight: 400;
  306. color: #333333;
  307. line-height:80rpx;
  308. border-bottom: 1rpx solid #D8D8D8;
  309. }
  310. .grade{
  311. height: 80rpx;
  312. display: flex;
  313. justify-content: space-between;
  314. border-bottom: 1rpx solid #D8D8D8;
  315. >text:nth-of-type(1){
  316. font-size: 28rpx;
  317. font-family: PingFang SC-Medium, PingFang SC;
  318. font-weight: 400;
  319. color: #666666;
  320. line-height: 80rpx;
  321. width: 140rpx;
  322. }
  323. >text:nth-of-type(2){
  324. flex: 1;
  325. font-size: 28rpx;
  326. font-family: PingFang SC-Medium, PingFang SC;
  327. font-weight: 400;
  328. color: #333333;
  329. line-height: 80rpx;
  330. text-align: right;
  331. }
  332. }
  333. .project{
  334. .project_t{
  335. font-size: 30rpx;
  336. font-family: PingFang SC-Medium, PingFang SC;
  337. font-weight: 400;
  338. color: #333333;
  339. line-height: 80rpx;
  340. }
  341. .project_b{
  342. min-height: 158rpx;
  343. font-size: 28rpx;
  344. font-family: PingFang SC-Medium, PingFang SC;
  345. font-weight: 400;
  346. color: #333333;
  347. line-height: 40rpx;
  348. padding: 20rpx 14rpx;
  349. box-sizing: border-box;
  350. background: #F5F5F5;
  351. border-radius: 20rpx 20rpx 20rpx 20rpx;
  352. }
  353. .project_b2{
  354. font-size: 26rpx;
  355. font-family: PingFang SC-Medium, PingFang SC;
  356. font-weight: 400;
  357. color: #666666;
  358. line-height: 26rpx;
  359. margin-top: 14rpx;
  360. text-align: right;
  361. }
  362. }
  363. .picture{
  364. .picture_t{
  365. font-size: 30rpx;
  366. font-family: PingFang SC-Medium, PingFang SC;
  367. font-weight: 400;
  368. color: #333333;
  369. line-height: 80rpx;
  370. }
  371. .picture_b{
  372. display: flex;
  373. justify-content: flex-start;
  374. flex-wrap: wrap;
  375. >img{
  376. width: 200rpx;
  377. height: 200rpx;
  378. border-radius: 10rpx 10rpx 10rpx 10rpx;
  379. margin-right: 14rpx;
  380. margin-bottom: 10rpx;
  381. }
  382. >img:nth-of-type(3n+3){
  383. margin-right: 0rpx;
  384. }
  385. }
  386. }
  387. }
  388. .pack_up{
  389. font-size: 30rpx;
  390. font-family: PingFang SC-Medium, PingFang SC;
  391. font-weight: 400;
  392. color: #666666;
  393. line-height: 140rpx;
  394. display: flex;
  395. justify-content: center;
  396. align-items: center;
  397. >img{
  398. width: 14rpx;
  399. height: 8rpx;
  400. margin-left: 22rpx;
  401. }
  402. }
  403. .report{
  404. width: 153rpx;
  405. height: 50rpx;
  406. background: #0183FA;
  407. border-radius: 25rpx 0rpx 0rpx 25rpx;
  408. font-size: 26rpx;
  409. font-family: Source Han Sans CN-Regular, Source Han Sans CN;
  410. font-weight: 400;
  411. color: #FFFFFF;
  412. line-height: 50rpx;
  413. position: fixed;
  414. top: 180rpx;
  415. right: 0;
  416. text-align: center;
  417. }
  418. }
  419. </style>