patrolPlanAdd.vue 25 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000
  1. <!-- 安全检查-发起巡查计划 -->
  2. <template>
  3. <view class="examine">
  4. <scroll-view scroll-y @scrolltolower="scrollGet" class="info-max-box">
  5. <view class="basics">
  6. <view class="title">
  7. <view class="title_t">计划标题</view>
  8. <textarea class="title_b" type="text" v-model="form.title" maxlength="200" placeholder="请输入检查计划标题" placeholder-style="color:#999999;font-size:30rpx;"></textarea>
  9. </view>
  10. <view class="type">
  11. <view class="type_l">检查组织</view>
  12. <input class="type_r" type="text" v-model="form.checkTypeName" placeholder="" disabled maxlength="20">
  13. </view>
  14. <view class="period">
  15. <view class="period_l">计划周期</view>
  16. <view class="period_r">
  17. <picker mode="date" @change="startChange(form,$event)">
  18. <input class="picker-text" disabled type="text" v-model="form.cycleStartTime" placeholder="开始时间">
  19. </picker>
  20. <view>至</view>
  21. <picker mode="date" @change="endChange(form,$event)">
  22. <input class="picker-text2" disabled type="text" v-model="form.cycleEndTime" placeholder="结束时间">
  23. </picker>
  24. </view>
  25. </view>
  26. <view class="tiem_quick">
  27. <view @click="tiemQuick(index)" :class="item.type?'tiem_quick_a':'tiem_quick_b'" v-for="(item,index) in tiemQuickList">{{item.name}}</view>
  28. </view>
  29. <view class="scope">
  30. <view class="scope_l">检查范围</view>
  31. <picker @change="scopeChange" :value="scopeIndex" :range="scopeArray" class="scope_r">
  32. <view class="scope_r_n">
  33. <view>{{form.checkRange?(form.checkRange==1?'全校':(form.checkRange==2?'学院':'实验室')):'选择检查范围'}}</view>
  34. <img src="@/pages_safetyExamine/images/icon_06.png">
  35. </view>
  36. </picker>
  37. </view>
  38. <view class="scope_btn" v-if="scopeIndex==1 || scopeIndex==2" @click="collegeOrLab()">{{scopeIndex==1?'选择学院':'选择实验室'}}</view>
  39. <view class="scope_text" v-if="scopeIndex==0 || scopeIndex==1">已选择<text>{{form.collegeNum}}</text>个学院,共<text>{{form.subjectNum}}</text>间实验室</view>
  40. <view class="scope_text" v-if="scopeIndex==2">已选择<text>{{form.subjectNum}}</text>间实验室</view>
  41. <view class="scope">
  42. <view class="scope_l">检查类型</view>
  43. <picker @change="categoryChange" :value="categoryIndex" :range="categoryArray" class="scope_r">
  44. <view class="scope_r_n">
  45. <view>{{form.checkCategory==1?'综合检查':(form.checkCategory==2?'专项检查':'请选择检查类型')}}</view>
  46. <img src="@/pages_safetyExamine/images/icon_06.png">
  47. </view>
  48. </picker>
  49. </view>
  50. <view class="content" v-if="form.checkCategory==2">
  51. <view class="content_l">检查内容</view>
  52. <view class="content_r">
  53. <view class="content_r_l" @click="clickContent()">选择检查内容</view>
  54. <view class="content_r_r">已选择<text>{{form.hazardNum}}</text>种</view>
  55. </view>
  56. </view>
  57. <view class="title">
  58. <view class="title_t">检查要求</view>
  59. <textarea class="title_b" type="text" v-model="form.checkDemand" maxlength="100" placeholder="请输入检查要求" placeholder-style="color:#999999;font-size:30rpx;"></textarea>
  60. </view>
  61. </view>
  62. <view class="patrol_group" v-if="form.checkType==1">
  63. <view class="patrol">
  64. <view class="patrol_l">巡查组</view>
  65. <view class="patrol_r_n" @click="patrolChange">
  66. <view>{{form.checkGroupName?form.checkGroupName:'请选择巡查组'}}</view>
  67. <img src="@/pages_safetyExamine/images/icon_06.png">
  68. </view>
  69. </view>
  70. <view class="list">
  71. <view class="list_title"><img src="@/pages_safetyExamine/images/icon_jcjh_cy.png">成员</view>
  72. <view class="list_header"><text>工号</text><text>姓名</text></view>
  73. <view class="list_li" v-for="(item,index) in form.checkMemberDtoList"><text>{{item.jobNum}}</text><text>{{item.name}}</text></view>
  74. <view class="list_bottom" v-if="form.checkMemberDtoList.length==0">无数据</view>
  75. </view>
  76. </view>
  77. </scroll-view>
  78. <view class="bottom_btn" @click="submitForm()">保存</view>
  79. <!-- 选择学院-->
  80. <view class="shade" v-if="dialogVisible">
  81. <view class="null-box" @click="dialogClose()"></view>
  82. <view class="shade_n">
  83. <view class="shade_n_title"><text>选择学院</text><text @click="collegeConfirm">确定</text></view>
  84. <view class="shade_n_b">
  85. <view class="shade_n_b_li" v-for="(item,index) in collegeList" :key="index" @click="collegeSelete(index)">
  86. <text :class="item.type?'color_B':'color_A'">{{item.deptName}}</text>
  87. <img v-if="item.type" src="@/pages_safetyExamine/images/icon_xzwt_xz.png">
  88. </view>
  89. </view>
  90. </view>
  91. </view>
  92. </view>
  93. </template>
  94. <script>
  95. import { config } from '@/api/request/config.js'
  96. import { checkPlanAdd,conditionCollegeInfo,getAllSubNum,isSCollege} from '@/api/index.js'
  97. export default {
  98. name: "rectifyList",
  99. components: {
  100. },
  101. data() {
  102. return {
  103. pageType:0,
  104. //列表请求参数
  105. getData:{
  106. pageNum:1,
  107. pageSize:20,
  108. },
  109. form:{
  110. title:'',
  111. checkType:'1',//1校院巡查 2实验室自查
  112. checkTypeName:'校院巡查',//1校院巡查 2实验室自查
  113. cycleStartTime:'',
  114. cycleEndTime:'',
  115. checkRange:'',//检查范围 1全校 2学院 3实验室
  116. checkLevel:'',//巡查组层级
  117. seleteListMember:[],//临时存储选中巡查组
  118. checkMemberDtoList:[],//巡查组成员
  119. collegeIds:'',//学院id组
  120. collegeNum:0,//学院数量
  121. subIds:'',//实验室id组
  122. subjectNum:0,//实验室数量
  123. hazardNum:0,//检查设备数量
  124. checkDemand:'',//检查要求
  125. tiemQuickList:[],
  126. scopeIndex:'',//0 全校 1学院 2实验室
  127. seleteListLab:[],
  128. seleteListDevice:[],
  129. groupDataType:'',//巡查组状态 院级/校级
  130. checkCategory:'',//检查类型 1综合检查 2专项检查
  131. },
  132. tiemQuickList:[{name:'本月',type:false},{name:'本季度',type:false},{name:'全年',type:false}],
  133. scopeIndex:0,
  134. scopeArray:['全校','学院','实验室'],
  135. categoryIndex:0,
  136. categoryArray:['综合检查','专项检查'],
  137. dialogVisible:false,
  138. collegeList:[]
  139. }
  140. },
  141. onLoad(option) {
  142. if(option.pageType){
  143. if(option.pageType==1){//校院巡查
  144. this.form.checkType=option.pageType;
  145. this.form.checkTypeName='校院巡查';
  146. uni.setNavigationBarTitle({
  147. title:'发起巡查计划'
  148. })
  149. }else if(option.pageType==2){//实验室自查
  150. this.form.checkType=option.pageType;
  151. this.form.checkTypeName='实验室自查';
  152. uni.setNavigationBarTitle({
  153. title:'发起自查计划'
  154. })
  155. }
  156. }
  157. },
  158. onShow(form) {
  159. if(form){
  160. this.form=JSON.parse(decodeURIComponent(form));
  161. this.tiemQuickList=this.form.tiemQuickList//时间快捷
  162. this.scopeIndex=this.form.scopeIndex//检查范围
  163. }
  164. },
  165. mounted(){
  166. this.isSCollege();
  167. },
  168. methods: {
  169. //滚动事件
  170. scrollGet(){
  171. },
  172. //顶部tab点击
  173. tabClick(index) {
  174. this.curTab = index;
  175. },
  176. //开始时间选中事件
  177. startChange(form,e){
  178. if(new Date(e.target.value).getTime()>new Date(form.cycleEndTime).getTime()){
  179. uni.showToast({
  180. title: '结束时间不能小于开始时间',
  181. icon:"none",
  182. mask:true,
  183. duration: 2000
  184. });
  185. }else{
  186. form.cycleStartTime=e.target.value
  187. this.tiemQuickList.forEach(function(item){
  188. item.type=false;
  189. })
  190. }
  191. },
  192. //结束时间选中事件
  193. endChange(form,e){
  194. if(new Date(form.cycleStartTime).getTime()>new Date(e.target.value).getTime()){
  195. uni.showToast({
  196. title: '结束时间不能小于开始时间',
  197. icon:"none",
  198. mask:true,
  199. duration: 2000
  200. });
  201. }else{
  202. form.cycleEndTime=e.target.value
  203. this.tiemQuickList.forEach(function(item){
  204. item.type=false;
  205. })
  206. }
  207. },
  208. //检查周期快捷
  209. tiemQuick(index){
  210. this.tiemQuickList[index].type = !this.tiemQuickList[index].type
  211. let _this = this;
  212. if (_this.tiemQuickList[index].type == true) {
  213. _this.tiemQuickList.forEach(function(item2) {
  214. if (item2.name == _this.tiemQuickList[index].name) {
  215. item2.type = true
  216. } else {
  217. item2.type = false
  218. }
  219. })
  220. //快捷本月-本季度-全年
  221. _this.timeSlotChange(_this.tiemQuickList[index].name)
  222. }else{
  223. console.log('取消选中')
  224. _this.form.cycleStartTime='';
  225. _this.form.cycleEndTime='';
  226. }
  227. },
  228. //查询当前用户是否是院级
  229. async isSCollege(){
  230. let _this = this;
  231. const {data} = await isSCollege();
  232. if(data.code == 200){
  233. if(data.data.userFlg){
  234. // 院级
  235. this.$set(this,'scopeArray',['学院','实验室']);
  236. this.form.groupDataType=2;
  237. }else{
  238. // 校级
  239. this.$set(this,'scopeArray',['全校','学院','实验室']);
  240. this.form.groupDataType=0;
  241. }
  242. }
  243. },
  244. //检查类型
  245. categoryChange(e){
  246. let _this=this;
  247. if(e.target.value==0){
  248. this.form.checkCategory=1
  249. }else if(e.target.value==1){
  250. this.form.checkCategory=2
  251. }
  252. },
  253. //检查内容
  254. clickContent(){
  255. if(!this.form.collegeNum && !this.form.subjectNum){
  256. uni.showToast({
  257. title: '请先选择检查范围',
  258. icon:"none",
  259. mask:true,
  260. duration: 2000
  261. });
  262. return;
  263. }
  264. this.form.tiemQuickList=this.tiemQuickList//检查周期快捷存储
  265. this.form.scopeIndex=this.scopeIndex//检查范围
  266. uni.navigateTo({
  267. url: '/pages_safetyExamine/patrolPlan/patrolPlanAddContent?form='+encodeURIComponent(JSON.stringify(this.form))+'&pageType=1'
  268. });
  269. },
  270. //检查范围
  271. scopeChange(e){
  272. let _this=this;
  273. if(this.scopeArray[e.target.value]=='全校'){
  274. _this.scopeIndex=0;
  275. _this.form.checkRange=1;
  276. }else if(this.scopeArray[e.target.value]=='学院'){
  277. _this.scopeIndex=1;
  278. _this.form.checkRange=2;
  279. }else if(this.scopeArray[e.target.value]=='实验室'){
  280. _this.scopeIndex=2;
  281. _this.form.checkRange=3;
  282. }
  283. if(this.form.subjectNum>0){
  284. uni.showModal({
  285. content: '重新选择会删除现有选择的实验室,是否重选?',
  286. cancelColor:"#999",
  287. confirmColor:"#0183FA",
  288. success: function (res) {
  289. if (res.confirm) {
  290. _this.form.collegeIds ='';
  291. _this.form.collegeNum =0;
  292. _this.form.subIds ='';
  293. _this.form.subjectNum =0;
  294. if(_this.scopeIndex==0){//全校
  295. _this.getAllSubNum();
  296. }else if(_this.scopeIndex==1){//选择学院
  297. _this.conditionCollegeInfo();
  298. }else if(_this.scopeIndex==2){
  299. console.log('选择实验室')
  300. }
  301. } else if (res.cancel) {
  302. }
  303. }
  304. });
  305. }else{
  306. if(_this.scopeIndex==0){//全校
  307. _this.getAllSubNum();
  308. }else if(_this.scopeIndex==1){//选择学院
  309. _this.conditionCollegeInfo();
  310. }else if(_this.scopeIndex==2){
  311. console.log('选择实验室')
  312. }
  313. }
  314. },
  315. timeSlotChange (val) {
  316. let _this=this;
  317. let cycleStartTime, cycleEndTime;
  318. let now = new Date(); //当前日期
  319. let nowDayOfWeek = now.getDay(); //今天本周的第几天
  320. let nowDay = now.getDate(); //当前日
  321. let nowMonth = now.getMonth(); //当前月
  322. let nowYear = now.getFullYear(); //当前年
  323. let jd=Math.ceil((nowMonth + 1) / 3)
  324. switch (val) {
  325. case "本周":
  326. cycleStartTime = new Date(nowYear, nowMonth, nowDay - nowDayOfWeek)
  327. cycleEndTime = new Date(nowYear, nowMonth, nowDay + 6 - nowDayOfWeek)
  328. break;
  329. case "本月":
  330. cycleStartTime = new Date(nowYear, nowMonth, 1)
  331. cycleEndTime = new Date(nowYear, nowMonth + 1, 0)
  332. break;
  333. case "本季度":
  334. cycleStartTime = new Date(nowYear, (jd-1)*3, 1)
  335. cycleEndTime = new Date(nowYear, jd*3, 0)
  336. break
  337. case "全年":
  338. cycleStartTime = new Date(nowYear, 0, 1)
  339. cycleEndTime = new Date(nowYear, 11, 31)
  340. break
  341. }
  342. _this.form.cycleStartTime=_this.formatDateTime(cycleStartTime)
  343. _this.form.cycleEndTime=_this.formatDateTime(cycleEndTime)
  344. },
  345. // 中国标准时间 转换成 年月日
  346. formatDateTime (date) {
  347. var y = date.getFullYear();
  348. var m = date.getMonth() + 1;
  349. m = m < 10 ? ('0' + m) : m;
  350. var d = date.getDate();
  351. d = d < 10 ? ('0' + d) : d;
  352. var h = date.getHours();
  353. var minute = date.getMinutes();
  354. minute = minute < 10 ? ('0' + minute) : minute;
  355. // return y + '-' + m + '-' + d+' '+h+':'+minute;
  356. return y + '-' + m + '-' + d
  357. },
  358. //巡查组
  359. patrolChange(){
  360. this.form.tiemQuickList=this.tiemQuickList//检查周期快捷存储
  361. this.form.scopeIndex=this.scopeIndex//检查范围
  362. uni.navigateTo({
  363. url: '/pages_safetyExamine/patrolPlan/patrolPlanAddMember?form='+encodeURIComponent(JSON.stringify(this.form))+'&pageType=1'
  364. });
  365. },
  366. //选择学院或者实验室
  367. collegeOrLab(){
  368. if(this.scopeIndex==1){//学院
  369. this.dialogVisible=true;
  370. }else if(this.scopeIndex==2){//实验室
  371. this.form.tiemQuickList=this.tiemQuickList//检查周期快捷存储
  372. this.form.scopeIndex=this.scopeIndex//检查范围
  373. uni.navigateTo({
  374. url: '/pages_safetyExamine/patrolPlan/patrolPlanAddLab?form='+encodeURIComponent(JSON.stringify(this.form))+'&pageType=1'
  375. });
  376. }
  377. },
  378. //选择学院弹窗关闭
  379. dialogClose(){
  380. this.dialogVisible=false;
  381. },
  382. //选择学院确定
  383. collegeConfirm(){
  384. let _this=this;
  385. this.dialogVisible=false;
  386. let list=[];
  387. let collegeIds=[];
  388. let subjectNum=0;
  389. _this.collegeList.forEach(function(item){
  390. if(item.type==true){
  391. list.push(item)
  392. collegeIds.push(item.deptId);
  393. subjectNum+=item.subNum;
  394. }
  395. })
  396. _this.form.collegeIds=collegeIds.join(',');
  397. _this.form.subjectNum=subjectNum;
  398. _this.form.collegeNum=list.length;
  399. },
  400. //学院选择
  401. collegeSelete(index){
  402. this.collegeList[index].type = !this.collegeList[index].type
  403. },
  404. //查询学院列表
  405. async conditionCollegeInfo(){
  406. let _this = this;
  407. const {data} = await conditionCollegeInfo();
  408. if(data.code == 200){
  409. data.data.forEach(function(item){
  410. item.type=false;
  411. })
  412. _this.collegeList=data.data;
  413. }
  414. },
  415. //查询全校学院和实验室数量
  416. async getAllSubNum(){
  417. let _this = this;
  418. const {data} = await getAllSubNum();
  419. if(data.code == 200){
  420. this.form.collegeNum=data.data.collegeCount
  421. this.form.subjectNum=data.data.subCount
  422. }
  423. },
  424. handleClick(doType){
  425. let self=this;
  426. if( doType=='subBtn'){//
  427. }
  428. },
  429. //巡查计划-添加
  430. async submitForm(){
  431. let _this = this;
  432. if(!_this.form.title){
  433. uni.showToast({
  434. title: '请输入计划标题',
  435. icon:"none",
  436. mask:true,
  437. duration: 2000
  438. });
  439. return;
  440. }
  441. if(!_this.form.cycleStartTime || !_this.form.cycleEndTime){
  442. uni.showToast({
  443. title: '请选择计划周期',
  444. icon:"none",
  445. mask:true,
  446. duration: 2000
  447. });
  448. return;
  449. }
  450. if(!_this.form.checkRange){
  451. uni.showToast({
  452. title: '请选择检查范围',
  453. icon:"none",
  454. mask:true,
  455. duration: 2000
  456. });
  457. return;
  458. }
  459. if(_this.form.checkRange==2 && _this.form.subjectNum==0){
  460. uni.showToast({
  461. title: '请选择学院',
  462. icon:"none",
  463. mask:true,
  464. duration: 2000
  465. });
  466. return;
  467. }
  468. if(_this.form.checkRange==3 && _this.form.subjectNum==0){
  469. uni.showToast({
  470. title: '请选择实验室',
  471. icon:"none",
  472. mask:true,
  473. duration: 2000
  474. });
  475. return;
  476. }
  477. if( _this.form.checkType==1 &&_this.form.checkMemberDtoList.length<=0){
  478. uni.showToast({
  479. title: '请选择巡查组',
  480. icon:"none",
  481. mask:true,
  482. duration: 2000
  483. });
  484. return;
  485. }
  486. if( _this.form.checkCategory==2 &&_this.form.hazardNum==0){
  487. uni.showToast({
  488. title: '请选择检查内容!',
  489. icon:"none",
  490. mask:true,
  491. duration: 2000
  492. });
  493. return;
  494. }
  495. const {data} = await checkPlanAdd(_this.form);
  496. if(data.code == 200){
  497. uni.showToast({
  498. title: '提交成功',
  499. icon:"none",
  500. mask:true,
  501. duration: 2000
  502. });
  503. uni.redirectTo({
  504. url: '/pages_safetyExamine/patrolPlan/patrolPlanList?pageType='+this.form.checkType
  505. });
  506. }
  507. },
  508. }
  509. }
  510. </script>
  511. <style lang="stylus" scoped>
  512. .examine{
  513. height:100%;
  514. display flex;
  515. // padding: 0 30rpx;
  516. // box-sizing: border-box;
  517. padding-bottom: 126rpx;
  518. box-sizing: border-box;
  519. .info-max-box{
  520. flex: 1;
  521. overflow: scroll;
  522. padding: 0 30rpx;
  523. box-sizing: border-box;
  524. }
  525. .basics{
  526. width: 690rpx;
  527. background: #FFFFFF;
  528. border-radius: 20rpx;
  529. margin-top: 20rpx;
  530. padding: 60rpx 26rpx 32rpx;
  531. box-sizing: border-box;
  532. .title{
  533. .title_t{
  534. font-size: 30rpx;
  535. font-family: PingFang SC-Medium, PingFang SC;
  536. font-weight: 400;
  537. color: #333333;
  538. line-height: 42rpx;
  539. margin-bottom: 12rpx;
  540. }
  541. .title_b{
  542. width: 636rpx;
  543. height: 150rpx;
  544. border-radius: 10rpx;
  545. opacity: 1;
  546. border: 1rpx solid #E0E0E0;
  547. padding: 26rpx 23rpx;
  548. box-sizing: border-box;
  549. }
  550. }
  551. .type{
  552. display: flex;
  553. justify-content: flex-start;
  554. align-items: center;
  555. margin-top: 20rpx;
  556. .type_l{
  557. width: 146rpx;
  558. font-size: 30rpx;
  559. font-family: PingFang SC-Medium, PingFang SC;
  560. font-weight: 400;
  561. color: #333333;
  562. line-height: 42rpx;
  563. text-align: left;
  564. }
  565. .type_r{
  566. width: 490rpx;
  567. height: 80rpx;
  568. border-radius: 10rpx;
  569. padding-left:22rpx;
  570. box-sizing: border-box;
  571. background: #F5F5F5;
  572. }
  573. }
  574. .period{
  575. display: flex;
  576. justify-content: flex-start;
  577. align-items: center;
  578. margin-top: 26rpx;
  579. .period_l{
  580. width: 146rpx;
  581. font-size: 30rpx;
  582. font-family: PingFang SC-Medium, PingFang SC;
  583. font-weight: 400;
  584. color: #333333;
  585. line-height: 42rpx;
  586. text-align: left;
  587. }
  588. .period_r{
  589. width: 490rpx;
  590. height: 80rpx;
  591. border-radius: 10rpx;
  592. border: 1rpx solid #E0E0E0;
  593. display: flex;
  594. justify-content: flex-start;
  595. align-items: center;
  596. .picker-text{
  597. font-size: 30rpx;
  598. font-family: PingFang SC-Medium, PingFang SC;
  599. font-weight: 400;
  600. color: #999999;
  601. line-height: 80rpx;
  602. width: 230rpx;
  603. text-align: center;
  604. }
  605. .picker-text2{
  606. font-size: 30rpx;
  607. font-family: PingFang SC-Medium, PingFang SC;
  608. font-weight: 400;
  609. color: #999999;
  610. line-height: 80rpx;
  611. width: 230rpx;
  612. text-align: center;
  613. }
  614. }
  615. }
  616. .tiem_quick{
  617. margin-left: 146rpx;
  618. display: flex;
  619. justify-content: flex-start;
  620. margin-top: 20rpx;
  621. >view{
  622. width: 130rpx;
  623. height: 80rpx;
  624. opacity: 1;
  625. border: 1rpx solid #E0E0E0;
  626. font-size: 30rpx;
  627. font-family: PingFang SC-Medium, PingFang SC;
  628. font-weight: 400;
  629. line-height: 80rpx;
  630. text-align: center;
  631. }
  632. >view:nth-of-type(1){
  633. border-radius: 10rpx 0rpx 0rpx 10rpx;
  634. }
  635. >view:nth-of-type(3){
  636. border-radius: 0rpx 10rpx 10rpx 0rpx;
  637. }
  638. .tiem_quick_a{
  639. background: #0183FA;
  640. color: #FFFFFF;
  641. }
  642. .tiem_quick_b{
  643. background: #F5F5F5;
  644. color: #333333;
  645. }
  646. }
  647. .scope{
  648. display: flex;
  649. justify-content: flex-start;
  650. align-items: center;
  651. margin-top: 26rpx;
  652. .scope_l{
  653. width: 146rpx;
  654. font-size: 30rpx;
  655. font-family: PingFang SC-Medium, PingFang SC;
  656. font-weight: 400;
  657. color: #333333;
  658. line-height: 42rpx;
  659. text-align: left;
  660. }
  661. .scope_r{
  662. flex: 1;
  663. .scope_r_n{
  664. width: 490rpx;
  665. height: 80rpx;
  666. border-radius: 10rpx;
  667. border: 1rpx solid #E0E0E0;
  668. display: flex;
  669. justify-content: flex-start;
  670. align-items: center;
  671. >view{
  672. flex:1;
  673. line-height:80rpx;
  674. margin-left:20rpx;
  675. color: #999999;
  676. font-size:28rpx;
  677. }
  678. >img{
  679. width: 14rpx;
  680. height: 8rpx;
  681. margin-right: 30rpx;
  682. }
  683. }
  684. }
  685. }
  686. .content{
  687. display: flex;
  688. justify-content: flex-start;
  689. align-items: center;
  690. margin-top: 26rpx;
  691. .content_l{
  692. width: 146rpx;
  693. font-size: 30rpx;
  694. font-family: PingFang SC-Medium, PingFang SC;
  695. font-weight: 400;
  696. color: #333333;
  697. line-height: 42rpx;
  698. text-align: left;
  699. }
  700. .content_r{
  701. flex: 1;
  702. display: flex;
  703. justify-content: flex-start;
  704. align-items: center;
  705. .content_r_l{
  706. width: 220rpx;
  707. height: 80rpx;
  708. background: #0183FA;
  709. border-radius: 10rpx 10rpx 10rpx 10rpx;
  710. text-align: center;
  711. font-size: 30rpx;
  712. font-family: PingFang SC-Medium, PingFang SC;
  713. font-weight: 400;
  714. color: #FFFFFF;
  715. line-height: 80rpx;
  716. margin-right: 26rpx;
  717. }
  718. .content_r_r{
  719. font-size: 30rpx;
  720. font-family: PingFang SC-Medium, PingFang SC;
  721. font-weight: 400;
  722. color: #333333;
  723. line-height: 42rpx;
  724. >text{
  725. color: #0183FA;
  726. }
  727. }
  728. }
  729. }
  730. .scope_btn{
  731. display: inline-block;
  732. background: #0183FA;
  733. border-radius: 10rpx;
  734. font-size: 30rpx;
  735. font-family: PingFang SC-Medium, PingFang SC;
  736. font-weight: 400;
  737. color: #FFFFFF;
  738. line-height: 80rpx;
  739. text-align: center;
  740. padding: 0 16rpx;
  741. box-sizing: border-box;
  742. margin-top: 40rpx;
  743. margin-left: 146rpx;
  744. }
  745. .scope_text{
  746. margin-left: 146rpx;
  747. font-size: 30rpx;
  748. font-family: PingFang SC-Medium, PingFang SC;
  749. font-weight: 400;
  750. color: #333333;
  751. margin-top: 32rpx;
  752. line-height: 42rpx;
  753. >text{
  754. color: #0183FA;
  755. }
  756. }
  757. }
  758. .patrol_group{
  759. width: 690rpx;
  760. background: #FFFFFF;
  761. border-radius: 20rpx;
  762. margin-top: 20rpx;
  763. padding: 40rpx 30rpx 64rpx;
  764. box-sizing: border-box;
  765. .patrol{
  766. display: flex;
  767. justify-content: flex-start;
  768. align-items: center;
  769. margin-top: 26rpx;
  770. .patrol_l{
  771. width: 146rpx;
  772. font-size: 30rpx;
  773. font-family: PingFang SC-Medium, PingFang SC;
  774. font-weight: 400;
  775. color: #333333;
  776. line-height: 42rpx;
  777. text-align: left;
  778. }
  779. .patrol_r_n{
  780. width: 490rpx;
  781. height: 80rpx;
  782. border-radius: 10rpx;
  783. border: 1rpx solid #E0E0E0;
  784. display: flex;
  785. justify-content: flex-start;
  786. align-items: center;
  787. >view{
  788. flex:1;
  789. line-height:80rpx;
  790. margin-left:20rpx;
  791. color: #999999;
  792. font-size:28rpx;
  793. }
  794. >img{
  795. width: 14rpx;
  796. height: 8rpx;
  797. margin-right: 30rpx;
  798. }
  799. }
  800. }
  801. .list{
  802. margin-top: 42rpx;
  803. .list_title{
  804. display: flex;
  805. justify-content: flex-start;
  806. align-items: center;
  807. height: 80rpx;
  808. background: #F5F5F5;
  809. border-radius: 10rpx 10rpx 0rpx 0rpx;
  810. font-size: 30rpx;
  811. font-family: PingFang SC-Medium, PingFang SC;
  812. font-weight: 400;
  813. color: #333333;
  814. line-height: 80rpx;
  815. >img{
  816. width: 30rpx;
  817. height: 30rpx;
  818. margin: 0 20rpx;
  819. }
  820. }
  821. .list_header{
  822. display: flex;
  823. justify-content: flex-start;
  824. >text{
  825. flex: 1;
  826. height: 80rpx;
  827. background: #F5F5F5;
  828. font-size: 30rpx;
  829. font-family: PingFang SC-Medium, PingFang SC;
  830. font-weight: 400;
  831. color: #333333;
  832. line-height: 80rpx;
  833. text-align: center;
  834. border: 1rpx solid #E0E0E0;
  835. }
  836. >text:nth-of-type(1){
  837. border-right: none;
  838. }
  839. }
  840. .list_li{
  841. display: flex;
  842. justify-content: flex-start;
  843. >text{
  844. flex: 1;
  845. height: 80rpx;
  846. font-size: 30rpx;
  847. font-family: PingFang SC-Medium, PingFang SC;
  848. font-weight: 400;
  849. color: #333333;
  850. line-height: 80rpx;
  851. text-align: center;
  852. border: 1rpx solid #E0E0E0;
  853. }
  854. >text:nth-of-type(1){
  855. border-right: none;
  856. border-top: none;
  857. }
  858. >text:nth-of-type(2){
  859. border-top: none;
  860. }
  861. }
  862. .list_bottom{
  863. flex: 1;
  864. height: 80rpx;
  865. font-size: 30rpx;
  866. font-family: PingFang SC-Medium, PingFang SC;
  867. font-weight: 400;
  868. color: #999999;
  869. line-height: 80rpx;
  870. text-align: center;
  871. border: 1rpx solid #E0E0E0;
  872. border-top: none;
  873. }
  874. }
  875. }
  876. .bottom_btn{
  877. position: fixed;
  878. bottom: 26rpx;
  879. left: 30rpx;
  880. font-size: 30rpx;
  881. font-family: PingFang SC-Medium, PingFang SC;
  882. font-weight: 400;
  883. color: #FFFFFF;
  884. line-height: 90rpx;
  885. width: 690rpx;
  886. height: 90rpx;
  887. background: #0183FA;
  888. border-radius: 20rpx;
  889. text-align: center;
  890. }
  891. /* 指纹采集 */
  892. .shade {
  893. height: 100%;
  894. width: 100%;
  895. position: fixed;
  896. display: flex;
  897. flex-direction: column;
  898. z-index: 10;
  899. background: rgba(0, 0, 0, 0.2);
  900. .null-box {
  901. flex: 1;
  902. }
  903. .shade_n {
  904. position: absolute;
  905. bottom: 0;
  906. left: 0;
  907. width: 750rpx;
  908. height: 560rpx;
  909. background: #FFFFFF;
  910. border-radius: 20rpx 20rpx 0rpx 0rpx;
  911. .shade_n_title{
  912. height: 100rpx;
  913. padding: 0 30rpx;
  914. box-sizing: border-box;
  915. display: flex;
  916. justify-content:space-between;
  917. border-bottom: 1rpx solid #E0E0E0;
  918. >text:nth-of-type(1){
  919. font-size: 30rpx;
  920. font-family: PingFang SC-Medium, PingFang SC;
  921. font-weight: 400;
  922. color: #333333;
  923. line-height: 100rpx;
  924. }
  925. >text:nth-of-type(2){
  926. font-size: 30rpx;
  927. font-family: PingFang SC-Medium, PingFang SC;
  928. font-weight: 400;
  929. color: #0183FA;
  930. line-height: 100rpx;
  931. }
  932. }
  933. .shade_n_b{
  934. height: 460rpx;
  935. padding: 0 30rpx;
  936. box-sizing: border-box;
  937. overflow-y: auto;
  938. .shade_n_b_li{
  939. display: flex;
  940. justify-content:space-between;
  941. align-items: center;
  942. height: 80rpx;
  943. border-bottom: 1rpx solid #E0E0E0;
  944. >text{
  945. font-size: 28rpx;
  946. font-family: PingFang SC-Medium, PingFang SC;
  947. font-weight: 400;
  948. line-height: 80rpx;
  949. overflow: hidden;
  950. text-overflow:ellipsis;
  951. white-space: nowrap;
  952. }
  953. >img{
  954. width: 24rpx;
  955. height: 16rpx;
  956. margin-right: 14rpx;
  957. }
  958. }
  959. .color_A{
  960. color: #333333;
  961. }
  962. .color_B{
  963. color: #0183FA;
  964. }
  965. }
  966. }
  967. }
  968. }
  969. </style>