safetyExamineWorkbench.vue 51 KB

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