safetyExamineWorkbench.vue 51 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966
  1. <!-- 安全检查-工作台 -->
  2. <template>
  3. <view class="examine">
  4. <scroll-view scroll-y @scrolltolower="scrollGet" class="info-max-box">
  5. <view class="tabTitle_identity" v-if="tabTextIdentity.length>1">
  6. <view class="tabTitle_identity_li" @tap="tabClickIdentity(item,index)" :key="index" v-for="(item,index) in tabTextIdentity">
  7. <view :class="{on:curTabIdentity==index}" class="tabTitle_identity_text">{{item.name}}</view>
  8. <view :class="{on:curTabIdentity==index}" class="tabTitle_identity_across"></view>
  9. </view>
  10. </view>
  11. <view>
  12. <view class="statistics" v-if="pageType==1 || pageType==2">
  13. <view class="statistics_li" v-for="(item,index) in statisticsList" :key="index">
  14. <text>{{item.name}}</text>
  15. <text>{{item.value}}</text>
  16. </view>
  17. </view>
  18. <viwe class="inspect_btn" v-if="pageType==1 || pageType==2">
  19. <view class="inspect_btn_li" @click="handleClick('','patrolPlan')">
  20. <img src="@/images/Version3.3.3/icon_xyxc_xyxc.png"/>
  21. <text>校院巡查</text>
  22. </view>
  23. <text class="line"></text>
  24. <view class="inspect_btn_li" @click="handleClick('','selfPlan')">
  25. <img src="@/images/Version3.3.3/icon_xyxc_syszc.png"/>
  26. <text>实验室自查</text>
  27. </view>
  28. <text class="line"></text>
  29. <view class="inspect_btn_li" @click="handleClick('','dangerPlan')">
  30. <img src="@/images/Version3.3.3/icon_xyxc_aqyh.png"/>
  31. <text>安全隐患</text>
  32. </view>
  33. <text class="line"></text>
  34. <view class="inspect_btn_li" @click="handleClick('','snapshot')">
  35. <img src="@/images/Version3.3.3/icon_aqjc_ssp.png"/>
  36. <text>随手拍</text>
  37. </view>
  38. </viwe>
  39. <!--管理员------------- -->
  40. <view class="tabTitle" v-if="pageType==1">
  41. <view class="tabTitle_li" @tap="tabClick(index)" :key="index" v-for="(item,index) in tabText">
  42. <view :class="{on:curTab==index}" class="tabTitle_text">{{item.name}}<text>{{item.num}}</text></view>
  43. <view :class="{on:curTab==index}" class="tabTitle_across"></view>
  44. </view>
  45. </view>
  46. <view class="list" v-if="pageType==1">
  47. <view class="list_li" v-for="(item,index) in dataList" :key="index" @click="handleClick(item,'edit')">
  48. <view class="list_li_t">
  49. <view class="list_li_t_l">
  50. <img v-if="item.checkRange==1" src="@/images/Version3.3.3/icon_xyxc_qx.png"/>
  51. <img v-if="item.checkRange==2" src="@/images/Version3.3.3/icon_xyxc_xy.png"/>
  52. <img v-if="item.checkRange==3" src="@/images/Version3.3.3/icon_xyxc_sys.png"/>
  53. <text></text>
  54. </view>
  55. <view class="list_li_t_c">{{item.title}}</view>
  56. <view class="list_li_t_r"></view>
  57. </view>
  58. <view class="list_li_m">
  59. <view class="list_li_m_t">计划周期:{{item.cycleStartTime}}至{{item.cycleEndTime}}</view>
  60. <view class="list_li_m_b">
  61. <text class="blue_color" v-if="item.checkStatus==1">未开始</text>
  62. <text class="red_color" v-if="item.checkStatus==2">进行中</text>
  63. <text>{{item.checkType==1?'校院巡查':'实验室自查'}}</text>
  64. </view>
  65. </view>
  66. <view class="list_li_b">
  67. <img src="@/images/Version3.3.3/icon_djcsys.png"/>
  68. <text v-if="item.checkStatus==1">待检查实验室:</text>
  69. <text v-if="item.checkStatus==1">{{item.subjectNum}}间</text>
  70. <text v-if="item.checkStatus==2">检查进度:</text>
  71. <text v-if="item.checkStatus==2">{{item.checkSchedule}}间</text>
  72. </view>
  73. </view>
  74. </view>
  75. <!--检查者------------- -->
  76. <view class="tabTitle_tow" v-if="pageType==2">
  77. <view class="tabTitle_tow_li" @tap="tabClickTow(index)" :key="index" v-for="(item,index) in tabTextTow">
  78. <view :class="{on:curTabTow==index}" class="tabTitle_tow_text">{{item.name}}<text>{{item.num}}</text></view>
  79. <view :class="{on:curTabTow==index}" class="tabTitle_tow_across"></view>
  80. </view>
  81. </view>
  82. <view class="list_tow" v-if="pageType==2">
  83. <view class="list_tow_li" v-for="(item,index) in dataList2" :key="index">
  84. <view class="list_tow_li_t">
  85. <view class="list_tow_li_t_l">
  86. <img v-if="item.checkRange==1" src="@/images/Version3.3.3/icon_xyxc_qx.png"/>
  87. <img v-if="item.checkRange==2" src="@/images/Version3.3.3/icon_xyxc_xy.png"/>
  88. <img v-if="item.checkRange==3" src="@/images/Version3.3.3/icon_xyxc_sys.png"/>
  89. <text></text>
  90. </view>
  91. <view class="list_tow_li_t_c" v-if="curTabTow==0 || curTabTow==1">{{item.subjectName}}-{{item.roomNumber}}</view>
  92. <view class="list_tow_li_t_c" v-if="curTabTow==2 && item.rectifyStatus==3">{{item.subRoom}}</view>
  93. <view class="list_tow_li_t_c2" v-if="(curTabTow==0 || curTabTow==1) && item.isOverdue==1">已逾期</view>
  94. <view class="list_tow_li_t_c2" v-if="curTabTow==2 && item.overdueStatus==3">已逾期</view>
  95. <view class="list_tow_li_t_r"></view>
  96. </view>
  97. <view class="list_tow_li_m">
  98. <view class="list_tow_li_m_t">{{item.title}}</view>
  99. <view class="list_tow_li_m_b">
  100. <text class="blue_color" v-if="item.manageStatus==0">待检查</text>
  101. <text class="red_color" v-if="item.manageStatus==1">检查中</text>
  102. <text class="green_color" v-if="item.manageStatus==2">已检查</text>
  103. <text class="orange_color" v-if="curTabTow==2 && item.rectifyStatus==3">待审核</text>
  104. <text v-if="item.manageStatus==0 || item.manageStatus==1 || item.manageStatus==2">{{item.checkType==1?'校院巡查':'实验室自查'}}</text>
  105. <text v-if="curTabTow==2 && item.rectifyStatus==3">{{item.hazardType==1?'校院巡查':'实验室自查'}}</text>
  106. <text>{{item.collegeName}}</text>
  107. </view>
  108. </view>
  109. <!-- 开始检查 -->
  110. <view v-if="curTabTow==2 && item.rectifyStatus==3" class="list_tow_li_b" @click="handleTowClick(item,'check')">{{item.applyGentle?'复核':'详情'}}</view>
  111. <view v-if="item.buttonHide && item.isSelfData==1">
  112. <view v-if="(curTabTow==0 || curTabTow==1) && item.manageStatus==0 && item.notStarted" class="list_tow_li_b" @click="handleTowClick(item,'add')">开始检查</view>
  113. <view v-if="(curTabTow==0 || curTabTow==1) &&item.manageStatus==1 && item.notStarted" class="list_tow_li_b" @click="handleTowClick(item,'edit')">编辑</view>
  114. <view v-if="(curTabTow==0 || curTabTow==1) &&!item.notStarted" class="list_tow_li_b_tow"><img src="@/images/Version3.3.3/icon_xyxcgl_jhwks.png"/>计划未开始</view>
  115. <view v-if="(curTabTow==0 || curTabTow==1) &&item.manageStatus==2 && item.notStarted" class="list_tow_li_b_three">
  116. <img src="@/images/Version3.3.3/icon_djcsys.png"/>
  117. <text>整改进度:</text>
  118. <text>{{item.rectifySchedule}}</text>
  119. <text class="report">整改报告</text>
  120. </view>
  121. </view>
  122. </view>
  123. </view>
  124. <!-- 整改人----------- -->
  125. <view class="statistics_three" v-if="pageType==3">
  126. <view class="statistics_three_li" v-for="(item,index) in statisticsListThree" :key="index">
  127. <text>{{item.name}}</text>
  128. <text>{{item.value}}</text>
  129. </view>
  130. </view>
  131. <viwe class="inspect_btn_three" v-if="pageType==3">
  132. <view class="inspect_btn_three_li" @click="handleClick('','schoolDanger')">
  133. <img src="@/images/Version3.3.3/icon_xyxc_xyxc.png"/>
  134. <text>校院巡查隐患</text>
  135. </view>
  136. <text class="line"></text>
  137. <view class="inspect_btn_three_li" @click="handleClick('','labDanger')">
  138. <img src="@/images/Version3.3.3/icon_xyxc_syszc.png"/>
  139. <text>实验室自查隐患</text>
  140. </view>
  141. <text class="line"></text>
  142. <view class="inspect_btn_three_li" @click="handleClick('','snapshot')">
  143. <img src="@/images/Version3.3.3/icon_aqjc_ssp.png"/>
  144. <text>随手拍</text>
  145. </view>
  146. </viwe>
  147. <view class="tabTitle_three" v-if="pageType==3">
  148. <view class="tabTitle_three_li" @tap="tabClickThree(index)" :key="index" v-for="(item,index) in tabTextThree">
  149. <view :class="{on:curTabThree==index}" class="tabTitle_three_text">{{item.name}}<text>{{item.num}}</text></view>
  150. <view :class="{on:curTabThree==index}" class="tabTitle_three_across"></view>
  151. </view>
  152. </view>
  153. <view class="list_three" v-if="pageType==3">
  154. <view class="list_three_li" v-for="(item,index) in dataList3" :key="index" @click="handleThreeClick(item,'detail')">
  155. <view class="list_three_li_t">
  156. <view class="list_three_li_t_l">
  157. <img v-if="item.checkRange==1" src="@/images/Version3.3.3/icon_xyxc_qx.png"/>
  158. <img v-if="item.checkRange==2" src="@/images/Version3.3.3/icon_xyxc_xy.png"/>
  159. <img v-if="item.checkRange==3" src="@/images/Version3.3.3/icon_xyxc_sys.png"/>
  160. <text></text>
  161. </view>
  162. <!-- 隐患 -->
  163. <view class="list_three_li_t_c" v-if="curTabThree==0">{{item.subRoom}}</view>
  164. <!-- 随手拍 -->
  165. <view class="list_three_li_t_c" v-if="curTabThree==1">{{item.subName}}</view>
  166. <view class="list_three_li_t_c2" v-if="item.overdueStatus==1">已逾期</view>
  167. <view class="list_three_li_t_r"></view>
  168. </view>
  169. <view class="list_three_li_m">
  170. <!-- 隐患 -->
  171. <view class="list_three_li_m_t" v-if="curTabThree==0">{{item.hazardDescribe}}</view>
  172. <!-- 随手拍 -->
  173. <view class="list_three_li_m_t" v-if="curTabThree==1">{{item.hazardDescribe}}</view>
  174. <view class="list_three_li_m_b">
  175. <!-- 隐患 -->
  176. <text class="green_color" v-if="curTabThree==0 && item.rectifyStatus==1">已完成</text>
  177. <text class="blue_color" v-if="curTabThree==0 && item.rectifyStatus==2">待整改</text>
  178. <text class="orange_color" v-if="curTabThree==0 && curTabThree==0 && item.rectifyStatus==3">待复核</text>
  179. <text class="gray_color" v-if="curTabThree==0 && item.rectifyStatus==4">暂无法整改</text>
  180. <text class="type" v-if="curTabThree==0">{{item.hazardType==1?'校院巡查':'实验室自查'}}</text>
  181. <text class="college" v-if="curTabThree==0">{{item.collegeName}}</text>
  182. <!-- 随手拍 -->
  183. <text class="blue_color" v-if="curTabThree==1 && item.rectifyStatus==0">待整改</text>
  184. <text class="green_color" v-if="curTabThree==1 && item.rectifyStatus==1">已整改</text>
  185. <text class="orange_color" v-if="curTabThree==1 && item.rectifyStatus==2">暂无法整改</text>
  186. <text class="college" v-if="curTabThree==1">{{item.deptName}}</text>
  187. </view>
  188. </view>
  189. <!-- 隐患 -->
  190. <view class="list_three_li_b" v-if="curTabThree==0">
  191. <text >整改期限:{{item.rectifyDeadline}}</text>
  192. </view>
  193. <!-- 随手拍 -->
  194. <view class="list_three_li_b2" v-if="curTabThree==1">
  195. <view class="list_three_li_b_l">
  196. <img src="@/images/Version3.3.3/icon_ssp_ry.png"/>
  197. <text>上报人:{{item.createName}}</text>
  198. </view>
  199. <view class="list_three_li_b_r">{{item.timeFlag}}</view>
  200. </view>
  201. </view>
  202. </view>
  203. </view>
  204. </scroll-view>
  205. <!-- <view class="bottom_btn" v-if="pageType==1" @click="handleClick('','start')">开展检查</view> -->
  206. <img class="scan_btn" @click.stop="saoCode" src="@/images/Version3.3.3/icon_xyxc_sm.png"/>
  207. <!-- 选择学院-->
  208. <view class="shade" v-if="dialogVisible">
  209. <view class="null-box" @click="dialogClose()"></view>
  210. <view class="shade_n">
  211. <view class="shade_n_title"><text>选择该实验室隐患项</text><text @click="hiddenConfirm">确定</text></view>
  212. <view class="shade_n_b">
  213. <view class="shade_n_b_li" v-for="(item,index) in hiddenList" :key="index" @click="hiddenSelete(index)">
  214. <text :class="item.type?'color_B':'color_A'">{{item.hazardDescribe}}</text>
  215. <img v-if="item.type" src="@/images/Version3.3.3/icon_xzwt_xz.png">
  216. </view>
  217. </view>
  218. </view>
  219. </view>
  220. <tab-bar></tab-bar>
  221. </view>
  222. </template>
  223. <script>
  224. import { config } from '@/api/request/config.js'
  225. import { tabBar } from '@/component/tabBar.vue'
  226. import {checkPlanList,getCheckStatusCount,getManageStatusCount,dataStatistics,checkManageList,checkHazardAppList,checkClapList,getCheckPlanBySubId} from '@/api/index.js'
  227. export default {
  228. name: "rectifyList",
  229. components: {
  230. tabBar
  231. },
  232. data() {
  233. return {
  234. pageType:1,//人员类型 3整改人 2检查人 1管理员
  235. //列表请求参数
  236. getData:{
  237. pageNum:1,
  238. pageSize:20,
  239. checkStatus:1,
  240. },
  241. getData2:{
  242. pageNum:1,
  243. pageSize:20,
  244. isSelf: 0,//是否本人查询
  245. checkType:0,
  246. manageStatus:0,//管理状态(-1全部 0待检查,1检查中,2已检查)
  247. rectifyStatus:'',
  248. },
  249. getData3:{
  250. pageNum:1,
  251. pageSize:20,
  252. hazardType:'',//1是院校巡查,2是实验室自查
  253. rectifyStatus:'',//1已完成 2待整改 3待复核 4 暂无法整改
  254. },
  255. userType:1,//人员类型 3整改人 2检查人 1管理员
  256. statisticsList:[
  257. {name:'本月已检查',value:'0'},
  258. {name:'本月检查隐患',value:'0'},
  259. {name:'本月已整改',value:'0'},
  260. {name:'本月检查合格率',value:'0%'},
  261. {name:'本月已检查',value:'0'},
  262. {name:'本月复核通过率',value:'0%'},
  263. ],
  264. statisticsListThree:[
  265. {name:'本月已检查',value:'0'},
  266. {name:'本月已整改',value:'0%'},
  267. {name:'本月复核通过率',value:'0%'},
  268. ],
  269. tabTextIdentity:uni.getStorageSync('gentleIdentifier'),
  270. curTabIdentity:0,
  271. tabText:[{name:'未开始',num:0,},{name:'进行中',num:0}],
  272. curTab:0,
  273. tabTextTow:[{name:'待检查',num:0,},{name:'检查中',num:0,},{name:'待复核',num:0,}],
  274. curTabTow:0,
  275. tabTextThree:[{name:'隐患待整改',num:0,},{name:'随手拍整改',num:0,}],
  276. curTabThree:0,
  277. total:0,
  278. dataList:[],//管理员
  279. total2:0,
  280. dataList2:[],//检查者
  281. total3:0,
  282. dataList3:[],//整改者
  283. currentDate:'',
  284. dangerAllNum:0,
  285. snapshotAllNum:0,
  286. isSubPlan:false,//判断管理员和检查者扫码的实验室是否有检查计划
  287. dialogVisible:false,
  288. hiddenList:[],
  289. myApplyGentle:'',//自查身份 校院巡查管理 里操作按钮隐藏
  290. applyGentle:'',//检查组身份 实验室自查管理 里操作按钮隐藏
  291. buttonHide:false,//判断按钮显示隐藏
  292. }
  293. },
  294. onLoad() {
  295. },
  296. onShow() {
  297. },
  298. beforeCreate() {
  299. },
  300. mounted(){
  301. this.pageType=uni.getStorageSync('gentleIdentifier')[0].pageType
  302. this.myApplyGentle=uni.getStorageSync('gentleIdentifierData').myApplyGentle
  303. this.applyGentle=uni.getStorageSync('gentleIdentifierData').applyGentle
  304. //获取当前日期
  305. this.currentDate=this.getNowFormatDate()
  306. this.getCheckStatusCount();
  307. //this.getManageStatusCount();
  308. this.dataStatistics(this.pageType);
  309. this.checkClapListAllNum();//随手拍待整改总数
  310. if(this.pageType==1){//管理员
  311. this.getList();
  312. }else if(this.pageType==2){//检查者
  313. this.getList2();
  314. this.checkManageListAllNum();//检查者-待检查总数
  315. this.checkManageListAllNum2();//检查者-待整改总数
  316. this.checkHazardAppListAllNum();//检查者-待复核-总数
  317. }else if(this.pageType==3){//整改者
  318. this.checkHazardAppList();
  319. }
  320. },
  321. methods: {
  322. //滚动事件
  323. scrollGet(){
  324. let self=this;
  325. if(this.pageType==1){//管理员
  326. if(self.total/self.getData.pageSize<=self.getData.pageNum){
  327. console.log('没有更多数据!')
  328. }else{
  329. setTimeout(function(){
  330. self.getData.pageNum += 1;
  331. self.getList();
  332. },1000)
  333. }
  334. }else if(this.pageType==2){//检查者
  335. if(self.total2/self.getData2.pageSize<=self.getData2.pageNum){
  336. console.log('没有更多数据!')
  337. }else{
  338. setTimeout(function(){
  339. self.getData2.pageNum += 1;
  340. if(self.curTabTow==2){//待复核
  341. self.checkHazardAppList()
  342. }else {
  343. self.getList2();
  344. }
  345. },1000)
  346. }
  347. }else if(this.pageType==3){//整改者
  348. if(self.total3/self.getData3.pageSize<=self.getData3.pageNum){
  349. console.log('没有更多数据!')
  350. }else{
  351. setTimeout(function(){
  352. self.getData3.pageNum += 1;
  353. if(self.curTabThree==0){//隐患
  354. self.checkHazardAppList()
  355. }else {//随手拍
  356. self.checkClapList()
  357. }
  358. },1000)
  359. }
  360. }
  361. },
  362. //登录人员身份
  363. tabClickIdentity(item,index) {
  364. this.curTabIdentity = index;
  365. this.pageType=item.pageType;
  366. this.dataStatistics(this.pageType);
  367. },
  368. //管理员
  369. tabClick(index) {
  370. this.curTab = index;
  371. this.getData.pageNum=1;
  372. this.dataList=[];
  373. if(index==0){//未开始
  374. this.getData.checkStatus=1
  375. this.getList()
  376. }else if(index==1){//进行中
  377. this.getData.checkStatus=2
  378. this.getList()
  379. }
  380. },
  381. tabClickTow(index) {
  382. this.curTabTow = index;
  383. this.getData2.pageNum=1;
  384. this.dataList2=[];
  385. if(index==0){//未开始
  386. this.getData2.manageStatus=0
  387. this.getList2()
  388. }else if(index==1){//进行中
  389. this.getData2.manageStatus=1
  390. this.getList2()
  391. }else if(index==2){//待复核
  392. this.getData2.rectifyStatus=3
  393. this.checkHazardAppList()
  394. }
  395. },
  396. tabClickThree(index) {//整改者
  397. this.curTabThree = index;
  398. this.getData3.pageNum=1;
  399. this.dataList3=[];
  400. if(index==0){//隐患待整改
  401. this.getData3.rectifyStatus=2
  402. this.checkHazardAppList()
  403. }else if(index==1){//随手拍待整改
  404. this.checkClapList();
  405. }
  406. },
  407. handleClick(row,doType){
  408. let self=this;
  409. if(self.pageType==1 && doType=='patrolPlan'){//校院巡查-计划
  410. uni.navigateTo({
  411. url: '/pages_safetyExamine/patrolPlan/patrolPlanList?pageType=1'
  412. });
  413. }else if(self.pageType==1 && doType=='selfPlan'){//实验室自查-计划
  414. uni.navigateTo({
  415. url: '/pages_safetyExamine/patrolPlan/patrolPlanList?pageType=2'
  416. });
  417. }else if(self.pageType==1 && doType=='dangerPlan'){//安全隐患-计划
  418. uni.navigateTo({
  419. url: '/pages_safetyExamine/dangerManage/dangerManage?pageType=1'
  420. });
  421. }else if(self.pageType==2 && doType=='patrolPlan'){//校院巡查-检查
  422. uni.navigateTo({
  423. url: '/pages_safetyExamine/examineManage/examineList?pageType=1'
  424. });
  425. }else if(self.pageType==2 && doType=='selfPlan'){//实验室自查-检查
  426. uni.navigateTo({
  427. url: '/pages_safetyExamine/examineManage/examineList?pageType=2'
  428. });
  429. }else if(self.pageType==2 && doType=='dangerPlan'){//安全隐患-检查
  430. uni.navigateTo({
  431. url: '/pages_safetyExamine/dangerManage/dangerManage?pageType=2'
  432. });
  433. }else if(self.pageType==3 && doType=='schoolDanger'){//校院巡查隐患
  434. uni.navigateTo({
  435. url: '/pages_safetyExamine/dangerManage/dangerList?pageType=1'
  436. });
  437. }else if(self.pageType==3 && doType=='labDanger'){//实验室自查隐患
  438. uni.navigateTo({
  439. url: '/pages_safetyExamine/dangerManage/dangerList?pageType=2'
  440. });
  441. }else if(doType=='edit'){//编辑
  442. uni.navigateTo({
  443. url: '/pages_safetyExamine/patrolPlan/patrolPlanEdit?pageType='+row.checkType+'&id='+row.id
  444. });
  445. }else if(doType=='snapshot'){//随手拍
  446. uni.navigateTo({
  447. url: '/pages_safetyExamine/snapshotManage/snapshotAdd'
  448. });
  449. }else if(doType=='start'){//开展检查
  450. uni.navigateTo({
  451. url: '/pages_safetyExamine/examineManage/examineAdd'
  452. });
  453. }
  454. },
  455. //检查者
  456. handleTowClick(row,doType){
  457. if(doType=='add'){//开始检查
  458. uni.navigateTo({
  459. url: '/pages_safetyExamine/examineManage/examineAdd?id='+row.id
  460. });
  461. }else if(doType=='edit'){//编辑
  462. uni.navigateTo({
  463. url: '/pages_safetyExamine/examineManage/examineAdd?id='+row.id
  464. });
  465. }else if(doType=='check'){//复核
  466. uni.navigateTo({
  467. url: '/pages_safetyExamine/dangerManage/dangerDetail?item='+encodeURIComponent(JSON.stringify(row))
  468. })
  469. }
  470. },
  471. //整改者
  472. handleThreeClick(row,doType){
  473. if(doType=='detail'){
  474. if(this.curTabThree==0){//隐患待整改详情
  475. uni.navigateTo({
  476. url: '/pages_safetyExamine/dangerManage/dangerDetail?item='+encodeURIComponent(JSON.stringify(row))
  477. })
  478. }else if(this.curTabThree==1){
  479. uni.navigateTo({
  480. url: '/pages_safetyExamine/snapshotManage/snapshotDetail?id='+row.id+'&rectifyStatus='+row.rectifyStatus
  481. })
  482. }
  483. }
  484. },
  485. /* 扫一扫*/
  486. saoCode(){
  487. let self = this;
  488. uni.scanCode({
  489. onlyFromCamera: true,
  490. success: function (res) {
  491. console.log(res)
  492. if(res.result.indexOf("code") != -1 && res.result.indexOf("-") != -1 && res.result.indexOf("&") != -1){
  493. let subId = "";
  494. let newList = res.result.split("?")[1].split("&")
  495. let list = newList[0].split("=")[1].split("-")
  496. subId = list[0];
  497. if(subId){
  498. uni.setStorageSync('saoCodeId',subId);
  499. if(self.pageType==1 || self.pageType==2){//管理员和检查者
  500. self.getCheckPlanBySubId(subId)
  501. }else if(self.pageType==3){//整改者
  502. let obj={
  503. pageNum:1,
  504. pageSize:100,
  505. subId:subId,
  506. }
  507. self.checkHazardAppList2(obj);
  508. }
  509. }else{
  510. uni.showToast({
  511. title: '请扫描正确的二维码',
  512. icon:"none",
  513. mask:true,
  514. duration: 2000
  515. });
  516. }
  517. }else{
  518. uni.showToast({
  519. title: '请扫描正确的二维码',
  520. icon:"none",
  521. mask:true,
  522. duration: 2000
  523. });
  524. }
  525. }
  526. });
  527. },
  528. //根据实验室id查询该实验室有关计划
  529. async getCheckPlanBySubId(subId){
  530. let _this = this;
  531. let id=subId;
  532. const {data} = await getCheckPlanBySubId({'subId':id});
  533. if(data.code == 200){
  534. if(data.data){
  535. uni.navigateTo({
  536. url: '/pages_safetyExamine/examineManage/examineAdd?subId='+id
  537. });
  538. }else{
  539. uni.redirectTo({
  540. url: '/pages_safetyExamine/inforSign'
  541. })
  542. }
  543. }
  544. },
  545. //根据实验室id查询隐患
  546. async checkHazardAppList2(obj){
  547. let self = this;
  548. this.hiddenList=[];
  549. const {data} = await checkHazardAppList(obj);
  550. if(data.code==200){
  551. if(data.data.records.length>0){
  552. for(let i=0;i<data.data.records.length;i++){
  553. data.data.records[i].type=false;
  554. if(data.data.records[i].rectifyStatus==2 || data.data.records[i].rectifyStatus==3){
  555. this.hiddenList.push(data.data.records[i])
  556. }
  557. }
  558. this.dialogVisible=true;
  559. }else{
  560. uni.redirectTo({
  561. url: '/pages_safetyExamine/inforSign'
  562. })
  563. }
  564. }
  565. },
  566. //选择学院弹窗关闭
  567. dialogClose(){
  568. this.dialogVisible=false;
  569. },
  570. //学院选择
  571. hiddenSelete(index){
  572. let _this=this;
  573. this.hiddenList[index].type = !this.hiddenList[index].type
  574. if (_this.hiddenList[index].type == true) {
  575. _this.hiddenList.forEach(function(item2) {
  576. if (item2.id == _this.hiddenList[index].id) {
  577. item2.type = true
  578. } else {
  579. item2.type = false
  580. }
  581. })
  582. }
  583. },
  584. hiddenConfirm(){
  585. let _this=this;
  586. _this.hiddenList.forEach(function(item){
  587. if(item.type==true){
  588. uni.redirectTo({
  589. url: '/pages_safetyExamine/dangerManage/dangerDetail?item='+encodeURIComponent(JSON.stringify(item))
  590. })
  591. }
  592. })
  593. },
  594. //数据统计
  595. async dataStatistics(flg){
  596. let self = this;
  597. const {data} = await dataStatistics({flg:flg});
  598. if(data.code==200){
  599. if(data.data.userType==1 || data.data.userType==2){//管理员和检查者
  600. this.statisticsList=[
  601. {name:'本月已检查',value:data.data.checkTotal},
  602. {name:'本月检查隐患',value:data.data.hazardTotal},
  603. {name:'本月已整改',value:data.data.rectifyTotal},
  604. {name:'本月检查合格率',value:data.data.qualifyRate},
  605. {name:'本月整改率',value:data.data. rectificationRate},
  606. {name:'本月复核通过率',value:data.data.passRate},
  607. ]
  608. }else if(data.data.userType==3){//整改者
  609. this.statisticsListThree=[
  610. {name:'本月已整改',value:data.data.rectifyTotal},
  611. {name:'本月整改率',value:data.data.rectificationRate},
  612. {name:'本月复核通过率',value:data.data.passRate},
  613. ]
  614. }
  615. }
  616. },
  617. //获取当前日期函数
  618. getNowFormatDate() {
  619. let date = new Date(),
  620. year = date.getFullYear(), //获取完整的年份(4位)
  621. month = date.getMonth() + 1, //获取当前月份(0-11,0代表1月)
  622. strDate = date.getDate() // 获取当前日(1-31)
  623. if (month < 10) month = `0${month}` // 如果月份是个位数,在前面补0
  624. if (strDate < 10) strDate = `0${strDate}` // 如果日是个位数,在前面补0
  625. return `${year}-${month}-${strDate}`
  626. },
  627. //是否可以开始检查
  628. compareTime(date1){
  629. if(!date1){
  630. return false
  631. } else {
  632. const oDate1 = new Date(date1);
  633. const oDate2 = new Date(this.currentDate)
  634. if(oDate1.getTime() <= oDate2.getTime()){
  635. return true; //可以开始
  636. } else {
  637. return false; //不能开始
  638. }
  639. }
  640. },
  641. //检查计划各检查状态数据数量
  642. async getCheckStatusCount(){
  643. let self = this;
  644. const {data} = await getCheckStatusCount();
  645. if(data.code==200){
  646. this.tabText[0].num=data.data.noStart;
  647. this.tabText[1].num=data.data.start;
  648. }
  649. },
  650. //检查各检查状态数据数量
  651. async getManageStatusCount(){
  652. let self = this;
  653. const {data} = await getManageStatusCount();
  654. if(data.code==200){
  655. this.tabTextTow[0].num=data.data.noCheck;
  656. this.tabTextTow[1].num=data.data.checking;
  657. this.tabTextTow[2].num=data.data.applyNum;
  658. }
  659. },
  660. //管理员
  661. async getList(){
  662. let self = this;
  663. const {data} = await checkPlanList(this.getData);
  664. if(data.code==200){
  665. this.dataList=[...this.dataList,...data.data.records]
  666. this.total=data.data.total;
  667. }
  668. },
  669. //检查者
  670. async getList2(){
  671. let self = this;
  672. const {data} = await checkManageList(this.getData2);
  673. if(data.code==200){
  674. //判断计划是否开始
  675. self.buttonHide=false;
  676. for(let i=0;i<data.data.records.length;i++){
  677. if(data.data.records[i].checkType==1){
  678. if(self.myApplyGentle && !self.applyGentle){
  679. data.data.records[i].buttonHide=false
  680. }if(!self.myApplyGentle && !self.applyGentle){
  681. data.data.records[i].buttonHide=false
  682. }else{
  683. data.data.records[i].buttonHide=true;
  684. }
  685. }else if(data.data.records[i].checkType==2){
  686. if(!self.myApplyGentle && self.applyGentle){
  687. data.data.records[i].buttonHide=false
  688. }if(!self.myApplyGentle && !self.applyGentle){
  689. data.data.records[i].buttonHide=false
  690. }else{
  691. data.data.records[i].buttonHide=true;
  692. }
  693. }
  694. data.data.records[i].notStarted=self.compareTime(data.data.records[i].cycleStartTime)
  695. }
  696. self.dataList2=[...self.dataList2,...data.data.records]
  697. self.total2=data.data.total;
  698. }
  699. },
  700. //待复核列表
  701. async checkHazardAppList(){
  702. let self = this;
  703. let obj={};
  704. if(this.pageType==2){//检查者
  705. obj={
  706. pageNum:this.getData2.pageNum,
  707. pageSize:this.getData2.pageSize,
  708. hazardType:'',
  709. rectifyStatus:'3',
  710. };
  711. }else if(this.pageType==3){//整改者
  712. obj={
  713. pageNum:this.getData3.pageNum,
  714. pageSize:this.getData3.pageSize,
  715. hazardType:'',
  716. rectifyStatus:'2',
  717. };
  718. }
  719. const {data} = await checkHazardAppList(obj);
  720. if(data.code==200){
  721. if(self.pageType==2){//检查者
  722. this.dataList2=[...this.dataList2,...data.data.records]
  723. this.total2=data.data.total;
  724. }else if(self.pageType==3){
  725. this.dataList3=[...this.dataList3,...data.data.records]
  726. this.total3=data.data.total;
  727. this.tabTextThree[0].num=data.data.total;
  728. }
  729. }
  730. },
  731. //随手拍待整改
  732. async checkClapList(){
  733. let self = this;
  734. let obj={
  735. pageNum:this.getData3.pageNum,
  736. pageSize:this.getData3.pageSize,
  737. rectifyStatus:0,
  738. };
  739. const {data} = await checkClapList(obj);
  740. if(data.code==200){
  741. this.dataList3=[...this.dataList3,...data.data.records]
  742. this.total3=data.data.total;
  743. }
  744. },
  745. //整改者-随手拍待整改总数
  746. async checkClapListAllNum(){
  747. let self = this;
  748. let obj={
  749. pageNum:this.getData3.pageNum,
  750. pageSize:this.getData3.pageSize,
  751. rectifyStatus:0,
  752. };
  753. const {data} = await checkClapList(obj);
  754. if(data.code==200){
  755. this.tabTextThree[1].num=data.data.total;
  756. }
  757. },
  758. //检查者 总数---------------------------------
  759. //待检查
  760. async checkManageListAllNum(){
  761. let self = this;
  762. let obj={
  763. pageNum:this.getData2.pageNum,
  764. pageSize:this.getData2.pageSize,
  765. isSelf: 0,//是否本人查询
  766. manageStatus:0,
  767. checkType:0,
  768. };
  769. const {data} = await checkManageList(obj);
  770. if(data.code==200){
  771. this.tabTextTow[0].num=data.data.total;
  772. }
  773. },
  774. //待检查
  775. async checkManageListAllNum2(){
  776. let self = this;
  777. let obj={
  778. pageNum:this.getData2.pageNum,
  779. pageSize:this.getData2.pageSize,
  780. isSelf: 0,//是否本人查询
  781. manageStatus:1,
  782. checkType:0,
  783. };
  784. const {data} = await checkManageList(obj);
  785. if(data.code==200){
  786. this.tabTextTow[1].num=data.data.total;
  787. }
  788. },
  789. //待复核
  790. async checkHazardAppListAllNum(){
  791. let self = this;
  792. let obj={
  793. pageNum:this.getData2.pageNum,
  794. pageSize:this.getData2.pageSize,
  795. rectifyStatus:3,
  796. hazardType:'',
  797. };
  798. const {data} = await checkHazardAppList(obj);
  799. if(data.code==200){
  800. this.tabTextTow[2].num=data.data.total;
  801. }
  802. },
  803. }
  804. }
  805. </script>
  806. <style lang="stylus" scoped>
  807. .examine{
  808. height:100%;
  809. display flex;
  810. .info-max-box{
  811. flex: 1;
  812. overflow: scroll;
  813. padding-bottom: 128rpx;
  814. }
  815. .blue_color{
  816. color: #0183FA;
  817. border: 1rpx solid #0183FA;
  818. }
  819. .red_color{
  820. color: #FF4545;
  821. border: 1rpx solid #FF4545;
  822. }
  823. .green_color{
  824. color: #1FA50D;
  825. border: 1rpx solid #1FA50D;
  826. }
  827. .orange_color{
  828. color: #FA8E1B;
  829. border: 1rpx solid #FA8E1B;
  830. }
  831. .gray_color{
  832. color: #A2A2A2;
  833. border: 1rpx solid #A2A2A2;
  834. }
  835. .statistics{
  836. background: #fff;
  837. display: flex;
  838. justify-content: flex-start;
  839. flex-wrap: wrap;
  840. padding: 38rpx 26rpx;
  841. box-sizing: border-box;
  842. .statistics_li{
  843. width: 230rpx;
  844. border-right: 1rpx solid #D8D8D8;
  845. border-bottom: 1rpx solid #D8D8D8;
  846. >text{
  847. display: block;
  848. text-align: center;
  849. }
  850. >text:nth-of-type(1){
  851. font-size: 26rpx;
  852. font-family: PingFang SC-Medium, PingFang SC;
  853. font-weight: 400;
  854. color: #666666;
  855. line-height: 26rpx;
  856. margin-top: 24rpx;
  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. >view:nth-of-type(1){
  868. >text:nth-of-type(1){
  869. margin-top: 4rpx;
  870. }
  871. >text:nth-of-type(2){
  872. margin-bottom: 18rpx;
  873. color: #1FA50D;
  874. }
  875. }
  876. >view:nth-of-type(2){
  877. >text:nth-of-type(1){
  878. margin-top: 4rpx;
  879. }
  880. >text:nth-of-type(2){
  881. margin-bottom: 18rpx;
  882. color: #FA8201;
  883. }
  884. }
  885. >view:nth-of-type(3){
  886. border-right:none;
  887. >text:nth-of-type(1){
  888. margin-top: 4rpx;
  889. }
  890. >text:nth-of-type(2){
  891. margin-bottom: 18rpx;
  892. color: #0183FA;
  893. }
  894. }
  895. >view:nth-of-type(4){
  896. border-bottom:none;
  897. >text:nth-of-type(2){
  898. color: #1FA50D;
  899. }
  900. }
  901. >view:nth-of-type(5){
  902. border-bottom:none;
  903. >text:nth-of-type(2){
  904. color: #FA8201;
  905. }
  906. }
  907. >view:nth-of-type(6){
  908. border-right:none;border-bottom:none;
  909. >text:nth-of-type(2){
  910. color: #0183FA;
  911. }
  912. }
  913. }
  914. .inspect_btn{
  915. height: 150rpx;
  916. background: #fff;
  917. display: flex;
  918. justify-content: space-between;
  919. align-items: center;
  920. margin-top: 20rpx;
  921. padding: 0 30rpx;
  922. box-sizing: border-box;
  923. .inspect_btn_li{
  924. >img{
  925. width: 60rpx;
  926. height: 60rpx;
  927. margin:0 auto;
  928. }
  929. >text{
  930. font-size: 28rpx;
  931. font-family: PingFang SC-Medium, PingFang SC;
  932. font-weight: 400;
  933. color: #333333;
  934. line-height: 28rpx;
  935. margin-top: 14rpx;
  936. }
  937. }
  938. .line{
  939. display: inline-block;
  940. height: 60rpx;
  941. width: 1rpx;
  942. background: #E0E0E0;
  943. }
  944. }
  945. /* 检查者 */
  946. .tabTitle_identity{
  947. width:100%;
  948. height: 100rpx;
  949. background: #fff;
  950. display flex;
  951. justify-content: flex-start;
  952. align-items: center;
  953. position: relative;
  954. top: 0;
  955. z-index: 100;
  956. box-shadow: 0rpx 3rpx 8rpx 0rpx rgba(0,0,0,0.16);
  957. .tabTitle_identity_li{
  958. position: relative;
  959. width:162rpx;
  960. text-align center;
  961. .tabTitle_identity_text{
  962. display: inline-block;
  963. font-size: 30rpx;
  964. font-family: PingFang SC;
  965. font-weight: 500;
  966. color: #333333;
  967. line-height: 46rpx;
  968. position: relative;
  969. >text{
  970. position:absolute;
  971. min-width: 30rpx;
  972. min-height: 30rpx;
  973. border-radius:54%;
  974. background: #E80000;
  975. font-size: 18rpx;
  976. font-family: PingFang SC-Medium, PingFang SC;
  977. font-weight: 400;
  978. color: #FFFFFF;
  979. text-align: center;
  980. line-height: 30rpx;
  981. margin-left: 6rpx;
  982. padding:2rpx;
  983. box-sizing: border-box;
  984. }
  985. &.on{
  986. color:#0183FA;
  987. }
  988. }
  989. .tabTitle_identity_across{
  990. width: 50rpx;
  991. height: 4rpx;
  992. background: #0183FA;
  993. border-radius: 2rpx;
  994. margin-left 56rpx;
  995. display none;
  996. &.on{
  997. display block;
  998. }
  999. }
  1000. }
  1001. }
  1002. /* 切换按钮 */
  1003. .tabTitle{
  1004. width:100%;
  1005. height: 100rpx;
  1006. background: #fff;
  1007. display flex;
  1008. justify-content: center;
  1009. align-items: center;
  1010. margin-top: 20rpx;
  1011. position: sticky;
  1012. top: 0;
  1013. z-index: 100;
  1014. box-shadow: 0rpx 3rpx 8rpx 0rpx rgba(0,0,0,0.16);
  1015. .tabTitle_li{
  1016. position: relative;
  1017. width:372rpx;
  1018. text-align center;
  1019. .tabTitle_text{
  1020. display: inline-block;
  1021. font-size: 30rpx;
  1022. font-family: PingFang SC;
  1023. font-weight: 500;
  1024. color: #333333;
  1025. line-height: 46rpx;
  1026. position: relative;
  1027. >text{
  1028. position:absolute;
  1029. min-width: 30rpx;
  1030. min-height: 30rpx;
  1031. border-radius:54%;
  1032. background: #E80000;
  1033. font-size: 18rpx;
  1034. font-family: PingFang SC-Medium, PingFang SC;
  1035. font-weight: 400;
  1036. color: #FFFFFF;
  1037. text-align: center;
  1038. line-height: 30rpx;
  1039. margin-left: 6rpx;
  1040. padding:2rpx;
  1041. box-sizing: border-box;
  1042. }
  1043. &.on{
  1044. color:#0183FA;
  1045. }
  1046. }
  1047. .tabTitle_across{
  1048. width: 50rpx;
  1049. height: 4rpx;
  1050. background: #0183FA;
  1051. border-radius: 2rpx;
  1052. margin-left 162rpx;
  1053. display none;
  1054. &.on{
  1055. display block;
  1056. }
  1057. }
  1058. }
  1059. .tabTitle_li:nth-of-type(1)::after{
  1060. content: '';
  1061. position: absolute;
  1062. top: 0rpx;
  1063. right: 0rpx;
  1064. width: 1rpx;
  1065. height: 50rpx;
  1066. background: #E0E0E0;
  1067. }
  1068. }
  1069. .list{
  1070. padding: 0 30rpx;
  1071. box-sizing: border-box;
  1072. margin-top: 20rpx;
  1073. .list_li{
  1074. position: relative;
  1075. width: 690rpx;
  1076. height: 360rpx;
  1077. background: #fff;
  1078. border-radius: 10rpx;
  1079. overflow: hidden;
  1080. margin-bottom: 20rpx;
  1081. .list_li_t{
  1082. width: 100%;
  1083. position: absolute;
  1084. left: 0;
  1085. top: 0;
  1086. .list_li_t_l{
  1087. >img{
  1088. width: 70rpx;
  1089. height: 70rpx;
  1090. }
  1091. >text{
  1092. position: absolute;
  1093. left: -15rpx;
  1094. top: 76rpx;
  1095. display: inline-block;
  1096. width: 30rpx;
  1097. height: 30rpx;
  1098. background: #F5F5F5;
  1099. border-radius: 15rpx;
  1100. }
  1101. }
  1102. .list_li_t_c{
  1103. width: 630rpx;
  1104. height: 110rpx;
  1105. position: absolute;
  1106. left: 30rpx;
  1107. top: 0;
  1108. font-size: 30rpx;
  1109. font-family: PingFang SC-Medium, PingFang SC;
  1110. font-weight: 400;
  1111. color: #333333;
  1112. line-height: 110rpx;
  1113. border-bottom: 1rpx dashed #D8D8D8;
  1114. overflow: hidden;
  1115. text-overflow:ellipsis;
  1116. white-space: nowrap;
  1117. }
  1118. .list_li_t_r{
  1119. position: absolute;
  1120. right:-15rpx;
  1121. top: 76rpx;
  1122. width: 30rpx;
  1123. height: 30rpx;
  1124. background:#F5F5F5;
  1125. border-radius: 15rpx;
  1126. }
  1127. }
  1128. .list_li_m{
  1129. position: absolute;
  1130. top: 110rpx;
  1131. left: 0;
  1132. width: 690rpx;
  1133. height: 168rpx;
  1134. border-bottom: 1rpx solid #E0E0E0;
  1135. padding-left: 30rpx;
  1136. box-sizing: border-box;
  1137. .list_li_m_t{
  1138. font-size: 28rpx;
  1139. font-family: PingFang SC-Medium, PingFang SC;
  1140. font-weight: 400;
  1141. color: #666666;
  1142. line-height: 40rpx;
  1143. margin-top:22rpx;
  1144. }
  1145. .list_li_m_b{
  1146. margin-top:26rpx;
  1147. >text:nth-of-type(1){
  1148. font-size: 26rpx;
  1149. font-family: PingFang SC-Medium, PingFang SC;
  1150. font-weight: 400;
  1151. line-height: 40rpx;
  1152. border-radius: 6rpx;
  1153. padding: 0 20rpx;
  1154. margin-right: 14rpx;
  1155. }
  1156. >text:nth-of-type(2){
  1157. font-size: 26rpx;
  1158. font-family: PingFang SC-Medium, PingFang SC;
  1159. font-weight: 400;
  1160. color: #0183FA;
  1161. line-height: 40rpx;
  1162. padding: 0 8rpx;
  1163. border-radius: 6rpx;
  1164. background: rgba(1,131,250,0.1);
  1165. }
  1166. }
  1167. }
  1168. .list_li_b{
  1169. height: 80rpx;
  1170. position: absolute;
  1171. top: 278rpx;
  1172. left: 0;
  1173. display: flex;
  1174. justify-content: flex-start;
  1175. align-items: center;
  1176. >img{
  1177. width: 24rpx;
  1178. height: 30rpx;
  1179. margin-right: 26rpx;
  1180. margin-left: 30rpx;
  1181. }
  1182. >text:nth-of-type(1){
  1183. font-size: 28rpx;
  1184. font-family: PingFang SC-Medium, PingFang SC;
  1185. font-weight: 400;
  1186. color: #333333;
  1187. line-height: 28rpx;
  1188. }
  1189. >text:nth-of-type(2){
  1190. font-size: 28rpx;
  1191. font-family: PingFang SC-Medium, PingFang SC;
  1192. font-weight: 400;
  1193. color: #0183FA;
  1194. line-height: 28rpx;
  1195. }
  1196. }
  1197. }
  1198. }
  1199. /* 检查者 */
  1200. .tabTitle_tow{
  1201. width:100%;
  1202. height: 100rpx;
  1203. background: #fff;
  1204. display flex;
  1205. justify-content: flex-start;
  1206. align-items: center;
  1207. margin-top: 20rpx;
  1208. position: sticky;
  1209. top: 0;
  1210. z-index: 100;
  1211. box-shadow: 0rpx 3rpx 8rpx 0rpx rgba(0,0,0,0.16);
  1212. .tabTitle_tow_li{
  1213. position: relative;
  1214. width:162rpx;
  1215. text-align center;
  1216. .tabTitle_tow_text{
  1217. display: inline-block;
  1218. font-size: 30rpx;
  1219. font-family: PingFang SC;
  1220. font-weight: 500;
  1221. color: #333333;
  1222. line-height: 46rpx;
  1223. position: relative;
  1224. >text{
  1225. position:absolute;
  1226. min-width: 30rpx;
  1227. min-height: 30rpx;
  1228. border-radius:54%;
  1229. background: #E80000;
  1230. font-size: 18rpx;
  1231. font-family: PingFang SC-Medium, PingFang SC;
  1232. font-weight: 400;
  1233. color: #FFFFFF;
  1234. text-align: center;
  1235. line-height: 30rpx;
  1236. margin-left: 6rpx;
  1237. padding:2rpx;
  1238. box-sizing: border-box;
  1239. }
  1240. &.on{
  1241. color:#0183FA;
  1242. }
  1243. }
  1244. .tabTitle_tow_across{
  1245. width: 50rpx;
  1246. height: 4rpx;
  1247. background: #0183FA;
  1248. border-radius: 2rpx;
  1249. margin-left 56rpx;
  1250. display none;
  1251. &.on{
  1252. display block;
  1253. }
  1254. }
  1255. }
  1256. }
  1257. .list_tow{
  1258. padding: 0 30rpx;
  1259. box-sizing: border-box;
  1260. margin-top: 20rpx;
  1261. .list_tow_li{
  1262. position: relative;
  1263. width: 690rpx;
  1264. height: auto;
  1265. background: #fff;
  1266. border-radius: 10rpx;
  1267. overflow: hidden;
  1268. margin-bottom: 20rpx;
  1269. .list_tow_li_t{
  1270. width: 100%;
  1271. height: 110rpx;
  1272. position: relative;
  1273. left: 0;
  1274. top: 0;
  1275. .list_tow_li_t_l{
  1276. >img{
  1277. width: 70rpx;
  1278. height: 70rpx;
  1279. }
  1280. >text{
  1281. position: absolute;
  1282. left: -15rpx;
  1283. top: 76rpx;
  1284. display: inline-block;
  1285. width: 30rpx;
  1286. height: 30rpx;
  1287. background: #F5F5F5;
  1288. border-radius: 15rpx;
  1289. }
  1290. }
  1291. .list_tow_li_t_c{
  1292. width: 630rpx;
  1293. height: 110rpx;
  1294. position: absolute;
  1295. left: 30rpx;
  1296. top: 0;
  1297. font-size: 30rpx;
  1298. font-family: PingFang SC-Medium, PingFang SC;
  1299. font-weight: 400;
  1300. color: #333333;
  1301. line-height: 110rpx;
  1302. border-bottom: 1rpx dashed #D8D8D8;
  1303. overflow: hidden;
  1304. text-overflow:ellipsis;
  1305. white-space: nowrap;
  1306. padding-right: 120rpx;
  1307. box-sizing: border-box;
  1308. }
  1309. .list_tow_li_t_c2{
  1310. position: absolute;
  1311. right: 20rpx;
  1312. top: 38rpx;
  1313. width: 120rpx;
  1314. height: 40rpx;
  1315. font-size: 28rpx;
  1316. font-family: PingFang SC-Medium, PingFang SC;
  1317. font-weight: 400;
  1318. color: #FF5757;
  1319. line-height: 40rpx;
  1320. border: 1rpx solid #FF5757;
  1321. border-radius: 6rpx;
  1322. text-align: center;
  1323. }
  1324. .list_tow_li_t_r{
  1325. position: absolute;
  1326. right:-15rpx;
  1327. top: 76rpx;
  1328. width: 30rpx;
  1329. height: 30rpx;
  1330. background:#F5F5F5;
  1331. border-radius: 15rpx;
  1332. }
  1333. }
  1334. .list_tow_li_m{
  1335. // position: absolute;
  1336. // top: 110rpx;
  1337. // left: 0;
  1338. width: 690rpx;
  1339. height: 168rpx;
  1340. padding-left: 30rpx;
  1341. box-sizing: border-box;
  1342. .list_tow_li_m_t{
  1343. font-size: 28rpx;
  1344. font-family: PingFang SC-Medium, PingFang SC;
  1345. font-weight: 400;
  1346. color: #666666;
  1347. line-height: 40rpx;
  1348. margin-top:22rpx;
  1349. overflow: hidden;
  1350. text-overflow:ellipsis;
  1351. white-space: nowrap;
  1352. }
  1353. .list_tow_li_m_b{
  1354. margin-top:26rpx;
  1355. >text:nth-of-type(1){
  1356. font-size: 26rpx;
  1357. font-family: PingFang SC-Medium, PingFang SC;
  1358. font-weight: 400;
  1359. line-height: 40rpx;
  1360. border-radius: 6rpx;
  1361. padding: 0 20rpx;
  1362. margin-right: 14rpx;
  1363. }
  1364. >text:nth-of-type(2){
  1365. font-size: 26rpx;
  1366. font-family: PingFang SC-Medium, PingFang SC;
  1367. font-weight: 400;
  1368. color: #0183FA;
  1369. line-height: 40rpx;
  1370. padding: 0 8rpx;
  1371. border-radius: 6rpx;
  1372. background: rgba(1,131,250,0.1);
  1373. margin-right: 24rpx;
  1374. }
  1375. >text:nth-of-type(3){
  1376. display: inline-block;
  1377. width: 350rpx;
  1378. font-size: 26rpx;
  1379. font-family: PingFang SC-Medium, PingFang SC;
  1380. font-weight: 400;
  1381. color: #333333;
  1382. line-height: 26rpx;
  1383. overflow: hidden;
  1384. text-overflow:ellipsis;
  1385. white-space: nowrap;
  1386. }
  1387. }
  1388. }
  1389. .list_tow_li_b{
  1390. height: 80rpx;
  1391. width: 100%;
  1392. // position: absolute;
  1393. // top: 278rpx;
  1394. // left: 0;
  1395. border-top: 1rpx solid #E0E0E0;
  1396. font-size: 28rpx;
  1397. font-family: PingFang SC-Medium, PingFang SC;
  1398. font-weight: 400;
  1399. color: #0183FA;
  1400. line-height: 80rpx;
  1401. text-align: center;
  1402. }
  1403. .list_tow_li_b_tow{
  1404. height: 80rpx;
  1405. width: 100%;
  1406. // position: absolute;
  1407. // top: 278rpx;
  1408. // left: 0;
  1409. border-top: 1rpx solid #E0E0E0;
  1410. font-size: 28rpx;
  1411. font-family: PingFang SC-Medium, PingFang SC;
  1412. font-weight: 400;
  1413. color: #0183FA;
  1414. line-height: 80rpx;
  1415. display: flex;
  1416. justify-content: center;
  1417. align-items: center;
  1418. >img{
  1419. width: 28rpx;
  1420. height: 30rpx;
  1421. margin-right: 12rpx;
  1422. }
  1423. }
  1424. .list_tow_li_b_three{
  1425. height: 80rpx;
  1426. // position: absolute;
  1427. // top: 278rpx;
  1428. // left: 0;
  1429. display: flex;
  1430. justify-content: flex-start;
  1431. align-items: center;
  1432. width: 100%;
  1433. border-top: 1rpx solid #E0E0E0;
  1434. >img{
  1435. width: 24rpx;
  1436. height: 30rpx;
  1437. margin-right: 26rpx;
  1438. margin-left: 30rpx;
  1439. }
  1440. >text:nth-of-type(1){
  1441. font-size: 28rpx;
  1442. font-family: PingFang SC-Medium, PingFang SC;
  1443. font-weight: 400;
  1444. color: #333333;
  1445. line-height: 28rpx;
  1446. }
  1447. >text:nth-of-type(2){
  1448. flex:1;
  1449. font-size: 28rpx;
  1450. font-family: PingFang SC-Medium, PingFang SC;
  1451. font-weight: 400;
  1452. color: #0183FA;
  1453. line-height: 28rpx;
  1454. white-space: nowrap;
  1455. overflow: hidden;
  1456. text-overflow: ellipsis;
  1457. }
  1458. .report{
  1459. font-size: 28rpx;
  1460. font-family: PingFang SC-Medium, PingFang SC;
  1461. font-weight: 400;
  1462. color: #0183FA;
  1463. line-height: 28rpx;
  1464. margin-right: 40rpx;
  1465. }
  1466. }
  1467. }
  1468. }
  1469. /* 整改人 */
  1470. .statistics_three{
  1471. background: #fff;
  1472. display: flex;
  1473. justify-content: flex-start;
  1474. flex-wrap: wrap;
  1475. padding: 38rpx 30rpx;
  1476. box-sizing: border-box;
  1477. .statistics_three_li{
  1478. width: 230rpx;
  1479. position: relative;
  1480. >text{
  1481. display: block;
  1482. text-align: center;
  1483. }
  1484. >text:nth-of-type(1){
  1485. font-size: 26rpx;
  1486. font-family: PingFang SC-Medium, PingFang SC;
  1487. font-weight: 400;
  1488. color: #666666;
  1489. line-height: 26rpx;
  1490. }
  1491. >text:nth-of-type(2){
  1492. font-size: 34rpx;
  1493. font-family: PingFang SC-Heavy, PingFang SC;
  1494. font-weight: 400;
  1495. color: #1FA50D;
  1496. line-height: 34rpx;
  1497. margin-top: 28rpx;
  1498. }
  1499. }
  1500. .statistics_three_li::after{
  1501. content:'';
  1502. position: absolute;
  1503. top: 20rpx;
  1504. right:0rpx;
  1505. width: 1rpx;
  1506. height: 60rpx;
  1507. background: #D8D8D8;
  1508. }
  1509. .statistics_three_li:nth-of-type(3)::after{
  1510. display: none;
  1511. }
  1512. >view:nth-of-type(1){
  1513. >text:nth-of-type(2){
  1514. color: #1FA50D;
  1515. }
  1516. }
  1517. >view:nth-of-type(2){
  1518. >text:nth-of-type(2){
  1519. color: #FA8201;
  1520. }
  1521. }
  1522. >view:nth-of-type(3){
  1523. >text:nth-of-type(2){
  1524. color: #0183FA;
  1525. }
  1526. }
  1527. }
  1528. .inspect_btn_three{
  1529. height: 150rpx;
  1530. background: #fff;
  1531. display: flex;
  1532. justify-content: space-between;
  1533. align-items: center;
  1534. margin-top: 20rpx;
  1535. padding: 0 74rpx;
  1536. box-sizing: border-box;
  1537. .inspect_btn_three_li{
  1538. >img{
  1539. width: 60rpx;
  1540. height: 60rpx;
  1541. margin:0 auto;
  1542. }
  1543. >text{
  1544. font-size: 28rpx;
  1545. font-family: PingFang SC-Medium, PingFang SC;
  1546. font-weight: 400;
  1547. color: #333333;
  1548. line-height: 28rpx;
  1549. margin-top: 14rpx;
  1550. }
  1551. }
  1552. .line{
  1553. display: inline-block;
  1554. height: 60rpx;
  1555. width: 1rpx;
  1556. background: #E0E0E0;
  1557. }
  1558. }
  1559. /* 切换按钮 */
  1560. .tabTitle_three{
  1561. width:100%;
  1562. height: 100rpx;
  1563. background: #fff;
  1564. display flex;
  1565. justify-content: center;
  1566. align-items: center;
  1567. margin-top: 20rpx;
  1568. position: sticky;
  1569. top: 0;
  1570. z-index: 100;
  1571. box-shadow: 0rpx 3rpx 8rpx 0rpx rgba(0,0,0,0.16);
  1572. .tabTitle_three_li{
  1573. position: relative;
  1574. width:372rpx;
  1575. text-align center;
  1576. .tabTitle_three_text{
  1577. display: inline-block;
  1578. font-size: 30rpx;
  1579. font-family: PingFang SC;
  1580. font-weight: 500;
  1581. color: #333333;
  1582. line-height: 46rpx;
  1583. position: relative;
  1584. >text{
  1585. position:absolute;
  1586. min-width: 30rpx;
  1587. min-height: 30rpx;
  1588. border-radius:54%;
  1589. background: #E80000;
  1590. font-size: 18rpx;
  1591. font-family: PingFang SC-Medium, PingFang SC;
  1592. font-weight: 400;
  1593. color: #FFFFFF;
  1594. text-align: center;
  1595. line-height: 30rpx;
  1596. margin-left: 6rpx;
  1597. padding:2rpx;
  1598. box-sizing: border-box;
  1599. }
  1600. &.on{
  1601. color:#0183FA;
  1602. }
  1603. }
  1604. .tabTitle_three_across{
  1605. width: 50rpx;
  1606. height: 4rpx;
  1607. background: #0183FA;
  1608. border-radius: 2rpx;
  1609. margin-left 162rpx;
  1610. display none;
  1611. &.on{
  1612. display block;
  1613. }
  1614. }
  1615. }
  1616. .tabTitle_three_li:nth-of-type(1)::after{
  1617. content: '';
  1618. position: absolute;
  1619. top: 0rpx;
  1620. right: 0rpx;
  1621. width: 1rpx;
  1622. height: 50rpx;
  1623. background: #E0E0E0;
  1624. }
  1625. }
  1626. .list_three{
  1627. padding: 0 30rpx;
  1628. box-sizing: border-box;
  1629. margin-top: 20rpx;
  1630. .list_three_li{
  1631. position: relative;
  1632. width: 690rpx;
  1633. height: 348rpx;
  1634. background: #fff;
  1635. border-radius: 10rpx;
  1636. overflow: hidden;
  1637. margin-bottom: 20rpx;
  1638. .list_three_li_t{
  1639. width: 100%;
  1640. position: absolute;
  1641. left: 0;
  1642. top: 0;
  1643. .list_three_li_t_l{
  1644. >img{
  1645. width: 70rpx;
  1646. height: 70rpx;
  1647. }
  1648. >text{
  1649. position: absolute;
  1650. left: -15rpx;
  1651. top: 76rpx;
  1652. display: inline-block;
  1653. width: 30rpx;
  1654. height: 30rpx;
  1655. background: #F5F5F5;
  1656. border-radius: 15rpx;
  1657. }
  1658. }
  1659. .list_three_li_t_c{
  1660. width: 630rpx;
  1661. height: 110rpx;
  1662. position: absolute;
  1663. left: 30rpx;
  1664. top: 0;
  1665. font-size: 30rpx;
  1666. font-family: PingFang SC-Medium, PingFang SC;
  1667. font-weight: 400;
  1668. color: #333333;
  1669. line-height: 110rpx;
  1670. border-bottom: 1rpx dashed #D8D8D8;
  1671. overflow: hidden;
  1672. text-overflow:ellipsis;
  1673. white-space: nowrap;
  1674. padding-right: 60rpx;
  1675. box-sizing: border-box;
  1676. }
  1677. .list_three_li_t_c2{
  1678. position: absolute;
  1679. right: 20rpx;
  1680. top: 38rpx;
  1681. width: 120rpx;
  1682. height: 40rpx;
  1683. font-size: 28rpx;
  1684. font-family: PingFang SC-Medium, PingFang SC;
  1685. font-weight: 400;
  1686. color: #FF5757;
  1687. line-height: 40rpx;
  1688. border: 1rpx solid #FF5757;
  1689. border-radius: 6rpx;
  1690. text-align: center;
  1691. }
  1692. .list_three_li_t_r{
  1693. position: absolute;
  1694. right:-15rpx;
  1695. top: 76rpx;
  1696. width: 30rpx;
  1697. height: 30rpx;
  1698. background:#F5F5F5;
  1699. border-radius: 15rpx;
  1700. }
  1701. }
  1702. .list_three_li_m{
  1703. position: absolute;
  1704. top: 110rpx;
  1705. left: 0;
  1706. width: 690rpx;
  1707. height: 158rpx;
  1708. padding-left: 30rpx;
  1709. box-sizing: border-box;
  1710. .list_three_li_m_t{
  1711. font-size: 28rpx;
  1712. font-family: PingFang SC-Medium, PingFang SC;
  1713. font-weight: 400;
  1714. color: #666666;
  1715. line-height: 40rpx;
  1716. margin-top:22rpx;
  1717. overflow: hidden;
  1718. text-overflow:ellipsis;
  1719. white-space: nowrap;
  1720. }
  1721. .list_three_li_m_b{
  1722. margin-top:26rpx;
  1723. >text:nth-of-type(1){
  1724. font-size: 26rpx;
  1725. font-family: PingFang SC-Medium, PingFang SC;
  1726. font-weight: 400;
  1727. line-height: 40rpx;
  1728. border-radius: 6rpx;
  1729. padding: 0 20rpx;
  1730. margin-right: 14rpx;
  1731. }
  1732. .type{
  1733. font-size: 26rpx;
  1734. font-family: PingFang SC-Medium, PingFang SC;
  1735. font-weight: 400;
  1736. color: #0183FA;
  1737. line-height: 40rpx;
  1738. padding: 0 8rpx;
  1739. border-radius: 6rpx;
  1740. background: rgba(1,131,250,0.1);
  1741. margin-right: 24rpx;
  1742. }
  1743. .college{
  1744. display: inline-block;
  1745. width: 280rpx;
  1746. font-size: 26rpx;
  1747. font-family: PingFang SC-Medium, PingFang SC;
  1748. font-weight: 400;
  1749. color: #333333;
  1750. line-height: 26rpx;
  1751. overflow: hidden;
  1752. text-overflow:ellipsis;
  1753. white-space: nowrap;
  1754. }
  1755. }
  1756. }
  1757. .list_three_li_b{
  1758. height: 80rpx;
  1759. width: 100%;
  1760. position: absolute;
  1761. top: 268rpx;
  1762. left: 0;
  1763. padding-left: 30rpx;
  1764. box-sizing: border-box;
  1765. >text:nth-of-type(1){
  1766. font-size: 26rpx;
  1767. font-family: PingFang SC-Medium, PingFang SC;
  1768. font-weight: 400;
  1769. color: #333333;
  1770. line-height: 26rpx;
  1771. }
  1772. }
  1773. .list_three_li_b2{
  1774. height: 76rpx;
  1775. width: 100%;
  1776. position: absolute;
  1777. top: 258rpx;
  1778. left: 0;
  1779. padding:0 30rpx;
  1780. box-sizing: border-box;
  1781. display: flex;
  1782. justify-content: space-between;
  1783. align-items: center;
  1784. .list_three_li_b_l{
  1785. display: flex;
  1786. justify-content: space-between;
  1787. align-items: center;
  1788. >img{
  1789. width: 28rpx;
  1790. height: 30rpx;
  1791. margin-right: 14rpx;
  1792. }
  1793. >text{
  1794. font-size: 28rpx;
  1795. font-family: PingFang SC-Medium, PingFang SC;
  1796. font-weight: 400;
  1797. color: #666666;
  1798. line-height: 76rpx;
  1799. }
  1800. }
  1801. .list_three_li_b_r{
  1802. font-size: 24rpx;
  1803. font-family: PingFang SC-Medium, PingFang SC;
  1804. font-weight: 400;
  1805. color: #999999;
  1806. line-height: 76rpx;
  1807. }
  1808. }
  1809. }
  1810. }
  1811. .bottom_btn{
  1812. position: fixed;
  1813. bottom: 20rpx;
  1814. left: 30rpx;
  1815. font-size: 30rpx;
  1816. font-family: PingFang SC-Medium, PingFang SC;
  1817. font-weight: 400;
  1818. color: #FFFFFF;
  1819. line-height: 90rpx;
  1820. width: 690rpx;
  1821. height: 90rpx;
  1822. background: #0183FA;
  1823. border-radius: 20rpx;
  1824. text-align: center;
  1825. }
  1826. .scan_btn{
  1827. position: fixed;
  1828. bottom: 210rpx;
  1829. right: 0rpx;
  1830. width: 130rpx;
  1831. height: 130rpx;
  1832. }
  1833. /* 根据实验室id查询隐患列表 */
  1834. .shade {
  1835. height: 100%;
  1836. width: 100%;
  1837. position: fixed;
  1838. display: flex;
  1839. flex-direction: column;
  1840. z-index: 100;
  1841. background: rgba(0, 0, 0, 0.2);
  1842. .null-box {
  1843. flex: 1;
  1844. }
  1845. .shade_n {
  1846. position: absolute;
  1847. bottom: 0;
  1848. left: 0;
  1849. width: 750rpx;
  1850. height: 560rpx;
  1851. background: #FFFFFF;
  1852. border-radius: 20rpx 20rpx 0rpx 0rpx;
  1853. .shade_n_title{
  1854. height: 100rpx;
  1855. padding: 0 30rpx;
  1856. box-sizing: border-box;
  1857. display: flex;
  1858. justify-content:space-between;
  1859. border-bottom: 1rpx solid #E0E0E0;
  1860. >text:nth-of-type(1){
  1861. font-size: 30rpx;
  1862. font-family: PingFang SC-Medium, PingFang SC;
  1863. font-weight: 400;
  1864. color: #333333;
  1865. line-height: 100rpx;
  1866. }
  1867. >text:nth-of-type(2){
  1868. font-size: 30rpx;
  1869. font-family: PingFang SC-Medium, PingFang SC;
  1870. font-weight: 400;
  1871. color: #0183FA;
  1872. line-height: 100rpx;
  1873. }
  1874. }
  1875. .shade_n_b{
  1876. height: 460rpx;
  1877. padding: 0 30rpx;
  1878. box-sizing: border-box;
  1879. overflow-y: auto;
  1880. .shade_n_b_li{
  1881. display: flex;
  1882. justify-content:space-between;
  1883. align-items: center;
  1884. height: 80rpx;
  1885. border-bottom: 1rpx solid #E0E0E0;
  1886. >text{
  1887. font-size: 28rpx;
  1888. font-family: PingFang SC-Medium, PingFang SC;
  1889. font-weight: 400;
  1890. line-height: 80rpx;
  1891. overflow: hidden;
  1892. text-overflow:ellipsis;
  1893. white-space: nowrap;
  1894. }
  1895. >img{
  1896. width: 24rpx;
  1897. height: 16rpx;
  1898. margin-right: 14rpx;
  1899. }
  1900. }
  1901. .color_A{
  1902. color: #333333;
  1903. }
  1904. .color_B{
  1905. color: #0183FA;
  1906. }
  1907. }
  1908. }
  1909. }
  1910. }
  1911. </style>