From 48a18736c461ad730bd264b0ac7b40b68a0e33a1 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 28 六月 2020 20:30:20 +0800 Subject: [PATCH] 2020-06-28 --- src/templates/sharecomponent/columncomponent/index.jsx | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/templates/sharecomponent/columncomponent/index.jsx b/src/templates/sharecomponent/columncomponent/index.jsx index d544ad4..47ac705 100644 --- a/src/templates/sharecomponent/columncomponent/index.jsx +++ b/src/templates/sharecomponent/columncomponent/index.jsx @@ -28,9 +28,9 @@ } state = { - dict: (!localStorage.getItem('lang') || localStorage.getItem('lang') === 'zh-CN') ? zhCN : enUS, + dict: localStorage.getItem('lang') !== 'en-US' ? zhCN : enUS, columnlist: null, // 鏄剧ず鍒� - loading: false, // 鏌ヨ鏄剧ず鍒楀叧鑱旇彍鍗� + loading: false, // 鏌ヨ鏄剧ず鍒楄仈鍔ㄨ彍鍗� showField: false, // 鏄剧ず鍒楀瓧娈� modaltype: '', // 妯℃�佹鎺у埗 card: null // 缂栬緫涓厓绱� @@ -103,7 +103,7 @@ let _param = { func: 'sPC_Get_FunMenu', ParentID: card.linkmenu[0], - systemType: options.systemType, + systemType: options.sysType, debug: 'Y' } @@ -311,7 +311,7 @@ confirm({ content: dict['model.confirm'] + dict['model.delete'] + ` - ${card.label} 锛焋, okText: dict['model.confirm'], - cancelText: this.state.dict['header.cancel'], + cancelText: this.state.dict['model.cancel'], onOk() { let _columnlist = fromJS(_this.state.columnlist).toJS() @@ -454,7 +454,7 @@ {columnlist && columnlist.length > 0 ? <Icon className="column-copy" title="copy" type="copy" onClick={this.copycolumn} /> : null } - <Switch checkedChildren="寮�" unCheckedChildren="鍏�" defaultChecked={this.state.showField} onChange={this.onFieldChange} /> + <Switch checkedChildren={dict['model.switch.open']} unCheckedChildren={dict['model.switch.close']} defaultChecked={this.state.showField} onChange={this.onFieldChange} /> <DragElement list={columnlist} setting={config.setting} @@ -471,7 +471,7 @@ <Modal title={dict['header.modal.column.edit']} visible={modaltype === 'columns'} - width={750} + width={800} maskClosable={false} onOk={this.handleSubmit} onCancel={this.editModalCancel} @@ -488,9 +488,9 @@ </Modal> {/* 鍚堝苟鍒楃紪杈� */} <Modal - title={dict['header.modal.colspan.edit']} + title={dict['model.modal.colspan'] + '-' + dict['model.edit']} visible={modaltype === 'colspan'} - width={750} + width={800} maskClosable={false} onOk={this.handleSubmit} onCancel={this.editModalCancel} @@ -508,7 +508,7 @@ <Modal title={dict['header.modal.gridbtn.edit']} visible={modaltype === 'gridbtn'} - width={700} + width={800} maskClosable={false} onOk={this.handleSubmit} onCancel={this.editModalCancel} @@ -529,7 +529,7 @@ width={'75vw'} maskClosable={false} style={{minWidth: '900px', maxWidth: '1200px'}} - okText={dict['header.submit']} + okText={dict['model.submit']} onOk={this.markSubmit} onCancel={() => { this.setState({ modaltype: '' }) }} destroyOnClose -- Gitblit v1.8.0