index.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635
  1. <!--信用分设置-->
  2. <template>
  3. <div class="app-container Markconfig">
  4. <p class="title-p">信用分设置</p>
  5. <el-form class="form-content scrollbar-box" ref="form" :model="form" :rules="rules" v-if="pageType">
  6. <div style="display: flex">
  7. <el-form-item label="信用分合格分值:" prop="passMark" label-width="160px">
  8. <el-input
  9. v-model="form.passMark"
  10. placeholder="请输入信用分合格分值"
  11. maxLength="5"
  12. clearable
  13. style="width:180px;">
  14. <template slot="append">分</template>
  15. </el-input>
  16. </el-form-item>
  17. <el-form-item label="信用分合格分值获取条件:" prop="gainSafeCertList" label-width="230px">
  18. <el-checkbox-group v-model="form.gainSafeCertList" style="width:370px;display: flex;margin-top:2px;">
  19. <el-checkbox label="gainSafeCert" style="color:#999;">获得安全准入证书</el-checkbox>
  20. <el-checkbox label="gainSubSafeCert" style="color:#999;">获得实验室安全准入资格</el-checkbox>
  21. </el-checkbox-group>
  22. </el-form-item>
  23. <el-form-item label="黑名单分值:" prop="blackScore" label-width="120px">
  24. <el-input
  25. v-model="form.blackScore"
  26. placeholder="请输入黑名单分值"
  27. maxLength="5"
  28. clearable
  29. style="width:180px;">
  30. <template slot="append">分</template>
  31. </el-input>
  32. <span class="annotation-span" style="margin-left:20px;">信用分小于等于设定的分值即进入黑名单</span>
  33. </el-form-item>
  34. </div>
  35. <el-form-item label="信用分值段设置:" prop="passMark" label-width="160px" style="margin-bottom:10px;">
  36. <span class="annotation-span">可设置多个分值段,系统根据设置自动处理</span>
  37. </el-form-item>
  38. <div class="max-add-for-box">
  39. <div class="max-add-for-box-min" v-for="(item,index) in form.configDetailList">
  40. <p class="position-del-p el-icon-circle-close" v-if="index!=0" @click="delObj(index)"></p>
  41. <div class="for-interval-flex-box">
  42. <p class="for-interval-title-p min-p-color">信用分值区间</p>
  43. <el-form-item label="" :rules="rules.beginScore" :prop="'configDetailList.'+ index +'.beginScore'" style="margin-bottom:15px;">
  44. <el-input
  45. v-model="item.beginScore"
  46. placeholder="请输入最小值"
  47. maxLength="5"
  48. clearable
  49. size="small">
  50. <template slot="append">分</template>
  51. </el-input>
  52. </el-form-item>
  53. <p class="for-interval-p">~</p>
  54. <el-form-item label="" :rules="rules.endScore" :prop="'configDetailList.'+ index +'.endScore'" style="margin-bottom:15px;">
  55. <el-input
  56. v-model="item.endScore"
  57. placeholder="请输入最大值"
  58. maxLength="5"
  59. clearable
  60. size="small">
  61. <template slot="append">分</template>
  62. </el-input>
  63. </el-form-item>
  64. </div>
  65. <div class="for-check-max-box">
  66. <el-form-item label="" :rules="rules.checkListTwo" :prop="'configDetailList.'+ index +'.checkListTwo'">
  67. <p class="min-p-color" style="margin-bottom:10px;">处理方式</p>
  68. <el-form-item label="">
  69. <el-checkbox-group v-model="item.checkList" style="display: inline-block;width:270px;">
  70. <el-checkbox label="warningStatus">警告<span style="color:#999;">(系统推送警告消息)</span></el-checkbox>
  71. </el-checkbox-group>
  72. <el-checkbox-group v-model="item.checkList" style="display: inline-block;width:270px;">
  73. <el-checkbox label="interviewStatus">约谈<span style="color:#999;">(线下约谈)</span></el-checkbox>
  74. </el-checkbox-group>
  75. <el-checkbox-group v-model="item.checkListTwo" style="display: inline-block;width:270px;">
  76. <el-checkbox label="testStatus">考试</el-checkbox>
  77. </el-checkbox-group>
  78. </el-form-item>
  79. <div style="display: flex;">
  80. <div class="for-check-box" style="min-width:210px;max-width:520px;">
  81. <el-checkbox-group v-model="item.checkListTwo" @change="(data)=>checkClickOne(data,item,'xx')" style="height:40px;line-height:40px;width:80px;">
  82. <el-checkbox label="learnStatus">学习</el-checkbox>
  83. </el-checkbox-group>
  84. <p v-if="item.learnStatusType">学习时长:</p>
  85. <el-form-item label="" :rules="rules.learnHour" :prop="'configDetailList.'+ index +'.learnHour'" v-if="item.learnStatusType">
  86. <el-input
  87. style="width:150px;"
  88. v-model="item.learnHour"
  89. placeholder="请输入"
  90. maxLength="5"
  91. clearable
  92. size="small">
  93. <template slot="append">时</template>
  94. </el-input>
  95. </el-form-item>
  96. <p style="width:30px;"></p>
  97. <el-form-item label="" :rules="rules.learnMinute" :prop="'configDetailList.'+ index +'.learnMinute'" v-if="item.learnStatusType">
  98. <el-input
  99. style="width:150px;"
  100. v-model="item.learnMinute"
  101. placeholder="请输入"
  102. maxLength="5"
  103. clearable
  104. size="small">
  105. <template slot="append">分</template>
  106. </el-input>
  107. </el-form-item>
  108. </div>
  109. <div class="for-check-box" style="margin-left:60px;">
  110. <el-checkbox-group v-model="item.checkListTwo" @change="(data)=>checkClickTwo(data,item,'zt')" style="height:40px;line-height:40px;width:80px;">
  111. <el-checkbox label="practiceStatus">做题</el-checkbox>
  112. </el-checkbox-group>
  113. <p v-if="item.practiceStatusType">题目数量:</p>
  114. <el-form-item label="" :rules="rules.numberTopics" :prop="'configDetailList.'+ index +'.numberTopics'" v-if="item.practiceStatusType">
  115. <el-input
  116. style="width:150px;"
  117. v-model="item.numberTopics"
  118. placeholder="请输入"
  119. maxLength="5"
  120. clearable
  121. size="small">
  122. <template slot="append">道</template>
  123. </el-input>
  124. </el-form-item>
  125. <p style="width:87px;text-align: right;" v-if="item.practiceStatusType">正确率:</p>
  126. <el-form-item label="" :rules="rules.numberAccuracy" :prop="'configDetailList.'+ index +'.numberAccuracy'" v-if="item.practiceStatusType">
  127. <el-input
  128. style="width:150px;"
  129. v-model="item.numberAccuracy"
  130. placeholder="请输入"
  131. maxLength="5"
  132. clearable
  133. size="small">
  134. <template slot="append">%</template>
  135. </el-input>
  136. </el-form-item>
  137. </div>
  138. </div>
  139. </el-form-item>
  140. <el-form-item label="" :rules="rules.handleDay" :prop="'configDetailList.'+ index +'.handleDay'" style="margin-bottom:0;">
  141. <p class="interval-title-p min-p-color">处理天数时限</p>
  142. <el-input
  143. v-model="item.handleDay"
  144. placeholder="请输入"
  145. maxLength="5"
  146. clearable
  147. style="width:200px;">
  148. <template slot="append">天</template>
  149. </el-input>
  150. </el-form-item>
  151. </div>
  152. </div>
  153. <p class="add-button-one-90"
  154. style="margin-left:20px;width:140px;"
  155. @click="addObj"
  156. >添加分值段</p>
  157. </div>
  158. </el-form>
  159. <div class="form-bottom-button-box"
  160. v-hasPermi="['exam:markconfig:edit']">
  161. <p class="null-p-button"></p>
  162. <el-button @click="getList">重 置</el-button>
  163. <el-button type="primary" @click="submitForm">保 存</el-button>
  164. <p class="null-p-button"></p>
  165. </div>
  166. </div>
  167. </template>
  168. <script>
  169. import { listMarkconfig, addpassmark, editpassmark } from "@/api/exam/markconfig";
  170. export default {
  171. name: "Markconfig",
  172. data() {
  173. return {
  174. //页面状态
  175. pageType:false,
  176. // 遮罩层
  177. loading: true,
  178. //数据
  179. form:{},
  180. // 表单校验
  181. rules: {
  182. passMark: [
  183. { required: true, message: "请输入信用分合格分值", trigger: "blur" },
  184. { required: true, message: "请输入信用分合格分值", validator: this.spaceJudgment, trigger: "blur" },
  185. { required: true, message: "只能输入数字", validator: this.isNum, trigger: "blur" },
  186. ],
  187. gainSafeCertList: [
  188. { required: true, message: "请选择信用分合格分值获取条件", trigger: "blur" }
  189. ],
  190. blackScore: [
  191. { required: true, message: "请输入黑名单分值", trigger: "blur" },
  192. { required: true, message: "请输入黑名单分值", validator: this.spaceJudgment, trigger: "blur" },
  193. { required: true, message: "只能输入数字", validator: this.isNum, trigger: "blur" },
  194. ],
  195. beginScore: [
  196. { required: true, message: "请输入最小值", trigger: "blur" },
  197. { required: true, message: "请输入最小值", validator: this.spaceJudgment, trigger: "blur" },
  198. { required: true, message: "只能输入数字", validator: this.isNum, trigger: "blur" },
  199. ],
  200. endScore: [
  201. { required: true, message: "请输入最大值", trigger: "blur" },
  202. { required: true, message: "请输入最大值", validator: this.spaceJudgment, trigger: "blur" },
  203. { required: true, message: "只能输入数字", validator: this.isNum, trigger: "blur" },
  204. ],
  205. checkListTwo: [
  206. { required: true, message: "请在考试/学习/做题中至少选择一种", trigger: "blur" }
  207. ],
  208. learnHour: [
  209. { required: true, message: "请输入小时", trigger: "blur" },
  210. { required: true, message: "请输入小时", validator: this.spaceJudgment, trigger: "blur" },
  211. { required: true, message: "只能输入数字", validator: this.isNum, trigger: "blur" },
  212. ],
  213. learnMinute: [
  214. { required: true, message: "请输入分钟", trigger: "blur" },
  215. { required: true, message: "请输入分钟", validator: this.spaceJudgment, trigger: "blur" },
  216. { required: true, message: "只能输入数字", validator: this.isNum, trigger: "blur" },
  217. ],
  218. numberTopics: [
  219. { required: true, message: "请输入数量", trigger: "blur" },
  220. { required: true, message: "请输入数量", validator: this.spaceJudgment, trigger: "blur" },
  221. { required: true, message: "只能输入数字", validator: this.isNum, trigger: "blur" },
  222. ],
  223. numberAccuracy: [
  224. { required: true, message: "请输入百分比", trigger: "blur" },
  225. { required: true, message: "请输入百分比", validator: this.spaceJudgment, trigger: "blur" },
  226. { required: true, message: "只能输入数字", validator: this.isNum, trigger: "blur" },
  227. ],
  228. handleDay: [
  229. { required: true, message: "请输入处理天数时限", trigger: "blur" },
  230. { required: true, message: "请输入处理天数时限", validator: this.spaceJudgment, trigger: "blur" },
  231. { required: true, message: "只能输入数字", validator: this.isNum, trigger: "blur" },
  232. ],
  233. }
  234. };
  235. },
  236. created() {
  237. this.getList();
  238. },
  239. methods: {
  240. //勾选学习
  241. checkClickOne(data,item,name){
  242. if(name == 'xx'){
  243. let num = 0;
  244. for(let i=0;i<data.length;i++){
  245. if('learnStatus' == data[i]){
  246. num++
  247. }
  248. }
  249. item.learnStatusType = num != 0;
  250. }
  251. },
  252. //勾选做题
  253. checkClickTwo(data,item,name){
  254. if(name == 'zt'){
  255. let num = 0;
  256. for(let i=0;i<data.length;i++){
  257. if('practiceStatus' == data[i]){
  258. num++
  259. }
  260. }
  261. item.practiceStatusType = num != 0;
  262. }
  263. },
  264. //添加分值段
  265. addObj(){
  266. let obj = {
  267. beginScore:"",//最小信用分
  268. endScore:"",//最大信用分
  269. checkList:[],//处理方式
  270. checkListTwo:[],//处理方式
  271. warningStatus:"",//警告
  272. interviewStatus:"",//约谈
  273. testStatus:"",//考试
  274. learnStatus:"",//学习
  275. learnStatusType:false,
  276. learnHour:"",//学习小时
  277. learnMinute:"",//学习分钟
  278. practiceStatus:"",//做题
  279. practiceStatusType:false,
  280. numberTopics:"",//做题数量
  281. numberAccuracy:"",//做题准确率
  282. handleDay:"",//天数
  283. };
  284. this.form.configDetailList.push(obj);
  285. },
  286. //删除分段数据
  287. delObj(index){
  288. this.form.configDetailList.splice(index,1);
  289. },
  290. /** 查询数据 */
  291. getList() {
  292. this.pageType = false;
  293. listMarkconfig({pageNum:"1",pageSize:"1"}).then( response => {
  294. if(response.rows[0]){
  295. //修改
  296. console.log("修改")
  297. let newObj = JSON.parse(JSON.stringify(response.rows[0]));
  298. let obj = {
  299. id:newObj.id,
  300. passMark:newObj.passMark,
  301. blackScore:newObj.blackScore,
  302. gainSafeCertList:[],
  303. configDetailList:[],
  304. };
  305. //处理一级数据
  306. if(newObj.gainSafeCert == 1){
  307. obj.gainSafeCert = 1;
  308. obj.gainSafeCertList.push('gainSafeCert');
  309. }else{
  310. obj.gainSafeCert = ""
  311. }
  312. if(newObj.gainSubSafeCert == 1){
  313. obj.gainSubSafeCert = 1;
  314. obj.gainSafeCertList.push('gainSubSafeCert');
  315. }else{
  316. obj.gainSubSafeCert = ""
  317. }
  318. //处理二级数据
  319. for(let i=0;i<newObj.configDetailList.length;i++){
  320. let minObj = {
  321. beginScore:newObj.configDetailList[i].beginScore,
  322. endScore:newObj.configDetailList[i].endScore,
  323. handleDay:newObj.configDetailList[i].handleDay,
  324. checkList:[],
  325. checkListTwo:[],
  326. };
  327. //警告
  328. if(newObj.configDetailList[i].warningStatus == 1){
  329. minObj.warningStatus = 1;
  330. minObj.checkList.push('warningStatus');
  331. }else{
  332. minObj.warningStatus = 0;
  333. }
  334. //约谈
  335. if(newObj.configDetailList[i].interviewStatus == 1){
  336. minObj.interviewStatus = 1;
  337. minObj.checkList.push('interviewStatus');
  338. }else{
  339. minObj.interviewStatus = 0;
  340. }
  341. //考试
  342. if(newObj.configDetailList[i].testStatus == 1){
  343. minObj.testStatus = 1;
  344. minObj.checkListTwo.push('testStatus');
  345. }else{
  346. minObj.testStatus = 0;
  347. }
  348. //学习
  349. if(newObj.configDetailList[i].learnStatus == 1){
  350. minObj.learnStatus = 1;
  351. minObj.learnHour = newObj.configDetailList[i].learnHour;
  352. minObj.learnMinute = newObj.configDetailList[i].learnMinute;
  353. minObj.learnStatusType = true;
  354. minObj.checkListTwo.push('learnStatus');
  355. }else{
  356. minObj.learnStatus = 0;
  357. minObj.learnHour = "";
  358. minObj.learnMinute = "";
  359. minObj.learnStatusType = false;
  360. }
  361. //做题
  362. if(newObj.configDetailList[i].practiceStatus == 1){
  363. minObj.practiceStatus = 1;
  364. minObj.numberTopics = newObj.configDetailList[i].numberTopics;
  365. minObj.numberAccuracy = newObj.configDetailList[i].numberAccuracy;
  366. minObj.practiceStatusType = true;
  367. minObj.checkListTwo.push('practiceStatus');
  368. }else{
  369. minObj.practiceStatus = 0;
  370. minObj.numberTopics = "";
  371. minObj.numberAccuracy = "";
  372. minObj.practiceStatusType = false;
  373. }
  374. obj.configDetailList.push(minObj);
  375. }
  376. this.$set(this,'form',obj);
  377. this.pageType = true;
  378. }else{
  379. //新提交
  380. console.log("新提交")
  381. let obj = {
  382. passMark:"",//信用分合格值
  383. gainSafeCertList:[],//多选数组库
  384. gainSafeCert:"",//获得安全准入证书
  385. gainSubSafeCert:"",//获得实验室安全准入资格
  386. blackScore:"",//黑名单分值
  387. configDetailList:[
  388. {
  389. beginScore:"",//最小信用分
  390. endScore:"",//最大信用分
  391. checkList:[],//处理方式
  392. checkListTwo:[],//处理方式
  393. warningStatus:"",//警告
  394. interviewStatus:"",//约谈
  395. testStatus:"",//考试
  396. learnStatus:"",//学习
  397. learnStatusType:false,
  398. learnHour:"",//学习小时
  399. learnMinute:"",//学习分钟
  400. practiceStatus:"",//做题
  401. practiceStatusType:false,
  402. numberTopics:"",//做题数量
  403. numberAccuracy:"",//做题准确率
  404. handleDay:"",//天数
  405. }
  406. ],
  407. };
  408. this.$set(this,'form',obj);
  409. this.pageType = true;
  410. }
  411. });
  412. },
  413. /** 提交按钮 */
  414. submitForm() {
  415. this.$refs["form"].validate(valid => {
  416. if (valid) {
  417. let newObj = JSON.parse(JSON.stringify(this.form));
  418. let obj = {
  419. passMark:newObj.passMark,
  420. blackScore:newObj.blackScore,
  421. configDetailList:[],
  422. };
  423. if(newObj.id){
  424. obj.id = newObj.id;
  425. }
  426. //处理一级多选
  427. let gainSafeCertNum = 0;
  428. let gainSubSafeCertNum = 0;
  429. for(let i=0;i<newObj.gainSafeCertList.length;i++){
  430. if(newObj.gainSafeCertList[i] == 'gainSafeCert'){
  431. gainSafeCertNum++
  432. }
  433. if(newObj.gainSafeCertList[i] == 'gainSubSafeCert'){
  434. gainSubSafeCertNum++
  435. }
  436. }
  437. if(gainSafeCertNum == 0){
  438. obj.gainSafeCert = "";
  439. }else{
  440. obj.gainSafeCert = 1;
  441. }
  442. if(gainSubSafeCertNum == 0){
  443. obj.gainSubSafeCert = "";
  444. }else{
  445. obj.gainSubSafeCert = 1;
  446. }
  447. //处理二级子项
  448. for(let i=0;i<newObj.configDetailList.length;i++){
  449. let minObj ={
  450. beginScore:newObj.configDetailList[i].beginScore,
  451. endScore:newObj.configDetailList[i].endScore,
  452. handleDay:newObj.configDetailList[i].handleDay,
  453. };
  454. //处理二级多选--警告/约谈
  455. let warningStatusNum = 0;
  456. let interviewStatusNum = 0;
  457. for(let o=0;o<newObj.configDetailList[i].checkList.length;o++){
  458. if(newObj.configDetailList[i].checkList[o] == 'warningStatus'){
  459. warningStatusNum++
  460. }
  461. if(newObj.configDetailList[i].checkList[o] == 'interviewStatus'){
  462. interviewStatusNum++
  463. }
  464. }
  465. if(warningStatusNum == 0){
  466. minObj.warningStatus = "";
  467. }else{
  468. minObj.warningStatus = 1;
  469. }
  470. if(interviewStatusNum == 0){
  471. minObj.interviewStatus = "";
  472. }else{
  473. minObj.interviewStatus = 1;
  474. }
  475. //处理二级多选--考试
  476. let testStatusNum = 0;
  477. for(let o=0;o<newObj.configDetailList[i].checkListTwo.length;o++){
  478. if(newObj.configDetailList[i].checkListTwo[o] == 'testStatus'){
  479. testStatusNum++
  480. }
  481. }
  482. if(testStatusNum == 0){
  483. minObj.testStatus = "";
  484. }else{
  485. minObj.testStatus = 1;
  486. }
  487. //处理二级多选--学习
  488. if(newObj.configDetailList[i].learnStatusType){
  489. minObj.learnStatus = 1;
  490. minObj.learnHour = newObj.configDetailList[i].learnHour;
  491. minObj.learnMinute = newObj.configDetailList[i].learnMinute;
  492. }else{
  493. minObj.learnStatus = "";
  494. minObj.learnHour = "";
  495. minObj.learnMinute = "";
  496. }
  497. //处理二级多选--做题
  498. if(newObj.configDetailList[i].practiceStatusType){
  499. minObj.practiceStatus = 1;
  500. minObj.numberTopics = newObj.configDetailList[i].numberTopics;
  501. minObj.numberAccuracy = newObj.configDetailList[i].numberAccuracy;
  502. }else{
  503. minObj.practiceStatus = "";
  504. minObj.numberTopics = "";
  505. minObj.numberAccuracy = "";
  506. }
  507. obj.configDetailList.push(minObj);
  508. }
  509. if(this.form.id){
  510. editpassmark(obj).then( response => {
  511. this.getList();
  512. this.msgSuccess("保存成功");
  513. });
  514. }else{
  515. addpassmark(obj).then( response => {
  516. this.msgSuccess("保存成功");
  517. });
  518. }
  519. }
  520. });
  521. },
  522. }
  523. };
  524. </script>
  525. <style scoped lang="scss">
  526. .Markconfig {
  527. display: flex!important;
  528. flex-direction: column;
  529. box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.1);
  530. padding:0 20px 0 20px!important;
  531. .title-p{
  532. margin:0;
  533. line-height:80px;
  534. font-size:18px;
  535. color:#0045AF;
  536. border-bottom:2px solid #E0E0E0;
  537. }
  538. .form-content{
  539. overflow-y: scroll;
  540. flex:1;
  541. padding-top:22px;
  542. .interval-flex-box{
  543. margin-left:220px;
  544. display: flex;
  545. .interval-title-p{
  546. width:100px;
  547. line-height:40px;
  548. font-size:14px;
  549. margin:0;
  550. }
  551. .interval-p{
  552. width:40px;
  553. text-align: center;
  554. line-height:40px;
  555. margin:0;
  556. }
  557. }
  558. .min-p-color{
  559. color:#606266;
  560. font-size:14px;
  561. margin:0;
  562. }
  563. .check-box{
  564. display: flex;
  565. }
  566. .annotation-span{
  567. font-size:14px;
  568. font-weight:500;
  569. line-height:40px;
  570. color:#999999;
  571. }
  572. .max-add-for-box{
  573. margin-left:140px;
  574. .max-add-for-box-min{
  575. border:1px solid #dedede;
  576. width:1200px;
  577. margin:20px 20px;
  578. border-radius:4px;
  579. padding:20px 20px 40px 20px;
  580. position: relative;
  581. .position-del-p{
  582. position: absolute;
  583. right:20px;
  584. top:0;
  585. font-size:20px;
  586. color:#999;
  587. cursor:pointer;
  588. }
  589. .position-del-p:hover{
  590. color: #E65D6E;
  591. }
  592. .for-interval-flex-box{
  593. display: flex;
  594. .for-interval-title-p{
  595. width:100px;
  596. line-height:40px;
  597. font-size:14px;
  598. margin:0;
  599. }
  600. .for-interval-p{
  601. width:40px;
  602. text-align: center;
  603. line-height:40px;
  604. margin:0;
  605. }
  606. }
  607. .for-check-max-box{
  608. .for-check-box{
  609. display: flex;
  610. p{
  611. margin:0;
  612. font-size:14px;
  613. color:#606266;
  614. font-weight:500;
  615. line-height:40px;
  616. }
  617. }
  618. }
  619. }
  620. }
  621. }
  622. .form-bottom-button-box{
  623. height:80px;
  624. padding:20px;
  625. display: flex;
  626. .null-p-button{
  627. flex:1;
  628. }
  629. }
  630. }
  631. </style>