From 58a28e1faa15f638a136fefdcfcd0b3106c1fa16 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 24 六月 2020 10:18:54 +0800 Subject: [PATCH] 2020-06-24 --- src/templates/sharecomponent/actioncomponent/verifyexcelin/index.jsx | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/templates/sharecomponent/actioncomponent/verifyexcelin/index.jsx b/src/templates/sharecomponent/actioncomponent/verifyexcelin/index.jsx index 674f7c1..99cb33e 100644 --- a/src/templates/sharecomponent/actioncomponent/verifyexcelin/index.jsx +++ b/src/templates/sharecomponent/actioncomponent/verifyexcelin/index.jsx @@ -27,29 +27,29 @@ systemScripts: [], excelColumns: [ { - title: 'Column', + title: this.props.dict['model.form.field'], dataIndex: 'Column', width: '16%', editable: true }, { - title: 'Text', + title: this.props.dict['model.name'], dataIndex: 'Text', width: '19%', editable: true }, { - title: '绫诲瀷', + title: this.props.dict['model.form.type'], dataIndex: 'type', width: '12%', editable: true }, { - title: '鏄惁蹇呭~', + title: this.props.dict['model.required'], dataIndex: 'required', width: '12%', editable: true, - render: (text, record) => record.required === 'true' ? '鏄�' : '鍚�' + render: (text, record) => record.required === 'true' ? this.props.dict['model.true'] : this.props.dict['model.false'] }, { title: '鏈�灏忓��', @@ -76,7 +76,7 @@ <Popconfirm title={this.props.dict['header.form.query.delete']} okText={this.props.dict['model.confirm']} - cancelText={this.props.dict['header.cancel']} + cancelText={this.props.dict['model.cancel']} onConfirm={() => this.handleDelete(record, 'columns') }> <span className="operation-btn" style={{color: '#ff4d4f'}}><Icon type="delete" /></span> @@ -134,7 +134,7 @@ <Popconfirm title={this.props.dict['header.form.query.delete']} okText={this.props.dict['model.confirm']} - cancelText={this.props.dict['header.cancel']} + cancelText={this.props.dict['model.cancel']} onConfirm={() => this.handleDelete(record, 'unique') }> <span className="operation-btn" style={{color: '#ff4d4f'}}><Icon type="delete" /></span> @@ -199,7 +199,7 @@ <Popconfirm title={this.props.dict['header.form.query.delete']} okText={this.props.dict['model.confirm']} - cancelText={this.props.dict['header.cancel']} + cancelText={this.props.dict['model.cancel']} onConfirm={() => this.handleDelete(record, 'scripts') }> <span className="operation-btn" style={{color: '#ff4d4f'}}><Icon type="delete" /></span> @@ -570,7 +570,7 @@ confirm({ content: `瀛樺湪鏈繚瀛橀」锛岀‘瀹氭彁浜ゅ悧锛焋, okText: this.props.dict['model.confirm'], - cancelText: this.props.dict['header.cancel'], + cancelText: this.props.dict['model.cancel'], onOk() { resolve(_verify) }, -- Gitblit v1.8.0