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: '修改告警静默', edit: '修改告警静默',
time: '时间', time: '时间',
matchers: 'matchers', matchers: 'matchers',
reason: '描述', remark: '描述',
selectTime: '请选择时间', selectTime: '请选择时间',
selectMather: '必填项', selectMather: '必填项',
datacenter: '数据中心', datacenter: '数据中心',

View File

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

View File

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

View File

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

View File

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