patrolPlanEdit.vue 38 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519
  1. <!-- 安全检查-发起巡查计划 -->
  2. <template>
  3. <view class="examine">
  4. <view class="tabTitle">
  5. <view class="tabTitle_li" @tap="tabClick(index)" :key="index" v-for="(item,index) in tabText">
  6. <view :class="{on:curTab==index}" class="tabTitle_text">{{item}}</view>
  7. <view :class="{on:curTab==index}" class="tabTitle_across"></view>
  8. </view>
  9. </view>
  10. <view class="header" v-if="pageType==1">
  11. <view class="line"></view>
  12. <view class="tabTitle_tow">
  13. <view class="tabTitle_tow_li" @tap="tabClickTow(index)" :key="index" v-for="(item,index) in tabTextTow">
  14. <view :class="{on:curTabTow==index}" class="tabTitle_tow_text">{{item}}</view>
  15. <view :class="{on:curTabTow==index}" class="tabTitle_tow_across"></view>
  16. </view>
  17. </view>
  18. <view class="lab_title">
  19. <picker @change="collegeChange" :value="collegeIndex" :range="collegeArray" class="lab_title_l">
  20. <view class="lab_title_l_n">
  21. <view>{{getData.deptName?getData.deptName:'选择学院'}}</view>
  22. <img src="@/pages_safetyExamine/images/icon_06.png">
  23. </view>
  24. </picker>
  25. <view class="lab_title_r">
  26. <view class="lab_title_r_btn" @click="searchBtn">
  27. <img src="@/pages_safetyExamine/images/icon_aqjc_ss.png"/>
  28. </view>
  29. <input type="text" v-model="getData.searchValue" placeholder="请输入实验室名称" maxlength="50" placeholder-style="color: #CCCCCC;font-size:26rpx;">
  30. <view class="clear" @click="clearBtn">清除</view>
  31. </view>
  32. </view>
  33. </view>
  34. <scroll-view scroll-y @scrolltolower="scrollGet" class="info-max-box">
  35. <view v-if="pageType==0" style="padding: 0 30rpx;box-sizing: border-box;">
  36. <view class="delay_inspect" >
  37. <view class="delay_inspect_l" v-if="form.checkStatus==1">待检查实验室:<text>{{form.subjectNum}}间</text></view>
  38. <view class="delay_inspect_r" v-if="form.checkStatus==1">未开始</view>
  39. <view class="delay_inspect_l" v-if="form.checkStatus==2 || form.checkStatus==3">检查进度:<text>{{form.checkSchedule}}</text></view>
  40. <view class="delay_inspect_r_tow" v-if="form.checkStatus==2">进行中</view>
  41. <view class="delay_inspect_r_tow" v-if="form.checkStatus==3">已结束</view>
  42. </view>
  43. <view class="basics">
  44. <view class="title">
  45. <view class="title_t">计划标题</view>
  46. <textarea class="title_b" type="text" v-model="form.title" maxlength="200" placeholder="请输入检查计划标题" placeholder-style="color:#999999;font-size:30rpx;"></textarea>
  47. </view>
  48. <view class="type">
  49. <view class="type_l">检查类型</view>
  50. <input class="type_r" type="text" v-model="form.checkTypeName" placeholder="" disabled maxlength="20">
  51. </view>
  52. <view class="period">
  53. <view class="period_l">检查周期</view>
  54. <view class="period_r">
  55. <picker mode="date" @change="startChange(form,$event)">
  56. <input class="picker-text" disabled type="text" v-model="form.cycleStartTime" placeholder="开始时间">
  57. </picker>
  58. <view>至</view>
  59. <picker mode="date" @change="endChange(form,$event)">
  60. <input class="picker-text2" disabled type="text" v-model="form.cycleStartTime" placeholder="结束时间">
  61. </picker>
  62. </view>
  63. </view>
  64. <view class="tiem_quick">
  65. <view @click="tiemQuick(index)" :class="item.type?'tiem_quick_a':'tiem_quick_b'" v-for="(item,index) in tiemQuickList">{{item.name}}</view>
  66. </view>
  67. <view class="scope">
  68. <view class="scope_l">检查范围</view>
  69. <picker @change="scopeChange" :value="scopeIndex" :range="scopeArray" class="scope_r">
  70. <view class="scope_r_n">
  71. <view>{{scopeArray[scopeIndex]}}</view>
  72. <img src="@/pages_safetyExamine/images/icon_06.png">
  73. </view>
  74. </picker>
  75. </view>
  76. <view class="scope_btn" v-if="scopeIndex==1 || scopeIndex==2" @click="collegeOrLab()">{{scopeIndex==1?'选择学院':'选择实验室'}}</view>
  77. <view class="scope_text" v-if="scopeIndex==0 || scopeIndex==1">已选择<text>{{form.collegeNum}}</text>个学院,共<text>{{form.subjectNum}}</text>间实验室</view>
  78. <view class="scope_text" v-if="scopeIndex==2">已选择<text>{{form.subjectNum}}</text>间实验室</view>
  79. <view class="title">
  80. <view class="title_t">检查要求</view>
  81. <textarea class="title_b" type="text" v-model="form.checkDemand" maxlength="200" placeholder="请输入检查计划标题" placeholder-style="color:#999999;font-size:30rpx;"></textarea>
  82. </view>
  83. </view>
  84. <view class="attachment" v-if="form.uploadDtoList.length>0">
  85. <view class="attachment_t">
  86. <text>材料附件</text>
  87. <text>点击文件标题查看</text>
  88. </view>
  89. <view class="attachment_li" v-for="item in form.uploadDtoList">
  90. <img src="@/pages_safetyExamine/images/icon_djc_wj.png"/>
  91. <text @click="attachmentPreview(item)">{{item.fileName}}</text>
  92. <img @click="attachmentDle(item)" class="attachment_li_del" src="@/pages_safetyExamine/images/icon_fjgk_sc.png"/>
  93. </view>
  94. </view>
  95. <view class="patrol_group" v-if="form.checkType==1">
  96. <view class="patrol">
  97. <view class="patrol_l">巡查组</view>
  98. <view class="patrol_r_n" @click="patrolChange">
  99. <view>{{form.checkGroupName?form.checkGroupName:'请选择巡查组'}}</view>
  100. <img src="@/pages_safetyExamine/images/icon_06.png">
  101. </view>
  102. </view>
  103. <view class="list">
  104. <view class="list_title"><img src="@/pages_safetyExamine/images/icon_jcjh_cy.png">成员</view>
  105. <view class="list_header"><text>工号</text><text>姓名</text></view>
  106. <view class="list_li" v-for="(item,index) in form.checkMemberDtoList"><text>12345678</text><text>{{item.name}}</text></view>
  107. <view class="list_bottom" v-if="form.checkMemberDtoList.length==0">无数据</view>
  108. </view>
  109. </view>
  110. </view>
  111. <view v-if="pageType==1">
  112. <view class="list_three">
  113. <view class="list_three_li" v-for="(item,index) in dataList" :key="index" @click="handleClick(item,'detail')">
  114. <view class="list_three_li_t">
  115. <view class="list_three_li_t_l">
  116. <img v-if="item.checkRange==1" src="@/pages_safetyExamine/images/icon_xyxc_qx.png"/>
  117. <img v-if="item.checkRange==2" src="@/pages_safetyExamine/images/icon_xyxc_xy.png"/>
  118. <img v-if="item.checkRange==3" src="@/pages_safetyExamine/images/icon_xyxc_sys.png"/>
  119. <text></text>
  120. </view>
  121. <view class="list_three_li_t_c">{{item.subjectName}}-{{item.roomNumber}}</view>
  122. <view class="list_three_li_t_c2" v-if="item.isOverdue==1">已逾期</view>
  123. <view class="list_three_li_t_r"></view>
  124. </view>
  125. <view class="list_three_li_m">
  126. <view class="list_three_li_m_t">{{item.title}}</view>
  127. <view class="list_three_li_m_b">
  128. <text class="blue_color" v-if="item.manageStatus==0">待检查</text>
  129. <text class="red_color" v-if="item.manageStatus==1">检查中</text>
  130. <text class="green_color" v-if="item.manageStatus==2">已检查</text>
  131. <text>{{item.checkType==1?'校院巡查':'实验室自查'}}</text>
  132. <text>{{item.collegeName}}</text>
  133. </view>
  134. </view>
  135. <view class="list_three_li_b" v-if="item.manageStatus==2">
  136. <img src="@/pages_safetyExamine/images/icon_djcsys.png"/>
  137. <text>整改进度:</text>
  138. <text>{{item.rectifySchedule}}</text>
  139. </view>
  140. </view>
  141. </view>
  142. </view>
  143. </scroll-view>
  144. <view class="bottom_btn" v-if="form.checkStatus==1" @click="submitForm()">保存</view>
  145. <!-- 选择学院-->
  146. <view class="shade" v-if="dialogVisible">
  147. <view class="null-box" @click="dialogClose()"></view>
  148. <view class="shade_n">
  149. <view class="shade_n_title"><text>选择学院</text><text @click="collegeConfirm">确定</text></view>
  150. <view class="shade_n_b">
  151. <view class="shade_n_b_li" v-for="(item,index) in collegeList" :key="index" @click="collegeSelete(index)">
  152. <text :class="item.type?'color_B':'color_A'">{{item.deptName}}</text>
  153. <img v-if="item.type" src="@/pages_safetyExamine/images/icon_xzwt_xz.png">
  154. </view>
  155. </view>
  156. </view>
  157. </view>
  158. </view>
  159. </template>
  160. <script>
  161. import { config } from '@/api/request/config.js'
  162. import {checkPlanById,conditionCollegeInfo,checkGroupDetail,getAllSubNum,checkPlanEdit,findByCheckPlanId} from '@/api/index.js'
  163. export default {
  164. name: "rectifyList",
  165. components: {
  166. },
  167. data() {
  168. return {
  169. id:'',
  170. pageType:0,
  171. //列表请求参数
  172. getData:{
  173. pageNum:1,
  174. pageSize:20,
  175. checkPlanId:'',
  176. deptId:'',
  177. deptName:'',
  178. searchValue:'',
  179. manageStatus:'',
  180. },
  181. inspectState:0,//检查状态 0 未开始 1进行中
  182. tabText:['检查计划','检查管理'],
  183. curTab:0,
  184. tabTextTow:['全部','待检查','检查中','已检查'],
  185. curTabTow:0,
  186. form:{
  187. id:'',
  188. title:'',
  189. checkType:'1',//1校院巡查 2实验室自查
  190. checkTypeName:'',//1校院巡查 2实验室自查
  191. cycleStartTime:'',
  192. cycleEndTime:'',
  193. checkRange:0,//检查范围 1全校 2学院 3实验室
  194. checkGroupId:[],//巡查组id
  195. checkLevel:'',//巡查组层级
  196. checkMemberDtoList:[],//巡查组成员
  197. collegeIds:'',//学院id组
  198. collegeNum:0,//学院数量
  199. subIds:'',//实验室id组
  200. subjectNum:0,//实验室数量
  201. checkStatus:0,//检查状态
  202. checkSchedule:'',//检查进度
  203. checkDemand:'',//检查要求
  204. tiemQuickList:[],
  205. scopeIndex:'',
  206. seleteListLab:[],
  207. seleteListMember:[],
  208. uploadDtoList:[],
  209. },
  210. tiemQuickList:[{name:'本月',type:false},{name:'本季度',type:false},{name:'全年',type:false}],
  211. scopeIndex:0,
  212. scopeArray:['全校','学院','实验室'],
  213. dialogVisible:false,
  214. collegeList:[],
  215. collegeIndex :0,
  216. collegeArray:[],
  217. dataList:[],
  218. }
  219. },
  220. onLoad(option) {
  221. if(option.form){
  222. this.form=JSON.parse(decodeURIComponent(option.form));
  223. this.tiemQuickList=this.form.tiemQuickList//时间快捷
  224. this.scopeIndex=this.form.scopeIndex//检查范围
  225. console.log(this.form)
  226. }
  227. if(option.id){
  228. this.id=option.id
  229. this.getData.checkPlanId=option.id
  230. this.checkPlanById()
  231. }else{
  232. this.id=this.form.id
  233. this.getData.checkPlanId=this.form.id
  234. }
  235. },
  236. onShow() {
  237. },
  238. mounted(){
  239. this.conditionCollegeInfo();
  240. this.getList();
  241. },
  242. methods: {
  243. //顶部tab点击
  244. tabClick(index) {
  245. this.curTab = index;
  246. this.pageType = index;
  247. },
  248. //顶部tab点击
  249. tabClickTow(index) {
  250. this.curTabTow = index;
  251. if(index==0){
  252. this.getData.manageStatus=''
  253. }else if(index==1){//待检查
  254. this.getData.manageStatus=0;
  255. }else if(index==2){//检查中
  256. this.getData.manageStatus=1;
  257. }else if(index==3){//已检查
  258. this.getData.manageStatus=2;
  259. }
  260. this.getData.pageNum=1;
  261. this.dataList=[];
  262. this.getList()
  263. },
  264. //删除附件
  265. attachmentDle(item){
  266. this.form.uploadDtoList.splice(this.form.uploadDtoList.indexOf(item),1);
  267. },
  268. attachmentPreview(item){
  269. uni.showLoading({
  270. title: '下载中'
  271. });
  272. wx.downloadFile({
  273. url: config.base_url+item.fileUrl,
  274. header: {
  275. Authorization: uni.getStorageSync('token')
  276. },
  277. success: function (res) {
  278. uni.hideLoading();
  279. const filePath = res.tempFilePath
  280. wx.openDocument({
  281. filePath: filePath,
  282. success: function (res) {
  283. console.log('打开文档成功')
  284. }
  285. })
  286. },
  287. fail: function (res){
  288. uni.hideLoading();
  289. uni.showToast({
  290. title: '下载失败',
  291. icon:"none",
  292. mask:true,
  293. duration: 2000
  294. });
  295. }
  296. })
  297. },
  298. //选择学院
  299. collegeChange(e){
  300. this.collegeIndex = e.target.value;
  301. this.getData.deptId=this.collegeList[e.target.value].deptId
  302. this.getData.deptName=this.collegeList[e.target.value].deptName
  303. this.dataList=[];
  304. this.getList();
  305. },
  306. //实验室搜索
  307. searchBtn(){
  308. this.dataList=[];
  309. this.getList();
  310. },
  311. //清除
  312. clearBtn(){
  313. this.getData.pageNum=1;
  314. this.collegeIndex=0;
  315. this.getData.deptId='';
  316. this.getData.deptName='';
  317. this.getData.searchValue='';
  318. this.dataList=[];
  319. this.getList();
  320. },
  321. //滚动事件
  322. scrollGet(){
  323. let self=this;
  324. if(this.pageType==1){//当页面切换到检查管理列表里的时候
  325. if(self.total/self.getData.pageSize<=self.getData.pageNum){
  326. console.log('没有更多数据!')
  327. }else{
  328. setTimeout(function(){
  329. self.getData.pageNum += 1;
  330. self.getList();
  331. },1000)
  332. }
  333. }
  334. },
  335. //开始时间选中事件
  336. startChange(form,e){
  337. if(new Date(e.target.value).getTime()>new Date(form.cycleEndTime).getTime()){
  338. uni.showToast({
  339. title: '结束时间不能小于开始时间',
  340. icon:"none",
  341. mask:true,
  342. duration: 2000
  343. });
  344. }else{
  345. form.cycleStartTime=e.target.value
  346. }
  347. },
  348. //结束时间选中事件
  349. endChange(form,e){
  350. if(new Date(form.cycleStartTime).getTime()>=new Date(e.target.value).getTime()){
  351. uni.showToast({
  352. title: '结束时间不能小于开始时间',
  353. icon:"none",
  354. mask:true,
  355. duration: 2000
  356. });
  357. }else{
  358. form.cycleEndTime=e.target.value
  359. }
  360. },
  361. //检查周期快捷
  362. tiemQuick(index){
  363. this.tiemQuickList[index].type = !this.tiemQuickList[index].type
  364. let _this = this;
  365. if (_this.tiemQuickList[index].type == true) {
  366. _this.tiemQuickList.forEach(function(item2) {
  367. if (item2.name == _this.tiemQuickList[index].name) {
  368. item2.type = true
  369. } else {
  370. item2.type = false
  371. }
  372. })
  373. //快捷本月-本季度-全年
  374. _this.timeSlotChange(_this.tiemQuickList[index].name)
  375. }else{
  376. console.log('取消选中')
  377. _this.form.cycleStartTime='';
  378. _this.form.cycleEndTime='';
  379. }
  380. },
  381. //检查范围
  382. scopeChange(e){
  383. let _this=this;
  384. uni.showModal({
  385. content: '重新选择会删除现有选择的实验室,是否重选?',
  386. cancelColor:"#999",
  387. confirmColor:"#0183FA",
  388. success: function (res) {
  389. if (res.confirm) {
  390. _this.scopeIndex = e.target.value;
  391. _this.form.checkRange=Number(e.target.value)+1;//检查范围
  392. _this.form.collegeIds ='';
  393. _this.form.collegeNum =0;
  394. _this.form.subIds ='';
  395. _this.form.subjectNum =0;
  396. if(e.target.value==1){//选择学院
  397. _this.conditionCollegeInfo();
  398. }else if(e.target.value==0){//全校
  399. _this.getAllSubNum();
  400. }
  401. }else if (res.cancel) {
  402. }
  403. }
  404. });
  405. },
  406. timeSlotChange (val) {
  407. let _this=this;
  408. let cycleStartTime, cycleEndTime;
  409. let now = new Date(); //当前日期
  410. let nowDayOfWeek = now.getDay(); //今天本周的第几天
  411. let nowDay = now.getDate(); //当前日
  412. let nowMonth = now.getMonth(); //当前月
  413. let nowYear = now.getFullYear(); //当前年
  414. let jd=Math.ceil((nowMonth + 1) / 3)
  415. switch (val) {
  416. case "本周":
  417. cycleStartTime = new Date(nowYear, nowMonth, nowDay - nowDayOfWeek)
  418. cycleEndTime = new Date(nowYear, nowMonth, nowDay + 6 - nowDayOfWeek)
  419. break;
  420. case "本月":
  421. cycleStartTime = new Date(nowYear, nowMonth, 1)
  422. cycleEndTime = new Date(nowYear, nowMonth + 1, 0)
  423. break;
  424. case "本季度":
  425. cycleStartTime = new Date(nowYear, (jd-1)*3, 1)
  426. cycleEndTime = new Date(nowYear, jd*3, 0)
  427. break
  428. case "全年":
  429. cycleStartTime = new Date(nowYear, 0, 1)
  430. cycleEndTime = new Date(nowYear, 11, 31)
  431. break
  432. }
  433. _this.form.cycleStartTime=_this.formatDateTime(cycleStartTime)
  434. _this.form.cycleEndTime=_this.formatDateTime(cycleEndTime)
  435. },
  436. // 中国标准时间 转换成 年月日
  437. formatDateTime (date) {
  438. var y = date.getFullYear();
  439. var m = date.getMonth() + 1;
  440. m = m < 10 ? ('0' + m) : m;
  441. var d = date.getDate();
  442. d = d < 10 ? ('0' + d) : d;
  443. var h = date.getHours();
  444. var minute = date.getMinutes();
  445. minute = minute < 10 ? ('0' + minute) : minute;
  446. // return y + '-' + m + '-' + d+' '+h+':'+minute;
  447. return y + '-' + m + '-' + d
  448. },
  449. //巡查组
  450. patrolChange(){
  451. this.form.tiemQuickList=this.tiemQuickList//检查周期快捷存储
  452. this.form.scopeIndex=this.scopeIndex//检查范围
  453. uni.navigateTo({
  454. url: '/pages_safetyExamine/patrolPlan/patrolPlanAddMember?form='+encodeURIComponent(JSON.stringify(this.form))+'&pageType=2'
  455. });
  456. },
  457. //选择学院或者实验室
  458. collegeOrLab(){
  459. console.log(this.scopeIndex)
  460. if(this.scopeIndex==1){//学院
  461. this.dialogVisible=true;
  462. }else if(this.scopeIndex==2){//实验室
  463. this.form.tiemQuickList=this.tiemQuickList//检查周期快捷存储
  464. this.form.scopeIndex=this.scopeIndex//检查范围
  465. uni.navigateTo({
  466. url: '/pages_safetyExamine/patrolPlan/patrolPlanAddLab?form='+encodeURIComponent(JSON.stringify(this.form))+'&pageType=2'
  467. });
  468. }
  469. },
  470. //选择学院弹窗关闭
  471. dialogClose(){
  472. this.dialogVisible=false;
  473. },
  474. //选择学院确定
  475. collegeConfirm(){
  476. let _this=this;
  477. this.dialogVisible=false;
  478. let list=[];
  479. let collegeIds=[];
  480. let subjectNum=0;
  481. _this.collegeList.forEach(function(item){
  482. if(item.type==true){
  483. list.push(item)
  484. collegeIds.push(item.deptId);
  485. subjectNum+=item.subNum;
  486. }
  487. })
  488. _this.form.collegeIds=collegeIds.join(',');
  489. _this.form.subjectNum=subjectNum;
  490. _this.form.collegeNum=list.length;
  491. },
  492. //学院选择
  493. collegeSelete(index){
  494. this.collegeList[index].type = !this.collegeList[index].type
  495. },
  496. //查询学院列表
  497. async conditionCollegeInfo(){
  498. let _this = this;
  499. const {data} = await conditionCollegeInfo();
  500. if(data.code == 200){
  501. data.data.forEach(function(item){
  502. item.type=false;
  503. })
  504. _this.collegeList=data.data;
  505. //检查管理
  506. for(let i=0;i<data.data.length;i++){
  507. _this.collegeArray.push(data.data[i].deptName)
  508. }
  509. }
  510. },
  511. //查询全校学院和实验室数量
  512. async getAllSubNum(){
  513. let _this = this;
  514. const {data} = await getAllSubNum();
  515. if(data.code == 200){
  516. this.form.collegeNum=data.data.collegeCount
  517. this.form.subjectNum=data.data.subCount
  518. }
  519. },
  520. //查询详情
  521. async checkPlanById(id){
  522. console.log('详情')
  523. let _this = this;
  524. const {data} = await checkPlanById({id:this.id});
  525. if(data.code == 200){
  526. this.form.id=data.data.id;
  527. this.form.title=data.data.title;
  528. this.form.checkType=data.data.checkType;
  529. this.form.checkTypeName=data.data.checkType==1?'校院巡查':'实验室自查';
  530. this.form.cycleStartTime=data.data.cycleStartTime;
  531. this.form.cycleEndTime=data.data.cycleEndTime;
  532. this.form.checkRange=data.data.checkRange;
  533. this.form.checkGroupId=data.data.checkGroupId;
  534. this.form.collegeIds=data.data.collegeIds;
  535. this.form.collegeNum=data.data.collegeNum;
  536. this.form.subIds=data.data.subIds;
  537. this.form.subjectNum=data.data.subjectNum;
  538. this.form.uploadDtoList=data.data.uploadDtoList;
  539. this.form.checkStatus=data.data.checkStatus;
  540. this.form.checkSchedule=data.data.checkSchedule;
  541. this.form.checkDemand=data.data.checkDemand;
  542. this.scopeIndex=Number(data.data.checkRange)-1;//检查范围
  543. this.$set(this.form,'checkMemberDtoList',data.data.checkMemberDtoList)
  544. //this.$set(this.form,'checkGroupName',data.data.groupName)
  545. // if(data.data.checkGroupId){//判断如果有巡查组id
  546. // this.checkGroupDetail(data.data.checkGroupId);
  547. // }
  548. }
  549. },
  550. //根据id查询巡查组员
  551. async checkGroupDetail(id){
  552. let _this = this;
  553. const {data} = await checkGroupDetail({id:id,selectEnable:'1'});
  554. if(data.code == 200){
  555. }
  556. },
  557. handleClick(item,doType){
  558. let self=this;
  559. if( doType=='subBtn'){//
  560. console.log(11)
  561. }else if(doType=='detail'){//详情
  562. uni.navigateTo({
  563. url: '/pages_safetyExamine/examineManage/examineDetail?id='+item.id+'&manageStatus='+item.manageStatus
  564. });
  565. }
  566. },
  567. //巡查计划-修改
  568. async submitForm(){
  569. let _this = this;
  570. const {data} = await checkPlanEdit(_this.form);
  571. if(data.code == 200){
  572. uni.showToast({
  573. title: '提交成功',
  574. icon:"none",
  575. mask:true,
  576. duration: 2000
  577. });
  578. uni.redirectTo({
  579. url: '/pages_safetyExamine/patrolPlan/patrolPlanList?pageType='+this.form.checkType
  580. });
  581. }
  582. },
  583. async getList(){
  584. let self = this;
  585. const {data} = await findByCheckPlanId(this.getData);
  586. if(data.code==200){
  587. this.total=data.data.total;
  588. this.dataList=[...this.dataList,...data.data.records]
  589. }
  590. },
  591. }
  592. }
  593. </script>
  594. <style lang="stylus" scoped>
  595. .examine{
  596. height:100%;
  597. display flex;
  598. // padding: 0 30rpx;
  599. // box-sizing: border-box;
  600. padding-bottom: 126rpx;
  601. box-sizing: border-box;
  602. .blue_color{
  603. color: #0183FA;
  604. border: 1rpx solid #0183FA;
  605. }
  606. .red_color{
  607. color: #FF4545;
  608. border: 1rpx solid #FF4545;
  609. }
  610. .green_color{
  611. color: #1FA50D;
  612. border: 1rpx solid #1FA50D;
  613. }
  614. /* 切换按钮 */
  615. .tabTitle{
  616. width:100%;
  617. height: 100rpx;
  618. background: #fff;
  619. display flex;
  620. justify-content: center;
  621. align-items: center;
  622. position: fixed;
  623. top: 0;
  624. z-index: 100;
  625. box-shadow: 0rpx 3rpx 8rpx 0rpx rgba(0,0,0,0.16);
  626. .tabTitle_li{
  627. position: relative;
  628. width:372rpx;
  629. text-align center;
  630. .tabTitle_text{
  631. display: inline-block;
  632. font-size: 30rpx;
  633. font-family: PingFang SC;
  634. font-weight: 500;
  635. color: #333333;
  636. line-height: 46rpx;
  637. position: relative;
  638. >text{
  639. position:absolute;
  640. min-width: 30rpx;
  641. min-height: 30rpx;
  642. border-radius:54%;
  643. background: #E80000;
  644. font-size: 18rpx;
  645. font-family: PingFang SC-Medium, PingFang SC;
  646. font-weight: 400;
  647. color: #FFFFFF;
  648. text-align: center;
  649. line-height: 30rpx;
  650. margin-left: 6rpx;
  651. padding:2rpx;
  652. box-sizing: border-box;
  653. }
  654. &.on{
  655. color:#0183FA;
  656. }
  657. }
  658. .tabTitle_across{
  659. width: 50rpx;
  660. height: 4rpx;
  661. background: #0183FA;
  662. border-radius: 2rpx;
  663. margin-left 162rpx;
  664. display none;
  665. &.on{
  666. display block;
  667. }
  668. }
  669. }
  670. .tabTitle_li:nth-of-type(1)::after{
  671. content: '';
  672. position: absolute;
  673. top: 0rpx;
  674. right: 0rpx;
  675. width: 1rpx;
  676. height: 50rpx;
  677. background: #E0E0E0;
  678. }
  679. }
  680. .info-max-box{
  681. flex: 1;
  682. overflow: scroll;
  683. padding: 120rpx 0rpx 0;
  684. box-sizing: border-box;
  685. }
  686. /* 检查计划---------------------------------------------------------------------------------- */
  687. .delay_inspect{
  688. width: 690rpx;
  689. height: 100rpx;
  690. background: #FFFFFF;
  691. border-radius: 20rpx;
  692. display: flex;
  693. justify-content: space-between;
  694. align-items: center;
  695. padding: 0 30rpx;
  696. box-sizing: border-box;
  697. .delay_inspect_l{
  698. font-size: 28rpx;
  699. font-family: PingFang SC-Medium, PingFang SC;
  700. font-weight: 400;
  701. color: #333333;
  702. line-height: 100rpx;
  703. >text{
  704. color: #0183FA;
  705. }
  706. }
  707. .delay_inspect_r{
  708. font-size: 26rpx;
  709. font-family: PingFang SC-Medium, PingFang SC;
  710. font-weight: 400;
  711. color: #0183FA;
  712. line-height: 40rpx;
  713. width: 120rpx;
  714. height: 40rpx;
  715. border-radius: 6rpx;
  716. text-align: center;
  717. border: 1rpx solid #0183FA;
  718. }
  719. .delay_inspect_r_tow{
  720. font-size: 26rpx;
  721. font-family: PingFang SC-Medium, PingFang SC;
  722. font-weight: 400;
  723. color: #FF4545;
  724. line-height: 40rpx;
  725. width: 120rpx;
  726. height: 40rpx;
  727. border-radius: 6rpx;
  728. text-align: center;
  729. border: 1rpx solid rgba(255,69,69,0.898);
  730. }
  731. }
  732. .basics{
  733. width: 690rpx;
  734. background: #FFFFFF;
  735. border-radius: 20rpx;
  736. margin-top: 20rpx;
  737. padding: 60rpx 26rpx 32rpx;
  738. box-sizing: border-box;
  739. .title{
  740. .title_t{
  741. font-size: 30rpx;
  742. font-family: PingFang SC-Medium, PingFang SC;
  743. font-weight: 400;
  744. color: #333333;
  745. line-height: 42rpx;
  746. margin-bottom: 12rpx;
  747. }
  748. .title_b{
  749. width: 636rpx;
  750. height: 150rpx;
  751. border-radius: 10rpx;
  752. opacity: 1;
  753. border: 1rpx solid #E0E0E0;
  754. padding: 26rpx 23rpx;
  755. box-sizing: border-box;
  756. }
  757. }
  758. .type{
  759. display: flex;
  760. justify-content: flex-start;
  761. align-items: center;
  762. margin-top: 20rpx;
  763. .type_l{
  764. width: 146rpx;
  765. font-size: 30rpx;
  766. font-family: PingFang SC-Medium, PingFang SC;
  767. font-weight: 400;
  768. color: #333333;
  769. line-height: 42rpx;
  770. text-align: left;
  771. }
  772. .type_r{
  773. width: 490rpx;
  774. height: 80rpx;
  775. border-radius: 10rpx;
  776. padding-left:22rpx;
  777. box-sizing: border-box;
  778. background: #F5F5F5;
  779. }
  780. }
  781. .period{
  782. display: flex;
  783. justify-content: flex-start;
  784. align-items: center;
  785. margin-top: 26rpx;
  786. .period_l{
  787. width: 146rpx;
  788. font-size: 30rpx;
  789. font-family: PingFang SC-Medium, PingFang SC;
  790. font-weight: 400;
  791. color: #333333;
  792. line-height: 42rpx;
  793. text-align: left;
  794. }
  795. .period_r{
  796. width: 490rpx;
  797. height: 80rpx;
  798. border-radius: 10rpx;
  799. border: 1rpx solid #E0E0E0;
  800. display: flex;
  801. justify-content: flex-start;
  802. align-items: center;
  803. .picker-text{
  804. font-size: 30rpx;
  805. font-family: PingFang SC-Medium, PingFang SC;
  806. font-weight: 400;
  807. color: #999999;
  808. line-height: 80rpx;
  809. width: 230rpx;
  810. text-align: center;
  811. }
  812. .picker-text2{
  813. font-size: 30rpx;
  814. font-family: PingFang SC-Medium, PingFang SC;
  815. font-weight: 400;
  816. color: #999999;
  817. line-height: 80rpx;
  818. width: 230rpx;
  819. text-align: center;
  820. }
  821. }
  822. }
  823. .tiem_quick{
  824. margin-left: 146rpx;
  825. display: flex;
  826. justify-content: flex-start;
  827. margin-top: 20rpx;
  828. >view{
  829. width: 130rpx;
  830. height: 80rpx;
  831. opacity: 1;
  832. border: 1rpx solid #E0E0E0;
  833. font-size: 30rpx;
  834. font-family: PingFang SC-Medium, PingFang SC;
  835. font-weight: 400;
  836. line-height: 80rpx;
  837. text-align: center;
  838. }
  839. >view:nth-of-type(1){
  840. border-radius: 10rpx 0rpx 0rpx 10rpx;
  841. }
  842. >view:nth-of-type(3){
  843. border-radius: 0rpx 10rpx 10rpx 0rpx;
  844. }
  845. .tiem_quick_a{
  846. background: #0183FA;
  847. color: #FFFFFF;
  848. }
  849. .tiem_quick_b{
  850. background: #F5F5F5;
  851. color: #333333;
  852. }
  853. }
  854. .scope{
  855. display: flex;
  856. justify-content: flex-start;
  857. align-items: center;
  858. margin-top: 26rpx;
  859. .scope_l{
  860. width: 146rpx;
  861. font-size: 30rpx;
  862. font-family: PingFang SC-Medium, PingFang SC;
  863. font-weight: 400;
  864. color: #333333;
  865. line-height: 42rpx;
  866. text-align: left;
  867. }
  868. .scope_r{
  869. flex: 1;
  870. .scope_r_n{
  871. width: 490rpx;
  872. height: 80rpx;
  873. border-radius: 10rpx;
  874. border: 1rpx solid #E0E0E0;
  875. display: flex;
  876. justify-content: flex-start;
  877. align-items: center;
  878. >view{
  879. flex:1;
  880. line-height:80rpx;
  881. margin-left:20rpx;
  882. color: #999999;
  883. font-size:28rpx;
  884. }
  885. >img{
  886. width: 14rpx;
  887. height: 8rpx;
  888. margin-right: 30rpx;
  889. }
  890. }
  891. }
  892. }
  893. .scope_btn{
  894. display: inline-block;
  895. background: #0183FA;
  896. border-radius: 10rpx;
  897. font-size: 30rpx;
  898. font-family: PingFang SC-Medium, PingFang SC;
  899. font-weight: 400;
  900. color: #FFFFFF;
  901. line-height: 80rpx;
  902. text-align: center;
  903. padding: 0 16rpx;
  904. box-sizing: border-box;
  905. margin-top: 40rpx;
  906. margin-left: 146rpx;
  907. }
  908. .scope_text{
  909. margin-left: 146rpx;
  910. font-size: 30rpx;
  911. font-family: PingFang SC-Medium, PingFang SC;
  912. font-weight: 400;
  913. color: #333333;
  914. margin-top: 32rpx;
  915. line-height: 42rpx;
  916. >text{
  917. color: #0183FA;
  918. }
  919. }
  920. }
  921. .attachment{
  922. width: 690rpx;
  923. background: #FFFFFF;
  924. border-radius: 20rpx;
  925. margin-top: 20rpx;
  926. padding-bottom: 32rpx;
  927. box-sizing: border-box;
  928. .attachment_t{
  929. border-bottom: 1rpx solid #D8D8D8;
  930. >text:nth-of-type(1){
  931. font-size: 30rpx;
  932. font-family: PingFang SC-Medium, PingFang SC;
  933. font-weight: 400;
  934. color: #333333;
  935. line-height: 110rpx;
  936. margin-left: 28rpx;
  937. }
  938. >text:nth-of-type(2){
  939. font-size: 30rpx;
  940. font-family: PingFang SC-Medium, PingFang SC;
  941. font-weight: 400;
  942. color: #999999;
  943. line-height: 110rpx;
  944. margin-left: 24rpx;
  945. }
  946. }
  947. .attachment_li{
  948. height: 40rpx;
  949. display: flex;
  950. justify-content: flex-start;
  951. align-items: center;
  952. margin-top: 32rpx;
  953. >img{
  954. width: 30rpx;
  955. height: 26rpx;
  956. margin-right: 20rpx;
  957. margin-left: 50rpx;
  958. }
  959. >text{
  960. flex: 1;
  961. font-size: 28rpx;
  962. font-family: PingFang SC-Medium, PingFang SC;
  963. font-weight: 400;
  964. color: #0183FA;
  965. line-height: 40rpx;
  966. white-space: nowrap;
  967. overflow: hidden;
  968. text-overflow: ellipsis;
  969. }
  970. .attachment_li_del{
  971. width: 30rpx;
  972. height: 30rpx;
  973. }
  974. }
  975. }
  976. .patrol_group{
  977. width: 690rpx;
  978. background: #FFFFFF;
  979. border-radius: 20rpx;
  980. margin-top: 20rpx;
  981. padding: 40rpx 30rpx 64rpx;
  982. box-sizing: border-box;
  983. .patrol{
  984. display: flex;
  985. justify-content: flex-start;
  986. align-items: center;
  987. margin-top: 26rpx;
  988. .patrol_l{
  989. width: 146rpx;
  990. font-size: 30rpx;
  991. font-family: PingFang SC-Medium, PingFang SC;
  992. font-weight: 400;
  993. color: #333333;
  994. line-height: 42rpx;
  995. text-align: left;
  996. }
  997. .patrol_r_n{
  998. width: 490rpx;
  999. height: 80rpx;
  1000. border-radius: 10rpx;
  1001. border: 1rpx solid #E0E0E0;
  1002. display: flex;
  1003. justify-content: flex-start;
  1004. align-items: center;
  1005. >view{
  1006. flex:1;
  1007. line-height:80rpx;
  1008. margin-left:20rpx;
  1009. color: #999999;
  1010. font-size:28rpx;
  1011. }
  1012. >img{
  1013. width: 14rpx;
  1014. height: 8rpx;
  1015. margin-right: 30rpx;
  1016. }
  1017. }
  1018. }
  1019. .list{
  1020. margin-top: 42rpx;
  1021. .list_title{
  1022. display: flex;
  1023. justify-content: flex-start;
  1024. align-items: center;
  1025. height: 80rpx;
  1026. background: #F5F5F5;
  1027. border-radius: 10rpx 10rpx 0rpx 0rpx;
  1028. font-size: 30rpx;
  1029. font-family: PingFang SC-Medium, PingFang SC;
  1030. font-weight: 400;
  1031. color: #333333;
  1032. line-height: 80rpx;
  1033. >img{
  1034. width: 30rpx;
  1035. height: 30rpx;
  1036. margin: 0 20rpx;
  1037. }
  1038. }
  1039. .list_header{
  1040. display: flex;
  1041. justify-content: flex-start;
  1042. >text{
  1043. flex: 1;
  1044. height: 80rpx;
  1045. background: #F5F5F5;
  1046. font-size: 30rpx;
  1047. font-family: PingFang SC-Medium, PingFang SC;
  1048. font-weight: 400;
  1049. color: #333333;
  1050. line-height: 80rpx;
  1051. text-align: center;
  1052. border: 1rpx solid #E0E0E0;
  1053. }
  1054. >text:nth-of-type(1){
  1055. border-right: none;
  1056. }
  1057. }
  1058. .list_li{
  1059. display: flex;
  1060. justify-content: flex-start;
  1061. >text{
  1062. flex: 1;
  1063. height: 80rpx;
  1064. font-size: 30rpx;
  1065. font-family: PingFang SC-Medium, PingFang SC;
  1066. font-weight: 400;
  1067. color: #333333;
  1068. line-height: 80rpx;
  1069. text-align: center;
  1070. border: 1rpx solid #E0E0E0;
  1071. }
  1072. >text:nth-of-type(1){
  1073. border-right: none;
  1074. border-top: none;
  1075. }
  1076. >text:nth-of-type(2){
  1077. border-top: none;
  1078. }
  1079. }
  1080. .list_bottom{
  1081. flex: 1;
  1082. height: 80rpx;
  1083. font-size: 30rpx;
  1084. font-family: PingFang SC-Medium, PingFang SC;
  1085. font-weight: 400;
  1086. color: #999999;
  1087. line-height: 80rpx;
  1088. text-align: center;
  1089. border: 1rpx solid #E0E0E0;
  1090. border-top: none;
  1091. }
  1092. }
  1093. }
  1094. /* 检查管理----------------------------------------------------------------------------------- */
  1095. /* 切换按钮 */
  1096. .header{
  1097. width:100%;
  1098. position: fixed;
  1099. top: 100rpx;
  1100. z-index: 100;
  1101. .line{
  1102. width: 100%;
  1103. height: 20rpx;
  1104. background: #F5F5F5;
  1105. }
  1106. .tabTitle_tow{
  1107. width:100%;
  1108. height: 100rpx;
  1109. background: #fff;
  1110. display flex;
  1111. justify-content: flex-start;
  1112. align-items: center;
  1113. border-bottom: 1rpx solid #E0E0E0;
  1114. .tabTitle_tow_li{
  1115. position: relative;
  1116. width:146rpx;
  1117. text-align center;
  1118. .tabTitle_tow_text{
  1119. display: inline-block;
  1120. font-size: 30rpx;
  1121. font-family: PingFang SC;
  1122. font-weight: 500;
  1123. color: #333333;
  1124. line-height: 46rpx;
  1125. position: relative;
  1126. &.on{
  1127. color:#0183FA;
  1128. }
  1129. }
  1130. .tabTitle_tow_across{
  1131. width: 50rpx;
  1132. height: 4rpx;
  1133. background: #0183FA;
  1134. border-radius: 2rpx;
  1135. margin-left: 46rpx;
  1136. display none;
  1137. &.on{
  1138. display block;
  1139. }
  1140. }
  1141. }
  1142. }
  1143. .lab_title{
  1144. width: 750rpx;
  1145. height: 100rpx;
  1146. background: #FFFFFF;
  1147. padding: 20rpx 30rpx;
  1148. box-sizing: border-box;
  1149. display: flex;
  1150. justify-content: flex-start;
  1151. .lab_title_l{
  1152. width: 250rpx;
  1153. height: 60rpx;
  1154. margin-right: 20rpx;
  1155. .lab_title_l_n{
  1156. width: 250rpx;
  1157. height: 60rpx;
  1158. border-radius: 10rpx;
  1159. border: 1rpx solid #E0E0E0;
  1160. display: flex;
  1161. justify-content: flex-start;
  1162. align-items: center;
  1163. >view{
  1164. flex:1;
  1165. line-height:60rpx;
  1166. margin-left:20rpx;
  1167. color: #999999;
  1168. font-size:28rpx;
  1169. white-space: nowrap;
  1170. overflow: hidden;
  1171. text-overflow: ellipsis;
  1172. }
  1173. >img{
  1174. width: 14rpx;
  1175. height: 8rpx;
  1176. margin-right: 30rpx;
  1177. }
  1178. }
  1179. }
  1180. .lab_title_r{
  1181. width: 420rpx;
  1182. height: 60rpx;
  1183. position:relative;
  1184. border-radius: 10rpx;
  1185. border: 1rpx solid #E0E0E0;
  1186. .lab_title_r_btn{
  1187. width: 60rpx;
  1188. height: 60rpx
  1189. position: absolute;
  1190. top: 0rpx;
  1191. left:0rpx;
  1192. >img{
  1193. width: 20rpx;
  1194. height: 20rpx;
  1195. position: absolute;
  1196. top: 20rpx;
  1197. left: 24rpx;
  1198. }
  1199. }
  1200. >input{
  1201. width: 274rpx;
  1202. height: 60rpx;
  1203. position: absolute;
  1204. top: 0rpx;
  1205. left: 60rpx;
  1206. }
  1207. .clear{
  1208. width: 60rpx;
  1209. height: 60rpx;
  1210. position: absolute;
  1211. top: 0rpx;
  1212. right:20rpx;
  1213. font-size: 30rpx;
  1214. font-family: PingFang SC-Medium, PingFang SC;
  1215. font-weight: 400;
  1216. color: #0183FA;
  1217. line-height: 60rpx;
  1218. }
  1219. }
  1220. }
  1221. }
  1222. .list_three{
  1223. padding: 0 30rpx;
  1224. box-sizing: border-box;
  1225. margin-top: 240rpx;
  1226. .list_three_li{
  1227. position: relative;
  1228. width: 690rpx;
  1229. height:auto;
  1230. background: #fff;
  1231. border-radius: 10rpx;
  1232. overflow: hidden;
  1233. margin-bottom: 20rpx;
  1234. .list_three_li_t{
  1235. width: 100%;
  1236. position: absolute;
  1237. left: 0;
  1238. top: 0;
  1239. .list_three_li_t_l{
  1240. >img{
  1241. width: 70rpx;
  1242. height: 70rpx;
  1243. }
  1244. >text{
  1245. position: absolute;
  1246. left: -15rpx;
  1247. top: 76rpx;
  1248. display: inline-block;
  1249. width: 30rpx;
  1250. height: 30rpx;
  1251. background: #F5F5F5;
  1252. border-radius: 15rpx;
  1253. }
  1254. }
  1255. .list_three_li_t_c{
  1256. width: 630rpx;
  1257. height: 110rpx;
  1258. position: absolute;
  1259. left: 30rpx;
  1260. top: 0;
  1261. font-size: 30rpx;
  1262. font-family: PingFang SC-Medium, PingFang SC;
  1263. font-weight: 400;
  1264. color: #333333;
  1265. line-height: 110rpx;
  1266. border-bottom: 1rpx dashed #D8D8D8;
  1267. overflow: hidden;
  1268. text-overflow:ellipsis;
  1269. white-space: nowrap;
  1270. padding-right: 120rpx;
  1271. box-sizing: border-box;
  1272. }
  1273. .list_three_li_t_c2{
  1274. position: absolute;
  1275. right: 20rpx;
  1276. top: 38rpx;
  1277. width: 120rpx;
  1278. height: 40rpx;
  1279. font-size: 28rpx;
  1280. font-family: PingFang SC-Medium, PingFang SC;
  1281. font-weight: 400;
  1282. color: #FF5757;
  1283. line-height: 40rpx;
  1284. border: 1rpx solid #FF5757;
  1285. border-radius: 6rpx;
  1286. text-align: center;
  1287. }
  1288. .list_three_li_t_r{
  1289. position: absolute;
  1290. right:-15rpx;
  1291. top: 76rpx;
  1292. width: 30rpx;
  1293. height: 30rpx;
  1294. background:#F5F5F5;
  1295. border-radius: 15rpx;
  1296. }
  1297. }
  1298. .list_three_li_m{
  1299. // position: absolute;
  1300. // top: 110rpx;
  1301. // left: 0;
  1302. width: 690rpx;
  1303. height: 158rpx;
  1304. padding-left: 30rpx;
  1305. box-sizing: border-box;
  1306. margin-top: 110rpx;
  1307. overflow: hidden;
  1308. .list_three_li_m_t{
  1309. font-size: 28rpx;
  1310. font-family: PingFang SC-Medium, PingFang SC;
  1311. font-weight: 400;
  1312. color: #666666;
  1313. line-height: 40rpx;
  1314. margin-top:22rpx;
  1315. }
  1316. .list_three_li_m_b{
  1317. margin-top:26rpx;
  1318. display: flex;
  1319. justify-content: flex-start;
  1320. >text:nth-of-type(1){
  1321. font-size: 26rpx;
  1322. font-family: PingFang SC-Medium, PingFang SC;
  1323. font-weight: 400;
  1324. line-height: 40rpx;
  1325. border-radius: 6rpx;
  1326. padding: 0 20rpx;
  1327. margin-right: 14rpx;
  1328. }
  1329. >text:nth-of-type(2){
  1330. font-size: 26rpx;
  1331. font-family: PingFang SC-Medium, PingFang SC;
  1332. font-weight: 400;
  1333. color: #0183FA;
  1334. line-height: 40rpx;
  1335. padding: 0 8rpx;
  1336. border-radius: 6rpx;
  1337. background: rgba(1,131,250,0.1);
  1338. margin-right: 24rpx;
  1339. }
  1340. >text:nth-of-type(3){
  1341. display: inline-block;
  1342. width: 350rpx;
  1343. font-size: 26rpx;
  1344. font-family: PingFang SC-Medium, PingFang SC;
  1345. font-weight: 400;
  1346. color: #333333;
  1347. line-height: 26rpx;
  1348. overflow: hidden;
  1349. text-overflow:ellipsis;
  1350. white-space: nowrap;
  1351. }
  1352. }
  1353. }
  1354. .list_three_li_b{
  1355. height: 80rpx;
  1356. width: 100%;
  1357. // position: absolute;
  1358. // top: 278rpx;
  1359. // left: 0;
  1360. display: flex;
  1361. justify-content: flex-start;
  1362. align-items: center;
  1363. border-top: 1rpx solid #E0E0E0;
  1364. >img{
  1365. width: 24rpx;
  1366. height: 30rpx;
  1367. margin-right: 26rpx;
  1368. margin-left: 30rpx;
  1369. }
  1370. >text:nth-of-type(1){
  1371. font-size: 28rpx;
  1372. font-family: PingFang SC-Medium, PingFang SC;
  1373. font-weight: 400;
  1374. color: #333333;
  1375. line-height: 28rpx;
  1376. }
  1377. >text:nth-of-type(2){
  1378. flex:1;
  1379. font-size: 28rpx;
  1380. font-family: PingFang SC-Medium, PingFang SC;
  1381. font-weight: 400;
  1382. color: #0183FA;
  1383. line-height: 28rpx;
  1384. white-space: nowrap;
  1385. overflow: hidden;
  1386. text-overflow: ellipsis;
  1387. }
  1388. }
  1389. }
  1390. }
  1391. .bottom_btn{
  1392. position: fixed;
  1393. bottom: 26rpx;
  1394. left: 30rpx;
  1395. font-size: 30rpx;
  1396. font-family: PingFang SC-Medium, PingFang SC;
  1397. font-weight: 400;
  1398. color: #FFFFFF;
  1399. line-height: 90rpx;
  1400. width: 690rpx;
  1401. height: 90rpx;
  1402. background: #0183FA;
  1403. border-radius: 20rpx;
  1404. text-align: center;
  1405. }
  1406. /* 指纹采集 */
  1407. .shade {
  1408. height: 100%;
  1409. width: 100%;
  1410. position: fixed;
  1411. display: flex;
  1412. flex-direction: column;
  1413. z-index: 10;
  1414. background: rgba(0, 0, 0, 0.2);
  1415. .null-box {
  1416. flex: 1;
  1417. }
  1418. .shade_n {
  1419. position: absolute;
  1420. bottom: 0;
  1421. left: 0;
  1422. width: 750rpx;
  1423. height: 560rpx;
  1424. background: #FFFFFF;
  1425. border-radius: 20rpx 20rpx 0rpx 0rpx;
  1426. .shade_n_title{
  1427. height: 100rpx;
  1428. padding: 0 30rpx;
  1429. box-sizing: border-box;
  1430. display: flex;
  1431. justify-content:space-between;
  1432. border-bottom: 1rpx solid #E0E0E0;
  1433. >text:nth-of-type(1){
  1434. font-size: 30rpx;
  1435. font-family: PingFang SC-Medium, PingFang SC;
  1436. font-weight: 400;
  1437. color: #333333;
  1438. line-height: 100rpx;
  1439. }
  1440. >text:nth-of-type(2){
  1441. font-size: 30rpx;
  1442. font-family: PingFang SC-Medium, PingFang SC;
  1443. font-weight: 400;
  1444. color: #0183FA;
  1445. line-height: 100rpx;
  1446. }
  1447. }
  1448. .shade_n_b{
  1449. height: 460rpx;
  1450. padding: 0 30rpx;
  1451. box-sizing: border-box;
  1452. overflow-y: auto;
  1453. .shade_n_b_li{
  1454. display: flex;
  1455. justify-content:space-between;
  1456. align-items: center;
  1457. height: 80rpx;
  1458. border-bottom: 1rpx solid #E0E0E0;
  1459. >text{
  1460. font-size: 28rpx;
  1461. font-family: PingFang SC-Medium, PingFang SC;
  1462. font-weight: 400;
  1463. line-height: 80rpx;
  1464. overflow: hidden;
  1465. text-overflow:ellipsis;
  1466. white-space: nowrap;
  1467. }
  1468. >img{
  1469. width: 24rpx;
  1470. height: 16rpx;
  1471. margin-right: 14rpx;
  1472. }
  1473. }
  1474. .color_A{
  1475. color: #333333;
  1476. }
  1477. .color_B{
  1478. color: #0183FA;
  1479. }
  1480. }
  1481. }
  1482. }
  1483. }
  1484. </style>