patrolPlanEdit.vue 36 KB

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