|
@@ -72,7 +72,7 @@
|
|
|
|
|
|
<div class="aviName2">
|
|
|
<div class="aviP3">备注</div>
|
|
|
- <el-input type="textarea" v-model="desc"></el-input>
|
|
|
+ <el-input type="textarea" v-model="desc" resize="none"></el-input>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -88,13 +88,42 @@
|
|
|
/>
|
|
|
|
|
|
<div class="LBox">
|
|
|
- <div @click="addDig" class="lbox-add r24">
|
|
|
+ <!-- <div @click="addDig" class="lbox-add r24">
|
|
|
<div class="terminal-info-add-icons">
|
|
|
<span class="icon el-icon-plus"></span>
|
|
|
</div>
|
|
|
- </div>
|
|
|
-
|
|
|
- <div
|
|
|
+ </div> -->
|
|
|
+ <el-row :gutter="24">
|
|
|
+ <el-col :span="4">
|
|
|
+ <div @click="addDig" class="lbox-add r24">
|
|
|
+ <div class="terminal-info-add-icons">
|
|
|
+ <span class="icon el-icon-plus"></span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="4" v-for="(item, index) in infoArr" :key="index">
|
|
|
+ <div class="headerBoxs">
|
|
|
+ <div class="tltle-head">
|
|
|
+ <div class="title flower">
|
|
|
+ {{ item.name }}
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ @click="delBox(item, index)"
|
|
|
+ class="el-icon-close icon"
|
|
|
+ ></div>
|
|
|
+ </div>
|
|
|
+ <div class="text item" style="margin-top: 15px">
|
|
|
+ <div class="adTime fwgh" style="margin-bottom: 15px">
|
|
|
+ 预警时长:<span class="timeER">{{ item.beginTime }}</span>
|
|
|
+ </div>
|
|
|
+ <div class="adTime fwgh">
|
|
|
+ 报警时长:<span class="timeER">{{ item.endTime }}</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <!-- <div
|
|
|
v-for="(item, index) in infoArr"
|
|
|
@click="infoIndex(item, index)"
|
|
|
:key="index"
|
|
@@ -103,14 +132,13 @@
|
|
|
<div class="name">{{ item.name }}</div>
|
|
|
<div class="edit right">
|
|
|
<span @click.stop="editInfo(item)" class="round">
|
|
|
- <!-- <i class="el-icon-edit-outline"></i> -->
|
|
|
<div class="edit_log" style="margin-left: 0"></div>
|
|
|
</span>
|
|
|
</div>
|
|
|
<div @click.stop="delBox(item)" class="close">
|
|
|
<i class="el-icon-close"></i>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
@@ -120,10 +148,17 @@
|
|
|
<div class="del-title">删除报警预警策略</div>
|
|
|
<div class="content er">
|
|
|
<div class="log"></div>
|
|
|
- 是否确认删除{{ this.delName }}超时策略
|
|
|
+ 是否确认删除
|
|
|
+ <p style="color: #eb2f3b; margin-top: 0px; margin-bottom: 0px">
|
|
|
+ {{ this.delName }}?
|
|
|
+ </p>
|
|
|
</div>
|
|
|
<div class="DelFoot right t30" style="background: #ffffff">
|
|
|
- <el-button size="medium" @click="remove" class="r25 r26" type="danger"
|
|
|
+ <el-button
|
|
|
+ size="medium"
|
|
|
+ @click="remove"
|
|
|
+ class="r25 buwitch"
|
|
|
+ type="danger"
|
|
|
>删除</el-button
|
|
|
>
|
|
|
<el-button size="medium" class="r26" @click="flag = false"
|
|
@@ -232,7 +267,7 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</div>
|
|
|
- <div class="itemBox">
|
|
|
+ <!-- <div class="itemBox">
|
|
|
<el-form-item label="备注">
|
|
|
<el-input
|
|
|
@input="changeValue3"
|
|
@@ -240,7 +275,7 @@
|
|
|
v-model="form.desc"
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
</el-form>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
<el-button type="primary" class="r25 r26" @click="submit"
|
|
@@ -284,7 +319,11 @@ export default {
|
|
|
code4: this.$route.query.ladingAirport,
|
|
|
flag: false,
|
|
|
aircompeny: [],
|
|
|
- infoArr: [], //报警预警策略列表
|
|
|
+ infoArr: [
|
|
|
+ {
|
|
|
+ name: "名称",
|
|
|
+ },
|
|
|
+ ], //报警预警策略列表
|
|
|
posType: 1,
|
|
|
arilist: [],
|
|
|
traceList: [],
|
|
@@ -356,12 +395,12 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
- this.getAirlines();
|
|
|
- this.getAirlist();
|
|
|
- this.UserWarning();
|
|
|
- this.tracenode();
|
|
|
- this.AlarmlocationList(this.code3, "1");
|
|
|
- this.AlarmlocationList(this.code4, "2");
|
|
|
+ // this.getAirlines();
|
|
|
+ // this.getAirlist();
|
|
|
+ // this.UserWarning();
|
|
|
+ // this.tracenode();
|
|
|
+ // this.AlarmlocationList(this.code3, "1");
|
|
|
+ // this.AlarmlocationList(this.code4, "2");
|
|
|
},
|
|
|
watch: {
|
|
|
code3() {
|
|
@@ -483,7 +522,7 @@ export default {
|
|
|
const res = await AddWarning(params);
|
|
|
if (res.code === 0) {
|
|
|
this.$message.success("修改报警预警信息成功");
|
|
|
- this.$router.push("/dashboard/warningSet");
|
|
|
+ this.$router.push("/systemSettings/warningSet");
|
|
|
} else {
|
|
|
this.$message.error.message;
|
|
|
}
|
|
@@ -607,6 +646,7 @@ export default {
|
|
|
.bgBox {
|
|
|
padding: 0;
|
|
|
width: 100%;
|
|
|
+
|
|
|
.log {
|
|
|
width: 26px;
|
|
|
height: 26px;
|
|
@@ -622,10 +662,19 @@ export default {
|
|
|
}
|
|
|
::v-deep .el-input__suffix {
|
|
|
right: 0;
|
|
|
- top: 5px;
|
|
|
}
|
|
|
::v-deep .el-dialog__body {
|
|
|
- padding-left: 0;
|
|
|
+ padding-left: 0 !important;
|
|
|
+ padding-right: 0 !important;
|
|
|
+ // padding-top: 20px !important;
|
|
|
+ padding-bottom: 0px;
|
|
|
+ }
|
|
|
+ ::v-deep .el-dialog__headerbtn {
|
|
|
+ top: 17px;
|
|
|
+ color: #ffffff;
|
|
|
+ }
|
|
|
+ ::v-deep .el-dialog__close {
|
|
|
+ color: #ffffff;
|
|
|
}
|
|
|
::v-deep .el-range-separator {
|
|
|
line-height: 27px;
|
|
@@ -650,6 +699,46 @@ export default {
|
|
|
margin-bottom: 15px;
|
|
|
}
|
|
|
}
|
|
|
+.timeER {
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: Helvetica;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #afb4bf;
|
|
|
+}
|
|
|
+.box-card {
|
|
|
+ width: 268px;
|
|
|
+ height: 144px;
|
|
|
+ margin-left: 18px;
|
|
|
+ margin-top: 24px;
|
|
|
+ background: #fff;
|
|
|
+ box-shadow: 0px 6px 7px 0px rgb(0 0 0 / 6%);
|
|
|
+ border-radius: 4px;
|
|
|
+}
|
|
|
+.headerBox {
|
|
|
+ padding: 16px;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ .tltle-head {
|
|
|
+ display: flex;
|
|
|
+ width: 100%;
|
|
|
+ flex-direction: row;
|
|
|
+ justify-content: flex-start;
|
|
|
+ align-items: center;
|
|
|
+ }
|
|
|
+ .el-button {
|
|
|
+ width: 64px;
|
|
|
+ height: 32px;
|
|
|
+ background: #2d67e3;
|
|
|
+ border-radius: 4px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #ffffff;
|
|
|
+ }
|
|
|
+}
|
|
|
.text {
|
|
|
font-size: 14px;
|
|
|
}
|
|
@@ -669,18 +758,22 @@ export default {
|
|
|
border-radius: 8px;
|
|
|
}
|
|
|
.topBox {
|
|
|
- height: 280px;
|
|
|
+ // height: 280px;
|
|
|
background: #ffffff;
|
|
|
box-shadow: 0px 6px 7px 0px rgba(0, 0, 0, 0.06);
|
|
|
border-radius: 4px;
|
|
|
margin-bottom: 25px;
|
|
|
}
|
|
|
-.headerBox {
|
|
|
- padding: 32px 40px 20px 32px;
|
|
|
+.headerBoxs {
|
|
|
+ height: 144px;
|
|
|
+ padding: 24px 24px 20px 18px;
|
|
|
background: #ffffff;
|
|
|
- display: flex;
|
|
|
border-radius: 4px;
|
|
|
- justify-content: space-between;
|
|
|
+ .tltle-head {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+ }
|
|
|
.el-button {
|
|
|
width: 64px;
|
|
|
height: 32px;
|
|
@@ -698,19 +791,20 @@ export default {
|
|
|
|
|
|
.top {
|
|
|
display: flex;
|
|
|
+ align-items: center;
|
|
|
flex-direction: row;
|
|
|
}
|
|
|
|
|
|
.oneColor {
|
|
|
width: 4px;
|
|
|
- height: 26px;
|
|
|
+ height: 20px;
|
|
|
margin-right: 12px;
|
|
|
- background: #6e82a7;
|
|
|
+ background: #2d67e3;
|
|
|
}
|
|
|
.titleOne {
|
|
|
width: 144px;
|
|
|
- height: 24px;
|
|
|
- font-size: 24px;
|
|
|
+ font-size: 20px;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
font-weight: bold;
|
|
|
color: #303133;
|
|
|
}
|
|
@@ -719,6 +813,12 @@ export default {
|
|
|
display: flex;
|
|
|
flex-wrap: wrap;
|
|
|
width: 90%;
|
|
|
+ ::v-deep .el-input__suffix {
|
|
|
+ top: 4px;
|
|
|
+ }
|
|
|
+}
|
|
|
+::v-deep .el-row {
|
|
|
+ width: 100%;
|
|
|
}
|
|
|
::v-deep .formBox {
|
|
|
.digName {
|
|
@@ -825,9 +925,9 @@ export default {
|
|
|
.centerBox {
|
|
|
height: 495px;
|
|
|
padding: 32px 40px 44px 32px;
|
|
|
- background: #ffffff;
|
|
|
- box-shadow: 0px 6px 7px 0px rgba(0, 0, 0, 0.06);
|
|
|
- border-radius: 4px;
|
|
|
+ // background: #ffffff;
|
|
|
+ // box-shadow: 0px 6px 7px 0px rgba(0, 0, 0, 0.06);
|
|
|
+ // border-radius: 4px;
|
|
|
}
|
|
|
.centerTitle {
|
|
|
width: 126px;
|
|
@@ -873,8 +973,7 @@ export default {
|
|
|
margin-bottom: 20px;
|
|
|
}
|
|
|
.lbox-add {
|
|
|
- width: 230px;
|
|
|
- height: 120px;
|
|
|
+ height: 144px;
|
|
|
background: #f5f7fa;
|
|
|
border: 1px dashed #9ebbf7;
|
|
|
border-radius: 8px;
|
|
@@ -983,8 +1082,19 @@ export default {
|
|
|
}
|
|
|
.el-dialog {
|
|
|
// border-radius: 20px;
|
|
|
- width: 650px;
|
|
|
- height: 515px;
|
|
|
+ width: 600px;
|
|
|
+ display: flex;
|
|
|
+ display: -ms-flex; /* 兼容IE */
|
|
|
+ flex-direction: column;
|
|
|
+ -ms-flex-direction: column; /* 兼容IE */
|
|
|
+ margin: 0 !important;
|
|
|
+ position: absolute;
|
|
|
+ top: 50%;
|
|
|
+ left: 50%;
|
|
|
+ transform: translate(-50%, -50%);
|
|
|
+ max-height: calc(100% - 30px);
|
|
|
+ max-width: calc(100% - 30px);
|
|
|
+ // height: 515px;
|
|
|
}
|
|
|
.el-input__inner {
|
|
|
width: 160px;
|
|
@@ -1003,6 +1113,11 @@ export default {
|
|
|
.el-dialog__header {
|
|
|
padding: 35px 46px 10px;
|
|
|
}
|
|
|
+ .el-dialog__footer {
|
|
|
+ padding-left: 0px;
|
|
|
+ padding-right: 0px;
|
|
|
+ padding-bottom: 0;
|
|
|
+ }
|
|
|
.el-dialog__title {
|
|
|
font-size: 24px;
|
|
|
font-weight: bold;
|
|
@@ -1010,10 +1125,13 @@ export default {
|
|
|
}
|
|
|
|
|
|
.dialog-footer {
|
|
|
+ height: 56px;
|
|
|
display: flex;
|
|
|
justify-content: flex-end;
|
|
|
+ align-items: center;
|
|
|
padding-right: 34px;
|
|
|
- margin-top: -30px;
|
|
|
+ background: #f0f5ff;
|
|
|
+ padding-bottom: 0;
|
|
|
}
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|