From 2cfae2f496b90278d9af3c11159faa655e25a4ef Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 29 六月 2020 19:21:06 +0800 Subject: [PATCH] 2020-06-29 --- src/templates/sharecomponent/actioncomponent/verifyexcelin/customscript/index.jsx | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/templates/sharecomponent/actioncomponent/verifyexcelin/customscript/index.jsx b/src/templates/sharecomponent/actioncomponent/verifyexcelin/customscript/index.jsx index 01ddd1f..046402e 100644 --- a/src/templates/sharecomponent/actioncomponent/verifyexcelin/customscript/index.jsx +++ b/src/templates/sharecomponent/actioncomponent/verifyexcelin/customscript/index.jsx @@ -125,6 +125,9 @@ func: 's_debug_sql', LText: this.state.verifySql + _initsql + values.sql + tail } + + param.LText = param.LText.replace(/@\$|\$@/ig, '') + param.LText = Utils.formatOptions(param.LText) param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') + '.000' param.secretkey = Utils.encrypt(param.LText, param.timestamp) @@ -174,7 +177,7 @@ fields = fields + ',' } - _value = `Insert into ${btn.sheet} (${fields}createuserid,createuser,createstaff,bid)\nSelect ${fields}@userid,@username,@fullname,@BID From @${btn.sheet}` + _value = `Insert into ${btn.sheet} (${fields}createuserid,createuser,createstaff,bid)\nSelect ${fields}@userid@,@username,@fullname,@BID@ From @${btn.sheet}` } else { _value = value } @@ -238,7 +241,7 @@ </Tooltip> }> {getFieldDecorator('position', { - initialValue: 'back' + initialValue: 'front' })( <Radio.Group> <Radio value="init">鍒濆鍖�</Radio> -- Gitblit v1.8.0