From 61b3846b73ade5ea25d131578ecda1f8360ad98c Mon Sep 17 00:00:00 2001 From: vapao Date: Thu, 2 Dec 2021 09:32:34 +0800 Subject: [PATCH] =?UTF-8?q?U=20=E4=BC=98=E5=8C=96=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=B1=95=E7=A4=BA=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spug_web/src/pages/alarm/contact/Table.js | 2 +- spug_web/src/pages/alarm/group/Table.js | 2 +- spug_web/src/pages/monitor/Table.js | 7 ++++--- spug_web/src/pages/schedule/Table.js | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/spug_web/src/pages/alarm/contact/Table.js b/spug_web/src/pages/alarm/contact/Table.js index 635bc8c..f88aa15 100644 --- a/spug_web/src/pages/alarm/contact/Table.js +++ b/spug_web/src/pages/alarm/contact/Table.js @@ -64,7 +64,7 @@ class ComTable extends React.Component { ( store.showForm(info)}>编辑 - this.handleDelete(info)}>删除 + this.handleDelete(info)}>删除 )}/> )} diff --git a/spug_web/src/pages/alarm/group/Table.js b/spug_web/src/pages/alarm/group/Table.js index 02478ad..0ee46ac 100644 --- a/spug_web/src/pages/alarm/group/Table.js +++ b/spug_web/src/pages/alarm/group/Table.js @@ -84,7 +84,7 @@ class ComTable extends React.Component { ( store.showForm(info)}>编辑 - this.handleDelete(info)}>删除 + this.handleDelete(info)}>删除 )}/> )} diff --git a/spug_web/src/pages/monitor/Table.js b/spug_web/src/pages/monitor/Table.js index e144cc3..0553a28 100644 --- a/spug_web/src/pages/monitor/Table.js +++ b/spug_web/src/pages/monitor/Table.js @@ -73,13 +73,13 @@ class ComTable extends React.Component { showTotal: total => `共 ${total} 条`, pageSizeOptions: ['10', '20', '50', '100'] }}> - + `${value}分钟`}/> { if (info.is_active) { - return 已激活 + return 已激活 } else { return 未激活 } @@ -93,7 +93,8 @@ class ComTable extends React.Component { this.handleActive(info)}>{info['is_active'] ? '禁用' : '启用'} store.showForm(info)}>编辑 - this.handleDelete(info)}>删除 + this.handleDelete(info)}>删除 )}/> )} diff --git a/spug_web/src/pages/schedule/Table.js b/spug_web/src/pages/schedule/Table.js index f0e8cb4..6ae1ac2 100644 --- a/spug_web/src/pages/schedule/Table.js +++ b/spug_web/src/pages/schedule/Table.js @@ -35,7 +35,7 @@ class ComTable extends React.Component { - this.handleDelete(info)}>删除 + this.handleDelete(info)}>删除 );