NEZ-947 feat;alert rule增加 state 页面开发

This commit is contained in:
zhangyu
2021-08-30 15:02:44 +08:00
parent 780b119c61
commit 8ce2075eb1
3 changed files with 42 additions and 3 deletions

View File

@@ -99,6 +99,16 @@
<el-form-item :label="$t('alert.summary')" prop="summary">
<el-input id="alert-box-input-summary" v-model="editAlertRule.summary" maxlength="512" placeholder="" rows="3" show-word-limit size="small" type="textarea"></el-input>
</el-form-item>
<el-form-item :label='$t("config.dc.state")' prop="state">
<el-switch
id="dc-box-input-name"
v-model="editAlertRule.state"
:active-value="1"
:inactive-value="0"
active-color="#ee9d3f"
>
</el-switch>
</el-form-item>
<!--description-->
<el-form-item :label="$t('overall.remark')" prop="description">
<el-input id="alert-box-input-description" v-model="editAlertRule.description" maxlength="256" placeholder="" rows="4" show-word-limit size="small" type="textarea"></el-input>