fix : 修改silence reson 为remark

This commit is contained in:
zhangyu
2021-05-11 17:20:22 +08:00
parent fa61a158e6
commit 70da98a2aa
5 changed files with 8 additions and 8 deletions

View File

@@ -1118,7 +1118,7 @@ const cn = {
edit: '修改告警静默',
time: '时间',
matchers: 'matchers',
reason: '描述',
remark: '描述',
selectTime: '请选择时间',
selectMather: '必填项',
datacenter: '数据中心',

View File

@@ -1140,7 +1140,7 @@ const en = {
edit: 'Edit alert silence',
time: 'Time',
matchers: 'matchers',
reason: 'Description',
remark: 'Description',
selectTime: 'Please select time',
selectMather: 'Required',
datacenter: 'datacenter',

View File

@@ -80,11 +80,11 @@
</div>
</el-form-item>
<el-form-item :label='$t("alert.silence.reason")' prop="reason" class="range-time">
<el-form-item :label='$t("alert.silence.remark")' prop="remark" class="range-time">
<el-input
type="textarea"
:placeholder="$t('alert.description')"
v-model="editAlertSilence.reason"
v-model="editAlertSilence.remark"
maxlength="512"
show-word-limit>
@@ -160,7 +160,7 @@ export default {
ruleId: '',
type: '',
linkId: '',
reason: '',
remark: '',
time: [],
matchers: [
{ name: '', value: '', regex: 0 }

View File

@@ -147,8 +147,8 @@ export default {
show: true,
width: 120
}, {
label: this.$t('alert.silence.reason'),
prop: 'reason',
label: this.$t('alert.silence.remark'),
prop: 'remark',
show: true,
width: 120
}, {

View File

@@ -105,7 +105,7 @@ export default {
ruleId: '',
type: 'asset',
linkId: '',
reason: '',
remark: '',
time: [],
matchers: [
{ name: '', value: '', regex: 0 }