From f9bc0059785cb1b1583e6f7a3a501f667338e672 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 21 十二月 2023 14:59:52 +0800 Subject: [PATCH] 2023-12-21 --- src/templates/sharecomponent/actioncomponent/verifyexcelout/index.jsx | 64 ++++++++++++++++---------------- 1 files changed, 32 insertions(+), 32 deletions(-) diff --git a/src/templates/sharecomponent/actioncomponent/verifyexcelout/index.jsx b/src/templates/sharecomponent/actioncomponent/verifyexcelout/index.jsx index 58d7051..7527155 100644 --- a/src/templates/sharecomponent/actioncomponent/verifyexcelout/index.jsx +++ b/src/templates/sharecomponent/actioncomponent/verifyexcelout/index.jsx @@ -85,6 +85,37 @@ ] }, { + title: '瀵煎嚭', + dataIndex: 'output', + inputType: 'radio', + editable: true, + required: false, + width: '12%', + render: (text) => { + if (text !== 'false') { + return '鏄�' + } else { + return '鍚�' + } + }, + options: [ + {value: 'true', text: '鏄�'}, + {value: 'false', text: '鍚�'} + ] + }, + { + title: '绾㈣壊鏍囬', + dataIndex: 'required', + width: '10%', + editable: true, + inputType: 'radio', + render: (text, record) => record.required === 'true' ? <span style={{color: 'red'}}>鏄�</span> : '鍚�', + options: [ + {value: 'true', text: '鏄�'}, + {value: 'false', text: '鍚�'} + ] + }, + { title: '鍙栫粷瀵瑰��', dataIndex: 'abs', inputType: 'radio', @@ -117,38 +148,7 @@ keyVals: ['number'], width: '12%', render: (text, record) => record.type === 'number' ? text : '' - }, - { - title: '瀵煎嚭', - dataIndex: 'output', - inputType: 'radio', - editable: true, - required: false, - width: '12%', - render: (text) => { - if (text !== 'false') { - return '鏄�' - } else { - return '鍚�' - } - }, - options: [ - {value: 'true', text: '鏄�'}, - {value: 'false', text: '鍚�'} - ] - }, - { - title: '绾㈣壊鏍囬', - dataIndex: 'required', - width: '10%', - editable: true, - inputType: 'radio', - render: (text, record) => record.required === 'true' ? <span style={{color: 'red'}}>鏄�</span> : '鍚�', - options: [ - {value: 'true', text: '鏄�'}, - {value: 'false', text: '鍚�'} - ] - }, + } ], scriptsColumns: [ { -- Gitblit v1.8.0