From af02b8f3c3ec9e5684be1084904d673429421d2b Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 03 九月 2020 16:40:47 +0800 Subject: [PATCH] 2020-09-03 --- src/templates/zshare/verifycard/index.jsx | 36 ++++++++++++++++++------------------ 1 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/templates/zshare/verifycard/index.jsx b/src/templates/zshare/verifycard/index.jsx index cbfb1e4..8ecfd5a 100644 --- a/src/templates/zshare/verifycard/index.jsx +++ b/src/templates/zshare/verifycard/index.jsx @@ -65,13 +65,13 @@ render: (text, record) => record.status === 'false' ? ( <div> - {this.props.dict['header.form.status.forbidden']} + {this.props.dict['model.status.forbidden']} <Icon style={{marginLeft: '5px'}} type="stop" theme="twoTone" twoToneColor="#ff4d4f" /> </div> ) : ( <div> - {this.props.dict['header.form.status.open']} + {this.props.dict['model.status.open']} <Icon style={{marginLeft: '5px'}} type="check-circle" theme="twoTone" twoToneColor="#52c41a" /> </div> ) @@ -89,7 +89,7 @@ <span className="operation-btn" title={this.props.dict['header.form.status.change']} onClick={() => this.handleStatus(record, 'unique')} style={{color: '#8E44AD'}}><Icon type="swap" /></span> <Popconfirm overlayClassName="popover-confirm" - title={this.props.dict['header.form.query.delete']} + title={this.props.dict['model.query.delete']} onConfirm={() => this.handleDelete(record, 'unique') }> <span className="operation-btn" style={{color: '#ff4d4f'}}><Icon type="delete" /></span> @@ -110,13 +110,13 @@ render: (text, record) => record.status === 'false' ? ( <div> - {this.props.dict['header.form.status.forbidden']} + {this.props.dict['model.status.forbidden']} <Icon style={{marginLeft: '5px'}} type="stop" theme="twoTone" twoToneColor="#ff4d4f" /> </div> ) : ( <div> - {this.props.dict['header.form.status.open']} + {this.props.dict['model.status.open']} <Icon style={{marginLeft: '5px'}} type="check-circle" theme="twoTone" twoToneColor="#52c41a" /> </div> ) @@ -134,7 +134,7 @@ <span className="operation-btn" title={this.props.dict['header.form.status.change']} onClick={() => this.handleStatus(record, 'unique')} style={{color: '#8E44AD'}}><Icon type="swap" /></span> <Popconfirm overlayClassName="popover-confirm" - title={this.props.dict['header.form.query.delete']} + title={this.props.dict['model.query.delete']} onConfirm={() => this.handleDelete(record, 'unique') }> <span className="operation-btn" style={{color: '#ff4d4f'}}><Icon type="delete" /></span> @@ -175,13 +175,13 @@ render: (text, record) => record.status === 'false' ? ( <div> - {this.props.dict['header.form.status.forbidden']} + {this.props.dict['model.status.forbidden']} <Icon style={{marginLeft: '5px'}} type="stop" theme="twoTone" twoToneColor="#ff4d4f" /> </div> ) : ( <div> - {this.props.dict['header.form.status.open']} + {this.props.dict['model.status.open']} <Icon style={{marginLeft: '5px'}} type="check-circle" theme="twoTone" twoToneColor="#52c41a" /> </div> ) @@ -199,7 +199,7 @@ <span className="operation-btn" title={this.props.dict['header.form.status.change']} onClick={() => this.handleStatus(record, 'contrast')} style={{color: '#8E44AD'}}><Icon type="swap" /></span> <Popconfirm overlayClassName="popover-confirm" - title={this.props.dict['header.form.query.delete']} + title={this.props.dict['model.query.delete']} onConfirm={() => this.handleDelete(record, 'contrast') }> <span className="operation-btn" style={{color: '#ff4d4f'}}><Icon type="delete" /></span> @@ -238,13 +238,13 @@ render: (text, record) => record.status === 'false' ? ( <div> - {this.props.dict['header.form.status.forbidden']} + {this.props.dict['model.status.forbidden']} <Icon style={{marginLeft: '5px'}} type="stop" theme="twoTone" twoToneColor="#ff4d4f" /> </div> ) : ( <div> - {this.props.dict['header.form.status.open']} + {this.props.dict['model.status.open']} <Icon style={{marginLeft: '5px'}} type="check-circle" theme="twoTone" twoToneColor="#52c41a" /> </div> ) @@ -262,7 +262,7 @@ <span className="operation-btn" title={this.props.dict['header.form.status.change']} onClick={() => this.handleStatus(record, 'customverify')} style={{color: '#8E44AD'}}><Icon type="swap" /></span> <Popconfirm overlayClassName="popover-confirm" - title={this.props.dict['header.form.query.delete']} + title={this.props.dict['model.query.delete']} onConfirm={() => this.handleDelete(record, 'customverify') }> <span className="operation-btn" style={{color: '#ff4d4f'}}><Icon type="delete" /></span> @@ -300,13 +300,13 @@ render: (text, record) => record.status === 'false' ? ( <div> - {this.props.dict['header.form.status.forbidden']} + {this.props.dict['model.status.forbidden']} <Icon style={{marginLeft: '5px'}} type="stop" theme="twoTone" twoToneColor="#ff4d4f" /> </div> ) : ( <div> - {this.props.dict['header.form.status.open']} + {this.props.dict['model.status.open']} <Icon style={{marginLeft: '5px'}} type="check-circle" theme="twoTone" twoToneColor="#52c41a" /> </div> ) @@ -324,7 +324,7 @@ <span className="operation-btn" title={this.props.dict['header.form.status.change']} onClick={() => this.handleStatus(record, 'scripts')} style={{color: '#8E44AD'}}><Icon type="swap" /></span> <Popconfirm overlayClassName="popover-confirm" - title={this.props.dict['header.form.query.delete']} + title={this.props.dict['model.query.delete']} onConfirm={() => this.handleDelete(record, 'scripts') }> <span className="operation-btn" style={{color: '#ff4d4f'}}><Icon type="delete" /></span> @@ -403,13 +403,13 @@ render: (text, record) => record.status === 'false' ? ( <div> - {this.props.dict['header.form.status.forbidden']} + {this.props.dict['model.status.forbidden']} <Icon style={{marginLeft: '5px'}} type="stop" theme="twoTone" twoToneColor="#ff4d4f" /> </div> ) : ( <div> - {this.props.dict['header.form.status.open']} + {this.props.dict['model.status.open']} <Icon style={{marginLeft: '5px'}} type="check-circle" theme="twoTone" twoToneColor="#52c41a" /> </div> ) @@ -427,7 +427,7 @@ <span className="operation-btn" title={this.props.dict['header.form.status.change']} onClick={() => this.handleStatus(record, 'ordercode')} style={{color: '#8E44AD'}}><Icon type="swap" /></span> <Popconfirm overlayClassName="popover-confirm" - title={this.props.dict['header.form.query.delete']} + title={this.props.dict['model.query.delete']} onConfirm={() => this.handleDelete(record, 'ordercode') }> <span className="operation-btn" style={{color: '#ff4d4f'}}><Icon type="delete" /></span> -- Gitblit v1.8.0