From b76d158e390786478bc13fc2f295faba75dce495 Mon Sep 17 00:00:00 2001 From: vapao Date: Mon, 19 Oct 2020 15:33:00 +0800 Subject: [PATCH] =?UTF-8?q?U=20=E4=BC=98=E5=8C=96=E5=88=86=E9=A1=B5?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E6=80=BB=E6=9D=A1=E6=95=B0=20#208?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spug_web/src/pages/alarm/alarm/Table.js | 1 + spug_web/src/pages/alarm/contact/Table.js | 1 + spug_web/src/pages/alarm/group/Table.js | 1 + spug_web/src/pages/config/app/Table.js | 1 + spug_web/src/pages/config/environment/Table.js | 1 + spug_web/src/pages/config/service/Table.js | 1 + spug_web/src/pages/config/setting/Record.js | 1 + spug_web/src/pages/config/setting/TableView.js | 1 + spug_web/src/pages/deploy/app/Table.js | 1 + spug_web/src/pages/deploy/request/Table.js | 1 + spug_web/src/pages/exec/template/Table.js | 1 + spug_web/src/pages/host/Table.js | 1 + spug_web/src/pages/monitor/Table.js | 1 + spug_web/src/pages/schedule/Record.js | 1 + spug_web/src/pages/schedule/Table.js | 1 + spug_web/src/pages/system/account/Table.js | 1 + spug_web/src/pages/system/role/Table.js | 1 + 17 files changed, 17 insertions(+) diff --git a/spug_web/src/pages/alarm/alarm/Table.js b/spug_web/src/pages/alarm/alarm/Table.js index 00c8841..32ca95d 100644 --- a/spug_web/src/pages/alarm/alarm/Table.js +++ b/spug_web/src/pages/alarm/alarm/Table.js @@ -74,6 +74,7 @@ class ComTable extends React.Component { showSizeChanger: true, showLessItems: true, hideOnSinglePage: true, + showTotal: total => `共 ${total} 条`, pageSizeOptions: ['10', '20', '50', '100'] }} columns={this.columns}/> diff --git a/spug_web/src/pages/alarm/contact/Table.js b/spug_web/src/pages/alarm/contact/Table.js index a3bbb66..a0f032b 100644 --- a/spug_web/src/pages/alarm/contact/Table.js +++ b/spug_web/src/pages/alarm/contact/Table.js @@ -80,6 +80,7 @@ class ComTable extends React.Component { showSizeChanger: true, showLessItems: true, hideOnSinglePage: true, + showTotal: total => `共 ${total} 条`, pageSizeOptions: ['10', '20', '50', '100'] }} columns={this.columns}/> diff --git a/spug_web/src/pages/alarm/group/Table.js b/spug_web/src/pages/alarm/group/Table.js index cee4bcf..7e45681 100644 --- a/spug_web/src/pages/alarm/group/Table.js +++ b/spug_web/src/pages/alarm/group/Table.js @@ -99,6 +99,7 @@ class ComTable extends React.Component { showSizeChanger: true, showLessItems: true, hideOnSinglePage: true, + showTotal: total => `共 ${total} 条`, pageSizeOptions: ['10', '20', '50', '100'] }} columns={this.columns}/> diff --git a/spug_web/src/pages/config/app/Table.js b/spug_web/src/pages/config/app/Table.js index c7bbe8c..ebd5ad0 100644 --- a/spug_web/src/pages/config/app/Table.js +++ b/spug_web/src/pages/config/app/Table.js @@ -72,6 +72,7 @@ class ComTable extends React.Component { showSizeChanger: true, showLessItems: true, hideOnSinglePage: true, + showTotal: total => `共 ${total} 条`, pageSizeOptions: ['10', '20', '50', '100'] }} columns={this.columns}/> diff --git a/spug_web/src/pages/config/environment/Table.js b/spug_web/src/pages/config/environment/Table.js index 9776c0d..c2bae89 100644 --- a/spug_web/src/pages/config/environment/Table.js +++ b/spug_web/src/pages/config/environment/Table.js @@ -72,6 +72,7 @@ class ComTable extends React.Component { showSizeChanger: true, showLessItems: true, hideOnSinglePage: true, + showTotal: total => `共 ${total} 条`, pageSizeOptions: ['10', '20', '50', '100'] }} columns={this.columns}/> diff --git a/spug_web/src/pages/config/service/Table.js b/spug_web/src/pages/config/service/Table.js index 128e189..a60f2bc 100644 --- a/spug_web/src/pages/config/service/Table.js +++ b/spug_web/src/pages/config/service/Table.js @@ -73,6 +73,7 @@ class ComTable extends React.Component { showSizeChanger: true, showLessItems: true, hideOnSinglePage: true, + showTotal: total => `共 ${total} 条`, pageSizeOptions: ['10', '20', '50', '100'] }} columns={this.columns}/> diff --git a/spug_web/src/pages/config/setting/Record.js b/spug_web/src/pages/config/setting/Record.js index f2751ee..9bd100f 100644 --- a/spug_web/src/pages/config/setting/Record.js +++ b/spug_web/src/pages/config/setting/Record.js @@ -72,6 +72,7 @@ class Record extends React.Component { showSizeChanger: true, showLessItems: true, hideOnSinglePage: true, + showTotal: total => `共 ${total} 条`, pageSizeOptions: ['10', '20', '50', '100'] }} columns={this.columns}/> diff --git a/spug_web/src/pages/config/setting/TableView.js b/spug_web/src/pages/config/setting/TableView.js index 185d5c7..7e32545 100644 --- a/spug_web/src/pages/config/setting/TableView.js +++ b/spug_web/src/pages/config/setting/TableView.js @@ -82,6 +82,7 @@ class TableView extends React.Component { showSizeChanger: true, showLessItems: true, hideOnSinglePage: true, + showTotal: total => `共 ${total} 条`, pageSizeOptions: ['10', '20', '50', '100'] }} columns={this.columns}/> diff --git a/spug_web/src/pages/deploy/app/Table.js b/spug_web/src/pages/deploy/app/Table.js index 63c3c04..95d4a99 100644 --- a/spug_web/src/pages/deploy/app/Table.js +++ b/spug_web/src/pages/deploy/app/Table.js @@ -169,6 +169,7 @@ class ComTable extends React.Component { showSizeChanger: true, showLessItems: true, hideOnSinglePage: true, + showTotal: total => `共 ${total} 条`, pageSizeOptions: ['10', '20', '50', '100'] }} columns={this.columns}/> diff --git a/spug_web/src/pages/deploy/request/Table.js b/spug_web/src/pages/deploy/request/Table.js index db71d00..0d18619 100644 --- a/spug_web/src/pages/deploy/request/Table.js +++ b/spug_web/src/pages/deploy/request/Table.js @@ -199,6 +199,7 @@ class ComTable extends React.Component { showSizeChanger: true, showLessItems: true, hideOnSinglePage: true, + showTotal: total => `共 ${total} 条`, pageSizeOptions: ['10', '20', '50', '100'] }} columns={this.columns}/> diff --git a/spug_web/src/pages/exec/template/Table.js b/spug_web/src/pages/exec/template/Table.js index e5be097..8bcccc7 100644 --- a/spug_web/src/pages/exec/template/Table.js +++ b/spug_web/src/pages/exec/template/Table.js @@ -74,6 +74,7 @@ class ComTable extends React.Component { showSizeChanger: true, showLessItems: true, hideOnSinglePage: true, + showTotal: total => `共 ${total} 条`, pageSizeOptions: ['10', '20', '50', '100'] }} columns={this.columns}/> diff --git a/spug_web/src/pages/host/Table.js b/spug_web/src/pages/host/Table.js index 1ed7bb9..1ba4b11 100644 --- a/spug_web/src/pages/host/Table.js +++ b/spug_web/src/pages/host/Table.js @@ -89,6 +89,7 @@ class ComTable extends React.Component { showSizeChanger: true, showLessItems: true, hideOnSinglePage: true, + showTotal: total => `共 ${total} 条`, pageSizeOptions: ['10', '20', '50', '100'] }} columns={this.columns}/> diff --git a/spug_web/src/pages/monitor/Table.js b/spug_web/src/pages/monitor/Table.js index 3d39591..6c73e54 100644 --- a/spug_web/src/pages/monitor/Table.js +++ b/spug_web/src/pages/monitor/Table.js @@ -150,6 +150,7 @@ class ComTable extends React.Component { showSizeChanger: true, showLessItems: true, hideOnSinglePage: true, + showTotal: total => `共 ${total} 条`, pageSizeOptions: ['10', '20', '50', '100'] }} columns={this.columns}/> diff --git a/spug_web/src/pages/schedule/Record.js b/spug_web/src/pages/schedule/Record.js index abe00bb..d5acb25 100644 --- a/spug_web/src/pages/schedule/Record.js +++ b/spug_web/src/pages/schedule/Record.js @@ -56,6 +56,7 @@ class Record extends React.Component { showSizeChanger: true, showLessItems: true, hideOnSinglePage: true, + showTotal: total => `共 ${total} 条`, pageSizeOptions: ['10', '20', '50', '100'] }} loading={this.state.loading}/> diff --git a/spug_web/src/pages/schedule/Table.js b/spug_web/src/pages/schedule/Table.js index a492f49..4e856b4 100644 --- a/spug_web/src/pages/schedule/Table.js +++ b/spug_web/src/pages/schedule/Table.js @@ -149,6 +149,7 @@ class ComTable extends React.Component { showSizeChanger: true, showLessItems: true, hideOnSinglePage: true, + showTotal: total => `共 ${total} 条`, pageSizeOptions: ['10', '20', '50', '100'] }} columns={this.columns}/> diff --git a/spug_web/src/pages/system/account/Table.js b/spug_web/src/pages/system/account/Table.js index be3a595..59896bb 100644 --- a/spug_web/src/pages/system/account/Table.js +++ b/spug_web/src/pages/system/account/Table.js @@ -123,6 +123,7 @@ class ComTable extends React.Component { showSizeChanger: true, showLessItems: true, hideOnSinglePage: true, + showTotal: total => `共 ${total} 条`, pageSizeOptions: ['10', '20', '50', '100'] }} columns={this.columns}/> diff --git a/spug_web/src/pages/system/role/Table.js b/spug_web/src/pages/system/role/Table.js index 1598013..a2b4d6e 100644 --- a/spug_web/src/pages/system/role/Table.js +++ b/spug_web/src/pages/system/role/Table.js @@ -72,6 +72,7 @@ class ComTable extends React.Component { showSizeChanger: true, showLessItems: true, hideOnSinglePage: true, + showTotal: total => `共 ${total} 条`, pageSizeOptions: ['10', '20', '50', '100'] }} columns={this.columns}/>