src/tabviews/custom/components/form/simple-form/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/tabviews/custom/components/form/step-form/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/tabviews/custom/components/form/step-form/index.scss | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/tabviews/zshare/mutilform/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/tabviews/custom/components/form/simple-form/index.jsx
@@ -222,24 +222,25 @@ if (group.uuid !== menuId) return if ((position === 'mainline' || position === 'popclose') && config.setting.supModule && BID) { MKEmitter.emit('reloadData', config.setting.supModule, BID) } else if (position === 'grid' && config.wrap.datatype === 'static') { if (config.wrap.refocus && group.setting.focus === config.wrap.refocus) { if (position === 'grid' && config.wrap.refocus) { let _group = fromJS(group).toJS() _group.setting.focus = config.wrap.focus _group.setting.focus = config.wrap.refocus this.setState({ group: _group }) } if ((position === 'mainline' || position === 'popclose') && config.setting.supModule && BID) { MKEmitter.emit('reloadData', config.setting.supModule, BID) } else if (position === 'grid' && config.wrap.datatype === 'static') { this.setState({ data: null }, () => { this.setState({data: {$$empty: true}}) }) } else { this.loadData() this.loadData(position === 'grid') } if (id) { src/tabviews/custom/components/form/step-form/index.jsx
@@ -493,7 +493,7 @@ inputSubmit={() => this.mkFormSubmit(group.uuid)} wrappedComponentRef={(inst) => this.formRef = inst} /> : null} {group && data ? <div className={'mk-form-action ' + (group.$button || '')}> {group && data ? <div className={'mk-form-action ' + (group.$button || '') + (group.nextButton.enable === 'true' ? ' has-skip' : '')}> {group.prevButton.enable === 'true' ? <Button type="link" className="prev" onClick={this.prevStep} style={group.prevButton.style}>{group.prevButton.label}</Button> : null} <NormalButton BID={BID} src/tabviews/custom/components/form/step-form/index.scss
@@ -84,6 +84,9 @@ padding: 0; height: 0; } .mk-form-action.has-skip { padding-right: 50px; } .loading-mask { position: absolute; src/tabviews/zshare/mutilform/index.jsx
@@ -321,8 +321,8 @@ validator: (rule, value, callback) => { if (/'/.test(value)) { callback('不可使用英文状态的单引号!') } else if (/--/.test(value)) { callback('不可使用 -- !') // } else if (/--/.test(value)) { // callback('不可使用 -- !') } else { callback() } @@ -436,8 +436,8 @@ validator: (rule, value, callback) => { if (/'/.test(value)) { callback('不可使用英文状态的单引号!') } else if (/--/.test(value)) { callback('不可使用 -- !') // } else if (/--/.test(value)) { // callback('不可使用 -- !') } else { callback() }