safetyExamineWorkbench.vue 51 KB

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