| | |
| | | |
| | | 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(',') |
| | | |
| | |
| | | _dataresource = '(' + _dataresource + ') tb' |
| | | } |
| | | |
| | | let custompage = /@pageSize@|@orderBy@/i.test(_dataresource + _customScript) |
| | | let custompage = /@pageSize@|@orderBy@|@mk_total/i.test(_dataresource + _customScript) |
| | | |
| | | // 正则替换 |
| | | regoptions.push({ |
| | |
| | | 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) |