From 422e566764decc740601a95118aa3a189ba7ffa6 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 10 五月 2021 10:08:50 +0800 Subject: [PATCH] 2021-05-10 --- src/templates/sharecomponent/actioncomponent/verifyexcelout/index.jsx | 60 ++++++++++++++++++++++++++++++------------------------------ 1 files changed, 30 insertions(+), 30 deletions(-) diff --git a/src/templates/sharecomponent/actioncomponent/verifyexcelout/index.jsx b/src/templates/sharecomponent/actioncomponent/verifyexcelout/index.jsx index 6a0f7b9..06c042c 100644 --- a/src/templates/sharecomponent/actioncomponent/verifyexcelout/index.jsx +++ b/src/templates/sharecomponent/actioncomponent/verifyexcelout/index.jsx @@ -33,14 +33,14 @@ inputType: 'input', editable: true, unique: true, - width: '20%' + width: '25%' }, { title: this.props.dict['model.name'], dataIndex: 'Text', inputType: 'input', editable: true, - width: '20%' + width: '25%' }, { title: this.props.dict['model.form.columnWidth'], @@ -49,34 +49,34 @@ min: 5, max: 200, editable: true, - width: '20%' + width: '25%' }, - { - title: '绫诲瀷', - dataIndex: 'type', - inputType: 'select', - editable: true, - required: false, - width: '20%', - render: (text) => { - if (text === 'image') { - return '鍥剧墖' - } else { - return '鏂囨湰' - } - }, - options: [ - {value: 'text', text: '鏂囨湰'}, - {value: 'image', text: '鍥剧墖'} - ] - }, + // { + // title: '绫诲瀷', + // dataIndex: 'type', + // inputType: 'select', + // editable: true, + // required: false, + // width: '20%', + // render: (text) => { + // if (text === 'image') { + // return '鍥剧墖' + // } else { + // return '鏂囨湰' + // } + // }, + // options: [ + // {value: 'text', text: '鏂囨湰'}, + // {value: 'image', text: '鍥剧墖'} + // ] + // }, { title: '鍙栫粷瀵瑰��', dataIndex: 'abs', inputType: 'select', editable: true, required: false, - width: '20%', + width: '25%', render: (text) => { if (text === 'true') { return '鏄�' @@ -106,12 +106,12 @@ if (card.intertype !== 'system') { _verify.enable = 'false' } - if (_verify.columns[0] && !_verify.columns[0].type) { - _verify.columns = _verify.columns.map(col => { - col.type = col.type || 'text' - return col - }) - } + // if (_verify.columns[0] && !_verify.columns[0].type) { + // _verify.columns = _verify.columns.map(col => { + // col.type = col.type || 'text' + // return col + // }) + // } let defaultscript = '' if (!_verify.script && card.intertype === 'system') { @@ -395,7 +395,7 @@ Text: item.label, Width: 20, abs: 'false', - type: 'text', + // type: 'text', uuid: Utils.getuuid() }) }) -- Gitblit v1.8.0