patrolPlanEdit.vue 42 KB

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