examineAdd.vue 20 KB

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