ae3b16e264c81bddc3912402fc2cdec73752b5a7.svn-base 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765
  1. <!-- -->
  2. <template>
  3. <div>
  4. <el-button @click="addProblem" type="primary" style="float: right;margin-bottom: 10px">添加问题</el-button>
  5. <!-- 查询展示 -->
  6. <div v-if="formIsShow" style="margin-top:10px;">
  7. <el-table
  8. border
  9. ref="multipleTable"
  10. :data="searchResult"
  11. :height="tableHeight"
  12. tooltip-effect="dark"
  13. style="width: 100%;"
  14. >
  15. <el-table-column align="center" type="index" label="序号" min-width="25" fixed>
  16. <template slot-scope="scope">{{ (currentPage - 1) * pageSize + (scope.$index + 1) }}</template>
  17. </el-table-column>
  18. <el-table-column
  19. header-align="center"
  20. align="center"
  21. min-width="180"
  22. prop="pblmDesc"
  23. label="问题描述"
  24. show-overflow-tooltip
  25. ></el-table-column>
  26. <el-table-column
  27. header-align="center"
  28. align="center"
  29. min-width="150"
  30. prop="inTm"
  31. :formatter="timestampToTime"
  32. label="创建时间"
  33. show-overflow-tooltip
  34. >
  35. <tempalte slot-scope="scope">
  36. <span v-if="scope.row.inTm">{{timestampToTime(scope.row.inTm)}}</span>
  37. </tempalte>
  38. </el-table-column>
  39. <el-table-column
  40. align="center"
  41. prop
  42. min-width="130"
  43. label="操作"
  44. fixed="right"
  45. >
  46. <template slot-scope="scope">
  47. <!--<el-button icon="el-icon-view" title="查看详情"type="text" @click="showDetails(scope.row.pblmId)"></el-button>-->
  48. <el-button v-if="ownPriv('manage')" title="修改问题" icon="el-icon-edit" type="text" @click="addProblem(scope.row.id,'edit')"></el-button>
  49. <el-button v-if="ownPriv('manage')"
  50. icon="el-icon-delete"
  51. type="text"
  52. title="删除问题" @click="removeSuperviseOne(scope.row.id)"
  53. ></el-button>
  54. </template>
  55. </el-table-column>
  56. </el-table>
  57. <!-- 分页 -->
  58. <div style="height: 60px;">
  59. <el-pagination
  60. class="paginationCenter"
  61. background
  62. @size-change="handleSizeChange"
  63. @current-change="search"
  64. :current-page.sync="currentPage"
  65. :page-sizes="[10, 20, 50, 100]"
  66. :page-size="pageSize"
  67. layout="total, sizes, prev, pager, next, jumper"
  68. :total="total"
  69. ></el-pagination>
  70. </div>
  71. </div>
  72. <el-dialog
  73. width="60%"
  74. :append-to-body="true"
  75. class="problemLastYear"
  76. :title="titleProblem"
  77. :close-on-click-modal="false"
  78. :visible.sync="addProblemLastYearVisible"
  79. >
  80. <div class="scroll300">
  81. <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px">
  82. <el-form-item label="详细描述" prop="pblmDesc">
  83. <el-input type="textarea" :rows="5" v-model="ruleForm.pblmDesc"></el-input>
  84. </el-form-item>
  85. <el-form-item style="float: right; margin-top: 20px;">
  86. <el-button type="primary" @click="onSubmitaddProblemLastYear('ruleForm')">保存</el-button>
  87. </el-form-item>
  88. </el-form>
  89. </div>
  90. </el-dialog>
  91. </div>
  92. </template>
  93. <script>
  94. //这里可以导入其他文件(比如:组件,工具js,第三方插件js,json文件,图片文件等等)
  95. //例如:import 《组件名称》 from '《组件路径》';
  96. import {
  97. showDetailsXq,
  98. submitUpload,
  99. deleteFileById,
  100. } from "../../api/duChaAPI.js";
  101. import request from "../../utils/gw_ajax_request.js";
  102. import { hostUrl } from "@util/global_variable.js";
  103. import elaudio from "../../widgets/elAudioShort.vue";
  104. import inuptWithDuChaTreeNode from "../../widgets/inuptWithDuChaTreeNode.vue";
  105. import inputWidthDuChaNodes from "../../widgets/inputWithDuChaNodes.vue";
  106. import inputWidthDuChaShuiKu from "../../widgets/inputWith_sk.vue";
  107. // import problemDialog from "../duChaWenTi/addProblem/problem_dialog";
  108. export default {
  109. //import引入的组件需要注入到对象中才能使用
  110. components: {
  111. //详情页
  112. supervisionDetails: resolve => {
  113. require(["../duChaWenTi/supervisionDetails_shuiku.vue"], resolve);
  114. },
  115. upload: resolve => {
  116. require(["../../widgets/uploadFile.vue"], resolve);
  117. },
  118. // 删除描述页
  119. ProblemDelete: resolve => {
  120. require(["../duChaWenTi/problemDelete.vue"], resolve);
  121. },
  122. elaudio: elaudio,
  123. inuptWithDuChaTreeNode: inuptWithDuChaTreeNode,
  124. inputWidthDuChaNodes: inputWidthDuChaNodes,
  125. inputWidthDuChaShuiKu: inputWidthDuChaShuiKu,
  126. },
  127. props: ["activedName","currentResCode","currentObjectRgstrId","currentObjectName","szRuls","currentObjectId","showOrEdit","swhsId","swhsCode"],
  128. data() {
  129. //这里存放数据
  130. return {
  131. addProblemLastYearVisible: false,
  132. ruleForm: {
  133. "pblmDesc": "",
  134. },
  135. tableHeight: window.innerHeight * .5,
  136. supervisionState: [
  137. {
  138. value: "0",
  139. label: "一般"
  140. },
  141. {
  142. value: "1",
  143. label: "较重"
  144. },
  145. {
  146. value: "2",
  147. label: "严重"
  148. },
  149. {
  150. value: "3",
  151. label: "特别严重"
  152. }
  153. ],
  154. supervision: [
  155. {
  156. value: "1",
  157. label: "是"
  158. },
  159. {
  160. value: "0",
  161. label: "否"
  162. }
  163. ],
  164. updateIdXiuGai: "",
  165. pblmId: "",
  166. addPicPanel: false,
  167. supervisionDetailsVisible:false,
  168. currentProblemId: "",
  169. currentPage: 1, // 页码
  170. pageSize: 20,
  171. loading: false,
  172. total: 0, // 总数
  173. searchResult: [], // 结果
  174. userId: localStorage.getItem("userid"),
  175. pictureArray: [],
  176. audioArray: [],
  177. videoArray: [],
  178. audiotabName: "",
  179. videotabName: "",
  180. picturetabName: "",
  181. deleteId: "",
  182. playerOptions: {
  183. height: "120",
  184. autoplay: true,
  185. muted: true,
  186. language: "en",
  187. playbackRates: [0.7, 1.0, 1.5, 2.0],
  188. sources: [
  189. {
  190. type: "video/mp4",
  191. // mp4
  192. src: "http://vjs.zencdn.net/v/oceans.mp4"
  193. // webm
  194. // src: "https://cdn.theguardian.tv/webM/2015/07/20/150716YesMen_synd_768k_vp8.webm"
  195. },
  196. {
  197. type: "video/mp4",
  198. // mp4
  199. src: "http://vjs.zencdn.net/v/oceans.mp4"
  200. // webm
  201. // src: "https://cdn.theguardian.tv/webM/2015/07/20/150716YesMen_synd_768k_vp8.webm"
  202. },
  203. {
  204. type: "video/mp4",
  205. // mp4
  206. src: "http://vjs.zencdn.net/v/oceans.mp4"
  207. // webm
  208. // src: "https://cdn.theguardian.tv/webM/2015/07/20/150716YesMen_synd_768k_vp8.webm"
  209. },
  210. {
  211. type: "video/mp4",
  212. // mp4
  213. src: "http://vjs.zencdn.net/v/oceans.mp4"
  214. // webm
  215. // src: "https://cdn.theguardian.tv/webM/2015/07/20/150716YesMen_synd_768k_vp8.webm"
  216. }
  217. ]
  218. },
  219. changeSupervisionVisible: false,
  220. changeSupervisionLoading: false,
  221. changeSupervision: {
  222. nm: "",
  223. presId: localStorage.getItem("userid"),
  224. endTime: "",
  225. pblmId: "",
  226. objId: "",
  227. objType: "",
  228. inspGroupId: "",
  229. inspPblmName: "",
  230. inspPblmDesc: "",
  231. pblmLong: "",
  232. pblmLat: "",
  233. pblmStat: "",
  234. ifCasePblm: "",
  235. inspPblmOrgName: "",
  236. pblmPersName: "",
  237. inspPblmCate: "",
  238. reviOpin: "",
  239. reviConc: "",
  240. reviOrgGuid: "",
  241. collTime: "",
  242. recPers: "",
  243. gwComFiles: [
  244. {
  245. id: "",
  246. filePath: "",
  247. bizId: ""
  248. }
  249. ]
  250. },
  251. // 文件弹框
  252. fileList: [], // 当前文件列表
  253. flash: false,
  254. // 督查类型
  255. supervisionTypeList: [
  256. {
  257. value: "1",
  258. label: "小水库"
  259. }
  260. ],
  261. leibie: [],
  262. // 查询
  263. value6: [],
  264. findParams: {
  265. hasVedio:"",
  266. adCode: "",
  267. pblmStat: "",
  268. inspPblmCate: "",
  269. ifCasePblm: "",
  270. nm: "",
  271. rsName: "",
  272. adFullName: "",
  273. startTime: "",
  274. endTime: "",
  275. objType: 1,
  276. inspPblmName: "",
  277. persId: localStorage.getItem("userid")
  278. },
  279. crId: "", // 当前督查id
  280. // 督查详情
  281. userid: localStorage.getItem("userid"),
  282. problemDeleteVisible: false,
  283. supervisionDetails: {},
  284. gwComFiles: [],
  285. pblscr: "",
  286. pblscrList: [
  287. {
  288. lable: "我的问题",
  289. value: localStorage.getItem("userid")
  290. }
  291. ],
  292. pblscrGroup: "",
  293. showAddProblemDialog: false,
  294. formIsShow: true,
  295. rules: {
  296. pblmDesc: [
  297. { required: true, message: '详细描述不能为空', trigger: 'blur' }
  298. ]
  299. },
  300. titleProblem:"添加问题"
  301. };
  302. },
  303. //监听属性 类似于data概念
  304. computed: {
  305. hostUrl(){
  306. return hostUrl
  307. }
  308. },
  309. //生命周期 - 创建完成(可以访问当前this实例)
  310. created() {
  311. if (this.showOrEdit === "show") {
  312. this.formIsShow = false;
  313. } else {
  314. this.formIsShow = true;
  315. }
  316. this.addPicPanel = false;
  317. if (this.userId) {
  318. console.log("已经登录");
  319. this.search();
  320. } else {
  321. this.$router.push("/login");
  322. }
  323. },
  324. //生命周期 - 挂载完成(可以访问DOM元素)
  325. mounted() {
  326. // this.search();
  327. },
  328. //监控data中的数据变化
  329. watch: {
  330. swhsId(n,o) {
  331. this.search();
  332. },
  333. // currentResCode(oldValue,newValue){
  334. // this.currentResCode = newValue;
  335. // this.search();
  336. // }
  337. },
  338. //方法集合
  339. methods: {
  340. handleSizeChange(pageSize) {
  341. this.pageSize = pageSize;
  342. this.search();
  343. },
  344. // 查询
  345. search() {
  346. this.loading = true;
  347. let _self = this;
  348. let data = {};
  349. data["swhsId"] = _self.swhsId;
  350. data["presId"] = _self.userId;
  351. data["pageNum"] = _self.currentPage;
  352. data["pageSize"] = _self.pageSize;
  353. request.post(`/bis/insp/swhs/pblm/page`,data).then(res =>{
  354. // findPageInfo(data).then(res => {
  355. _self.loading = false;
  356. if (res.success) {
  357. _self.searchResult = res.data.list;
  358. _self.total = res.data.total;
  359. } else {
  360. }
  361. });
  362. },
  363. timestampToTime(row, column) {
  364. var date = new Date(row);
  365. var Y = date.getFullYear() + "-";
  366. var M =
  367. (date.getMonth() + 1 < 10
  368. ? "0" + (date.getMonth() + 1)
  369. : date.getMonth() + 1) + "-";
  370. var D =
  371. (date.getDate() < 10 ? "0" + date.getDate() : date.getDate()) + " ";
  372. var h =
  373. (date.getHours() < 10 ? "0" + date.getHours() : date.getHours()) + ":";
  374. var m =
  375. date.getMinutes() < 10 ? "0" + date.getMinutes() : date.getMinutes();
  376. return Y + M + D + h + m;
  377. },
  378. // 提交修改信息
  379. changeSupervisionInfo() {
  380. // this.changeSupervisionVisible = true;
  381. // this.$refs.changeSupFrom.validate(valid => {
  382. // if (valid) {
  383. // this.changeSupervisionLoading = true;
  384. // let data = this.changeSupervision;
  385. // updatelist(data).then(res => {
  386. // this.pblmId = res.data.pblmId;
  387. // this.gwComFiles = res.data.gwComFiles;
  388. // if (res.success) {
  389. // this.removeNewSupervision();
  390. // this.successInfo();
  391. // if (this.$refs.uploadFile.submitUpload(data.pblmId)) {
  392. // this.removeNewSupervision();
  393. // this.successInfo();
  394. // this.addPicPanel = false;
  395. // this.changeSupervisionLoading = false;
  396. // }
  397. // } else {
  398. // this.failInfo();
  399. // }
  400. // });
  401. // }
  402. // });
  403. },
  404. removeNewSupervision(arg) {
  405. if (arg) {
  406. console.log(arg);
  407. var args = this.gwComFiles.concat(arg);
  408. this.updatefilelist(args);
  409. }
  410. this.search();
  411. this.gwComFiles = [];
  412. this.newSupervisionVisible = false;
  413. this.changeSupervisionVisible = false;
  414. this.newSupervision = {
  415. id: "",
  416. checkPoint: "",
  417. presId: localStorage.getItem("userid"),
  418. dataStat: "",
  419. nm: "",
  420. endTime: "",
  421. pblmId: "",
  422. objId: "",
  423. objType: "",
  424. inspGroupId: "",
  425. inspPblmCate: "",
  426. inspPblmName: "",
  427. inspPblmDesc: "",
  428. pblmLong: "",
  429. pblmLat: "",
  430. pblmStat: "",
  431. ifCasePblm: "",
  432. inspPblmOrgName: "",
  433. pblmPersName: "",
  434. reviOpin: "",
  435. reviConc: "",
  436. reviOrgGuid: "",
  437. collTime: "",
  438. recPers: "",
  439. note: ""
  440. };
  441. // this.$refs.uploadFile.init();
  442. },
  443. // 删除图片文件
  444. removeFile(id, index) {
  445. // this.updateIdXiuGai = this.updateIdXiuGai;
  446. var _self = this;
  447. this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
  448. confirmButtonText: "确定",
  449. cancelButtonText: "返回",
  450. type: "warning"
  451. }).then(
  452. res => {
  453. if (res === "confirm") {
  454. deleteFileById(id, this.userId).then(res => {
  455. if (res.success) {
  456. // this.changeSupervision.gwComFiles.splice(index, 1);
  457. this.changeSupervision.gwComFiles.forEach(item => {
  458. if (
  459. item.fileExt == "mp3" ||
  460. item.fileExt == "MP3" ||
  461. item.fileExt == "m4a"
  462. ) {
  463. this.audiotabName.splice(index, 1);
  464. } else if (
  465. item.fileExt == "jpg" ||
  466. item.fileExt == "JPG" ||
  467. item.fileExt == "png" ||
  468. item.fileExt == "PNG" ||
  469. item.fileExt == "JPEG" ||
  470. item.fileExt == "jpeg"
  471. ) {
  472. this.pictureArray.splice(index, 1);
  473. } else if (item.fileExt == "mp4" || item.fileExt == "MP4") {
  474. this.videoArray.splice(index, 1);
  475. }
  476. });
  477. _self.changeSup(this.updateIdXiuGai);
  478. } else {
  479. this.failInfo();
  480. }
  481. });
  482. }
  483. },
  484. res => {
  485. console.log("返回");
  486. }
  487. );
  488. },
  489. // 操作成功反馈
  490. successInfo() {
  491. this.$message({
  492. type: "success",
  493. message: "操作成功!"
  494. });
  495. },
  496. // 操作失败反馈
  497. failInfo(val) {
  498. this.$message.error(val);
  499. },
  500. // 清空选择
  501. toggleSelection(rows) {
  502. this.$refs.multipleTable.clearSelection();
  503. },
  504. // 已选择项
  505. handleSelectionChange(val) {
  506. this.multipleSelection = val;
  507. },
  508. // 文件上传
  509. submitUpload() {
  510. this.$refs.upload.submit();
  511. },
  512. handleRemove(file, fileList) {
  513. console.log(file, fileList);
  514. },
  515. handlePreview(file) {
  516. console.log(file);
  517. },
  518. addPic() {
  519. this.addPicPanel = !this.addPicPanel;
  520. },
  521. // 删除弹窗
  522. removeSuperviseOne(id) {
  523. this.$confirm("此操作删除此条问题, 是否继续?", "提示", {
  524. confirmButtonText: "确定",
  525. cancelButtonText: "返回",
  526. type: "warning"
  527. }).then(() =>{
  528. request.get(`/bis/insp/swhs/pblm/del/${id}`).then(res =>{
  529. if(res.success){
  530. this.$message.success("删除成功");
  531. this.search();
  532. }else{
  533. this.$message.warning(res.message);
  534. }
  535. })
  536. }).catch(() =>{
  537. })
  538. },
  539. changeSupervisionVisiblefalse() {
  540. this.addProblemLastYearVisible = false;
  541. },
  542. addProblem: function(id,type) {
  543. if(type == 'edit'){
  544. request.get(`/bis/insp/swhs/pblm/${id}`).then(res =>{
  545. if(res.success){
  546. this.ruleForm = res.data;
  547. }
  548. })
  549. this.titleProblem = "编辑问题";
  550. this.addProblemLastYearVisible = true;
  551. }else{
  552. this.titleProblem = "添加问题";
  553. for(var obj in this.ruleForm){
  554. this.ruleForm[obj] = "";
  555. }
  556. this.addProblemLastYearVisible = true;
  557. }
  558. },
  559. closePlDialog(val) {
  560. this.showAddProblemDialog = false;
  561. this.search()
  562. },
  563. onSubmitaddProblemLastYear(formName){
  564. this.$refs[formName].validate((valid) => {
  565. if (valid) {
  566. let obj = {};
  567. obj["swhsId"] = this.swhsId;
  568. obj["swhsCode"] = this.swhsCode;
  569. obj["pblmDesc"] = this.ruleForm.pblmDesc;
  570. request.post('/bis/insp/swhs/pblm',obj).then((res)=>{
  571. if(res.success){
  572. this.$message.success("保存成功");
  573. this.addProblemLastYearVisible = false;
  574. this.search();
  575. }
  576. })
  577. } else {
  578. console.log('error submit!!');
  579. return false;
  580. }
  581. });
  582. }
  583. },
  584. beforeCreate() {}, //生命周期 - 创建之前
  585. beforeMount() {}, //生命周期 - 挂载之前
  586. beforeUpdate() {}, //生命周期 - 更新之前
  587. updated() {}, //生命周期 - 更新之后
  588. beforeDestroy() {}, //生命周期 - 销毁之前
  589. destroyed() {}, //生命周期 - 销毁完成
  590. activated() {} //如果页面有keep-alive缓存功能,这个函数会触发
  591. };
  592. </script>
  593. <style rel="stylesheet/scss" lang="scss" scoped>
  594. @import "../duChaWenTi/base.css";
  595. @import url("/src/assets/iconfont/iconfont.css");
  596. @import url("/src/assets/css/mixin.scss");
  597. .upload-container {
  598. width: 100%;
  599. position: relative;
  600. .image-uploader {
  601. width: 35%;
  602. float: left;
  603. }
  604. .image-preview {
  605. width: 200px;
  606. height: 200px;
  607. position: relative;
  608. border: 1px dashed #d9d9d9;
  609. float: left;
  610. // margin-left: 50px;
  611. .image-preview-wrapper {
  612. position: relative;
  613. width: 100%;
  614. height: 100%;
  615. img {
  616. width: 100%;
  617. height: 100%;
  618. }
  619. }
  620. .image-preview-action {
  621. position: absolute;
  622. width: 100%;
  623. height: 100%;
  624. left: 0;
  625. top: 0;
  626. cursor: default;
  627. text-align: center;
  628. color: #fff;
  629. opacity: 0;
  630. font-size: 20px;
  631. background-color: rgba(0, 0, 0, 0.5);
  632. transition: opacity 0.3s;
  633. cursor: pointer;
  634. text-align: center;
  635. line-height: 200px;
  636. .el-icon-delete {
  637. font-size: 36px;
  638. }
  639. }
  640. &:hover {
  641. .image-preview-action {
  642. opacity: 1;
  643. }
  644. }
  645. }
  646. .image-app-preview {
  647. margin-bottom: 10px;
  648. width: 40vh;
  649. height: 180px;
  650. position: relative;
  651. border: 1px dashed #d9d9d9;
  652. float: left;
  653. // margin-left: 50px;
  654. .app-fake-conver {
  655. height: 44px;
  656. position: absolute;
  657. width: 100%; // background: rgba(0, 0, 0, .1);
  658. text-align: center;
  659. line-height: 64px;
  660. color: #fff;
  661. }
  662. }
  663. }
  664. .bottom {
  665. margin-top: 13px;
  666. line-height: 12px;
  667. }
  668. .button {
  669. padding: 0;
  670. float: right;
  671. }
  672. .image {
  673. width: 100%;
  674. display: block;
  675. }
  676. .clearfix:before,
  677. .clearfix:after {
  678. display: table;
  679. content: "";
  680. }
  681. .clearfix:after {
  682. clear: both;
  683. }
  684. #wenTiContainer_sk .el-tree-node {
  685. /* overflow: auto; */
  686. }
  687. #wenTiContainer_sk .el-tree-node > .el-tree-node__children {
  688. overflow: auto;
  689. }
  690. .shuiku .el-date-editor.el-input {
  691. min-width: 180px !important;
  692. }
  693. .shuiku .header {
  694. padding: 0px 10px;
  695. }
  696. .shuiku .el-row {
  697. margin-bottom: 5px;
  698. }
  699. .shuiku .content {
  700. margin: 10px;
  701. }
  702. /* .search .el-table>>>.el-tooltip {
  703. white-space: pre-wrap !important;
  704. line-height: 30px;
  705. font-size: 0;
  706. } */
  707. .shuiku .search >>> .el-table .el-button:nth-child(odd) {
  708. margin-left: 0 !important;
  709. }
  710. .custom_dialog .el-dialog {
  711. width: 60% !important;
  712. }
  713. .custom_dialog .scroll300 {
  714. max-height: 60vh !important;
  715. }
  716. .shuiku .el-tag + .el-tag {
  717. margin-left: 10px;
  718. }
  719. .shuiku .button-new-tag {
  720. margin-left: 10px;
  721. height: 28px;
  722. line-height: 28px;
  723. padding-top: 0;
  724. padding-bottom: 0;
  725. }
  726. .shuiku .input-new-tag {
  727. width: 90px;
  728. margin-left: 10px;
  729. vertical-align: bottom;
  730. }
  731. .problemLastYear .el-dialog__body {
  732. padding: 30px 20px;
  733. color: #606266;
  734. font-size: 14px;
  735. height: 200px;
  736. overflow: auto;
  737. }
  738. </style>