patrolPlanEdit.vue 33 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328
  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" @click="handleClick(item,'detail')">
  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(item,doType){
  399. let self=this;
  400. if( doType=='subBtn'){//
  401. console.log(11)
  402. }else if(doType=='detail'){//详情
  403. uni.navigateTo({
  404. url: '/pages/pages_safetyExamine/examineManage/examineDetail'
  405. });
  406. }
  407. },
  408. async getList(){
  409. let list=[{name:'实验室名称-房间号',type:false,id:4},{name:'实验室名称-房间号',type:false,id:5}]
  410. this.total=5;
  411. this.dataList=[...this.dataList,...list]
  412. // let self = this;
  413. // let obj = {
  414. // pageNum:this.getData.page,
  415. // pageSize:this.getData.pageSize,
  416. // };
  417. // const {data} = await groupList(obj);
  418. // if(data.code==200){
  419. // this.total=data.total;
  420. // this.dataList=[...this.dataList,...data.data]
  421. // }
  422. },
  423. }
  424. }
  425. </script>
  426. <style lang="stylus" scoped>
  427. .examine{
  428. height:100%;
  429. display flex;
  430. // padding: 0 30rpx;
  431. // box-sizing: border-box;
  432. padding-bottom: 126rpx;
  433. box-sizing: border-box;
  434. .blue_color{
  435. color: #0183FA;
  436. border: 1rpx solid #0183FA;
  437. }
  438. .red_color{
  439. color: #FF4545;
  440. border: 1rpx solid #FF4545;
  441. }
  442. .green_color{
  443. color: #1FA50D;
  444. border: 1rpx solid #1FA50D;
  445. }
  446. /* 切换按钮 */
  447. .tabTitle{
  448. width:100%;
  449. height: 100rpx;
  450. background: #fff;
  451. display flex;
  452. justify-content: center;
  453. align-items: center;
  454. position: fixed;
  455. top: 0;
  456. z-index: 100;
  457. box-shadow: 0rpx 3rpx 8rpx 0rpx rgba(0,0,0,0.16);
  458. .tabTitle_li{
  459. position: relative;
  460. width:372rpx;
  461. text-align center;
  462. .tabTitle_text{
  463. display: inline-block;
  464. font-size: 30rpx;
  465. font-family: PingFang SC;
  466. font-weight: 500;
  467. color: #333333;
  468. line-height: 46rpx;
  469. position: relative;
  470. >text{
  471. position:absolute;
  472. min-width: 30rpx;
  473. min-height: 30rpx;
  474. border-radius:54%;
  475. background: #E80000;
  476. font-size: 18rpx;
  477. font-family: PingFang SC-Medium, PingFang SC;
  478. font-weight: 400;
  479. color: #FFFFFF;
  480. text-align: center;
  481. line-height: 30rpx;
  482. margin-left: 6rpx;
  483. padding:2rpx;
  484. box-sizing: border-box;
  485. }
  486. &.on{
  487. color:#0183FA;
  488. }
  489. }
  490. .tabTitle_across{
  491. width: 50rpx;
  492. height: 4rpx;
  493. background: #0183FA;
  494. border-radius: 2rpx;
  495. margin-left 162rpx;
  496. display none;
  497. &.on{
  498. display block;
  499. }
  500. }
  501. }
  502. .tabTitle_li:nth-of-type(1)::after{
  503. content: '';
  504. position: absolute;
  505. top: 0rpx;
  506. right: 0rpx;
  507. width: 1rpx;
  508. height: 50rpx;
  509. background: #E0E0E0;
  510. }
  511. }
  512. .info-max-box{
  513. flex: 1;
  514. overflow: scroll;
  515. padding: 120rpx 0rpx 0;
  516. box-sizing: border-box;
  517. }
  518. /* 检查计划---------------------------------------------------------------------------------- */
  519. .delay_inspect{
  520. width: 690rpx;
  521. height: 100rpx;
  522. background: #FFFFFF;
  523. border-radius: 20rpx;
  524. display: flex;
  525. justify-content: space-between;
  526. align-items: center;
  527. padding: 0 30rpx;
  528. box-sizing: border-box;
  529. .delay_inspect_l{
  530. font-size: 28rpx;
  531. font-family: PingFang SC-Medium, PingFang SC;
  532. font-weight: 400;
  533. color: #333333;
  534. line-height: 100rpx;
  535. >text{
  536. color: #0183FA;
  537. }
  538. }
  539. .delay_inspect_r{
  540. font-size: 26rpx;
  541. font-family: PingFang SC-Medium, PingFang SC;
  542. font-weight: 400;
  543. color: #0183FA;
  544. line-height: 40rpx;
  545. width: 120rpx;
  546. height: 40rpx;
  547. border-radius: 6rpx;
  548. text-align: center;
  549. border: 1rpx solid #0183FA;
  550. }
  551. .delay_inspect_r_tow{
  552. font-size: 26rpx;
  553. font-family: PingFang SC-Medium, PingFang SC;
  554. font-weight: 400;
  555. color: #FF4545;
  556. line-height: 40rpx;
  557. width: 120rpx;
  558. height: 40rpx;
  559. border-radius: 6rpx;
  560. text-align: center;
  561. border: 1rpx solid rgba(255,69,69,0.898);
  562. }
  563. }
  564. .basics{
  565. width: 690rpx;
  566. background: #FFFFFF;
  567. border-radius: 20rpx;
  568. margin-top: 20rpx;
  569. padding: 60rpx 26rpx 32rpx;
  570. box-sizing: border-box;
  571. .title{
  572. .title_t{
  573. font-size: 30rpx;
  574. font-family: PingFang SC-Medium, PingFang SC;
  575. font-weight: 400;
  576. color: #333333;
  577. line-height: 42rpx;
  578. margin-bottom: 12rpx;
  579. }
  580. .title_b{
  581. width: 636rpx;
  582. height: 150rpx;
  583. border-radius: 10rpx;
  584. opacity: 1;
  585. border: 1rpx solid #E0E0E0;
  586. padding: 26rpx 23rpx;
  587. box-sizing: border-box;
  588. }
  589. }
  590. .type{
  591. display: flex;
  592. justify-content: flex-start;
  593. align-items: center;
  594. margin-top: 20rpx;
  595. .type_l{
  596. width: 146rpx;
  597. font-size: 30rpx;
  598. font-family: PingFang SC-Medium, PingFang SC;
  599. font-weight: 400;
  600. color: #333333;
  601. line-height: 42rpx;
  602. text-align: left;
  603. }
  604. .type_r{
  605. width: 490rpx;
  606. height: 80rpx;
  607. border-radius: 10rpx;
  608. padding-left:22rpx;
  609. box-sizing: border-box;
  610. background: #F5F5F5;
  611. }
  612. }
  613. .period{
  614. display: flex;
  615. justify-content: flex-start;
  616. align-items: center;
  617. margin-top: 26rpx;
  618. .period_l{
  619. width: 146rpx;
  620. font-size: 30rpx;
  621. font-family: PingFang SC-Medium, PingFang SC;
  622. font-weight: 400;
  623. color: #333333;
  624. line-height: 42rpx;
  625. text-align: left;
  626. }
  627. .period_r{
  628. width: 490rpx;
  629. height: 80rpx;
  630. border-radius: 10rpx;
  631. border: 1rpx solid #E0E0E0;
  632. display: flex;
  633. justify-content: flex-start;
  634. align-items: center;
  635. .picker-text{
  636. font-size: 30rpx;
  637. font-family: PingFang SC-Medium, PingFang SC;
  638. font-weight: 400;
  639. color: #999999;
  640. line-height: 80rpx;
  641. width: 230rpx;
  642. text-align: center;
  643. }
  644. .picker-text2{
  645. font-size: 30rpx;
  646. font-family: PingFang SC-Medium, PingFang SC;
  647. font-weight: 400;
  648. color: #999999;
  649. line-height: 80rpx;
  650. width: 230rpx;
  651. text-align: center;
  652. }
  653. }
  654. }
  655. .tiem_quick{
  656. margin-left: 146rpx;
  657. display: flex;
  658. justify-content: flex-start;
  659. margin-top: 20rpx;
  660. >view{
  661. width: 130rpx;
  662. height: 80rpx;
  663. opacity: 1;
  664. border: 1rpx solid #E0E0E0;
  665. font-size: 30rpx;
  666. font-family: PingFang SC-Medium, PingFang SC;
  667. font-weight: 400;
  668. line-height: 80rpx;
  669. text-align: center;
  670. }
  671. >view:nth-of-type(1){
  672. border-radius: 10rpx 0rpx 0rpx 10rpx;
  673. }
  674. >view:nth-of-type(3){
  675. border-radius: 0rpx 10rpx 10rpx 0rpx;
  676. }
  677. .tiem_quick_a{
  678. background: #0183FA;
  679. color: #FFFFFF;
  680. }
  681. .tiem_quick_b{
  682. background: #F5F5F5;
  683. color: #333333;
  684. }
  685. }
  686. .scope{
  687. display: flex;
  688. justify-content: flex-start;
  689. align-items: center;
  690. margin-top: 26rpx;
  691. .scope_l{
  692. width: 146rpx;
  693. font-size: 30rpx;
  694. font-family: PingFang SC-Medium, PingFang SC;
  695. font-weight: 400;
  696. color: #333333;
  697. line-height: 42rpx;
  698. text-align: left;
  699. }
  700. .scope_r{
  701. flex: 1;
  702. .scope_r_n{
  703. width: 490rpx;
  704. height: 80rpx;
  705. border-radius: 10rpx;
  706. border: 1rpx solid #E0E0E0;
  707. display: flex;
  708. justify-content: flex-start;
  709. align-items: center;
  710. >view{
  711. flex:1;
  712. line-height:80rpx;
  713. margin-left:20rpx;
  714. color: #999999;
  715. font-size:28rpx;
  716. }
  717. >img{
  718. width: 14rpx;
  719. height: 8rpx;
  720. margin-right: 30rpx;
  721. }
  722. }
  723. }
  724. }
  725. .scope_btn{
  726. display: inline-block;
  727. background: #0183FA;
  728. border-radius: 10rpx;
  729. font-size: 30rpx;
  730. font-family: PingFang SC-Medium, PingFang SC;
  731. font-weight: 400;
  732. color: #FFFFFF;
  733. line-height: 80rpx;
  734. text-align: center;
  735. padding: 0 16rpx;
  736. box-sizing: border-box;
  737. margin-top: 40rpx;
  738. margin-left: 146rpx;
  739. }
  740. .scope_text{
  741. margin-left: 146rpx;
  742. font-size: 30rpx;
  743. font-family: PingFang SC-Medium, PingFang SC;
  744. font-weight: 400;
  745. color: #333333;
  746. margin-top: 32rpx;
  747. line-height: 42rpx;
  748. >text{
  749. color: #0183FA;
  750. }
  751. }
  752. }
  753. .attachment{
  754. width: 690rpx;
  755. background: #FFFFFF;
  756. border-radius: 20rpx;
  757. margin-top: 20rpx;
  758. padding-bottom: 32rpx;
  759. box-sizing: border-box;
  760. .attachment_t{
  761. border-bottom: 1rpx solid #D8D8D8;
  762. >text:nth-of-type(1){
  763. font-size: 30rpx;
  764. font-family: PingFang SC-Medium, PingFang SC;
  765. font-weight: 400;
  766. color: #333333;
  767. line-height: 110rpx;
  768. margin-left: 28rpx;
  769. }
  770. >text:nth-of-type(2){
  771. font-size: 30rpx;
  772. font-family: PingFang SC-Medium, PingFang SC;
  773. font-weight: 400;
  774. color: #999999;
  775. line-height: 110rpx;
  776. margin-left: 24rpx;
  777. }
  778. }
  779. .attachment_li{
  780. height: 40rpx;
  781. display: flex;
  782. justify-content: flex-start;
  783. align-items: center;
  784. margin-top: 32rpx;
  785. >img{
  786. width: 30rpx;
  787. height: 26rpx;
  788. margin-right: 20rpx;
  789. margin-left: 50rpx;
  790. }
  791. >text{
  792. flex: 1;
  793. font-size: 28rpx;
  794. font-family: PingFang SC-Medium, PingFang SC;
  795. font-weight: 400;
  796. color: #0183FA;
  797. line-height: 40rpx;
  798. white-space: nowrap;
  799. overflow: hidden;
  800. text-overflow: ellipsis;
  801. }
  802. .attachment_li_del{
  803. width: 30rpx;
  804. height: 30rpx;
  805. }
  806. }
  807. }
  808. .patrol_group{
  809. width: 690rpx;
  810. background: #FFFFFF;
  811. border-radius: 20rpx;
  812. margin-top: 20rpx;
  813. padding: 40rpx 30rpx 64rpx;
  814. box-sizing: border-box;
  815. .patrol{
  816. display: flex;
  817. justify-content: flex-start;
  818. align-items: center;
  819. margin-top: 26rpx;
  820. .patrol_l{
  821. width: 146rpx;
  822. font-size: 30rpx;
  823. font-family: PingFang SC-Medium, PingFang SC;
  824. font-weight: 400;
  825. color: #333333;
  826. line-height: 42rpx;
  827. text-align: left;
  828. }
  829. .patrol_r{
  830. flex: 1;
  831. .patrol_r_n{
  832. width: 490rpx;
  833. height: 80rpx;
  834. border-radius: 10rpx;
  835. border: 1rpx solid #E0E0E0;
  836. display: flex;
  837. justify-content: flex-start;
  838. align-items: center;
  839. >view{
  840. flex:1;
  841. line-height:80rpx;
  842. margin-left:20rpx;
  843. color: #999999;
  844. font-size:28rpx;
  845. }
  846. >img{
  847. width: 14rpx;
  848. height: 8rpx;
  849. margin-right: 30rpx;
  850. }
  851. }
  852. }
  853. }
  854. .list{
  855. margin-top: 42rpx;
  856. .list_title{
  857. display: flex;
  858. justify-content: flex-start;
  859. align-items: center;
  860. height: 80rpx;
  861. background: #F5F5F5;
  862. border-radius: 10rpx 10rpx 0rpx 0rpx;
  863. font-size: 30rpx;
  864. font-family: PingFang SC-Medium, PingFang SC;
  865. font-weight: 400;
  866. color: #333333;
  867. line-height: 80rpx;
  868. >img{
  869. width: 30rpx;
  870. height: 30rpx;
  871. margin: 0 20rpx;
  872. }
  873. }
  874. .list_header{
  875. display: flex;
  876. justify-content: flex-start;
  877. >text{
  878. flex: 1;
  879. height: 80rpx;
  880. background: #F5F5F5;
  881. font-size: 30rpx;
  882. font-family: PingFang SC-Medium, PingFang SC;
  883. font-weight: 400;
  884. color: #333333;
  885. line-height: 80rpx;
  886. text-align: center;
  887. border: 1rpx solid #E0E0E0;
  888. }
  889. >text:nth-of-type(1){
  890. border-right: none;
  891. }
  892. }
  893. .list_li{
  894. display: flex;
  895. justify-content: flex-start;
  896. >text{
  897. flex: 1;
  898. height: 80rpx;
  899. font-size: 30rpx;
  900. font-family: PingFang SC-Medium, PingFang SC;
  901. font-weight: 400;
  902. color: #333333;
  903. line-height: 80rpx;
  904. text-align: center;
  905. border: 1rpx solid #E0E0E0;
  906. }
  907. >text:nth-of-type(1){
  908. border-right: none;
  909. border-top: none;
  910. }
  911. >text:nth-of-type(2){
  912. border-top: none;
  913. }
  914. }
  915. .list_bottom{
  916. flex: 1;
  917. height: 80rpx;
  918. font-size: 30rpx;
  919. font-family: PingFang SC-Medium, PingFang SC;
  920. font-weight: 400;
  921. color: #999999;
  922. line-height: 80rpx;
  923. text-align: center;
  924. border: 1rpx solid #E0E0E0;
  925. border-top: none;
  926. }
  927. }
  928. }
  929. /* 检查管理----------------------------------------------------------------------------------- */
  930. /* 切换按钮 */
  931. .header{
  932. width:100%;
  933. position: fixed;
  934. top: 100rpx;
  935. z-index: 100;
  936. .line{
  937. width: 100%;
  938. height: 20rpx;
  939. background: #F5F5F5;
  940. }
  941. .tabTitle_tow{
  942. width:100%;
  943. height: 100rpx;
  944. background: #fff;
  945. display flex;
  946. justify-content: flex-start;
  947. align-items: center;
  948. border-bottom: 1rpx solid #E0E0E0;
  949. .tabTitle_tow_li{
  950. position: relative;
  951. width:146rpx;
  952. text-align center;
  953. .tabTitle_tow_text{
  954. display: inline-block;
  955. font-size: 30rpx;
  956. font-family: PingFang SC;
  957. font-weight: 500;
  958. color: #333333;
  959. line-height: 46rpx;
  960. position: relative;
  961. &.on{
  962. color:#0183FA;
  963. }
  964. }
  965. .tabTitle_tow_across{
  966. width: 50rpx;
  967. height: 4rpx;
  968. background: #0183FA;
  969. border-radius: 2rpx;
  970. margin-left: 46rpx;
  971. display none;
  972. &.on{
  973. display block;
  974. }
  975. }
  976. }
  977. }
  978. .lab_title{
  979. width: 750rpx;
  980. height: 100rpx;
  981. background: #FFFFFF;
  982. padding: 20rpx 30rpx;
  983. box-sizing: border-box;
  984. display: flex;
  985. justify-content: flex-start;
  986. .lab_title_l{
  987. width: 250rpx;
  988. height: 60rpx;
  989. margin-right: 20rpx;
  990. .lab_title_l_n{
  991. width: 250rpx;
  992. height: 60rpx;
  993. border-radius: 10rpx;
  994. border: 1rpx solid #E0E0E0;
  995. display: flex;
  996. justify-content: flex-start;
  997. align-items: center;
  998. >view{
  999. flex:1;
  1000. line-height:60rpx;
  1001. margin-left:20rpx;
  1002. color: #999999;
  1003. font-size:28rpx;
  1004. }
  1005. >img{
  1006. width: 14rpx;
  1007. height: 8rpx;
  1008. margin-right: 30rpx;
  1009. }
  1010. }
  1011. }
  1012. .lab_title_r{
  1013. width: 420rpx;
  1014. height: 60rpx;
  1015. position:relative;
  1016. border-radius: 10rpx;
  1017. border: 1rpx solid #E0E0E0;
  1018. .lab_title_r_btn{
  1019. width: 60rpx;
  1020. height: 60rpx
  1021. position: absolute;
  1022. top: 0rpx;
  1023. left:0rpx;
  1024. >img{
  1025. width: 20rpx;
  1026. height: 20rpx;
  1027. position: absolute;
  1028. top: 20rpx;
  1029. left: 24rpx;
  1030. }
  1031. }
  1032. >input{
  1033. width: 360rpx;
  1034. height: 60rpx;
  1035. position: absolute;
  1036. top: 0rpx;
  1037. left: 60rpx;
  1038. }
  1039. }
  1040. }
  1041. }
  1042. .list_three{
  1043. padding: 0 30rpx;
  1044. box-sizing: border-box;
  1045. margin-top: 240rpx;
  1046. .list_three_li{
  1047. position: relative;
  1048. width: 690rpx;
  1049. height: 360rpx;
  1050. background: #fff;
  1051. border-radius: 10rpx;
  1052. overflow: hidden;
  1053. margin-bottom: 20rpx;
  1054. .list_three_li_t{
  1055. width: 100%;
  1056. position: absolute;
  1057. left: 0;
  1058. top: 0;
  1059. .list_three_li_t_l{
  1060. >img{
  1061. width: 70rpx;
  1062. height: 70rpx;
  1063. }
  1064. >text{
  1065. position: absolute;
  1066. left: -15rpx;
  1067. top: 76rpx;
  1068. display: inline-block;
  1069. width: 30rpx;
  1070. height: 30rpx;
  1071. background: #F5F5F5;
  1072. border-radius: 15rpx;
  1073. }
  1074. }
  1075. .list_three_li_t_c{
  1076. width: 630rpx;
  1077. height: 110rpx;
  1078. position: absolute;
  1079. left: 30rpx;
  1080. top: 0;
  1081. font-size: 30rpx;
  1082. font-family: PingFang SC-Medium, PingFang SC;
  1083. font-weight: 400;
  1084. color: #333333;
  1085. line-height: 110rpx;
  1086. border-bottom: 1rpx dashed #D8D8D8;
  1087. overflow: hidden;
  1088. text-overflow:ellipsis;
  1089. white-space: nowrap;
  1090. padding-right: 60rpx;
  1091. box-sizing: border-box;
  1092. }
  1093. .list_three_li_t_c2{
  1094. position: absolute;
  1095. right: 20rpx;
  1096. top: 38rpx;
  1097. width: 120rpx;
  1098. height: 40rpx;
  1099. font-size: 28rpx;
  1100. font-family: PingFang SC-Medium, PingFang SC;
  1101. font-weight: 400;
  1102. color: #FF5757;
  1103. line-height: 40rpx;
  1104. border: 1rpx solid #FF5757;
  1105. border-radius: 6rpx;
  1106. text-align: center;
  1107. }
  1108. .list_three_li_t_r{
  1109. position: absolute;
  1110. right:-15rpx;
  1111. top: 76rpx;
  1112. width: 30rpx;
  1113. height: 30rpx;
  1114. background:#F5F5F5;
  1115. border-radius: 15rpx;
  1116. }
  1117. }
  1118. .list_three_li_m{
  1119. position: absolute;
  1120. top: 110rpx;
  1121. left: 0;
  1122. width: 690rpx;
  1123. height: 158rpx;
  1124. padding-left: 30rpx;
  1125. box-sizing: border-box;
  1126. .list_three_li_m_t{
  1127. font-size: 28rpx;
  1128. font-family: PingFang SC-Medium, PingFang SC;
  1129. font-weight: 400;
  1130. color: #666666;
  1131. line-height: 40rpx;
  1132. margin-top:22rpx;
  1133. }
  1134. .list_three_li_m_b{
  1135. margin-top:26rpx;
  1136. >text:nth-of-type(1){
  1137. font-size: 26rpx;
  1138. font-family: PingFang SC-Medium, PingFang SC;
  1139. font-weight: 400;
  1140. line-height: 40rpx;
  1141. border-radius: 6rpx;
  1142. padding: 0 20rpx;
  1143. margin-right: 14rpx;
  1144. }
  1145. >text:nth-of-type(2){
  1146. font-size: 26rpx;
  1147. font-family: PingFang SC-Medium, PingFang SC;
  1148. font-weight: 400;
  1149. color: #0183FA;
  1150. line-height: 40rpx;
  1151. padding: 0 8rpx;
  1152. border-radius: 6rpx;
  1153. background: rgba(1,131,250,0.1);
  1154. margin-right: 24rpx;
  1155. }
  1156. >text:nth-of-type(3){
  1157. display: inline-block;
  1158. width: 380rpx;
  1159. font-size: 26rpx;
  1160. font-family: PingFang SC-Medium, PingFang SC;
  1161. font-weight: 400;
  1162. color: #333333;
  1163. line-height: 26rpx;
  1164. overflow: hidden;
  1165. text-overflow:ellipsis;
  1166. white-space: nowrap;
  1167. }
  1168. }
  1169. }
  1170. .list_three_li_b{
  1171. height: 80rpx;
  1172. position: absolute;
  1173. top: 278rpx;
  1174. left: 0;
  1175. display: flex;
  1176. justify-content: flex-start;
  1177. align-items: center;
  1178. border-top: 1rpx solid #E0E0E0;
  1179. >img{
  1180. width: 24rpx;
  1181. height: 30rpx;
  1182. margin-right: 26rpx;
  1183. margin-left: 30rpx;
  1184. }
  1185. >text:nth-of-type(1){
  1186. font-size: 28rpx;
  1187. font-family: PingFang SC-Medium, PingFang SC;
  1188. font-weight: 400;
  1189. color: #333333;
  1190. line-height: 28rpx;
  1191. }
  1192. >text:nth-of-type(2){
  1193. flex:1;
  1194. font-size: 28rpx;
  1195. font-family: PingFang SC-Medium, PingFang SC;
  1196. font-weight: 400;
  1197. color: #0183FA;
  1198. line-height: 28rpx;
  1199. white-space: nowrap;
  1200. overflow: hidden;
  1201. text-overflow: ellipsis;
  1202. }
  1203. }
  1204. }
  1205. }
  1206. .bottom_btn{
  1207. position: fixed;
  1208. bottom: 26rpx;
  1209. left: 30rpx;
  1210. font-size: 30rpx;
  1211. font-family: PingFang SC-Medium, PingFang SC;
  1212. font-weight: 400;
  1213. color: #FFFFFF;
  1214. line-height: 90rpx;
  1215. width: 690rpx;
  1216. height: 90rpx;
  1217. background: #0183FA;
  1218. border-radius: 20rpx;
  1219. text-align: center;
  1220. }
  1221. /* 指纹采集 */
  1222. .shade {
  1223. height: 100%;
  1224. width: 100%;
  1225. position: fixed;
  1226. display: flex;
  1227. flex-direction: column;
  1228. z-index: 10;
  1229. background: rgba(0, 0, 0, 0.2);
  1230. .null-box {
  1231. flex: 1;
  1232. }
  1233. .shade_n {
  1234. position: absolute;
  1235. bottom: 0;
  1236. left: 0;
  1237. width: 750rpx;
  1238. height: 560rpx;
  1239. background: #FFFFFF;
  1240. border-radius: 20rpx 20rpx 0rpx 0rpx;
  1241. .shade_n_title{
  1242. height: 100rpx;
  1243. padding: 0 30rpx;
  1244. box-sizing: border-box;
  1245. display: flex;
  1246. justify-content:space-between;
  1247. border-bottom: 1rpx solid #E0E0E0;
  1248. >text:nth-of-type(1){
  1249. font-size: 30rpx;
  1250. font-family: PingFang SC-Medium, PingFang SC;
  1251. font-weight: 400;
  1252. color: #333333;
  1253. line-height: 100rpx;
  1254. }
  1255. >text:nth-of-type(2){
  1256. font-size: 30rpx;
  1257. font-family: PingFang SC-Medium, PingFang SC;
  1258. font-weight: 400;
  1259. color: #0183FA;
  1260. line-height: 100rpx;
  1261. }
  1262. }
  1263. .shade_n_b{
  1264. height: 460rpx;
  1265. padding: 0 30rpx;
  1266. box-sizing: border-box;
  1267. overflow-y: auto;
  1268. .shade_n_b_li{
  1269. display: flex;
  1270. justify-content:space-between;
  1271. align-items: center;
  1272. height: 80rpx;
  1273. border-bottom: 1rpx solid #E0E0E0;
  1274. >text{
  1275. font-size: 28rpx;
  1276. font-family: PingFang SC-Medium, PingFang SC;
  1277. font-weight: 400;
  1278. line-height: 80rpx;
  1279. overflow: hidden;
  1280. text-overflow:ellipsis;
  1281. white-space: nowrap;
  1282. }
  1283. >img{
  1284. width: 24rpx;
  1285. height: 16rpx;
  1286. margin-right: 14rpx;
  1287. }
  1288. }
  1289. .color_A{
  1290. color: #333333;
  1291. }
  1292. .color_B{
  1293. color: #0183FA;
  1294. }
  1295. }
  1296. }
  1297. }
  1298. }
  1299. </style>