dangerDetail.vue 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437
  1. <!-- 安全检查-安全隐患 -->
  2. <template>
  3. <view class="examine">
  4. <scroll-view scroll-x @scrolltolower="scrollGet" class="header">
  5. <view class="tabTitle_tow">
  6. <view class="tabTitle_tow_li" @tap="tabClickTow(item,index)" :key="index" v-for="(item,index) in tabTextTow">
  7. <view :class="{on:curTabTow==index}" class="tabTitle_tow_text">{{item.name}}</view>
  8. <view :class="{on:curTabTow==index}" class="tabTitle_tow_across"></view>
  9. </view>
  10. </view>
  11. </scroll-view>
  12. <scroll-view scroll-y @scrolltolower="scrollGet" class="info-max-box">
  13. <!-- 隐患检查 -->
  14. <view v-if="curTabIndex=='detail'">
  15. <view class="basics">
  16. <view class="basics_li">
  17. <text>学院:</text>
  18. <text>{{infoData.collegeName}}</text>
  19. </view>
  20. <view class="basics_li">
  21. <text>实验室:</text>
  22. <text>{{infoData.subjectName}}-{{infoData.roomNumber}}</text>
  23. </view>
  24. <view class="basics_li">
  25. <text>楼栋:</text>
  26. <text>{{infoData.buildName?infoData.buildName:'-'}}</text>
  27. </view>
  28. <view class="basics_li">
  29. <text>检查组织:</text>
  30. <text>{{infoData.checkType==1?'校园巡查':(infoData.checkType==2?'实验室自查':'')}}</text>
  31. </view>
  32. <view class="basics_li">
  33. <text>检查范围:</text>
  34. <text>{{infoData.checkRange==1?'全校':(infoData.checkRange==2?'学院':'实验室')}}</text>
  35. </view>
  36. <view class="basics_li" style="border:none;">
  37. <text>计划标题:</text>
  38. <text>{{infoData.title}}</text>
  39. </view>
  40. </view>
  41. <view class="basics">
  42. <view class="basics_li">
  43. <text>检查结果:</text>
  44. <text>{{infoData.checkResult==0?'不符合':(infoData.checkResult==1?'符合':'')}}</text>
  45. </view>
  46. <view class="basics_li">
  47. <text>整改期限:</text>
  48. <text>{{infoData.rectifyDeadline?infoData.rectifyDeadline:''}}</text>
  49. </view>
  50. <view class="basics_li">
  51. <text>整改通知:</text>
  52. <text style="color: #0183FA;" @click="rectifyInform">{{infoData.rectifyNotice == 1?'整改告知书':(infoData.rectifyNotice == 2?'整改通知书':'')}}</text>
  53. </view>
  54. <view class="basics_li">
  55. <text>检查者:</text>
  56. <text>{{infoData.checkUser}}</text>
  57. </view>
  58. <view class="basics_li" style="border:none;">
  59. <text>检查时间:</text>
  60. <text>{{infoData.checkTime}}</text>
  61. </view>
  62. </view>
  63. <!-- 综合检查 -->
  64. <view v-if="infoData.checkCategory==1" class="danger">
  65. <view class="danger_title">不符合项</view>
  66. <view class="grade">
  67. <text>隐患等级:</text>
  68. <text>{{infoData.checkHazardApplyDto.hazardLevel==2?'一般隐患':(infoData.checkHazardApplyDto.hazardLevel==1?'重大隐患':(infoData.checkHazardApplyDto.hazardLevel==3?'管理问题':''))}}</text>
  69. </view>
  70. <view class="project">
  71. <view class="project_t">检查项目:</view>
  72. <view class="project_b">{{infoData.checkHazardApplyDto.hazardCheckProStr}}</view>
  73. <view class="project_b2" v-if="infoData.checkHazardApplyDto.hazardCheckCount>0">此检查项在当前实验室累计出现{{infoData.checkHazardApplyDto.hazardCheckCount}}次隐患</view>
  74. </view>
  75. <view class="project">
  76. <view class="project_t">检查要点:</view>
  77. <view class="project_b">{{infoData.checkHazardApplyDto.hazardCheckPoint}}</view>
  78. </view>
  79. <view class="project">
  80. <view class="project_t">隐患描述:</view>
  81. <view class="project_b">{{infoData.checkHazardApplyDto.hazardDescribe?infoData.checkHazardApplyDto.hazardDescribe:''}}</view>
  82. </view>
  83. <view class="picture">
  84. <view class="picture_t">隐患照片</view>
  85. <view class="picture_b" @click="lockImg(infoData.checkHazardApplyDto.uploadDtoList)">
  86. <img :src="baseUrl+imgItem.fileUrl" v-for="(imgItem,index) in infoData.checkHazardApplyDto.uploadDtoList" :key="index" />
  87. </view>
  88. </view>
  89. </view>
  90. <!-- 专项检查 -->
  91. <view v-if="infoData.checkCategory==2">
  92. <view class="inconformity_tow" @click="inconformityFun2()" >{{infoData.checkHazardApplyDto.hazardName}}<img v-if="inconformityStatus2" src="@/pages_safetyExamine/images/icon_bfhx_xq.png"/><img v-if="!inconformityStatus2" src="@/pages_safetyExamine/images/icon_bfhx_sq.png"/></view>
  93. <view class="danger_border" v-if="!inconformityStatus2">
  94. <view class="ident">检查项目</view>
  95. <view class="danger special_danger">
  96. <view class="grade">
  97. <view class="sort">1</view>
  98. <text>第一项隐患</text>
  99. <viwe :class="infoData.checkHazardApplyDto.checkFlag==0?'noConform':'isConform'">{{infoData.checkHazardApplyDto.checkFlag==0?'不符合':'符合'}}</viwe>
  100. </view>
  101. <view class="small_items">{{infoData.checkHazardApplyDto.hazardCheckProStr}}</view>
  102. <view class="frequency" v-if="infoData.checkHazardApplyDto.hazardCheckCount>0">此检查项在当前实验室累计出现{{infoData.checkHazardApplyDto.hazardCheckCount}}次隐患</view>
  103. <view class="grading">
  104. <text>隐患等级:</text>
  105. <text>{{infoData.checkHazardApplyDto.hazardLevel==2?'一般隐患':(infoData.checkHazardApplyDto.hazardLevel==1?'重大隐患':(infoData.checkHazardApplyDto.hazardLevel==3?'管理问题':''))}}</text>
  106. </view>
  107. <view class="project">
  108. <view class="project_t">隐患描述:</view>
  109. <view class="project_b">{{infoData.checkHazardApplyDto.hazardDescribe?infoData.checkHazardApplyDto.hazardDescribe:''}}</view>
  110. </view>
  111. <view class="picture">
  112. <view class="picture_t">隐患照片</view>
  113. <view class="picture_b" @click="lockImg(infoData.checkHazardApplyDto.uploadDtoList)">
  114. <img :src="baseUrl+imgItem.fileUrl" v-for="(imgItem,imgIndex) in infoData.checkHazardApplyDto.uploadDtoList"/>
  115. </view>
  116. </view>
  117. </view>
  118. </view>
  119. </view>
  120. </view>
  121. <view v-for="(item,index) in infoData.checkRectifyApplyList" :key="index" v-if="curTabIndex== index">
  122. <!-- 整改结果 -->
  123. <view v-if="item.applyFlag == 1" class="abarbeitung_result danger">
  124. <view class="grade">
  125. <text>整改结果:</text>
  126. <text style="color: #0183FA;">{{item.rectifyResult == 1?'已整改':(item.rectifyResult == 0?'暂无法整改':'')}}</text>
  127. </view>
  128. <view class="project">
  129. <view class="project_t">整改措施:</view>
  130. <view class="project_b">{{item.rectifyMeasure}}</view>
  131. </view>
  132. <view class="picture">
  133. <view class="picture_t">整改照片:</view>
  134. <view class="picture_b" @click="lockImg(item.uploadDtoList)">
  135. <img :src="baseUrl+imgItem.fileUrl" v-for="(imgItem,imgIndex) in item.uploadDtoList" :key="imgIndex">
  136. </view>
  137. </view>
  138. <view class="grade">
  139. <text>整改人:</text>
  140. <text>{{item.createName}}</text>
  141. </view>
  142. <view class="grade" style="border:none;">
  143. <text>整改时间:</text>
  144. <text >{{item.createTime}}</text>
  145. </view>
  146. </view>
  147. <!-- 复核结果 -->
  148. <view v-if="item.applyFlag == 2" class="review_result danger">
  149. <view class="audit">
  150. <text>审核结果:</text>
  151. <img v-if="item.examineResult == 0" src="@/pages_safetyExamine/images/icon_ywc.png"/>
  152. <img v-if="item.examineResult == 1" src="@/pages_safetyExamine/images/icon_cg.png"/>
  153. </view>
  154. <view class="project">
  155. <view class="project_t">审核意见:</view>
  156. <view class="project_b">{{item.examineOpinion}}</view>
  157. </view>
  158. <view class="grade">
  159. <text>审核人:</text>
  160. <text>{{item.reviewedName}}</text>
  161. </view>
  162. <view class="grade" style="border:none;">
  163. <text>审核时间:</text>
  164. <text >{{item.reviewedTime}}</text>
  165. </view>
  166. </view>
  167. </view>
  168. <!-- 待整改 -->
  169. <view v-if="rectifyStatus==2 && curTabIndex=='add'">
  170. <view class="await">
  171. <view class="result">
  172. <view class="result_l">整改结果</view>
  173. <view class="result_r">
  174. <view v-for="(item,index) in resultArray" :key="index" @click="tabClick(index)">
  175. <text :class="resultIndex==index?'checked':'result_r_l' "></text>
  176. <text class="result_r_r">{{item}}</text>
  177. </view>
  178. </view>
  179. </view>
  180. <view class="describe">
  181. <view class="describe_l">{{form.rectifyResult==1?'整改措施:':'原因描述:'}}</view>
  182. <textarea class="describe_r" type="text" v-model="form.rectifyMeasure" maxlength="50" :placeholder="form.rectifyResult==1?'请输入整改描述:':'请输入原因描述:'" placeholder-style="font-size:28rpx;color:#999;"></textarea>
  183. </view>
  184. <view class="check-for-img-max-box">
  185. <view class="left-title-p">隐患照片(最多上传5张):</view>
  186. <view class="right-img-box">
  187. <view class="img-box" v-for="(imgUrl,imgIndex) in form.uploadDtoList" :key="imgIndex">
  188. <img class="img-data" :src="baseUrl+imgUrl.fileUrl">
  189. <img class="position-img" src="@/pages_safetyExamine/images/icon_ssp_closure.png" @click="delImg(imgIndex)">
  190. </view>
  191. <img class="add-button" src="@/pages_safetyExamine/images/icon_07.png" @click="selectImage()" v-if="form.uploadDtoList.length<5">
  192. </view>
  193. </view>
  194. </view>
  195. </view>
  196. <!-- 待复核 -->
  197. <view v-if="rectifyStatus==3 && curTabIndex=='check'" class="review">
  198. <view class="describe">
  199. <view class="describe_l">审核意见:</view>
  200. <textarea class="describe_r" type="text" v-model="form.examineOpinion" maxlength="50" placeholder="请输入审核意见" placeholder-style="font-size:28rpx;color:#999;"></textarea>
  201. </view>
  202. <view class="quick">
  203. <view class="quick_l">审核意见快捷输入</view>
  204. <view class="quick_r">
  205. <text @click="quickSelect(index)" :class="item.type?'quick_B':'quick_A'" v-for="(item,index) in quickArray" :key="index">{{item.name}}</text>
  206. </view>
  207. </view>
  208. </view>
  209. </scroll-view>
  210. <view class="bottom_btn" @click="submitForm('rectify')" v-if="rectifyStatus==2 && rectifyGentle">提交</view>
  211. <view class="bottom_btn_tow" v-if="rectifyStatus==3 && applyGentle">
  212. <text @click="submitForm('reject')">驳回</text>
  213. <text @click="submitForm('pass')">通过</text>
  214. </view>
  215. </view>
  216. </template>
  217. <script>
  218. import { config } from '@/api/request/config.js'
  219. import {getHazardById,checkHazardAdd} from '@/api/apiDemo/index.js'
  220. export default {
  221. name: "rectifyList",
  222. components: {
  223. },
  224. data() {
  225. return {
  226. baseUrl:config.base_url,
  227. id:'',
  228. pageType:0,
  229. //列表请求参数
  230. getData:{
  231. pageNum:1,
  232. pageSize:20,
  233. },
  234. tabTextTow:[],
  235. curTabTow:0,
  236. curTabIndex:'detail',//随顶部按钮点击变化索引
  237. resultIndex:0,
  238. resultArray:['已整改','暂无法整改'],
  239. form:{
  240. checkHazardId:'',// 隐患id
  241. rectifyType:'',// 整改类型:1是院校巡查,2是自查
  242. rectifyResult:'1',//1是已整改,0是暂无法整改
  243. rectifyMeasure:'',//整改措施
  244. uploadDtoList:[],
  245. //复核---------------
  246. id:'',
  247. examineResult:'',//审核结果1是通过,0是驳回
  248. examineOpinion:'',
  249. },
  250. quickIndex:0,
  251. quickArray:[{name:'复核驳回',type:false},{name:'驳回再整改',type:false},{name:'请补充材料',type:false},{name:'请补充描述',type:false},{name:'未解决',type:false}],
  252. infoData:{},
  253. item:{},
  254. rectifyStatus:'',//1已完成 2待整改 3待复核 4 暂无法整改
  255. checkType:null,
  256. applyGentle:false,//待复核-有没有审核权限
  257. rectifyGentle:false,//待整改-有没有整改权限
  258. inconformityStatus2:false,
  259. }
  260. },
  261. onLoad(option) {
  262. if(option.item){
  263. this.item=JSON.parse(decodeURIComponent(option.item));
  264. this.id=this.item.id
  265. this.rectifyStatus=this.item.rectifyStatus;
  266. this.getHazardById()
  267. }
  268. },
  269. onShow() {
  270. },
  271. mounted(){
  272. },
  273. methods: {
  274. //整改结果
  275. tabClick(index) {
  276. this.resultIndex = index;
  277. if(index==0){
  278. this.form.rectifyResult=1
  279. }else if(index==1){
  280. this.form.rectifyResult=0
  281. }
  282. },
  283. //顶部tab点击
  284. tabClickTow(item,index) {
  285. this.curTabTow = index;
  286. this.pageType=index;
  287. if(item.type=='detail' || item.type=='add' || item.type=='check'){
  288. this.curTabIndex=item.type
  289. }else{
  290. this.curTabIndex=index-1;
  291. }
  292. },
  293. //专项隐患项收起展开
  294. inconformityFun2(){
  295. this.inconformityStatus2=!this.inconformityStatus2;
  296. },
  297. //详情
  298. async getHazardById(){
  299. let _this = this;
  300. const {data} = await getHazardById({id:this.id});
  301. if(data.code == 200){
  302. this.infoData=data.data
  303. this.form.checkHazardId=data.data.checkHazardApplyDto.id;
  304. this.form.rectifyType=data.data.checkType;
  305. if(data.data.checkType==1){
  306. uni.setNavigationBarTitle({
  307. title:'校院巡查隐患'
  308. })
  309. }else if(data.data.checkType==2){
  310. uni.setNavigationBarTitle({
  311. title:'实验室自查隐患'
  312. })
  313. }
  314. this.applyGentle=data.data.checkHazardApplyDto.applyGentle
  315. this.rectifyGentle=data.data.checkHazardApplyDto.rectifyGentle
  316. if(data.data.checkRectifyApplyList.length>0){
  317. for(let i=0;i<data.data.checkRectifyApplyList.length;i++){
  318. this.form.id=data.data.checkRectifyApplyList[i].id;
  319. }
  320. }
  321. this.checkType=data.data.checkType;//检查组织 1校院巡查 2实验室自查
  322. if(data.data.checkRectifyApplyList[0]){
  323. this.tabTextTow.push({'type':'detail','name':'隐患检查'})
  324. for(let i=0;i<data.data.checkRectifyApplyList.length;i++){
  325. if(i == 0){
  326. this.tabTextTow.push({'type':'item','name':'隐患整改'})
  327. }else if(i == 1){
  328. this.tabTextTow.push({'type':'item','name':'整改复核'})
  329. }else{
  330. let nameLeft = this.frequencyCalculation(i,data.data.checkRectifyApplyList[i].applyFlag);
  331. let nameRight = data.data.checkRectifyApplyList[i].applyFlag == 1?'整改':'复核';
  332. this.tabTextTow.push({'type':'item','name':nameLeft+nameRight})
  333. }
  334. }
  335. if(this.rectifyStatus==3 && this.applyGentle){
  336. this.tabTextTow.push({'type':'check','name':'整改复核'})
  337. }else if(this.rectifyStatus==2 && this.rectifyGentle){
  338. this.tabTextTow.push({'type':'add','name':'隐患整改'})
  339. }
  340. }else{
  341. if(this.rectifyStatus==2 && this.rectifyGentle){//有整改权限
  342. this.tabTextTow=[{'type':'detail','name':'隐患检查'},{'type':'add','name':'隐患整改'}]
  343. }else{
  344. this.tabTextTow=[{'type':'detail','name':'隐患检查'}]
  345. }
  346. }
  347. }
  348. },
  349. //多次名称匹配
  350. frequencyCalculation(length,type){
  351. let textList = [
  352. {value:'二次',key:'2'},{value:'三次',key:'3'},{value:'四次',key:'4'},{value:'五次',key:'5'}, {value:'六次',key:'6'}, {value:'七次',key:'7'},
  353. {value:'八次',key:'8'},{value:'九次',key:'9'},{value:'十次',key:'10'}
  354. ]
  355. let num = type === 2?Math.ceil(length/2):Math.floor(length/2)
  356. if(type == 1){
  357. num++
  358. }
  359. if (num > 10){
  360. return '再次'
  361. } else{
  362. for(let i=0;i<textList.length;i++){
  363. if(num == textList[i].key){
  364. return textList[i].value
  365. }
  366. }
  367. }
  368. },
  369. //滚动事件
  370. scrollGet(){},
  371. handleClick(doType){
  372. let self=this;
  373. if( doType=='subBtn'){//
  374. }
  375. },
  376. //查看图片
  377. lockImg(list){
  378. if(!list[0]){
  379. return
  380. }
  381. let urlList=[];
  382. for(let i=0;i<list.length;i++){
  383. urlList.push(this.baseUrl+list[i].fileUrl)
  384. }
  385. wx.previewImage({
  386. urls: urlList, //需要预览的图片http链接列表,多张的时候,url直接写在后面就行了
  387. current: '', // 当前显示图片的http链接,默认是第一个
  388. success: function(res) {},
  389. fail: function(res) {},
  390. complete: function(res) {},
  391. })
  392. },
  393. //快捷选择
  394. quickSelect(index) {
  395. this.quickArray[index].type = !this.quickArray[index].type
  396. this.form.examineOpinion=this.quickArray[index].name
  397. let _this = this;
  398. if (_this.quickArray[index].type == true) {
  399. _this.quickArray.forEach(function(item2) {
  400. if (item2.name == _this.quickArray[index].name) {
  401. item2.type = true
  402. } else {
  403. item2.type = false
  404. }
  405. })
  406. }else{
  407. this.form.examineOpinion='';
  408. }
  409. },
  410. // 图片上传
  411. selectImage(item) {
  412. let self = this;
  413. if(this.form.uploadDtoList.length>4){
  414. uni.showToast({
  415. title: '最多上传5张图片',
  416. icon:"none",
  417. mask:true,
  418. duration: 2000
  419. });
  420. return
  421. }
  422. wx.chooseImage({
  423. count: 1,
  424. sizeType: ["original", "compressed"],
  425. sourceType: ["album", "camera"],
  426. success: function(res) {
  427. let tempFilePaths = res.tempFilePaths[0];
  428. self.uploadImg(tempFilePaths);
  429. }
  430. });
  431. },
  432. async uploadImg(tempFilePaths){
  433. var self = this;
  434. uni.showLoading({
  435. title: '上传中',
  436. mask: true
  437. });
  438. uni.uploadFile({
  439. url: config.base_url + '/system/file/upload', //仅为示例,非真实的接口地址
  440. header:{'Authorization':uni.getStorageSync('token')},
  441. filePath: tempFilePaths,
  442. name: 'file',
  443. formData: {
  444. 'user': 'test'
  445. },
  446. success: (uploadFileRes) => {
  447. let res = JSON.parse(uploadFileRes.data);
  448. if(res.code == 200){
  449. self.form.uploadDtoList.push({'fileUrl':res.data.url,'fileName':res.data.name});
  450. }else{
  451. uni.showToast({
  452. title: res.msg,
  453. icon:"none",
  454. mask:true,
  455. duration: 2000
  456. });
  457. }
  458. },
  459. fail: err => {},
  460. complete: () => {
  461. uni.hideLoading()
  462. }
  463. });
  464. },
  465. //删除图片
  466. delImg(minIndex){
  467. this.form.uploadDtoList.splice(minIndex,1);
  468. this.$forceUpdate();
  469. },
  470. //整改通知
  471. rectifyInform(){//rectifyNotice 整改通知(1整改告知书 2整改通知书)
  472. if(this.infoData.rectifyNotice==1){//1整改告知书
  473. this.genReport(this.infoData.id)
  474. }else if(this.infoData.rectifyNotice==2){//2整改通知书
  475. this.genNotice(this.infoData.id)
  476. }
  477. },
  478. //整改报告
  479. rectifyReport(){
  480. uni.showLoading({
  481. title: '下载中'
  482. });
  483. wx.downloadFile({
  484. url: config.base_url+'/zd-security/checkRectify/genReport/' + this.infoData.id,
  485. header: {
  486. Authorization: uni.getStorageSync('token')
  487. },
  488. success: function (res) {
  489. const fileManager = wx.getFileSystemManager()
  490. const filePath = wx.env.USER_DATA_PATH + '/(整改报告).docx'
  491. fileManager.saveFile({
  492. tempFilePath: res.tempFilePath,
  493. filePath,
  494. success: () => {
  495. uni.hideLoading();
  496. wx.openDocument({
  497. filePath: filePath,
  498. showMenu: true,
  499. fileType: 'docx'
  500. })
  501. },
  502. fail: function (res){
  503. uni.hideLoading();
  504. uni.showToast({
  505. title: '下载失败',
  506. icon:"none",
  507. mask:true,
  508. duration: 2000
  509. });
  510. }
  511. })
  512. },
  513. fail: function (res){
  514. uni.hideLoading();
  515. uni.showToast({
  516. title: '下载失败',
  517. icon:"none",
  518. mask:true,
  519. duration: 2000
  520. });
  521. }
  522. })
  523. },
  524. //整改通知书
  525. genNotice(id){
  526. uni.showLoading({
  527. title: '下载中'
  528. });
  529. wx.downloadFile({
  530. url: config.base_url+'/zd-security/checkManage/getRectifyAdviceNote/' + id,
  531. header: {
  532. Authorization: uni.getStorageSync('token')
  533. },
  534. success: function (res) {
  535. const fileManager = wx.getFileSystemManager()
  536. const filePath = wx.env.USER_DATA_PATH + '/(整改通知书).docx'
  537. fileManager.saveFile({
  538. tempFilePath: res.tempFilePath,
  539. filePath,
  540. success: () => {
  541. uni.hideLoading();
  542. wx.openDocument({
  543. filePath: filePath,
  544. showMenu: true,
  545. fileType: 'docx'
  546. })
  547. },
  548. fail: function (res){
  549. uni.hideLoading();
  550. uni.showToast({
  551. title: '下载失败',
  552. icon:"none",
  553. mask:true,
  554. duration: 2000
  555. });
  556. }
  557. })
  558. },
  559. fail: function (res){
  560. uni.hideLoading();
  561. uni.showToast({
  562. title: '下载失败',
  563. icon:"none",
  564. mask:true,
  565. duration: 2000
  566. });
  567. }
  568. })
  569. },
  570. //整改告知书
  571. genReport(id){
  572. uni.showLoading({
  573. title: '下载中'
  574. });
  575. wx.downloadFile({
  576. url: config.base_url+'/zd-security/checkManage/getRectifyNotification/' + id,
  577. header: {
  578. Authorization: uni.getStorageSync('token')
  579. },
  580. success: function (res) {
  581. const fileManager = wx.getFileSystemManager()
  582. const filePath = wx.env.USER_DATA_PATH + '/整改报告.docx'
  583. fileManager.saveFile({
  584. tempFilePath: res.tempFilePath,
  585. filePath,
  586. success: () => {
  587. uni.hideLoading();
  588. wx.openDocument({
  589. filePath: filePath,
  590. showMenu: true,
  591. fileType: 'docx'
  592. })
  593. },
  594. fail: function (res){
  595. uni.hideLoading();
  596. uni.showToast({
  597. title: '下载失败',
  598. icon:"none",
  599. mask:true,
  600. duration: 2000
  601. });
  602. }
  603. })
  604. },
  605. fail: function (res){
  606. uni.hideLoading();
  607. uni.showToast({
  608. title: '下载失败',
  609. icon:"none",
  610. mask:true,
  611. duration: 2000
  612. });
  613. }
  614. })
  615. },
  616. async submitForm(doType){
  617. let _this = this;
  618. let obj={};
  619. if(doType=='rectify'){//整改
  620. if(!this.form.rectifyMeasure){
  621. if(this.form.rectifyResult==1){
  622. uni.showToast({
  623. title: '请输入整改措施!',
  624. icon:"none",
  625. mask:true,
  626. duration: 2000
  627. });
  628. }else{
  629. uni.showToast({
  630. title: '请输入原因描述!',
  631. icon:"none",
  632. mask:true,
  633. duration: 2000
  634. });
  635. }
  636. return
  637. }
  638. if(this.form.uploadDtoList.length==0){
  639. uni.showToast({
  640. title: '请上传照片!',
  641. icon:"none",
  642. mask:true,
  643. duration: 2000
  644. });
  645. return
  646. }
  647. obj.checkHazardId=this.form.checkHazardId;
  648. obj.rectifyType=this.form.rectifyType;
  649. obj.rectifyResult=this.form.rectifyResult;
  650. obj.rectifyMeasure=this.form.rectifyMeasure;
  651. obj.uploadDtoList=this.form.uploadDtoList;
  652. }else if(doType=='reject' ){//复核 驳回
  653. obj.id=this.form.id;
  654. obj.examineResult=0;
  655. if(!this.form.examineOpinion){
  656. uni.showToast({
  657. title: '请输入审核意见!',
  658. icon:"none",
  659. mask:true,
  660. duration: 2000
  661. });
  662. return
  663. }
  664. obj.examineOpinion=this.form.examineOpinion;
  665. }else if(doType=='pass'){//复核 通过
  666. obj.id=this.form.id;
  667. obj.examineResult=1;
  668. if(!this.form.examineOpinion){
  669. uni.showToast({
  670. title: '请输入审核意见!',
  671. icon:"none",
  672. mask:true,
  673. duration: 2000
  674. });
  675. return
  676. }
  677. obj.examineOpinion=this.form.examineOpinion;
  678. }
  679. const {data} = await checkHazardAdd(obj);
  680. if(data.code == 200){
  681. uni.redirectTo({
  682. url: '/pages_safetyExamine/dangerManage/dangerList?pageType='+this.checkType
  683. });
  684. uni.showToast({
  685. title: '提交成功',
  686. icon:"none",
  687. mask:true,
  688. duration: 2000
  689. });
  690. }
  691. },
  692. }
  693. }
  694. </script>
  695. <style lang="stylus" scoped>
  696. .examine{
  697. height:100%;
  698. display flex;
  699. // padding: 0 30rpx;
  700. // box-sizing: border-box;
  701. padding-bottom: 120rpx;
  702. box-sizing: border-box;
  703. .info-max-box{
  704. flex: 1;
  705. overflow: scroll;
  706. padding: 120rpx 0rpx 0;
  707. box-sizing: border-box;
  708. }
  709. /* 隐患检查 */
  710. .header{
  711. width:750rpx;
  712. height: 100rpx;
  713. position: fixed;
  714. top: 0rpx;
  715. z-index: 100;
  716. background: #fff;
  717. .tabTitle_tow{
  718. height: 100rpx;
  719. white-space: nowrap;
  720. display: inline-flex;
  721. .tabTitle_tow_li{
  722. position: relative;
  723. width:152rpx;
  724. height: 100rpx;
  725. text-align center;
  726. padding-top: 26rpx;
  727. box-sizing: border-box;
  728. .tabTitle_tow_text{
  729. display: inline-block;
  730. font-size: 30rpx;
  731. font-family: PingFang SC;
  732. font-weight: 500;
  733. color: #333333;
  734. line-height: 46rpx;
  735. position: relative;
  736. &.on{
  737. color:#0183FA;
  738. }
  739. }
  740. .tabTitle_tow_across{
  741. width: 50rpx;
  742. height: 4rpx;
  743. background: #0183FA;
  744. border-radius: 2rpx;
  745. margin-left: 33%;
  746. display none;
  747. &.on{
  748. display block;
  749. }
  750. }
  751. }
  752. }
  753. }
  754. .basics{
  755. width: 690rpx;
  756. background: #FFFFFF;
  757. border-radius: 20rpx;
  758. padding: 30rpx 30rpx 32rpx;
  759. box-sizing: border-box;
  760. margin: 20rpx 30rpx ;
  761. .basics_li{
  762. height: 80rpx;
  763. display: flex;
  764. justify-content: space-between;
  765. border-bottom: 1rpx solid #D8D8D8;
  766. >text:nth-of-type(1){
  767. font-size: 28rpx;
  768. font-family: PingFang SC-Medium, PingFang SC;
  769. font-weight: 400;
  770. color: #666666;
  771. line-height: 80rpx;
  772. width: 140rpx;
  773. }
  774. >text:nth-of-type(2){
  775. flex: 1;
  776. font-size: 28rpx;
  777. font-family: PingFang SC-Medium, PingFang SC;
  778. font-weight: 400;
  779. color: #333333;
  780. line-height: 80rpx;
  781. text-align: right;
  782. white-space: nowrap;
  783. overflow: hidden;
  784. text-overflow: ellipsis;
  785. }
  786. }
  787. }
  788. .attachment{
  789. width: 690rpx;
  790. background: #FFFFFF;
  791. border-radius: 20rpx;
  792. margin: 20rpx 30rpx 0;
  793. padding-bottom: 32rpx;
  794. box-sizing: border-box;
  795. .attachment_t{
  796. border-bottom: 1rpx solid #D8D8D8;
  797. >text:nth-of-type(1){
  798. font-size: 30rpx;
  799. font-family: PingFang SC-Medium, PingFang SC;
  800. font-weight: 400;
  801. color: #333333;
  802. line-height: 110rpx;
  803. margin-left: 28rpx;
  804. }
  805. >text:nth-of-type(2){
  806. font-size: 30rpx;
  807. font-family: PingFang SC-Medium, PingFang SC;
  808. font-weight: 400;
  809. color: #999999;
  810. line-height: 110rpx;
  811. margin-left: 24rpx;
  812. }
  813. }
  814. .attachment_li{
  815. height: 40rpx;
  816. display: flex;
  817. justify-content: flex-start;
  818. align-items: center;
  819. margin-top: 32rpx;
  820. >img{
  821. width: 30rpx;
  822. height: 26rpx;
  823. margin-right: 20rpx;
  824. margin-left: 50rpx;
  825. }
  826. >text{
  827. flex: 1;
  828. font-size: 28rpx;
  829. font-family: PingFang SC-Medium, PingFang SC;
  830. font-weight: 400;
  831. color: #0183FA;
  832. line-height: 40rpx;
  833. white-space: nowrap;
  834. overflow: hidden;
  835. text-overflow: ellipsis;
  836. }
  837. .attachment_li_del{
  838. width: 30rpx;
  839. height: 30rpx;
  840. }
  841. }
  842. }
  843. .danger{
  844. width: 690rpx;
  845. background: #FFFFFF;
  846. border-radius: 20rpx;
  847. padding: 30rpx 30rpx 32rpx;
  848. box-sizing: border-box;
  849. margin: 20rpx 30rpx ;
  850. .danger_title{
  851. font-size: 30rpx;
  852. font-family: PingFang SC-Medium, PingFang SC;
  853. font-weight: 400;
  854. color: #333333;
  855. line-height:80rpx;
  856. border-bottom: 1rpx solid #D8D8D8;
  857. }
  858. .grade{
  859. height: 80rpx;
  860. display: flex;
  861. justify-content: space-between;
  862. border-bottom: 1rpx solid #D8D8D8;
  863. >text:nth-of-type(1){
  864. font-size: 28rpx;
  865. font-family: PingFang SC-Medium, PingFang SC;
  866. font-weight: 400;
  867. color: #666666;
  868. line-height: 80rpx;
  869. width: 140rpx;
  870. }
  871. >text:nth-of-type(2){
  872. flex: 1;
  873. font-size: 28rpx;
  874. font-family: PingFang SC-Medium, PingFang SC;
  875. font-weight: 400;
  876. color: #333333;
  877. line-height: 80rpx;
  878. text-align: right;
  879. }
  880. }
  881. .project{
  882. .project_t{
  883. font-size: 30rpx;
  884. font-family: PingFang SC-Medium, PingFang SC;
  885. font-weight: 400;
  886. color: #333333;
  887. line-height: 80rpx;
  888. }
  889. .project_b{
  890. min-height: 158rpx;
  891. font-size: 28rpx;
  892. font-family: PingFang SC-Medium, PingFang SC;
  893. font-weight: 400;
  894. color: #333333;
  895. line-height: 40rpx;
  896. padding: 20rpx 14rpx;
  897. box-sizing: border-box;
  898. background: #F5F5F5;
  899. border-radius: 20rpx 20rpx 20rpx 20rpx;
  900. }
  901. .project_b2{
  902. font-size: 26rpx;
  903. font-family: PingFang SC-Medium, PingFang SC;
  904. font-weight: 400;
  905. color: #666666;
  906. line-height: 26rpx;
  907. margin-top: 14rpx;
  908. text-align: right;
  909. }
  910. }
  911. .picture{
  912. .picture_t{
  913. font-size: 30rpx;
  914. font-family: PingFang SC-Medium, PingFang SC;
  915. font-weight: 400;
  916. color: #333333;
  917. line-height: 80rpx;
  918. }
  919. .picture_b{
  920. display: flex;
  921. justify-content: flex-start;
  922. flex-wrap: wrap;
  923. >img{
  924. width: 200rpx;
  925. height: 200rpx;
  926. border-radius: 10rpx 10rpx 10rpx 10rpx;
  927. margin-right: 14rpx;
  928. margin-bottom: 10rpx;
  929. }
  930. >img:nth-of-type(3n+3){
  931. margin-right: 0rpx;
  932. }
  933. }
  934. }
  935. }
  936. /* 待整改 */
  937. .await{
  938. width: 690rpx;
  939. background: #FFFFFF;
  940. border-radius: 20rpx;
  941. padding: 30rpx 30rpx 32rpx;
  942. box-sizing: border-box;
  943. margin: 20rpx 30rpx ;
  944. /* 整改结果 */
  945. .result{
  946. display: flex;
  947. justify-content: flex-start;
  948. border-bottom: 1rpx solid #D8D8D8;
  949. .result_l{
  950. width: 146rpx;
  951. text-align: left;
  952. font-size: 30rpx;
  953. font-family: PingFang SC-Medium, PingFang SC;
  954. font-weight: 400;
  955. color: #333333;
  956. line-height: 80rpx;
  957. }
  958. .result_r{
  959. width: 486rpx;
  960. height: 80rpx;
  961. padding-left: 20rpx;
  962. box-sizing: border-box;
  963. display: flex;
  964. justify-content: flex-end;
  965. align-items: center;
  966. >view{
  967. display: flex;
  968. justify-content: flex-start;
  969. align-items: center;
  970. margin-right: 24rpx;
  971. .result_r_l{
  972. display: inline-block;
  973. width: 30rpx;
  974. height: 30rpx;
  975. border-radius: 50%;
  976. border: 1rpx solid #E0E0E0;
  977. margin-right: 14rpx;
  978. }
  979. .result_r_r{
  980. font-size: 30rpx;
  981. font-family: PingFang SC-Medium, PingFang SC;
  982. font-weight: 400;
  983. color: #333333;
  984. line-height: 80rpx;
  985. }
  986. .checked{
  987. display: inline-block;
  988. width: 30rpx;
  989. height: 30rpx;
  990. border-radius: 50%;
  991. border: 1rpx solid #0183FA;
  992. margin-right: 14rpx;
  993. position: relative;
  994. }
  995. .checked::after{
  996. content: '';
  997. position: absolute;
  998. top: 5rpx;
  999. left:5rpx;
  1000. width: 20rpx;
  1001. height: 20rpx;
  1002. border-radius: 50%;
  1003. background: #0183FA;
  1004. }
  1005. }
  1006. }
  1007. }
  1008. /* 原因描述 */
  1009. .describe{
  1010. .describe_l{
  1011. width: 158rpx;
  1012. text-align: left;
  1013. font-size: 30rpx;
  1014. font-family: PingFang SC-Medium, PingFang SC;
  1015. font-weight: 400;
  1016. color: #333333;
  1017. line-height: 80rpx;
  1018. }
  1019. .describe_r{
  1020. width: 630rpx;
  1021. height: 158rpx;
  1022. border-radius: 20rpx 20rpx 20rpx 20rpx;
  1023. opacity: 1;
  1024. border: 1rpx solid #E0E0E0;
  1025. padding: 20rpx 14rpx;
  1026. box-sizing: border-box;
  1027. font-size: 30rpx;
  1028. font-family: PingFang SC-Medium, PingFang SC;
  1029. font-weight: 400;
  1030. color: #333333;
  1031. line-height: 34rpx;
  1032. }
  1033. }
  1034. /* 上传照片 */
  1035. .check-for-img-max-box{
  1036. .left-title-p{
  1037. width: 100%;
  1038. text-align: left;
  1039. font-size: 30rpx;
  1040. font-family: PingFang SC-Medium, PingFang SC;
  1041. font-weight: 400;
  1042. color: #333333;
  1043. line-height: 80rpx;
  1044. }
  1045. .right-img-box{
  1046. .img-box{
  1047. display inline-block;
  1048. height:200rpx;
  1049. width:200rpx;
  1050. position relative
  1051. margin:0 14rpx 20rpx 0;
  1052. border-radius 10rpx;
  1053. overflow hidden;
  1054. .img-data{
  1055. height:200rpx;
  1056. width:200rpx;
  1057. }
  1058. .position-img{
  1059. position absolute
  1060. right:0;
  1061. top:0;
  1062. width:36rpx;
  1063. height:36rpx;
  1064. }
  1065. }
  1066. .img-box:nth-of-type(3n+3){
  1067. margin-right: 0rpx;
  1068. }
  1069. .add-button{
  1070. margin:0 0rpx 20rpx 0;
  1071. border-radius 10rpx;
  1072. overflow hidden;
  1073. display inline-block
  1074. height:200rpx;
  1075. width:200rpx;
  1076. }
  1077. }
  1078. }
  1079. }
  1080. /* 待复核 */
  1081. .review{
  1082. width: 690rpx;
  1083. background: #FFFFFF;
  1084. border-radius: 20rpx;
  1085. padding: 30rpx 30rpx 32rpx;
  1086. box-sizing: border-box;
  1087. margin: 20rpx 30rpx ;
  1088. /* 审核意见 */
  1089. .describe{
  1090. .describe_l{
  1091. width: 158rpx;
  1092. text-align: left;
  1093. font-size: 30rpx;
  1094. font-family: PingFang SC-Medium, PingFang SC;
  1095. font-weight: 400;
  1096. color: #666;
  1097. line-height: 80rpx;
  1098. }
  1099. .describe_r{
  1100. width: 630rpx;
  1101. height: 158rpx;
  1102. border-radius: 20rpx 20rpx 20rpx 20rpx;
  1103. opacity: 1;
  1104. border: 1rpx solid #E0E0E0;
  1105. padding: 20rpx 14rpx;
  1106. box-sizing: border-box;
  1107. font-size: 30rpx;
  1108. font-family: PingFang SC-Medium, PingFang SC;
  1109. font-weight: 400;
  1110. color: #333333;
  1111. line-height: 34rpx;
  1112. }
  1113. }
  1114. /* 快捷输入 */
  1115. .quick{
  1116. .quick_l{
  1117. font-size: 30rpx;
  1118. font-family: PingFang SC-Medium, PingFang SC;
  1119. font-weight: 400;
  1120. color: #666666;
  1121. line-height: 80rpx;
  1122. }
  1123. .quick_r{
  1124. >text{
  1125. display: inline-block;
  1126. font-size: 30rpx;
  1127. font-family: PingFang SC-Medium, PingFang SC;
  1128. font-weight: 400;
  1129. line-height: 60rpx;
  1130. padding: 0 24rpx;
  1131. box-sizing: border-box;
  1132. border-radius: 10rpx 10rpx 10rpx 10rpx;
  1133. margin-right: 20rpx;
  1134. margin-bottom: 30rpx;
  1135. }
  1136. .quick_A{
  1137. color: #666666;
  1138. background: #F5F5F5;
  1139. }
  1140. .quick_B{
  1141. color: #0183FA;
  1142. background: rgba(1,131,250,0.2);
  1143. }
  1144. }
  1145. }
  1146. }
  1147. /* 暂无法整改 */
  1148. .incapable{
  1149. width: 690rpx;
  1150. background: #FFFFFF;
  1151. border-radius: 20rpx;
  1152. padding: 30rpx 30rpx 32rpx;
  1153. box-sizing: border-box;
  1154. margin: 20rpx 30rpx ;
  1155. }
  1156. /* 整改结果 */
  1157. .abarbeitung_result{
  1158. width: 690rpx;
  1159. background: #FFFFFF;
  1160. border-radius: 20rpx;
  1161. padding: 30rpx 30rpx 32rpx;
  1162. box-sizing: border-box;
  1163. margin: 20rpx 30rpx ;
  1164. }
  1165. /* 审核结果 */
  1166. .review_result{
  1167. width: 690rpx;
  1168. background: #FFFFFF;
  1169. border-radius: 20rpx;
  1170. padding: 30rpx 30rpx 32rpx;
  1171. box-sizing: border-box;
  1172. margin: 20rpx 30rpx ;
  1173. .audit{
  1174. height: 80rpx;
  1175. display: flex;
  1176. justify-content: space-between;
  1177. border-bottom: 1rpx solid #D8D8D8;
  1178. >text:nth-of-type(1){
  1179. font-size: 28rpx;
  1180. font-family: PingFang SC-Medium, PingFang SC;
  1181. font-weight: 400;
  1182. color: #666666;
  1183. line-height: 80rpx;
  1184. width: 140rpx;
  1185. }
  1186. >img{
  1187. width: 80rpx;
  1188. height: 70rpx;
  1189. }
  1190. }
  1191. }
  1192. /* 专项检查 */
  1193. .inconformity_tow{
  1194. width: 690rpx;
  1195. height: 100rpx;
  1196. background: #FFFFFF;
  1197. border-radius: 20rpx 20rpx 20rpx 20rpx;
  1198. margin: 20rpx 30rpx;
  1199. font-size: 30rpx;
  1200. font-family: PingFang SC-Medium, PingFang SC;
  1201. font-weight: 400;
  1202. color: #333333;
  1203. line-height: 100rpx;
  1204. text-align: center;
  1205. display: flex;
  1206. justify-content: space-between;
  1207. align-items: center;
  1208. padding: 0 30rpx;
  1209. box-sizing: border-box;
  1210. >img{
  1211. width: 30rpx;
  1212. height: 26rpx;
  1213. margin-left: 20rpx;
  1214. }
  1215. }
  1216. .danger_border{
  1217. border-radius: 20rpx;
  1218. width: 690rpx;
  1219. background: #FFFFFF;
  1220. margin: 0rpx 30rpx 20rpx;
  1221. overflow: hidden;
  1222. }
  1223. .special_danger{
  1224. width:auto;
  1225. background: #FFFFFF;
  1226. padding: 0;
  1227. box-sizing: border-box;
  1228. margin: 0 30rpx;
  1229. border-radius: 0;
  1230. .grade{
  1231. height: 80rpx;
  1232. display: flex;
  1233. justify-content: flex-start;
  1234. border-bottom: 1rpx solid #D8D8D8;
  1235. position: relative;
  1236. background: #F5F5F5;
  1237. border-radius: 20rpx 20rpx 0rpx 0rpx;
  1238. .sort{
  1239. width: 40rpx;
  1240. height: 40rpx;
  1241. background: #0183FA;
  1242. border-radius: 20rpx 0rpx 10rpx 0rpx;
  1243. font-size: 30rpx;
  1244. font-family: PingFang SC-Medium, PingFang SC;
  1245. font-weight: 400;
  1246. color: #FFFFFF;
  1247. line-height: 40rpx;
  1248. text-align: center;
  1249. position: absolute;
  1250. left: 0;
  1251. top: 0;
  1252. }
  1253. .isConform{
  1254. width: 100rpx;
  1255. height: 40rpx;
  1256. font-size: 24rpx;
  1257. font-family: PingFang SC-Medium, PingFang SC;
  1258. font-weight: 400;
  1259. color: #0183FA;
  1260. line-height: 36rpx;
  1261. background: #C4DEF6;
  1262. text-align: center;
  1263. border-radius:20rpx;
  1264. margin-left: 12rpx;
  1265. margin-top: 20rpx;
  1266. }
  1267. .noConform{
  1268. width: 100rpx;
  1269. height: 40rpx;
  1270. font-size: 24rpx;
  1271. font-family: PingFang SC-Medium, PingFang SC;
  1272. font-weight: 400;
  1273. color: #FF0000;
  1274. line-height: 36rpx;
  1275. background: #F7C4C4;
  1276. text-align: center;
  1277. border-radius:20rpx;
  1278. margin-left: 12rpx;
  1279. margin-top: 20rpx;
  1280. }
  1281. >text:nth-of-type(1){
  1282. font-size: 28rpx;
  1283. font-family: PingFang SC-Medium, PingFang SC;
  1284. font-weight: 400;
  1285. color: #666666;
  1286. line-height: 80rpx;
  1287. width: 140rpx;
  1288. margin-left: 66rpx;
  1289. }
  1290. >text:nth-of-type(2){
  1291. flex: 1;
  1292. font-size: 28rpx;
  1293. font-family: PingFang SC-Medium, PingFang SC;
  1294. font-weight: 400;
  1295. color: #333333;
  1296. line-height: 80rpx;
  1297. text-align: right;
  1298. margin-right: 30rpx;
  1299. }
  1300. }
  1301. .frequency{
  1302. font-size: 26rpx;
  1303. font-family: PingFang SC-Medium, PingFang SC;
  1304. font-weight: 400;
  1305. color: #333;
  1306. line-height: 26rpx;
  1307. margin-top: 14rpx;
  1308. text-align: right;
  1309. margin-bottom: 14rpx;
  1310. }
  1311. .grading{
  1312. height: 80rpx;
  1313. display: flex;
  1314. justify-content: space-between;
  1315. >text:nth-of-type(1){
  1316. font-size: 28rpx;
  1317. font-family: PingFang SC-Medium, PingFang SC;
  1318. font-weight: 400;
  1319. color: #666666;
  1320. line-height: 80rpx;
  1321. width: 140rpx;
  1322. }
  1323. >text:nth-of-type(2){
  1324. flex: 1;
  1325. font-size: 28rpx;
  1326. font-family: PingFang SC-Medium, PingFang SC;
  1327. font-weight: 400;
  1328. color: #333333;
  1329. line-height: 80rpx;
  1330. text-align: left;
  1331. background: #F5F5F5;
  1332. border-radius: 10rpx 10rpx 10rpx 10rpx;
  1333. padding-left: 20rpx;
  1334. box-sizing: border-box;
  1335. }
  1336. }
  1337. }
  1338. .small_items{
  1339. min-height: 158rpx;
  1340. font-size: 28rpx;
  1341. font-family: PingFang SC-Medium, PingFang SC;
  1342. font-weight: 400;
  1343. color: #333333;
  1344. line-height: 40rpx;
  1345. padding: 20rpx 14rpx;
  1346. box-sizing: border-box;
  1347. border-radius: 0rpx 0rpx 20rpx 20rpx;
  1348. opacity: 1;
  1349. border: 1rpx solid #E0E0E0;
  1350. border-top:none;
  1351. }
  1352. .ident{
  1353. font-size: 30rpx;
  1354. font-family: PingFang SC-Medium, PingFang SC;
  1355. font-weight: 400;
  1356. color: #666666;
  1357. line-height: 42rpx;
  1358. margin: 34rpx 30rpx;
  1359. }
  1360. .bottom_btn{
  1361. position: fixed;
  1362. bottom: 26rpx;
  1363. left: 30rpx;
  1364. font-size: 30rpx;
  1365. font-family: PingFang SC-Medium, PingFang SC;
  1366. font-weight: 400;
  1367. color: #FFFFFF;
  1368. line-height: 90rpx;
  1369. width: 690rpx;
  1370. height: 90rpx;
  1371. background: #0183FA;
  1372. border-radius: 20rpx;
  1373. text-align: center;
  1374. }
  1375. .bottom_btn_tow{
  1376. display: flex;
  1377. justify-content: center;
  1378. position: fixed;
  1379. bottom: 26rpx;
  1380. left: 30rpx;
  1381. width: 690rpx;
  1382. height: 90rpx;
  1383. >text{
  1384. flex: 1;
  1385. display: inline-block;
  1386. font-size: 30rpx;
  1387. font-family: PingFang SC-Medium, PingFang SC;
  1388. font-weight: 400;
  1389. color: #FFFFFF;
  1390. line-height: 90rpx;
  1391. text-align: center
  1392. }
  1393. >text:nth-of-type(1){
  1394. background: #FA8201;
  1395. border-radius: 45rpx 0rpx 0rpx 45rpx;
  1396. }
  1397. >text:nth-of-type(2){
  1398. background: #0183FA;
  1399. border-radius: 0rpx 45rpx 45rpx 0rpx;
  1400. }
  1401. }
  1402. }
  1403. </style>