patrolPlanEdit.vue 32 KB

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