From c7289ded9e2c100ab27e40ebdb5d78c51abcf359 Mon Sep 17 00:00:00 2001 From: yanyizhou <2311759275@qq.com> Date: Wed, 24 Nov 2021 10:28:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=AA=E8=83=BD=E5=9C=A81366=E4=B8=8B?= =?UTF-8?q?=E7=9C=8B=E7=9D=80=E8=BF=98=E4=B8=8D=E9=94=99=E7=9A=84=E9=A2=84?= =?UTF-8?q?=E8=AD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/localTool/standWarning.vue | 118 ------------------------ src/pages/localTool/standardWarning.vue | 52 +++++++---- 2 files changed, 33 insertions(+), 137 deletions(-) delete mode 100644 src/pages/localTool/standWarning.vue diff --git a/src/pages/localTool/standWarning.vue b/src/pages/localTool/standWarning.vue deleted file mode 100644 index 2b6d6b055..000000000 --- a/src/pages/localTool/standWarning.vue +++ /dev/null @@ -1,118 +0,0 @@ - - - - - diff --git a/src/pages/localTool/standardWarning.vue b/src/pages/localTool/standardWarning.vue index 5baf5253a..563d59441 100644 --- a/src/pages/localTool/standardWarning.vue +++ b/src/pages/localTool/standardWarning.vue @@ -8,9 +8,9 @@
-
-
实施预警
-
+ + +
@@ -27,12 +27,21 @@ placeholder="根据标准名称查找"> - - - + + + + {{ opt.label }} + + + + + + + +
-
- 实施日期预警 +
+ { - // this.height = $(".content").height() * 0.4; - // }; + this.height = $(".content").height() * 1.8; + window.onresize = () => { + this.height = $(".content").height() * 1.8; + }; //从数据库中查询下拉框数据 this.$http.get("sys/dictype/getDicTypeListCode", {}, { _this: this }, res => { this.energyKindOptions = res.data.ENERGYTYPES; // 文本状态 + this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型 this.zrgcs = res.data.ZRGCSCLASS; this.loading[this.field] = true this.$http.get('sys/EarlyWarning/StandWarning', { @@ -1015,8 +1026,11 @@ export default { } .more { - margin-top: 30px; + display: flex; + align-items: center; + + justify-content: center; /deep/ .el-input__inner { width: 185px; } @@ -1027,13 +1041,13 @@ export default { } } - cursor: pointer; + //cursor: pointer; color: #12508e; - position: absolute; + //position: absolute; top: 0; right: 0; z-index: 100; - padding: 5px 10px; + //padding: 5px 10px; // &:hover { // color: #fff; // background: #12508e;