safetyExamineWorkbench.vue 28 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183
  1. <!-- 安全检查-工作台 -->
  2. <template>
  3. <view class="examine">
  4. <scroll-view scroll-y @scrolltolower="scrollGet" class="info-max-box">
  5. <view>
  6. <view class="statistics" v-if="pageType==0 || pageType==1">
  7. <view class="statistics_li" v-for="(item,index) in statisticsList" :key="index">
  8. <text>{{item.name}}</text>
  9. <text>{{item.value}}</text>
  10. </view>
  11. </view>
  12. <viwe class="inspect_btn" v-if="pageType==0 || pageType==1">
  13. <view class="inspect_btn_li" @click="handleClick('','patrolPlan')">
  14. <img src="@/images/Version3.3.3/icon_xyxc_xyxc.png"/>
  15. <text>校院巡查</text>
  16. </view>
  17. <text class="line"></text>
  18. <view class="inspect_btn_li" @click="handleClick('','selfPlan')">
  19. <img src="@/images/Version3.3.3/icon_xyxc_syszc.png"/>
  20. <text>实验室自查</text>
  21. </view>
  22. <text class="line"></text>
  23. <view class="inspect_btn_li" @click="handleClick('','dangerPlan')">
  24. <img src="@/images/Version3.3.3/icon_xyxc_aqyh.png"/>
  25. <text>安全隐患</text>
  26. </view>
  27. <text class="line"></text>
  28. <view class="inspect_btn_li" @click="handleClick('','snapshot')">
  29. <img src="@/images/Version3.3.3/icon_aqjc_ssp.png"/>
  30. <text>随手拍</text>
  31. </view>
  32. </viwe>
  33. <!--管理员------------- -->
  34. <view class="tabTitle" v-if="pageType==0">
  35. <view class="tabTitle_li" @tap="tabClick(index)" :key="index" v-for="(item,index) in tabText">
  36. <view :class="{on:curTab==index}" class="tabTitle_text">{{item.name}}<text>{{item.num}}</text></view>
  37. <view :class="{on:curTab==index}" class="tabTitle_across"></view>
  38. </view>
  39. </view>
  40. <view class="list" v-if="pageType==0">
  41. <view class="list_li" v-for="(item,index) in dataList" :key="index" @click="handleClick(item,'edit')">
  42. <view class="list_li_t">
  43. <view class="list_li_t_l">
  44. <img src="@/images/Version3.3.3/icon_xyxc_qx.png"/>
  45. <text></text>
  46. </view>
  47. <view class="list_li_t_c">{{item.title}}</view>
  48. <view class="list_li_t_r"></view>
  49. </view>
  50. <view class="list_li_m">
  51. <view class="list_li_m_t">计划周期:{{item.cycleStartTime}}至{{item.cycleEndTime}}</view>
  52. <view class="list_li_m_b">
  53. <text class="blue_color" v-if="item.checkStatus==1">未开始</text>
  54. <text class="red_color" v-if="item.checkStatus==2">进行中</text>
  55. <text>{{item.checkType==1?'校院巡查':'实验室自查'}}</text>
  56. </view>
  57. </view>
  58. <view class="list_li_b">
  59. <img src="@/images/Version3.3.3/icon_djcsys.png"/>
  60. <text>待检查实验室:</text>
  61. <text>{{item.subjectNum}}间</text>
  62. </view>
  63. </view>
  64. </view>
  65. <!--检查者------------- -->
  66. <view class="tabTitle_tow" v-if="pageType==1">
  67. <view class="tabTitle_tow_li" @tap="tabClickTow(index)" :key="index" v-for="(item,index) in tabTextTow">
  68. <view :class="{on:curTabTow==index}" class="tabTitle_tow_text">{{item}}<text>2</text></view>
  69. <view :class="{on:curTabTow==index}" class="tabTitle_tow_across"></view>
  70. </view>
  71. </view>
  72. <view class="list_tow" v-if="pageType==1">
  73. <view class="list_tow_li" v-for="(item,index) in dataList" :key="index" @click="handleClick(item,'edit')">
  74. <view class="list_tow_li_t">
  75. <view class="list_tow_li_t_l">
  76. <img src="@/images/Version3.3.3/icon_xyxc_qx.png"/>
  77. <text></text>
  78. </view>
  79. <view class="list_tow_li_t_c">实验室名称-房间号</view>
  80. <view class="list_tow_li_t_c2">已逾期</view>
  81. <view class="list_tow_li_t_r"></view>
  82. </view>
  83. <view class="list_tow_li_m">
  84. <view class="list_tow_li_m_t">计划标题计划标题计划标题计划标题计划标题计划...</view>
  85. <view class="list_tow_li_m_b">
  86. <text class="blue_color">未开始</text>
  87. <text>校院巡查</text>
  88. <text>环境与测绘学院</text>
  89. </view>
  90. </view>
  91. <view class="list_tow_li_b">
  92. <text>开始检查</text>
  93. </view>
  94. </view>
  95. </view>
  96. <!-- 整改人----------- -->
  97. <view class="statistics_three" v-if="pageType==2">
  98. <view class="statistics_three_li" v-for="(item,index) in statisticsListThree" :key="index">
  99. <text>{{item.name}}</text>
  100. <text>{{item.value}}</text>
  101. </view>
  102. </view>
  103. <viwe class="inspect_btn_three" v-if="pageType==2">
  104. <view class="inspect_btn_three_li" @click="handleClick('','schoolDanger')">
  105. <img src="@/images/Version3.3.3/icon_xyxc_xyxc.png"/>
  106. <text>校院巡查隐患</text>
  107. </view>
  108. <text class="line"></text>
  109. <view class="inspect_btn_three_li" @click="handleClick('','labDanger')">
  110. <img src="@/images/Version3.3.3/icon_xyxc_syszc.png"/>
  111. <text>实验室自查隐患</text>
  112. </view>
  113. <text class="line"></text>
  114. <view class="inspect_btn_three_li" @click="handleClick('','snapshot')">
  115. <img src="@/images/Version3.3.3/icon_aqjc_ssp.png"/>
  116. <text>随手拍</text>
  117. </view>
  118. </viwe>
  119. <view class="tabTitle_three" v-if="pageType==2">
  120. <view class="tabTitle_three_li" @tap="tabClickThree(index)" :key="index" v-for="(item,index) in tabTextThree">
  121. <view :class="{on:curTabThree==index}" class="tabTitle_three_text">{{item}}<text>2</text></view>
  122. <view :class="{on:curTabThree==index}" class="tabTitle_three_across"></view>
  123. </view>
  124. </view>
  125. <view class="list_three" v-if="pageType==2">
  126. <view class="list_three_li" v-for="(item,index) in dataList" :key="index" @click="handleClick(item,'edit')">
  127. <view class="list_three_li_t">
  128. <view class="list_three_li_t_l">
  129. <img src="@/images/Version3.3.3/icon_xyxc_qx.png"/>
  130. <text></text>
  131. </view>
  132. <view class="list_three_li_t_c">实验室名称-房间号</view>
  133. <view class="list_three_li_t_c2">已逾期</view>
  134. <view class="list_three_li_t_r"></view>
  135. </view>
  136. <view class="list_three_li_m">
  137. <view class="list_three_li_m_t">计划标题计划标题计划标题计划标题计划标题计划...</view>
  138. <view class="list_three_li_m_b">
  139. <text class="blue_color">未开始</text>
  140. <text>校院巡查</text>
  141. <text>环境与测绘学院</text>
  142. </view>
  143. </view>
  144. <view class="list_three_li_b">
  145. <text>整改期限:2023-01-01</text>
  146. </view>
  147. </view>
  148. </view>
  149. </view>
  150. </scroll-view>
  151. <view class="bottom_btn" @click="handleClick('','start')">开展检查</view>
  152. <img class="scan_btn" src="@/images/Version3.3.3/icon_xyxc_sm.png"/>
  153. </view>
  154. </template>
  155. <script>
  156. import { config } from '@/api/request/config.js'
  157. import {checkPlanList,getCheckStatusCount} from '@/api/index.js'
  158. export default {
  159. name: "rectifyList",
  160. components: {
  161. },
  162. data() {
  163. return {
  164. pageType:0,
  165. //列表请求参数
  166. getData:{
  167. pageNum:1,
  168. pageSize:20,
  169. checkStatus:1,
  170. },
  171. total:0,
  172. statisticsList:[
  173. {name:'本月已检查',value:'20'},
  174. {name:'本月检查隐患',value:'10'},
  175. {name:'本月已整改',value:'5'},
  176. {name:'本月检查合格率',value:'40%'},
  177. {name:'本月已检查',value:'20'},
  178. {name:'本月复核通过率',value:'30%'},
  179. ],
  180. statisticsListThree:[
  181. {name:'本月已检查',value:'20'},
  182. {name:'本月已整改',value:'60%'},
  183. {name:'本月复核通过率',value:'30%'},
  184. ],
  185. tabText:[{name:'未开始',num:0,},{name:'进行中',num:0}],
  186. curTab:0,
  187. tabTextTow:['待检查','检查中','待复核'],
  188. curTabTow:0,
  189. tabTextThree:['隐患待整改','随手拍整改'],
  190. curTabThree:0,
  191. dataList:[],
  192. }
  193. },
  194. onLoad() {
  195. },
  196. onShow() {
  197. this.getList();
  198. },
  199. mounted(){
  200. this.getCheckStatusCount();
  201. },
  202. methods: {
  203. //滚动事件
  204. scrollGet(){
  205. let self=this;
  206. if(self.total/self.getData.pageSize<=self.getData.pageNum){
  207. console.log('没有更多数据!')
  208. }else{
  209. setTimeout(function(){
  210. self.getData.pageNum += 1;
  211. self.getList();
  212. },1000)
  213. }
  214. },
  215. //管理员
  216. tabClick(index) {
  217. this.curTab = index;
  218. this.getData.pageNum=1;
  219. this.dataList=[];
  220. if(index==0){//未开始
  221. this.getData.checkStatus=1
  222. this.getList()
  223. }else if(index==1){//进行中
  224. this.getData.checkStatus=2
  225. this.getList()
  226. }
  227. },
  228. tabClickTow(index) {
  229. this.curTabTow = index;
  230. },
  231. tabClickThree(index) {
  232. this.curTabThree = index;
  233. },
  234. handleClick(row,doType){
  235. let self=this;
  236. if(self.pageType==0 && doType=='patrolPlan'){//校院巡查-计划
  237. uni.navigateTo({
  238. url: '/pages/pages_safetyExamine/patrolPlan/patrolPlanList?pageType=1'
  239. });
  240. }else if(self.pageType==0 && doType=='selfPlan'){//实验室自查-计划
  241. uni.navigateTo({
  242. url: '/pages/pages_safetyExamine/patrolPlan/patrolPlanList?pageType=2'
  243. });
  244. }else if(self.pageType==0 && doType=='dangerPlan'){//安全隐患-计划
  245. uni.navigateTo({
  246. url: '/pages/pages_safetyExamine/dangerManage/dangerManage?pageType=1'
  247. });
  248. }else if(self.pageType==1 && doType=='patrolPlan'){//校院巡查-检查
  249. uni.navigateTo({
  250. url: '/pages/pages_safetyExamine/examineManage/examineList?pageType=1'
  251. });
  252. }else if(self.pageType==1 && doType=='selfPlan'){//实验室自查-检查
  253. uni.navigateTo({
  254. url: '/pages/pages_safetyExamine/examineManage/examineList?pageType=2'
  255. });
  256. }else if(self.pageType==1 && doType=='dangerPlan'){//安全隐患-检查
  257. uni.navigateTo({
  258. url: '/pages/pages_safetyExamine/dangerManage/dangerManage?pageType=2'
  259. });
  260. }else if(self.pageType==2 && doType=='schoolDanger'){//校院巡查隐患
  261. uni.navigateTo({
  262. url: '/pages/pages_safetyExamine/dangerManage/dangerList?pageType=1'
  263. });
  264. }else if(self.pageType==2 && doType=='labDanger'){//实验室自查隐患
  265. uni.navigateTo({
  266. url: '/pages/pages_safetyExamine/dangerManage/dangerList?pageType=2'
  267. });
  268. }else if(doType=='edit'){//编辑
  269. uni.navigateTo({
  270. url: '/pages/pages_safetyExamine/patrolPlan/patrolPlanEdit'
  271. });
  272. }else if(doType=='snapshot'){//随手拍
  273. uni.navigateTo({
  274. url: '/pages/pages_safetyExamine/snapshotManage/snapshotAdd'
  275. });
  276. }else if(doType=='start'){//开展检查
  277. uni.navigateTo({
  278. url: '/pages/pages_safetyExamine/examineManage/examineAdd'
  279. });
  280. }
  281. },
  282. //检查计划各检查状态数据数量
  283. async getCheckStatusCount(){
  284. let self = this;
  285. const {data} = await getCheckStatusCount();
  286. if(data.code==200){
  287. this.tabText[0].num=data.data.noStart;
  288. this.tabText[1].num=data.data.start;
  289. }
  290. },
  291. async getList(){
  292. let self = this;
  293. const {data} = await checkPlanList(this.getData);
  294. if(data.code==200){
  295. this.dataList=[...this.dataList,...data.data.records]
  296. this.total=data.data.total;
  297. }
  298. }
  299. }
  300. }
  301. </script>
  302. <style lang="stylus" scoped>
  303. .examine{
  304. height:100%;
  305. display flex;
  306. .info-max-box{
  307. flex: 1;
  308. overflow: scroll;
  309. padding-bottom: 128rpx;
  310. }
  311. .blue_color{
  312. color: #0183FA;
  313. border: 1rpx solid #0183FA;
  314. }
  315. .red_color{
  316. color: #FF4545;
  317. border: 1rpx solid #FF4545;
  318. }
  319. .green_color{
  320. color: #1FA50D;
  321. border: 1rpx solid #1FA50D;
  322. }
  323. .statistics{
  324. background: #fff;
  325. display: flex;
  326. justify-content: flex-start;
  327. flex-wrap: wrap;
  328. padding: 38rpx 26rpx;
  329. box-sizing: border-box;
  330. .statistics_li{
  331. width: 230rpx;
  332. border-right: 1rpx solid #D8D8D8;
  333. border-bottom: 1rpx solid #D8D8D8;
  334. >text{
  335. display: block;
  336. text-align: center;
  337. }
  338. >text:nth-of-type(1){
  339. font-size: 26rpx;
  340. font-family: PingFang SC-Medium, PingFang SC;
  341. font-weight: 400;
  342. color: #666666;
  343. line-height: 26rpx;
  344. margin-top: 24rpx;
  345. }
  346. >text:nth-of-type(2){
  347. font-size: 34rpx;
  348. font-family: PingFang SC-Heavy, PingFang SC;
  349. font-weight: 400;
  350. color: #1FA50D;
  351. line-height: 34rpx;
  352. margin-top: 28rpx;
  353. }
  354. }
  355. >view:nth-of-type(1){
  356. >text:nth-of-type(1){
  357. margin-top: 4rpx;
  358. }
  359. >text:nth-of-type(2){
  360. margin-bottom: 18rpx;
  361. color: #1FA50D;
  362. }
  363. }
  364. >view:nth-of-type(2){
  365. >text:nth-of-type(1){
  366. margin-top: 4rpx;
  367. }
  368. >text:nth-of-type(2){
  369. margin-bottom: 18rpx;
  370. color: #FA8201;
  371. }
  372. }
  373. >view:nth-of-type(3){
  374. border-right:none;
  375. >text:nth-of-type(1){
  376. margin-top: 4rpx;
  377. }
  378. >text:nth-of-type(2){
  379. margin-bottom: 18rpx;
  380. color: #0183FA;
  381. }
  382. }
  383. >view:nth-of-type(4){
  384. border-bottom:none;
  385. >text:nth-of-type(2){
  386. color: #1FA50D;
  387. }
  388. }
  389. >view:nth-of-type(5){
  390. border-bottom:none;
  391. >text:nth-of-type(2){
  392. color: #FA8201;
  393. }
  394. }
  395. >view:nth-of-type(6){
  396. border-right:none;border-bottom:none;
  397. >text:nth-of-type(2){
  398. color: #0183FA;
  399. }
  400. }
  401. }
  402. .inspect_btn{
  403. height: 150rpx;
  404. background: #fff;
  405. display: flex;
  406. justify-content: space-between;
  407. align-items: center;
  408. margin-top: 20rpx;
  409. padding: 0 30rpx;
  410. box-sizing: border-box;
  411. .inspect_btn_li{
  412. >img{
  413. width: 60rpx;
  414. height: 60rpx;
  415. margin:0 auto;
  416. }
  417. >text{
  418. font-size: 28rpx;
  419. font-family: PingFang SC-Medium, PingFang SC;
  420. font-weight: 400;
  421. color: #333333;
  422. line-height: 28rpx;
  423. margin-top: 14rpx;
  424. }
  425. }
  426. .line{
  427. display: inline-block;
  428. height: 60rpx;
  429. width: 1rpx;
  430. background: #E0E0E0;
  431. }
  432. }
  433. /* 切换按钮 */
  434. .tabTitle{
  435. width:100%;
  436. height: 100rpx;
  437. background: #fff;
  438. display flex;
  439. justify-content: center;
  440. align-items: center;
  441. margin-top: 20rpx;
  442. position: sticky;
  443. top: 0;
  444. z-index: 100;
  445. box-shadow: 0rpx 3rpx 8rpx 0rpx rgba(0,0,0,0.16);
  446. .tabTitle_li{
  447. position: relative;
  448. width:372rpx;
  449. text-align center;
  450. .tabTitle_text{
  451. display: inline-block;
  452. font-size: 30rpx;
  453. font-family: PingFang SC;
  454. font-weight: 500;
  455. color: #333333;
  456. line-height: 46rpx;
  457. position: relative;
  458. >text{
  459. position:absolute;
  460. min-width: 30rpx;
  461. min-height: 30rpx;
  462. border-radius:54%;
  463. background: #E80000;
  464. font-size: 18rpx;
  465. font-family: PingFang SC-Medium, PingFang SC;
  466. font-weight: 400;
  467. color: #FFFFFF;
  468. text-align: center;
  469. line-height: 30rpx;
  470. margin-left: 6rpx;
  471. padding:2rpx;
  472. box-sizing: border-box;
  473. }
  474. &.on{
  475. color:#0183FA;
  476. }
  477. }
  478. .tabTitle_across{
  479. width: 50rpx;
  480. height: 4rpx;
  481. background: #0183FA;
  482. border-radius: 2rpx;
  483. margin-left 162rpx;
  484. display none;
  485. &.on{
  486. display block;
  487. }
  488. }
  489. }
  490. .tabTitle_li:nth-of-type(1)::after{
  491. content: '';
  492. position: absolute;
  493. top: 0rpx;
  494. right: 0rpx;
  495. width: 1rpx;
  496. height: 50rpx;
  497. background: #E0E0E0;
  498. }
  499. }
  500. .list{
  501. padding: 0 30rpx;
  502. box-sizing: border-box;
  503. margin-top: 20rpx;
  504. .list_li{
  505. position: relative;
  506. width: 690rpx;
  507. height: 360rpx;
  508. background: #fff;
  509. border-radius: 10rpx;
  510. overflow: hidden;
  511. margin-bottom: 20rpx;
  512. .list_li_t{
  513. width: 100%;
  514. position: absolute;
  515. left: 0;
  516. top: 0;
  517. .list_li_t_l{
  518. >img{
  519. width: 70rpx;
  520. height: 70rpx;
  521. }
  522. >text{
  523. position: absolute;
  524. left: -15rpx;
  525. top: 76rpx;
  526. display: inline-block;
  527. width: 30rpx;
  528. height: 30rpx;
  529. background: #F5F5F5;
  530. border-radius: 15rpx;
  531. }
  532. }
  533. .list_li_t_c{
  534. width: 630rpx;
  535. height: 110rpx;
  536. position: absolute;
  537. left: 30rpx;
  538. top: 0;
  539. font-size: 30rpx;
  540. font-family: PingFang SC-Medium, PingFang SC;
  541. font-weight: 400;
  542. color: #333333;
  543. line-height: 110rpx;
  544. border-bottom: 1rpx dashed #D8D8D8;
  545. overflow: hidden;
  546. text-overflow:ellipsis;
  547. white-space: nowrap;
  548. }
  549. .list_li_t_r{
  550. position: absolute;
  551. right:-15rpx;
  552. top: 76rpx;
  553. width: 30rpx;
  554. height: 30rpx;
  555. background:#F5F5F5;
  556. border-radius: 15rpx;
  557. }
  558. }
  559. .list_li_m{
  560. position: absolute;
  561. top: 110rpx;
  562. left: 0;
  563. width: 690rpx;
  564. height: 168rpx;
  565. border-bottom: 1rpx solid #E0E0E0;
  566. padding-left: 30rpx;
  567. box-sizing: border-box;
  568. .list_li_m_t{
  569. font-size: 28rpx;
  570. font-family: PingFang SC-Medium, PingFang SC;
  571. font-weight: 400;
  572. color: #666666;
  573. line-height: 40rpx;
  574. margin-top:22rpx;
  575. }
  576. .list_li_m_b{
  577. margin-top:26rpx;
  578. >text:nth-of-type(1){
  579. font-size: 26rpx;
  580. font-family: PingFang SC-Medium, PingFang SC;
  581. font-weight: 400;
  582. line-height: 40rpx;
  583. border-radius: 6rpx;
  584. padding: 0 20rpx;
  585. margin-right: 14rpx;
  586. }
  587. >text:nth-of-type(2){
  588. font-size: 26rpx;
  589. font-family: PingFang SC-Medium, PingFang SC;
  590. font-weight: 400;
  591. color: #0183FA;
  592. line-height: 40rpx;
  593. padding: 0 8rpx;
  594. border-radius: 6rpx;
  595. background: rgba(1,131,250,0.1);
  596. }
  597. }
  598. }
  599. .list_li_b{
  600. height: 80rpx;
  601. position: absolute;
  602. top: 278rpx;
  603. left: 0;
  604. display: flex;
  605. justify-content: flex-start;
  606. align-items: center;
  607. >img{
  608. width: 24rpx;
  609. height: 30rpx;
  610. margin-right: 26rpx;
  611. margin-left: 30rpx;
  612. }
  613. >text:nth-of-type(1){
  614. font-size: 28rpx;
  615. font-family: PingFang SC-Medium, PingFang SC;
  616. font-weight: 400;
  617. color: #333333;
  618. line-height: 28rpx;
  619. }
  620. >text:nth-of-type(2){
  621. font-size: 28rpx;
  622. font-family: PingFang SC-Medium, PingFang SC;
  623. font-weight: 400;
  624. color: #0183FA;
  625. line-height: 28rpx;
  626. }
  627. }
  628. }
  629. }
  630. /* 检查者 */
  631. .tabTitle_tow{
  632. width:100%;
  633. height: 100rpx;
  634. background: #fff;
  635. display flex;
  636. justify-content: flex-start;
  637. align-items: center;
  638. margin-top: 20rpx;
  639. position: sticky;
  640. top: 0;
  641. z-index: 100;
  642. box-shadow: 0rpx 3rpx 8rpx 0rpx rgba(0,0,0,0.16);
  643. .tabTitle_tow_li{
  644. position: relative;
  645. width:162rpx;
  646. text-align center;
  647. .tabTitle_tow_text{
  648. display: inline-block;
  649. font-size: 30rpx;
  650. font-family: PingFang SC;
  651. font-weight: 500;
  652. color: #333333;
  653. line-height: 46rpx;
  654. position: relative;
  655. >text{
  656. position:absolute;
  657. min-width: 30rpx;
  658. min-height: 30rpx;
  659. border-radius:54%;
  660. background: #E80000;
  661. font-size: 18rpx;
  662. font-family: PingFang SC-Medium, PingFang SC;
  663. font-weight: 400;
  664. color: #FFFFFF;
  665. text-align: center;
  666. line-height: 30rpx;
  667. margin-left: 6rpx;
  668. padding:2rpx;
  669. box-sizing: border-box;
  670. }
  671. &.on{
  672. color:#0183FA;
  673. }
  674. }
  675. .tabTitle_tow_across{
  676. width: 50rpx;
  677. height: 4rpx;
  678. background: #0183FA;
  679. border-radius: 2rpx;
  680. margin-left 56rpx;
  681. display none;
  682. &.on{
  683. display block;
  684. }
  685. }
  686. }
  687. }
  688. .list_tow{
  689. padding: 0 30rpx;
  690. box-sizing: border-box;
  691. margin-top: 20rpx;
  692. .list_tow_li{
  693. position: relative;
  694. width: 690rpx;
  695. height: 360rpx;
  696. background: #fff;
  697. border-radius: 10rpx;
  698. overflow: hidden;
  699. margin-bottom: 20rpx;
  700. .list_tow_li_t{
  701. width: 100%;
  702. position: absolute;
  703. left: 0;
  704. top: 0;
  705. .list_tow_li_t_l{
  706. >img{
  707. width: 70rpx;
  708. height: 70rpx;
  709. }
  710. >text{
  711. position: absolute;
  712. left: -15rpx;
  713. top: 76rpx;
  714. display: inline-block;
  715. width: 30rpx;
  716. height: 30rpx;
  717. background: #F5F5F5;
  718. border-radius: 15rpx;
  719. }
  720. }
  721. .list_tow_li_t_c{
  722. width: 630rpx;
  723. height: 110rpx;
  724. position: absolute;
  725. left: 30rpx;
  726. top: 0;
  727. font-size: 30rpx;
  728. font-family: PingFang SC-Medium, PingFang SC;
  729. font-weight: 400;
  730. color: #333333;
  731. line-height: 110rpx;
  732. border-bottom: 1rpx dashed #D8D8D8;
  733. overflow: hidden;
  734. text-overflow:ellipsis;
  735. white-space: nowrap;
  736. padding-right: 60rpx;
  737. box-sizing: border-box;
  738. }
  739. .list_tow_li_t_c2{
  740. position: absolute;
  741. right: 20rpx;
  742. top: 38rpx;
  743. width: 120rpx;
  744. height: 40rpx;
  745. font-size: 28rpx;
  746. font-family: PingFang SC-Medium, PingFang SC;
  747. font-weight: 400;
  748. color: #FF5757;
  749. line-height: 40rpx;
  750. border: 1rpx solid #FF5757;
  751. border-radius: 6rpx;
  752. text-align: center;
  753. }
  754. .list_tow_li_t_r{
  755. position: absolute;
  756. right:-15rpx;
  757. top: 76rpx;
  758. width: 30rpx;
  759. height: 30rpx;
  760. background:#F5F5F5;
  761. border-radius: 15rpx;
  762. }
  763. }
  764. .list_tow_li_m{
  765. position: absolute;
  766. top: 110rpx;
  767. left: 0;
  768. width: 690rpx;
  769. height: 168rpx;
  770. border-bottom: 1rpx solid #E0E0E0;
  771. padding-left: 30rpx;
  772. box-sizing: border-box;
  773. .list_tow_li_m_t{
  774. font-size: 28rpx;
  775. font-family: PingFang SC-Medium, PingFang SC;
  776. font-weight: 400;
  777. color: #666666;
  778. line-height: 40rpx;
  779. margin-top:22rpx;
  780. }
  781. .list_tow_li_m_b{
  782. margin-top:26rpx;
  783. >text:nth-of-type(1){
  784. font-size: 26rpx;
  785. font-family: PingFang SC-Medium, PingFang SC;
  786. font-weight: 400;
  787. line-height: 40rpx;
  788. border-radius: 6rpx;
  789. padding: 0 20rpx;
  790. margin-right: 14rpx;
  791. }
  792. >text:nth-of-type(2){
  793. font-size: 26rpx;
  794. font-family: PingFang SC-Medium, PingFang SC;
  795. font-weight: 400;
  796. color: #0183FA;
  797. line-height: 40rpx;
  798. padding: 0 8rpx;
  799. border-radius: 6rpx;
  800. background: rgba(1,131,250,0.1);
  801. margin-right: 24rpx;
  802. }
  803. >text:nth-of-type(3){
  804. display: inline-block;
  805. width: 380rpx;
  806. font-size: 26rpx;
  807. font-family: PingFang SC-Medium, PingFang SC;
  808. font-weight: 400;
  809. color: #333333;
  810. line-height: 26rpx;
  811. overflow: hidden;
  812. text-overflow:ellipsis;
  813. white-space: nowrap;
  814. }
  815. }
  816. }
  817. .list_tow_li_b{
  818. height: 80rpx;
  819. width: 100%;
  820. position: absolute;
  821. top: 278rpx;
  822. left: 0;
  823. display: flex;
  824. justify-content: center;
  825. align-items: center;
  826. >text:nth-of-type(1){
  827. font-size: 26rpx;
  828. font-family: PingFang SC-Medium, PingFang SC;
  829. font-weight: 400;
  830. color: #333333;
  831. line-height: 26rpx;
  832. }
  833. }
  834. }
  835. }
  836. /* 整改人 */
  837. .statistics_three{
  838. background: #fff;
  839. display: flex;
  840. justify-content: flex-start;
  841. flex-wrap: wrap;
  842. padding: 38rpx 30rpx;
  843. box-sizing: border-box;
  844. .statistics_three_li{
  845. width: 230rpx;
  846. position: relative;
  847. >text{
  848. display: block;
  849. text-align: center;
  850. }
  851. >text:nth-of-type(1){
  852. font-size: 26rpx;
  853. font-family: PingFang SC-Medium, PingFang SC;
  854. font-weight: 400;
  855. color: #666666;
  856. line-height: 26rpx;
  857. }
  858. >text:nth-of-type(2){
  859. font-size: 34rpx;
  860. font-family: PingFang SC-Heavy, PingFang SC;
  861. font-weight: 400;
  862. color: #1FA50D;
  863. line-height: 34rpx;
  864. margin-top: 28rpx;
  865. }
  866. }
  867. .statistics_three_li::after{
  868. content:'';
  869. position: absolute;
  870. top: 20rpx;
  871. right:0rpx;
  872. width: 1rpx;
  873. height: 60rpx;
  874. background: #D8D8D8;
  875. }
  876. .statistics_three_li:nth-of-type(3)::after{
  877. display: none;
  878. }
  879. >view:nth-of-type(1){
  880. >text:nth-of-type(2){
  881. color: #1FA50D;
  882. }
  883. }
  884. >view:nth-of-type(2){
  885. >text:nth-of-type(2){
  886. color: #FA8201;
  887. }
  888. }
  889. >view:nth-of-type(3){
  890. >text:nth-of-type(2){
  891. color: #0183FA;
  892. }
  893. }
  894. }
  895. .inspect_btn_three{
  896. height: 150rpx;
  897. background: #fff;
  898. display: flex;
  899. justify-content: space-between;
  900. align-items: center;
  901. margin-top: 20rpx;
  902. padding: 0 74rpx;
  903. box-sizing: border-box;
  904. .inspect_btn_three_li{
  905. >img{
  906. width: 60rpx;
  907. height: 60rpx;
  908. margin:0 auto;
  909. }
  910. >text{
  911. font-size: 28rpx;
  912. font-family: PingFang SC-Medium, PingFang SC;
  913. font-weight: 400;
  914. color: #333333;
  915. line-height: 28rpx;
  916. margin-top: 14rpx;
  917. }
  918. }
  919. .line{
  920. display: inline-block;
  921. height: 60rpx;
  922. width: 1rpx;
  923. background: #E0E0E0;
  924. }
  925. }
  926. /* 切换按钮 */
  927. .tabTitle_three{
  928. width:100%;
  929. height: 100rpx;
  930. background: #fff;
  931. display flex;
  932. justify-content: center;
  933. align-items: center;
  934. margin-top: 20rpx;
  935. position: sticky;
  936. top: 0;
  937. z-index: 100;
  938. box-shadow: 0rpx 3rpx 8rpx 0rpx rgba(0,0,0,0.16);
  939. .tabTitle_three_li{
  940. position: relative;
  941. width:372rpx;
  942. text-align center;
  943. .tabTitle_three_text{
  944. display: inline-block;
  945. font-size: 30rpx;
  946. font-family: PingFang SC;
  947. font-weight: 500;
  948. color: #333333;
  949. line-height: 46rpx;
  950. position: relative;
  951. >text{
  952. position:absolute;
  953. min-width: 30rpx;
  954. min-height: 30rpx;
  955. border-radius:54%;
  956. background: #E80000;
  957. font-size: 18rpx;
  958. font-family: PingFang SC-Medium, PingFang SC;
  959. font-weight: 400;
  960. color: #FFFFFF;
  961. text-align: center;
  962. line-height: 30rpx;
  963. margin-left: 6rpx;
  964. padding:2rpx;
  965. box-sizing: border-box;
  966. }
  967. &.on{
  968. color:#0183FA;
  969. }
  970. }
  971. .tabTitle_three_across{
  972. width: 50rpx;
  973. height: 4rpx;
  974. background: #0183FA;
  975. border-radius: 2rpx;
  976. margin-left 162rpx;
  977. display none;
  978. &.on{
  979. display block;
  980. }
  981. }
  982. }
  983. .tabTitle_three_li:nth-of-type(1)::after{
  984. content: '';
  985. position: absolute;
  986. top: 0rpx;
  987. right: 0rpx;
  988. width: 1rpx;
  989. height: 50rpx;
  990. background: #E0E0E0;
  991. }
  992. }
  993. .list_three{
  994. padding: 0 30rpx;
  995. box-sizing: border-box;
  996. margin-top: 20rpx;
  997. .list_three_li{
  998. position: relative;
  999. width: 690rpx;
  1000. height: 348rpx;
  1001. background: #fff;
  1002. border-radius: 10rpx;
  1003. overflow: hidden;
  1004. margin-bottom: 20rpx;
  1005. .list_three_li_t{
  1006. width: 100%;
  1007. position: absolute;
  1008. left: 0;
  1009. top: 0;
  1010. .list_three_li_t_l{
  1011. >img{
  1012. width: 70rpx;
  1013. height: 70rpx;
  1014. }
  1015. >text{
  1016. position: absolute;
  1017. left: -15rpx;
  1018. top: 76rpx;
  1019. display: inline-block;
  1020. width: 30rpx;
  1021. height: 30rpx;
  1022. background: #F5F5F5;
  1023. border-radius: 15rpx;
  1024. }
  1025. }
  1026. .list_three_li_t_c{
  1027. width: 630rpx;
  1028. height: 110rpx;
  1029. position: absolute;
  1030. left: 30rpx;
  1031. top: 0;
  1032. font-size: 30rpx;
  1033. font-family: PingFang SC-Medium, PingFang SC;
  1034. font-weight: 400;
  1035. color: #333333;
  1036. line-height: 110rpx;
  1037. border-bottom: 1rpx dashed #D8D8D8;
  1038. overflow: hidden;
  1039. text-overflow:ellipsis;
  1040. white-space: nowrap;
  1041. padding-right: 60rpx;
  1042. box-sizing: border-box;
  1043. }
  1044. .list_three_li_t_c2{
  1045. position: absolute;
  1046. right: 20rpx;
  1047. top: 38rpx;
  1048. width: 120rpx;
  1049. height: 40rpx;
  1050. font-size: 28rpx;
  1051. font-family: PingFang SC-Medium, PingFang SC;
  1052. font-weight: 400;
  1053. color: #FF5757;
  1054. line-height: 40rpx;
  1055. border: 1rpx solid #FF5757;
  1056. border-radius: 6rpx;
  1057. text-align: center;
  1058. }
  1059. .list_three_li_t_r{
  1060. position: absolute;
  1061. right:-15rpx;
  1062. top: 76rpx;
  1063. width: 30rpx;
  1064. height: 30rpx;
  1065. background:#F5F5F5;
  1066. border-radius: 15rpx;
  1067. }
  1068. }
  1069. .list_three_li_m{
  1070. position: absolute;
  1071. top: 110rpx;
  1072. left: 0;
  1073. width: 690rpx;
  1074. height: 158rpx;
  1075. padding-left: 30rpx;
  1076. box-sizing: border-box;
  1077. .list_three_li_m_t{
  1078. font-size: 28rpx;
  1079. font-family: PingFang SC-Medium, PingFang SC;
  1080. font-weight: 400;
  1081. color: #666666;
  1082. line-height: 40rpx;
  1083. margin-top:22rpx;
  1084. }
  1085. .list_three_li_m_b{
  1086. margin-top:26rpx;
  1087. >text:nth-of-type(1){
  1088. font-size: 26rpx;
  1089. font-family: PingFang SC-Medium, PingFang SC;
  1090. font-weight: 400;
  1091. line-height: 40rpx;
  1092. border-radius: 6rpx;
  1093. padding: 0 20rpx;
  1094. margin-right: 14rpx;
  1095. }
  1096. >text:nth-of-type(2){
  1097. font-size: 26rpx;
  1098. font-family: PingFang SC-Medium, PingFang SC;
  1099. font-weight: 400;
  1100. color: #0183FA;
  1101. line-height: 40rpx;
  1102. padding: 0 8rpx;
  1103. border-radius: 6rpx;
  1104. background: rgba(1,131,250,0.1);
  1105. margin-right: 24rpx;
  1106. }
  1107. >text:nth-of-type(3){
  1108. display: inline-block;
  1109. width: 380rpx;
  1110. font-size: 26rpx;
  1111. font-family: PingFang SC-Medium, PingFang SC;
  1112. font-weight: 400;
  1113. color: #333333;
  1114. line-height: 26rpx;
  1115. overflow: hidden;
  1116. text-overflow:ellipsis;
  1117. white-space: nowrap;
  1118. }
  1119. }
  1120. }
  1121. .list_three_li_b{
  1122. height: 80rpx;
  1123. width: 100%;
  1124. position: absolute;
  1125. top: 268rpx;
  1126. left: 0;
  1127. padding-left: 30rpx;
  1128. box-sizing: border-box;
  1129. >text:nth-of-type(1){
  1130. font-size: 26rpx;
  1131. font-family: PingFang SC-Medium, PingFang SC;
  1132. font-weight: 400;
  1133. color: #333333;
  1134. line-height: 26rpx;
  1135. }
  1136. }
  1137. }
  1138. }
  1139. .bottom_btn{
  1140. position: fixed;
  1141. bottom: 20rpx;
  1142. left: 30rpx;
  1143. font-size: 30rpx;
  1144. font-family: PingFang SC-Medium, PingFang SC;
  1145. font-weight: 400;
  1146. color: #FFFFFF;
  1147. line-height: 90rpx;
  1148. width: 690rpx;
  1149. height: 90rpx;
  1150. background: #0183FA;
  1151. border-radius: 20rpx;
  1152. text-align: center;
  1153. }
  1154. .scan_btn{
  1155. position: fixed;
  1156. bottom: 210rpx;
  1157. right: 0rpx;
  1158. width: 130rpx;
  1159. height: 130rpx;
  1160. }
  1161. }
  1162. </style>