|
|
|
@ -36,15 +36,17 @@
|
|
|
|
|
<div slot="header" class="clearfix">
|
|
|
|
|
<span>设置告警可信度</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div v-for="(item, index) in probList" :key="index" class="probBox">
|
|
|
|
|
<label>{{ item.name }}</label>
|
|
|
|
|
<el-input-number
|
|
|
|
|
:min="0"
|
|
|
|
|
:max="110"
|
|
|
|
|
controls-position="right"
|
|
|
|
|
v-model="item.prob"
|
|
|
|
|
placeholder="请输入可信度值"
|
|
|
|
|
></el-input-number>
|
|
|
|
|
<div class="warnBox">
|
|
|
|
|
<div v-for="(item, index) in probList" :key="index" class="probBox">
|
|
|
|
|
<label>{{ item.name }}</label>
|
|
|
|
|
<el-input-number
|
|
|
|
|
:min="0"
|
|
|
|
|
:max="110"
|
|
|
|
|
controls-position="right"
|
|
|
|
|
v-model="item.prob"
|
|
|
|
|
placeholder="请输入可信度值"
|
|
|
|
|
></el-input-number>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<el-button class="setbtn" type="primary" @click="setProb"
|
|
|
|
|
>设置</el-button
|
|
|
|
@ -181,12 +183,18 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
.globalprob {
|
|
|
|
|
width: 378px;
|
|
|
|
|
height: max-content;
|
|
|
|
|
height: calc(100% - 60px);
|
|
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
.el-card__body {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
height: calc(100% - 98px);
|
|
|
|
|
.warnBox {
|
|
|
|
|
height: calc(100% - 80px);
|
|
|
|
|
overflow: auto;
|
|
|
|
|
}
|
|
|
|
|
.probBox {
|
|
|
|
|
display: flex;
|
|
|
|
|
height: 40px;
|
|
|
|
|