examineAdd.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026
  1. <!-- 安全检查-开展检查 -->
  2. <template>
  3. <view class="examine">
  4. <scroll-view scroll-y @scrolltolower="scrollGet" class="info-max-box">
  5. <view class="basics">
  6. <view class="basics_li">
  7. <view class="basics_li_l">实验室</view>
  8. <view class="basics_li_r lab_r">
  9. <input class="picker-text" @click="popupClick(1)" type="text" disabled v-model="form.subjectName" placeholder="请选择房间" placeholder-style="font-size: 30rpx;color:#333;">
  10. <view class="img-box" @click.stop="saoCode">
  11. <img src="@/images/Version3.3.3/icon_aqjc_sm.png">
  12. </view>
  13. </view>
  14. </view>
  15. <view class="basics_li">
  16. <view class="basics_li_l">学院</view>
  17. <picker @change="collegeChange" :value="collegeIndex" :range="collegeArray" class="scope_r">
  18. <view class="basics_li_r college_r">
  19. <view>{{form.collegeName?form.collegeName:'选择学院'}}</view>
  20. <img src="@/images/Version3.3.3/icon_06.png">
  21. </view>
  22. </picker>
  23. </view>
  24. <!-- <view class="basics_li">
  25. <view class="basics_li_l">楼栋</view>
  26. <view class="basics_li_r building_r">
  27. <input class="picker-text" type="text" disabled v-model="form.buildName" placeholder="选择实验室后自动匹配" placeholder-style="font-size: 30rpx;color:#333;">
  28. </view>
  29. </view> -->
  30. <view class="basics_li">
  31. <view class="basics_li_l">楼栋</view>
  32. <picker @change="buildingChange" :value="collegeIndex" :range="buildingArray" class="scope_r">
  33. <view class="basics_li_r college_r">
  34. <view>{{form.buildName?form.buildName:'选择楼栋'}}</view>
  35. <img src="@/images/Version3.3.3/icon_06.png">
  36. </view>
  37. </picker>
  38. </view>
  39. <view class="basics_li">
  40. <view class="basics_li_l">计划标题</view>
  41. <picker @change="planChange" :value="planIndex" :range="planArray" class="scope_r">
  42. <view class="basics_li_r college_r">
  43. <view>{{form.title?form.title:'选择计划标题'}}</view>
  44. <img src="@/images/Version3.3.3/icon_06.png">
  45. </view>
  46. </picker>
  47. </view>
  48. <view class="basics_li">
  49. <view class="basics_li_l">检查类型</view>
  50. <picker @change="categoryChange" :value="categoryIndex" :disabled="isCustom" :range="categoryArray" class="scope_r">
  51. <view class="basics_li_r college_r">
  52. <view>{{form.checkType?(form.checkType==1?'校院巡查':'实验室自查'):'选择检查类型'}}</view>
  53. <img src="@/images/Version3.3.3/icon_06.png">
  54. </view>
  55. </picker>
  56. </view>
  57. <view class="period">
  58. <view class="period_l">检查周期</view>
  59. <view class="period_r">
  60. <picker mode="date" @change="startChange(form,$event)" :disabled="isCustom">
  61. <input class="picker-text" disabled type="text" v-model="form.cycleStartTime" placeholder="开始时间">
  62. </picker>
  63. <view>至</view>
  64. <picker mode="date" @change="endChange(form,$event)" :disabled="isCustom">
  65. <input class="picker-text2" disabled type="text" v-model="form.cycleEndTime" placeholder="结束时间">
  66. </picker>
  67. </view>
  68. </view>
  69. <view class="custom" @click="customFun">{{isCustom?'自定义输入':'选择计划'}}</view>
  70. </view>
  71. <view class="inspect">
  72. <view class="inspect_li">
  73. <view class="inspect_li_l">检查结果</view>
  74. <picker @change="resultChange" :value="resultIndex" :range="resultArray" class="scope_r">
  75. <view class="inspect_li_r college_r">
  76. <view>{{form.checkResult==1?'符合':'不符合'}}</view>
  77. <img src="@/images/Version3.3.3/icon_06.png">
  78. </view>
  79. </picker>
  80. </view>
  81. <view class="inspect_li" v-if="form.checkResult==0">
  82. <view class="inspect_li_l">整改日期</view>
  83. <picker mode="date" @change="rectifyDeadline(form,$event)">
  84. <view class="inspect_li_r date_r">
  85. <input disabled class="picker-text" type="text" v-model="form.rectifyDeadline" placeholder="请选择日期" placeholder-style="font-size: 30rpx;color:#333;">
  86. <img src="@/images/Version3.3.3/icon_rl.png">
  87. </view>
  88. </picker>
  89. </view>
  90. <view class="inspect_li" v-if="form.checkResult==0">
  91. <view class="inspect_li_l">整改通知</view>
  92. <view class="inform_r">
  93. <view v-for="(item,index) in informArray" :key="index" @click="tabClick(index)"><text :class="informIndex==index?'checked':'inform_r_l' "></text><text class="inform_r_r">{{item}}</text></view>
  94. </view>
  95. </view>
  96. </view>
  97. </scroll-view>
  98. <!-- 房间选择弹出层 -->
  99. <view class="popup-max-box" v-if="popupType">
  100. <view class="popup-null" @click="popupClick(2)"></view>
  101. <view class="popup-big-box">
  102. <view class="popup-input-box">
  103. <input type="text" maxlength="10" v-model="room" placeholder="请输入房间号">
  104. <view @click="buildBySub">搜索</view>
  105. </view>
  106. <view class="popup-for-max-box">
  107. <view class="popup-for-null" v-if="!roomList[0]">暂无数据</view>
  108. <view class="popup-for-box" v-for="(item,index) in roomList" :key="index">
  109. <view class="name-p">{{item.name}}</view>
  110. <view class="button-p" @click="popupClickItem(item)">确定</view>
  111. </view>
  112. </view>
  113. </view>
  114. </view>
  115. <!-- 检查名称弹窗 -->
  116. <uni-popup ref="popup" class="inspect_name" type="bottom">
  117. <view class="popup-content">
  118. <view class="inspect_name_t">
  119. <input type="text" v-model="customTitle" maxlength="20" placeholder="请输入计划标题"/>
  120. </view>
  121. <view class="inspect_name_b">
  122. <text @click="titleCancel()">取消</text>
  123. <text @click="titleConfirm()">确定</text>
  124. </view>
  125. </view>
  126. </uni-popup>
  127. <view class="bottom_btn" @click="handleClick('nextStep')" v-if="form.checkResult==0">下一步</view>
  128. <view class="bottom_btn" @click="submitForm()" v-if="form.checkResult==1">提交</view>
  129. </view>
  130. </template>
  131. <script>
  132. import { config } from '@/api/request/config.js'
  133. import { buildBySub,listDepartments,subjectList,getCheckPlanBySubId,checkManageAdd,findCheckManage,getBuildingList} from '@/api/index.js'
  134. export default {
  135. name: "rectifyList",
  136. components: {
  137. },
  138. data() {
  139. return {
  140. id:'',
  141. pageType:0,
  142. //列表请求参数
  143. getData:{
  144. pageNum:1,
  145. pageSize:20,
  146. },
  147. customTitle:'',
  148. form:{
  149. id:'',
  150. checkPlanId:'',
  151. manageStatus:'',//保存1 提交2
  152. subId:'',//实验室
  153. subjectName:'',
  154. title:'',//计划标题
  155. deptId:'',//学院
  156. collegeName:'',
  157. buildId:'',//楼栋
  158. buildName:'',
  159. roomNumber:'',//房间号
  160. checkType:'',// 检查类型(1校院巡查 2实验室自查)
  161. checkResult:'1',// 检查结果 0不符合 1符合
  162. rectifyDeadline:'',//整改期限
  163. rectifyNotice:'1',//整改通知(1整改告知书 2整改通知书)
  164. cycleStartTime:'',
  165. cycleEndTime:'',
  166. checkHazardDtoList:[
  167. {
  168. voiceRemark:[],//语音备忘存储
  169. hazardLevel:'0',//隐患等级
  170. hazardLevelName:'一般隐患',//隐患等级
  171. hazardCheckCode:'', //检查项目code序号
  172. hazardCheckName:'', //检查项目名称
  173. hazardCheckPro:'', //最后一级的id
  174. hazardCheckPoint:'',// 检查要点
  175. hazardDescribe:'', //隐患描述
  176. uploadDtoList:[],//隐患照片
  177. }
  178. ],
  179. },
  180. collegeIndex :0,
  181. collegeArray:[],
  182. categoryIndex :0,
  183. categoryArray:['校院巡查','实验室自查'],
  184. planIndex :0,
  185. planArray:[],
  186. planList:[],
  187. resultIndex :0,
  188. resultArray:['符合','不符合'],
  189. informIndex:0,
  190. informArray:['整改告知书','整改通知书'],
  191. //房间弹层 状态
  192. popupType:false,
  193. //房间搜索字段
  194. room:"",
  195. roomList:[],
  196. item:{},
  197. isCustom:true,
  198. buildingArray:[],
  199. buildingList:[],
  200. }
  201. },
  202. onLoad(option) {
  203. if(option.id){
  204. this.id=option.id
  205. this.findCheckManage()
  206. }
  207. //通过实验室id查询计划
  208. if(option.subId){
  209. this.getCheckPlanBySubId(option.subId)
  210. }
  211. },
  212. onShow() {
  213. },
  214. mounted(){
  215. this.listDepartments();
  216. },
  217. methods: {
  218. //滚动事件
  219. scrollGet(){},
  220. handleClick(doType){
  221. let self=this;
  222. if( doType=='nextStep'){//下一步
  223. uni.redirectTo({
  224. url: '/pages/pages_safetyExamine/examineManage/examineAddTow?form='+encodeURIComponent(JSON.stringify(this.form))
  225. });
  226. }
  227. },
  228. customFun(){
  229. let self=this;
  230. self.isCustom=!self.isCustom
  231. if(self.isCustom){//自定义
  232. self.form.title='';
  233. self.form.checkType='';
  234. self.form.cycleStartTime='';
  235. self.form.cycleEndTime='';
  236. }else{//选择计划
  237. self.form.title='';
  238. self.form.checkType='';
  239. self.form.cycleStartTime='';
  240. self.form.cycleEndTime='';
  241. self.$refs.popup.open()
  242. }
  243. },
  244. titleCancel(){
  245. let self=this;
  246. self.$refs.popup.close()
  247. },
  248. titleConfirm(){
  249. let self=this;
  250. this.form.title=this.customTitle;
  251. self.$refs.popup.close()
  252. },
  253. //开始时间选中事件
  254. startChange(form,e){
  255. if(new Date(e.target.value).getTime()>=new Date(form.cycleEndTime).getTime()){
  256. uni.showToast({
  257. title: '结束时间不能小于开始时间',
  258. icon:"none",
  259. mask:true,
  260. duration: 2000
  261. });
  262. }else{
  263. form.cycleStartTime=e.target.value
  264. }
  265. console.log(e.target.value)
  266. console.log(form.cycleStartTime)
  267. },
  268. //结束时间选中事件
  269. endChange(form,e){
  270. if(new Date(form.cycleStartTime).getTime()>=new Date(e.target.value).getTime()){
  271. uni.showToast({
  272. title: '结束时间不能小于开始时间',
  273. icon:"none",
  274. mask:true,
  275. duration: 2000
  276. });
  277. }else{
  278. form.cycleEndTime=e.target.value
  279. }
  280. },
  281. //详情
  282. async findCheckManage(){
  283. let _this = this;
  284. const {data} = await findCheckManage({id:this.id});
  285. if(data.code == 200){
  286. this.form.id=data.data.id;
  287. this.form.checkPlanId=data.data.checkPlanId;
  288. this.form.subId=data.data.subId;
  289. this.form.subjectName=data.data.subjectName;
  290. this.form.title=data.data.title;
  291. this.form.deptId=data.data.deptId;
  292. this.form.collegeName=data.data.collegeName;
  293. this.form.buildId=data.data.buildId;
  294. this.form.buildName=data.data.buildName;
  295. this.form.checkType=data.data.checkType;
  296. this.form.checkResult=data.data.checkResult==null?'1':data.data.checkResult;
  297. this.form.rectifyDeadline=data.data.rectifyDeadline;
  298. this.form.rectifyNotice=data.data.rectifyNotice==null?'1':data.data.rectifyNotice;
  299. if(data.data.checkHazardDtoList.length>0){//隐患项
  300. this.form.checkHazardDtoList=data.data.checkHazardDtoList;
  301. }
  302. this.form.id=data.data.id;
  303. //根据实验室id查询实验室计划
  304. if(data.data.subId){
  305. this.form.cycleStartTime=data.data.cycleStartTime;
  306. this.form.cycleEndTime=data.data.cycleEndTime;
  307. this.getCheckPlanBySubId(data.data.subId)
  308. }
  309. }
  310. },
  311. //查询学院列表
  312. async listDepartments(){
  313. let _this = this;
  314. const {data} = await listDepartments();
  315. if(data.code == 200){
  316. for(let i=0;i<data.data.length;i++){
  317. _this.collegeArray.push(data.data[i].deptName)
  318. }
  319. _this.collegeList=data.data;
  320. }
  321. },
  322. //根据实验室id查询该实验室有关计划
  323. async getCheckPlanBySubId(subId){
  324. let _this = this;
  325. const {data} = await getCheckPlanBySubId({'subId':subId});
  326. if(data.code == 200){
  327. for(let i=0;i<data.data.length;i++){
  328. _this.planArray.push(data.data[i].title)
  329. }
  330. _this.planList=data.data;
  331. }
  332. },
  333. //根据学院id查询楼栋
  334. async getBuildingList(deptId){
  335. let _this = this;
  336. const {data} = await getBuildingList(deptId);
  337. if(data.code == 200){
  338. console.log(_this.form.buildId)
  339. for(let i=0;i<data.data.length;i++){
  340. _this.buildingArray.push(data.data[i].deptName)
  341. if(_this.form.buildId==data.data[i].deptId){
  342. this.$set(this.form,"buildName",data.data[i].deptName)
  343. }
  344. }
  345. console.log(_this.form.buildName)
  346. _this.buildingList=data.data;
  347. }
  348. },
  349. //楼栋选中
  350. buildingChange(e){
  351. this.form.buildId=this.buildingList[e.target.value].deptId
  352. this.form.buildName=this.buildingList[e.target.value].deptName
  353. },
  354. //学院选中
  355. collegeChange(e){
  356. this.collegeIndex = e.target.value;
  357. this.form.deptId=this.collegeList[e.target.value].deptId
  358. this.form.collegeName=this.collegeList[e.target.value].deptName
  359. console.log()
  360. this.getBuildingList(this.form.deptId)
  361. },
  362. //检查类型
  363. categoryChange(e){
  364. this.categoryIndex = e.target.value;
  365. if(e.target.value==0){
  366. this.form.checkType=1
  367. }else if(e.target.value==1){
  368. this.form.checkType=2
  369. }
  370. },
  371. //计划
  372. planChange(e){
  373. this.planIndex = e.target.value;
  374. this.form.title=this.planList[e.target.value].title
  375. this.form.checkPlanId=this.planList[e.target.value].id
  376. this.form.subId=this.planList[e.target.value].subId;
  377. this.form.subjectName=this.planList[e.target.value].subjectName;
  378. this.form.deptId=this.planList[e.target.value].deptId;
  379. this.form.collegeName=this.planList[e.target.value].collegeName;
  380. this.form.buildId=this.planList[e.target.value].buildId;
  381. this.form.buildName=this.planList[e.target.value].buildName;
  382. this.form.checkType=this.planList[e.target.value].checkType;
  383. this.form.checkResult=this.planList[e.target.value].checkResult==null?'1':data.data.checkResult;
  384. this.form.cycleStartTime=this.planList[e.target.value].cycleStartTime;
  385. this.form.cycleEndTime=this.planList[e.target.value].cycleEndTime;
  386. this.form.cycleEndTime=this.planList[e.target.value].cycleEndTime;
  387. },
  388. resultChange(e){
  389. this.resultIndex = e.target.value;
  390. if(e.target.value==0){
  391. this.form.checkResult=1;
  392. }else if(e.target.value==1){
  393. this.form.checkResult=0;
  394. }
  395. },
  396. //开始时间选中事件
  397. rectifyDeadline(form,e){
  398. form.rectifyDeadline=e.target.value
  399. },
  400. //整改通知
  401. tabClick(index) {
  402. this.informIndex = index;
  403. if(index==0){
  404. this.rectifyNotice='1';
  405. }else if(index==1){
  406. this.rectifyNotice='2';
  407. }
  408. },
  409. //搜索房间弹层开关
  410. popupClick(type){
  411. if(type == 1){
  412. this.room = "";
  413. this.roomList = [];
  414. this.popupType = true;
  415. }else if(type == 2){
  416. this.popupType = false;
  417. }
  418. },
  419. //搜索房间接口
  420. async buildBySub(){
  421. let self = this;
  422. if(!this.room){
  423. uni.showToast({
  424. title: '请输入要搜索房间号',
  425. icon:"none",
  426. mask:true,
  427. duration: 2000
  428. });
  429. return
  430. }
  431. const {data} = await buildBySub(this.room);
  432. if(data.code==200){
  433. if(data.data[0]){
  434. this.roomList = data.data;
  435. }else{
  436. uni.showToast({
  437. title: '未找到相关房间',
  438. icon:"none",
  439. mask:true,
  440. duration: 2000
  441. });
  442. }
  443. }
  444. },
  445. //确认搜索房间
  446. popupClickItem(item){
  447. this.$set(this.form,"subId",item.id)
  448. this.$set(this.form,"subjectName",item.name)
  449. this.$set(this.form,"deptId",item.deptId)
  450. this.$set(this.form,"buildId",item.buildId)
  451. this.$set(this.form,"roomNumber",item.room)
  452. //获取学院名称
  453. for(let i=0;i<this.collegeList.length;i++){
  454. if(this.collegeList[i].deptId==item.deptId){
  455. this.$set(this.form,"collegeName",this.collegeList[i].deptName)
  456. }
  457. }
  458. //请求楼栋数据
  459. this.getBuildingList(item.deptId)
  460. this.popupType = false;
  461. this.getCheckPlanBySubId(item.id)
  462. },
  463. //调用摄像头
  464. saoCode(){
  465. let self = this;
  466. uni.scanCode({
  467. onlyFromCamera: true,
  468. success: function (res) {
  469. if(res.result.indexOf("code") != -1 && res.result.indexOf("-") != -1 && res.result.indexOf("&") != -1){
  470. let codeRoom = "";
  471. let newList = res.result.split("?")[1].split("&")
  472. let list = newList[0].split("=")[1].split("-")
  473. codeRoom = list[1];
  474. if(codeRoom){
  475. self.roomList = [];
  476. self.room = codeRoom;
  477. self.buildBySub();
  478. self.popupType = true;
  479. }else{
  480. uni.showToast({
  481. title: '请扫描正确的二维码',
  482. icon:"none",
  483. mask:true,
  484. duration: 2000
  485. });
  486. }
  487. }else{
  488. uni.showToast({
  489. title: '请扫描正确的二维码',
  490. icon:"none",
  491. mask:true,
  492. duration: 2000
  493. });
  494. }
  495. }
  496. });
  497. },
  498. //提交
  499. async submitForm(){
  500. let _this = this;
  501. this.form.manageStatus=2;
  502. const {data} = await checkManageAdd(_this.form);
  503. if(data.code == 200){
  504. uni.showToast({
  505. title: '提交成功',
  506. icon:"none",
  507. mask:true,
  508. duration: 2000
  509. });
  510. uni.redirectTo({
  511. url: '/pages/pages_safetyExamine/examineManage/examineList'
  512. });
  513. }
  514. },
  515. }
  516. }
  517. </script>
  518. <style lang="stylus" scoped>
  519. .examine{
  520. height:100%;
  521. display flex;
  522. box-sizing: border-box;
  523. .info-max-box{
  524. flex: 1;
  525. overflow: scroll;
  526. padding: 20rpx 0rpx 128rpx;
  527. box-sizing: border-box;
  528. }
  529. .basics{
  530. margin: 0 30rpx;
  531. width: 690rpx;
  532. height: 740rpx;
  533. background: #FFFFFF;
  534. border-radius: 20rpx;
  535. padding: 30rpx 28rpx 0;
  536. box-sizing: border-box;
  537. .basics_li{
  538. display: flex;
  539. justify-content: flex-start;
  540. margin-bottom: 24rpx;
  541. .basics_li_l{
  542. width: 146rpx;
  543. text-align: left;
  544. font-size: 30rpx;
  545. font-family: PingFang SC-Medium, PingFang SC;
  546. font-weight: 400;
  547. color: #333333;
  548. line-height: 80rpx;
  549. }
  550. .basics_li_r{
  551. width: 486rpx;
  552. height: 80rpx;
  553. border-radius: 10rpx;
  554. opacity: 1;
  555. border: 1rpx solid #E0E0E0;
  556. padding-left: 20rpx;
  557. box-sizing: border-box;
  558. }
  559. /* 学院 */
  560. .college_r{
  561. width: 486rpx;
  562. height: 80rpx;
  563. border-radius: 10rpx;
  564. border: 1rpx solid #E0E0E0;
  565. display: flex;
  566. justify-content: flex-start;
  567. align-items: center;
  568. >view{
  569. flex:1;
  570. line-height:80rpx;
  571. font-size: 30rpx;
  572. font-family: PingFang SC-Medium, PingFang SC;
  573. font-weight: 400;
  574. color: #333333;
  575. line-height: 80rpx;
  576. white-space: nowrap;
  577. overflow: hidden;
  578. text-overflow: ellipsis;
  579. }
  580. >img{
  581. width: 14rpx;
  582. height: 8rpx;
  583. margin-right: 30rpx;
  584. }
  585. }
  586. /* 实验室 */
  587. .lab_r{
  588. width: 486rpx;
  589. height: 80rpx;
  590. display: flex;
  591. justify-content: flex-start;
  592. .picker-text{
  593. width: 438rpx;
  594. height: 80rpx;
  595. }
  596. .img-box{
  597. width: 48rpx;
  598. >img{
  599. width:30rpx;
  600. height:28rpx;
  601. margin:26rpx 18rpx 0 0;
  602. }
  603. }
  604. }
  605. /* 楼栋 */
  606. .building_r{
  607. width: 486rpx;
  608. height: 80rpx;
  609. >input{
  610. height: 80rpx;
  611. font-size: 30rpx;
  612. font-family: PingFang SC-Medium, PingFang SC;
  613. font-weight: 400;
  614. color: #333333;
  615. line-height: 80rpx;
  616. }
  617. }
  618. }
  619. .period{
  620. display: flex;
  621. justify-content: flex-start;
  622. align-items: center;
  623. margin-bottom: 24rpx;
  624. .period_l{
  625. width: 146rpx;
  626. font-size: 30rpx;
  627. font-family: PingFang SC-Medium, PingFang SC;
  628. font-weight: 400;
  629. color: #333333;
  630. line-height: 42rpx;
  631. text-align: left;
  632. }
  633. .period_r{
  634. width: 490rpx;
  635. height: 80rpx;
  636. border-radius: 10rpx;
  637. border: 1rpx solid #E0E0E0;
  638. display: flex;
  639. justify-content: flex-start;
  640. align-items: center;
  641. .picker-text{
  642. font-size: 30rpx;
  643. font-family: PingFang SC-Medium, PingFang SC;
  644. font-weight: 400;
  645. color: #333;
  646. line-height: 80rpx;
  647. width: 230rpx;
  648. text-align: center;
  649. }
  650. .picker-text2{
  651. font-size: 30rpx;
  652. font-family: PingFang SC-Medium, PingFang SC;
  653. font-weight: 400;
  654. color: #333;
  655. line-height: 80rpx;
  656. width: 230rpx;
  657. text-align: center;
  658. }
  659. }
  660. }
  661. .custom{
  662. width: 150rpx;
  663. height: 60rpx;
  664. border-radius: 10rpx 10rpx 10rpx 10rpx;
  665. opacity: 1;
  666. border: 1rpx solid #0183FA;
  667. font-size: 26rpx;
  668. font-family: PingFang SC-Medium, PingFang SC;
  669. font-weight: 400;
  670. color: #0183FA;
  671. line-height: 60rpx;
  672. text-align: center;
  673. float: right;
  674. }
  675. }
  676. .attachment{
  677. width: 690rpx;
  678. background: #FFFFFF;
  679. border-radius: 20rpx;
  680. margin: 20rpx 30rpx 0;
  681. padding-bottom: 32rpx;
  682. box-sizing: border-box;
  683. .attachment_t{
  684. border-bottom: 1rpx solid #D8D8D8;
  685. >text:nth-of-type(1){
  686. font-size: 30rpx;
  687. font-family: PingFang SC-Medium, PingFang SC;
  688. font-weight: 400;
  689. color: #333333;
  690. line-height: 110rpx;
  691. margin-left: 28rpx;
  692. }
  693. >text:nth-of-type(2){
  694. font-size: 30rpx;
  695. font-family: PingFang SC-Medium, PingFang SC;
  696. font-weight: 400;
  697. color: #999999;
  698. line-height: 110rpx;
  699. margin-left: 24rpx;
  700. }
  701. }
  702. .attachment_li{
  703. height: 40rpx;
  704. display: flex;
  705. justify-content: flex-start;
  706. align-items: center;
  707. margin-top: 32rpx;
  708. >img{
  709. width: 30rpx;
  710. height: 26rpx;
  711. margin-right: 20rpx;
  712. margin-left: 50rpx;
  713. }
  714. >text{
  715. flex: 1;
  716. font-size: 28rpx;
  717. font-family: PingFang SC-Medium, PingFang SC;
  718. font-weight: 400;
  719. color: #0183FA;
  720. line-height: 40rpx;
  721. white-space: nowrap;
  722. overflow: hidden;
  723. text-overflow: ellipsis;
  724. }
  725. .attachment_li_del{
  726. width: 30rpx;
  727. height: 30rpx;
  728. }
  729. }
  730. }
  731. .inspect{
  732. margin: 20rpx 30rpx 0;
  733. width: 690rpx;
  734. height: auto;
  735. background: #FFFFFF;
  736. border-radius: 20rpx;
  737. padding: 40rpx 28rpx 20rpx;
  738. box-sizing: border-box;
  739. .inspect_li{
  740. display: flex;
  741. justify-content: flex-start;
  742. margin-bottom: 24rpx;
  743. .inspect_li_l{
  744. width: 146rpx;
  745. text-align: left;
  746. font-size: 30rpx;
  747. font-family: PingFang SC-Medium, PingFang SC;
  748. font-weight: 400;
  749. color: #333333;
  750. line-height: 80rpx;
  751. }
  752. .inspect_li_r{
  753. width: 486rpx;
  754. height: 80rpx;
  755. border-radius: 10rpx;
  756. opacity: 1;
  757. border: 1rpx solid #E0E0E0;
  758. padding-left: 20rpx;
  759. box-sizing: border-box;
  760. }
  761. .college_r{
  762. width: 486rpx;
  763. height: 80rpx;
  764. border-radius: 10rpx;
  765. border: 1rpx solid #E0E0E0;
  766. display: flex;
  767. justify-content: flex-start;
  768. align-items: center;
  769. >view{
  770. flex:1;
  771. line-height:80rpx;
  772. font-size: 30rpx;
  773. font-family: PingFang SC-Medium, PingFang SC;
  774. font-weight: 400;
  775. color: #333333;
  776. line-height: 80rpx;
  777. }
  778. >img{
  779. width: 14rpx;
  780. height: 8rpx;
  781. margin-right: 30rpx;
  782. }
  783. }
  784. /* 整改日期 */
  785. .date_r{
  786. width: 486rpx;
  787. height: 80rpx;
  788. display: flex;
  789. justify-content: flex-start;
  790. .picker-text{
  791. width: 438rpx;
  792. height: 80rpx;
  793. }
  794. >img{
  795. width:30rpx;
  796. height:28rpx;
  797. margin:16rpx 18rpx 0 0;
  798. }
  799. }
  800. /* 整改通知 */
  801. .inform_r{
  802. width: 486rpx;
  803. height: 80rpx;
  804. padding-left: 20rpx;
  805. box-sizing: border-box;
  806. display: flex;
  807. justify-content: flex-start;
  808. align-items: center;
  809. >view{
  810. display: flex;
  811. justify-content: flex-start;
  812. align-items: center;
  813. margin-right: 24rpx;
  814. .inform_r_l{
  815. display: inline-block;
  816. width: 30rpx;
  817. height: 30rpx;
  818. border-radius: 50%;
  819. border: 1rpx solid #E0E0E0;
  820. margin-right: 14rpx;
  821. }
  822. .inform_r_r{
  823. font-size: 30rpx;
  824. font-family: PingFang SC-Medium, PingFang SC;
  825. font-weight: 400;
  826. color: #333333;
  827. line-height: 80rpx;
  828. }
  829. .checked{
  830. display: inline-block;
  831. width: 30rpx;
  832. height: 30rpx;
  833. border-radius: 50%;
  834. border: 1rpx solid #0183FA;
  835. margin-right: 14rpx;
  836. position: relative;
  837. }
  838. .checked::after{
  839. content: '';
  840. position: absolute;
  841. top: 5rpx;
  842. left:5rpx;
  843. width: 20rpx;
  844. height: 20rpx;
  845. border-radius: 50%;
  846. background: #0183FA;
  847. }
  848. }
  849. }
  850. }
  851. }
  852. .popup-max-box{
  853. z-index:10;
  854. height:100%;
  855. width:100%;
  856. position fixed;
  857. background rgba(0,0,0,0.2)
  858. display flex;
  859. flex-direction column
  860. .popup-null{
  861. flex:1;
  862. }
  863. .popup-big-box{
  864. border-top-left-radius:20rpx;
  865. border-top-right-radius:20rpx;
  866. background #fff
  867. .popup-input-box{
  868. padding:30rpx 20rpx;
  869. display:flex;
  870. input{
  871. flex:1;
  872. height:70rpx;
  873. border:1rpx solid #e0e0e0;
  874. border-radius:10rpx;
  875. margin-right:20rpx;
  876. padding:0 20rpx;
  877. }
  878. view{
  879. background #0183FA
  880. color:#fff;
  881. border-radius:10rpx;
  882. width:140rpx;
  883. line-height:70rpx;
  884. text-align center;
  885. font-size:28rpx;
  886. }
  887. }
  888. .popup-for-max-box{
  889. margin:0 20rpx 30rpx;
  890. height:600rpx;
  891. overflow-y scroll;
  892. .popup-for-null{
  893. line-height:100rpx;
  894. text-align center
  895. color:#999;
  896. }
  897. .popup-for-box{
  898. display:flex;
  899. padding:10px 0;
  900. .name-p{
  901. flex:1;
  902. line-height:60rpx;
  903. }
  904. .button-p{
  905. background #0183FA
  906. color:#fff;
  907. text-align center
  908. width:100rpx;
  909. line-height:60rpx;
  910. height:60rpx;
  911. border-radius:10rpx;
  912. }
  913. }
  914. }
  915. }
  916. }
  917. /* 计划标题 */
  918. .inspect_name{
  919. .popup-content{
  920. width: 750rpx;
  921. height: 350rpx;
  922. background: #FFFFFF;
  923. border-radius: 10rpx 10rpx 0px 0px;
  924. padding :0 50rpx;
  925. box-sizing :border-box;
  926. overflow :hidden;
  927. .inspect_name_t{
  928. margin-top:66rpx;
  929. padding: 0 30rpx;
  930. box-sizing: border-box;
  931. >input{
  932. width:100%;
  933. height:80rpx;
  934. border: 2rpx solid #E0E0E0;
  935. color:#A2A2A2;
  936. font-size:28rpx;
  937. line-height 80rpx
  938. border-radius:10rpx;
  939. padding: 0 20rpx;
  940. box-sizing: border-box;
  941. }
  942. }
  943. .inspect_name_b{
  944. margin-top :64rpx;
  945. display: flex;
  946. justify-content: center;
  947. >text:nth-of-type(1){
  948. width: 160rpx;
  949. height: 60rpx;
  950. border-radius: 40rpx;
  951. font-size: 30rpx;
  952. font-family: PingFang SC;
  953. font-weight: 500;
  954. color: #333333;
  955. line-height: 60rpx;
  956. text-align :center;
  957. margin-right: 120rpx;
  958. border: 2rpx solid #e0e0e0;
  959. }
  960. >text:nth-of-type(2){
  961. width: 160rpx;
  962. height: 60rpx;
  963. background: linear-gradient(-35deg, #309CFF, #0183FA);
  964. border-radius: 40rpx;
  965. font-size: 30rpx;
  966. font-family: PingFang SC;
  967. font-weight: 500;
  968. color: #FFFFFF;
  969. line-height: 60rpx;
  970. text-align :center;
  971. }
  972. }
  973. }
  974. }
  975. .bottom_btn{
  976. position: fixed;
  977. bottom: 26rpx;
  978. left: 30rpx;
  979. font-size: 30rpx;
  980. font-family: PingFang SC-Medium, PingFang SC;
  981. font-weight: 400;
  982. color: #FFFFFF;
  983. line-height: 90rpx;
  984. width: 690rpx;
  985. height: 90rpx;
  986. background: #0183FA;
  987. border-radius: 20rpx;
  988. text-align: center;
  989. }
  990. }
  991. </style>