b4fe3069a762a8e19a42ac90fa5918682c84951d.svn-base 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654
  1. <template>
  2. <el-dialog title="添加问题" :visible.sync="dialogFormVisible" width="90%" @close="closeDialog"
  3. :close-on-click-modal="false" class="add_problem_dialog">
  4. <el-form :model="form" :rules="rules" ref="form" label-width="140px" class="problem_form">
  5. <el-form-item label="选择问题">
  6. <el-select v-model="keyword" filterable popper-class="problem_select"
  7. style="width: 88%" placeholder="请选择" @change="changeSelect">
  8. <el-option v-for="item in problemList" :key="item.id" :label="item.pblmsDesc" :value="item.id">
  9. </el-option>
  10. </el-select>
  11. <span class="add_new_problem" @click="addNewProblem" v-if="!isFujian">添加其它问题</span>
  12. </el-form-item>
  13. <el-card class="box-card"
  14. body-style="{ padding-right: 20px;padding-top: 16px;padding-bottom: 2px; padding-left: 2px; }">
  15. <div class="text item">
  16. <p class="item_title">
  17. <i class="el-icon-caret-right"></i>
  18. <span>对应《清单》内容</span>
  19. <span style="font-size: 12px;color: red;">(该部分内容可根据实际情况调整法规条款和法规内容)</span>
  20. </p>
  21. <el-form-item label="问题描述">
  22. <el-input v-model="attachInfo.pblmsDesc" readonly type="textarea" :autosize="{ minRows: 5}"
  23. autocomplete="off"></el-input>
  24. </el-form-item>
  25. <el-form-item label="法规条款">
  26. <el-input v-model="attachInfo.relativeLaw" type="textarea" :autosize="{ minRows: 5}"
  27. autocomplete="off"></el-input>
  28. </el-form-item>
  29. <el-form-item label="法规内容">
  30. <el-input v-model="attachInfo.lawContent" type="textarea" :autosize="{ minRows: 5}"
  31. autocomplete="off"></el-input>
  32. </el-form-item>
  33. <el-form-item label="备注">
  34. <el-input v-model="attachInfo.note" readonly type="textarea" :autosize="{ minRows: 1}"
  35. autocomplete="off"></el-input>
  36. </el-form-item>
  37. </div>
  38. </el-card>
  39. <el-card class="box-card"
  40. body-style="{ padding-right: 20px;padding-top: 16px;padding-bottom: 2px; padding-left: 2px; }">
  41. <div class="text item">
  42. <p class="item_title">
  43. <i class="el-icon-caret-right"></i>
  44. <span>责任主体</span>
  45. <span class="el-icon-circle-plus" title="添加单位" @click="addUnit"></span>
  46. </p>
  47. <div v-for="(unit,index) in unitArray" :key="index">
  48. <el-form-item label="单位性质" style="display: inline-block">
  49. <el-select v-model="unit.subId" placeholder="请选择" @change="natureChange(val,index)">
  50. <el-option v-for="item in objSubjectList" :key="item.id" :label="item.subName"
  51. :value="item.id">
  52. </el-option>
  53. </el-select>
  54. <span class="el-icon-remove" title="删除单位" v-if="index != 0"
  55. @click="removeUnit(index)"></span>
  56. </el-form-item>
  57. <el-form-item label="单位名称" style="display: inline-block">
  58. <el-select v-model="unit.unitNm" popper-class="problem_select"
  59. @change="unitSelect" placeholder="请选择">
  60. <el-option v-for="item in unitNameList" :key="item.id"
  61. :label="item.sctnName ? `${item.sysNm}(${item.sctnName})` : item.sysNm"
  62. :value="item.sysNm">
  63. </el-option>
  64. </el-select>
  65. <!-- <el-input v-model="unit.unitNm" autocomplete="off"></el-input> -->
  66. </el-form-item>
  67. </div>
  68. </div>
  69. </el-card>
  70. <el-card class="box-card"
  71. body-style="{ padding-right: 20px;padding-top: 16px;padding-bottom: 2px; padding-left: 2px; }">
  72. <div class="text item">
  73. <el-form-item label="排序序号" prop="sn">
  74. <el-input v-model="form.sn" autocomplete="off" style="width: 210px"></el-input>
  75. </el-form-item>
  76. <el-form-item label="问题名称">
  77. <el-input v-model="form.pblmNm" placeholder="请输入问题名称" autocomplete="off"></el-input>
  78. </el-form-item>
  79. <el-form-item label="问题阐述">
  80. <el-input v-model="form.pblmDesc" placeholder="请输入问题详细描述" type="textarea"
  81. :autosize="{ minRows: 7}" autocomplete="off"></el-input>
  82. </el-form-item>
  83. <el-form-item label="问题严重性" style="display: inline-block" prop="pblmPasi">
  84. <el-select v-if="selectShow && !isGd && !isSc && !isSd" v-model="form.pblmPasi" placeholder="请选择" @change="changeRules">
  85. <el-option v-for="item in cateObjList" :key="item.cate" :label="item.desc"
  86. :value="item.cate">
  87. </el-option>
  88. </el-select>
  89. <el-select v-if="isGd || isSc || isSd" v-model="form.pblmPasi" placeholder="请选择">
  90. <el-option label="一般" value="0"></el-option>
  91. <el-option label="较重" value="1"></el-option>
  92. <el-option label="严重" value="2"></el-option>
  93. </el-select>
  94. <!-- <el-input v-if="inputShow" v-model="form.pblmPasi" :placeholder="inputText">
  95. </el-input> -->
  96. <span v-if="inputShow && !isGd && !isSc && !isSd">{{inputText}}</span>
  97. </el-form-item>
  98. <el-form-item label="问题是否典型" style="display: inline-block">
  99. <el-radio v-model="form.ifCasePblm" label="1">是</el-radio>
  100. <el-radio v-model="form.ifCasePblm" label="0">否</el-radio>
  101. </el-form-item>
  102. <el-form-item label="问题分类" prop="pblmTypeDesc">
  103. <!-- pblmQlttvCd -->
  104. <el-select v-model="form.pblmTypeDesc" filterable popper-class="problem_select"
  105. style="width: 88%" placeholder="请选择">
  106. <el-option v-for="(item,index) in problemDxList" :key="index" :label="item" :value="item">
  107. </el-option>
  108. </el-select>
  109. </el-form-item>
  110. <el-form-item label="主要原因分析" prop="pblmReason">
  111. <el-input v-model="form.pblmReason" type="textarea" :autosize="{ minRows: 7}"
  112. autocomplete="off"></el-input>
  113. </el-form-item>
  114. <el-form-item label="整改意见及建议" prop="pblmSggtn">
  115. <el-input v-model="form.pblmSggtn" type="textarea" :autosize="{ minRows: 7}" autocomplete="off">
  116. </el-input>
  117. </el-form-item>
  118. <el-form-item label="稽察组长复核意见">
  119. <el-input v-model="form.spclRvwOptn" type="textarea" :autosize="{ minRows: 7}"
  120. autocomplete="off"></el-input>
  121. </el-form-item>
  122. <el-form-item label="取证材料">
  123. <span style="display: block;text-align: center;color:red;">佐证照片建议上传2至6的偶数张</span>
  124. <uploadImg ref="uploadFile" :url="`/pdcApi/file/insert?bizId=`"
  125. @uploadOver="removeNewSupervision"></uploadImg>
  126. </el-form-item>
  127. </div>
  128. </el-card>
  129. </el-form>
  130. <add-new-problem-com v-if="innerVisible" :titleType="'添加'" :listType="listType" @dialogClose="closeInnerDialog">
  131. </add-new-problem-com>
  132. <div slot="footer" class="dialog-footer">
  133. <el-button @click="closeDialog">取 消</el-button>
  134. <el-button type="primary" @click="submitProblem">保 存</el-button>
  135. </div>
  136. </el-dialog>
  137. </template>
  138. <script>
  139. import { getSelectProblemList, getProblemNatureApi, submitProblemApi, getUnitNameListApi, getProblemDxListApi, submitUpdateProblemApi } from '@api/InspectionReport.js'
  140. import addNewProblemCom from './addInspectionProblem.vue'
  141. export default {
  142. props: ['currentNodeId', 'objId', 'listType', 'pertype'],
  143. data() {
  144. var checkSn = (rule, value, callback) => {
  145. if (value && value < 0) {
  146. return callback(new Error('序号应大于0'));
  147. }
  148. setTimeout(() => {
  149. if (value && (!(/(^[1-9]\d*$)/.test(value)) || value < 0)) {
  150. callback(new Error('请输入大于0的正整数'));
  151. } else {
  152. callback();
  153. }
  154. }, 500);
  155. };
  156. //这里存放数据
  157. return {
  158. inputShow: false,
  159. selectShow: true,
  160. inputText: '',
  161. dialogFormVisible: true,
  162. keyword: '',
  163. problemList: [],
  164. problemListNew: [],
  165. form: {
  166. pblmTypeDesc: '',
  167. pblmDesc: '',
  168. pblmNm: '',
  169. pblmQlttvCd: '',
  170. pblmPasi: '',
  171. ifCasePblm: '',
  172. pblmReason: '',
  173. pblmSggtn: '',
  174. spclRvwOptn: '',
  175. gwComFileList: [],
  176. pblmSubjectList: {
  177. unitNm: '',
  178. subId: ''
  179. },
  180. subjectIds: '',
  181. subjectNames: '',
  182. objType: '8',
  183. objId: '',
  184. rgstrId: '',//登记表id
  185. pblmstdId: '',//稽察问题标准库id
  186. listType: '', //六个专业的类型123456
  187. sn: ''
  188. },
  189. attachInfo: {
  190. pblmsDesc: '',
  191. relativeLaw: '',
  192. lawContent: '',
  193. note: ''
  194. },
  195. newForm: {
  196. pblmsDesc: '',
  197. relativeLaw: '',
  198. lawContent: '',
  199. note: ''
  200. },
  201. problemInfo: {},
  202. gwComFileList: [],
  203. cateObjList: [],//严重程度列表
  204. objSubjectList: [], //单位性质列表
  205. unitNameList: [], //单位名称列表
  206. unitArray: [
  207. {
  208. unitNm: '',
  209. subId: ''
  210. }
  211. ],
  212. innerVisible: false,
  213. rules: {
  214. sn: [
  215. { validator: checkSn, trigger: 'blur' }
  216. ],
  217. pblmTypeDesc: [
  218. { required: true, message: '请选择问题类别', trigger: 'change' }
  219. ],
  220. pblmPasi: [
  221. { required: true, message: '请选择问题严重性', trigger: 'change' }
  222. ],
  223. pblmReason: [
  224. { required: true, message: '请输入主要原因分析', trigger: 'change' }
  225. ],
  226. pblmSggtn: [
  227. { required: true, message: '请输入意见及建议', trigger: 'change' }
  228. ]
  229. },
  230. problemDxList: [], //问题分类列表
  231. relCode: '', //问题标准序号
  232. };
  233. },
  234. components: {
  235. uploadImg: resolve => {
  236. require(["@widget/uploadFileWithPic.vue"], resolve);
  237. },
  238. addNewProblemCom
  239. },
  240. //监听属性 类似于data概念
  241. computed: {
  242. persId() {
  243. return localStorage.getItem("userid") ? localStorage.getItem("userid") : "1098101939614724096";
  244. },
  245. isGd(){
  246. if(localStorage.getItem('currentRlcode').substring(0,2)=="44"){
  247. return true;
  248. }else{
  249. return false;
  250. }
  251. },
  252. isSc(){
  253. if(localStorage.getItem('currentRlcode').substring(0,2)=="51"){
  254. return true;
  255. }else{
  256. return false;
  257. }
  258. },
  259. isFujian(){
  260. if(localStorage.getItem('currentRlcode').substring(0,2)=='35'){
  261. return true;
  262. }else{
  263. return false;
  264. }
  265. },
  266. isSd(){
  267. if(localStorage.getItem('currentRlcode').substring(0,2)=="37"){
  268. return true;
  269. }else{
  270. return false;
  271. }
  272. },
  273. isHb(){
  274. if(localStorage.getItem('currentRlcode').substring(0,2)=="42"){
  275. return true;
  276. }else{
  277. return false;
  278. }
  279. }
  280. },
  281. //监控data中的数据变化
  282. watch: {
  283. },
  284. //方法集合
  285. methods: {
  286. changeRules(){
  287. if(this.isHb){
  288. if(this.form.pblmPasi=="0"){
  289. this.rules["pblmReason"][0].required = false;
  290. this.rules["pblmSggtn"][0].required = false;
  291. }else{
  292. this.rules["pblmReason"][0].required = true;
  293. this.rules["pblmSggtn"][0].required = true;
  294. }
  295. }
  296. },
  297. updateLawUpdate(obj) {
  298. submitUpdateProblemApi(obj).then(res => {
  299. if (!res.success) {
  300. this.$message.error("更新法律法规信息失败")
  301. }
  302. }).catch(err => {
  303. this.$message.error(err)
  304. })
  305. },
  306. getProblemList() {
  307. getSelectProblemList(this.keyword, this.listType).then(res => {
  308. if (res.success) {
  309. this.problemList = res.data.list
  310. this.problemListNew = res.data.list
  311. } else {
  312. this.$message.error(res.message)
  313. }
  314. this.loading = false
  315. }).catch(err => {
  316. this.$message.error(err)
  317. })
  318. },
  319. changeSelect(val) {
  320. var _self = this;
  321. getProblemNatureApi(val).then(res => {
  322. if (res.success) {
  323. this.problemInfo = res.data
  324. this.attachInfo.pblmsDesc = this.problemInfo.pblmsDesc
  325. this.attachInfo.relativeLaw = this.problemInfo.relativeLaw
  326. this.attachInfo.lawContent = this.problemInfo.lawContent
  327. this.attachInfo.note = this.problemInfo.note
  328. this.objSubjectList = this.problemInfo.objSubjectList
  329. this.cateObjList = this.problemInfo.cateObjList
  330. this.form.pblmNm = this.attachInfo.pblmsDesc //发现问题项的内容默认为问题描述内容 可更改
  331. this.relCode = this.problemInfo.class2 //获取问题分类列表需要的问题标准序号
  332. if (this.cateObjList.length == 1) {
  333. this.inputShow = true;
  334. this.selectShow = false;
  335. this.form.pblmPasi = this.cateObjList[0].cate;
  336. this.inputText = this.cateObjList[0].desc;
  337. } else {
  338. this.inputShow = false;
  339. this.selectShow = true;
  340. }
  341. // 切换问题标准时问题严重性赋值问题
  342. this.cateObjList.forEach(ele => {
  343. if (this.form.pblmPasi && this.form.pblmPasi != ele.cate) {
  344. this.form.pblmPasi = ''
  345. }
  346. })
  347. this.problemDxList = []
  348. if (this.problemInfo.pblmTypeDesc) {
  349. this.problemDxList.push(this.problemInfo.pblmTypeDesc)
  350. }
  351. if (this.problemInfo.pblmTypeDesc2) {
  352. this.problemDxList.push(this.problemInfo.pblmTypeDesc2)
  353. }
  354. this.form.pblmTypeDesc = this.problemDxList[0] //问题分类默认取第一个值
  355. // this.getProblemDxList() //不通过这个方法获取问题定性列表了,直接在上面取pblmTypeDesc和pblmTypeDesc2的值
  356. } else {
  357. this.$message.error(res.message)
  358. }
  359. }).catch(err => {
  360. this.$message.error(err)
  361. })
  362. },
  363. getProblemDxList() {
  364. getProblemDxListApi(this.relCode, this.listType).then(res => {
  365. if (res.success) {
  366. this.problemDxList = res.data
  367. } else {
  368. this.$message.error(res.message)
  369. }
  370. }).catch(err => {
  371. this.$message.error(err)
  372. })
  373. },
  374. addUnit() {
  375. this.unitArray.push({ unitNm: '', unitId: '', subId: '', subName: '' })
  376. },
  377. removeUnit(index) {
  378. this.unitArray.splice(index, 1)
  379. },
  380. submitProblem() {
  381. this.$refs['form'].validate((valid) => {
  382. if (valid) {
  383. if (!this.keyword) {
  384. this.$message.warning('请选择问题')
  385. return
  386. }
  387. // this.problemDxList.forEach((ele,index)=>{
  388. // if(ele.code == this.form.pblmQlttvCd){
  389. // this.form['pblmQlttvNm'] = ele.name
  390. // }
  391. // })
  392. let unitNames = []
  393. let subIds = []
  394. this.unitArray = this.uniArr(this.unitArray);
  395. this.unitArray.forEach((ele, index) => {
  396. unitNames.push(ele.unitNm)
  397. subIds.push(ele.subId)
  398. })
  399. unitNames = unitNames.filter(function (s) {
  400. return s && s.trim();
  401. });
  402. subIds = subIds.filter(function (s) {
  403. return s && s.trim();
  404. });
  405. if((unitNames.length!=subIds.length) && unitNames.length!=0 && subIds.length!=0){
  406. this.$message.warning("对应的单位性质或单位名称其中一个不能为空");
  407. return false;
  408. }
  409. //问题严重性为一般和较重时修改问题是否典型隐藏 默认为否
  410. // if (this.form.pblmPasi != '2' || this.form.ifCasePblm == '') {
  411. // this.form.ifCasePblm = '0'
  412. // }
  413. this.form.relativeLaw = this.attachInfo.relativeLaw
  414. this.form.lawContent = this.attachInfo.lawContent
  415. this.form.subjectNames = unitNames.join(',')
  416. this.form.subjectIds = subIds.join(',')
  417. this.form.pblmSubjectList = this.unitArray
  418. this.form.persId = this.persId
  419. this.form.rgstrId = this.currentNodeId
  420. this.form.objId = this.objId
  421. this.form.listType = this.listType
  422. this.form.pblmstdId = this.keyword
  423. if (this.form.sn == '') {
  424. this.form.sn = 0
  425. }
  426. if (this.form.pblmReason.length >= 500) {
  427. this.$message.warning('主要原因分析需字数小于500字!');
  428. return;
  429. }
  430. if (this.form.pblmSggtn.length >= 1000) {
  431. this.$message.warning('整改意见及建议字数需小于1000字!');
  432. return;
  433. }
  434. if (this.form.spclRvwOptn.length >= 500) {
  435. this.$message.warning('稽察组长意见字数需小于500字!');
  436. return;
  437. }
  438. submitProblemApi(this.form).then(res => {
  439. if (res.success) {
  440. this.$message.success('添加成功')
  441. this.gwComFileList = [];
  442. // var obj = {
  443. // id:this.keyword,
  444. // relativeLaw:this.attachInfo.relativeLaw,
  445. // lawContent:this.attachInfo.lawContent,
  446. // }
  447. // this.updateLawUpdate(obj);
  448. if (this.$refs.uploadFile.submitUpload(res.data.id)) {
  449. setTimeout(() => {
  450. this.removeNewSupervision()
  451. }, 300)
  452. }
  453. } else {
  454. this.$message.error(res.message)
  455. }
  456. }).catch(err => {
  457. this.$message.error(err)
  458. })
  459. } else {
  460. return false;
  461. }
  462. })
  463. },
  464. uniArr(tempArr) {
  465. var newTempArr = [];
  466. if(tempArr && tempArr.length>0){
  467. tempArr.forEach((item,index)=>{
  468. if(item.unitNm || item.subId){
  469. newTempArr.push(item);
  470. }
  471. })
  472. for (let i = 0; i < newTempArr.length; i++) {
  473. for (let j = i + 1; j < newTempArr.length; j++) {
  474. if ((newTempArr[i].unitNm == newTempArr[j].unitNm) && (newTempArr[i].subId == newTempArr[j].subId)) {
  475. newTempArr.splice(j, 1);
  476. j--;
  477. };
  478. };
  479. };
  480. return newTempArr;
  481. }else{
  482. return [];
  483. }
  484. },
  485. addNewProblem() {
  486. this.innerVisible = true
  487. },
  488. getUnitNameList(index) {
  489. let paramsObj = {
  490. rgstrId: this.currentNodeId,
  491. sysType: this.unitArray[index].subId
  492. }
  493. this.unitArray[index].unitNm = '' //单位性质切换的时候清空单位名称
  494. getUnitNameListApi(paramsObj).then(res => {
  495. if (res.success) {
  496. this.unitNameList = res.data
  497. } else {
  498. this.$message.error(res.message)
  499. }
  500. }).catch(err => {
  501. this.$message.error(err)
  502. })
  503. },
  504. unitSelect() {
  505. let _this = this
  506. this.unitArray.forEach((ele, index) => {
  507. _this.unitNameList.forEach(element => {
  508. if (ele.unitNm == element.sysNm) {
  509. this.unitArray[index].unitId = element.id
  510. }
  511. })
  512. })
  513. },
  514. natureChange(val, index) {
  515. this.getUnitNameList(index)
  516. let _this = this
  517. this.unitArray.forEach((ele, index) => {
  518. _this.objSubjectList.forEach(element => {
  519. if (ele.subId == element.id) {
  520. this.unitArray[index].subName = element.subName
  521. }
  522. })
  523. })
  524. },
  525. closeDialog() {
  526. this.$emit('dialogClose')
  527. },
  528. removeNewSupervision(arg) {
  529. if (arg) {
  530. var args = this.gwComFileList.concat(arg);
  531. }
  532. this.gwComFileList = [];
  533. this.$emit('dialogClose')
  534. },
  535. // 文件上传
  536. submitUpload() {
  537. this.$refs.upload.submit();
  538. },
  539. //监听内容dialog关闭时执行
  540. closeInnerDialog() {
  541. this.innerVisible = false
  542. this.getProblemList()
  543. },
  544. // 多关键字搜索
  545. filterMethod(val) {
  546. if (val.length) {
  547. let arr = this.problemListNew
  548. let inputArr = val.split(' ')
  549. inputArr.forEach(ele => {
  550. arr = arr.filter(item => {
  551. return item.pblmsDesc.indexOf(ele) > -1
  552. })
  553. })
  554. this.problemList = arr
  555. } else {
  556. this.problemList = this.problemListNew
  557. }
  558. }
  559. },
  560. //生命周期 - 创建完成(可以访问当前this实例)
  561. created() {
  562. },
  563. //生命周期 - 挂载完成(可以访问DOM元素)
  564. mounted() {
  565. this.getProblemList()
  566. }
  567. }
  568. </script>
  569. <style lang="scss" scoped>
  570. .add_problem_dialog {
  571. .el-dialog {
  572. margin-top: 6vh !important;
  573. margin-bottom: 20px;
  574. }
  575. .el-dialog__body {
  576. font-size: 16px;
  577. color: #333;
  578. }
  579. .problem_form {
  580. width: 98%;
  581. margin: 0 auto;
  582. padding: 16px;
  583. height: calc(100vh - 270px);
  584. overflow: auto;
  585. .item_title {
  586. margin-top: 10px;
  587. margin-bottom: 20px;
  588. span:nth-of-type(1) {
  589. width: 120px;
  590. padding-left: 5px
  591. }
  592. }
  593. .hrs {
  594. display: inline-block;
  595. width: calc(100% - 40px);
  596. margin-left: 10px;
  597. height: 1px;
  598. vertical-align: middle;
  599. background-color: #ddd;
  600. }
  601. .el-icon-circle-plus,
  602. .el-icon-remove {
  603. margin-left: 10px;
  604. color: #009fff;
  605. cursor: pointer;
  606. }
  607. .el-icon-remove {
  608. color: red;
  609. }
  610. .box-card {
  611. margin-bottom: 6px;
  612. }
  613. .el-form-item__label {
  614. font-size: 16px;
  615. color: #333;
  616. }
  617. }
  618. .el-button--mini {
  619. font-size: 14px;
  620. }
  621. .el-input--mini {
  622. font-size: 14px;
  623. }
  624. .el-textarea.is-disabled .el-textarea__inner {
  625. color: #666;
  626. }
  627. }
  628. .problem_select .el-select-dropdown__item {
  629. width: 800px;
  630. }
  631. .problem_form {
  632. .add_new_problem {
  633. color: #009fff;
  634. cursor: pointer;
  635. }
  636. }
  637. </style>