From a02fc6a77fa1b35c6516b2d37108d80e260c6c85 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 07 十一月 2024 22:05:08 +0800 Subject: [PATCH] 2024-11-07 --- src/templates/sharecomponent/actioncomponent/verifyexcelout/utils.jsx | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/templates/sharecomponent/actioncomponent/verifyexcelout/utils.jsx b/src/templates/sharecomponent/actioncomponent/verifyexcelout/utils.jsx index 7df803d..4949841 100644 --- a/src/templates/sharecomponent/actioncomponent/verifyexcelout/utils.jsx +++ b/src/templates/sharecomponent/actioncomponent/verifyexcelout/utils.jsx @@ -15,9 +15,9 @@ let arr_field = [] verify.columns.forEach(item => { - if (item.Column !== '$Index') { - arr_field.push(item.Column) - } + if (item.output === 'false' || item.Column === '$Index') return + + arr_field.push(item.Column) }) arr_field = arr_field.join(',') @@ -50,7 +50,7 @@ _dataresource = '(' + _dataresource + ') tb' } - let custompage = /@pageSize@|@orderBy@/i.test(_dataresource + _customScript) + let custompage = /@pageSize@|@orderBy@|@mk_total/i.test(_dataresource + _customScript) // 姝e垯鏇挎崲 regoptions.push({ @@ -73,6 +73,10 @@ value: '' }) + if (window.GLOB.process) { + regoptions.push({reg: /@works_flow_code@/ig, value: `'mk_flow_code'`}) + } + regoptions.forEach(item => { _dataresource = _dataresource.replace(item.reg, item.value) _customScript = _customScript.replace(item.reg, item.value) -- Gitblit v1.8.0