文案优化

This commit is contained in:
zengqiao
2020-11-08 15:43:42 +08:00
parent 6c89d66af9
commit d3f3531cdb
16 changed files with 35 additions and 34 deletions

View File

@@ -34,7 +34,7 @@ export class ShieldHistory extends React.Component {
title: '详情',
content: (
<ul className="monitor-detail">
<li><b></b>{record.monitorName}</li>
<li><b></b>{record.monitorName}</li>
<li><b></b>{moment(record.startTime).format(timeFormat)}</li>
<li><b></b>{moment(record.endTime).format(timeFormat)}</li>
<li><b></b>{record.description}</li>
@@ -48,10 +48,10 @@ export class ShieldHistory extends React.Component {
formMap: [
{
key: 'monitorName',
label: '告警名称',
label: '告警规则',
rules: [{
required: true,
message: '请输入告警名称',
message: '请输入告警规则',
}],
attrs: {
disabled: true,
@@ -112,7 +112,7 @@ export class ShieldHistory extends React.Component {
monitorId: record.monitorId,
} as IMonitorSilences;
alarm.modifyMask(params, this.id).then(data => {
notification.success({ message: '修改成功' });
notification.success({ message: '编辑成功' });
});
},
};
@@ -158,7 +158,7 @@ export class ShieldHistory extends React.Component {
render: (action: any, record: IMonitorSilences) => {
return(
<>
<a onClick={() => this.modifyMonitor(record)} className="action-button"></a>
<a onClick={() => this.modifyMonitor(record)} className="action-button"></a>
<a onClick={() => this.silencesDetail(record)} className="action-button"></a>
<Popconfirm
title="确定删除?"