patrolPlanEdit.vue 39 KB

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