| | |
| | | |
| | | if (window.backend && config.allSqls) { |
| | | let keys = Object.keys(urlparam) |
| | | |
| | | if (config.urlFields && config.urlFields.length) { |
| | | config.urlFields.forEach(field => { |
| | | let key = field.toLowerCase() |
| | | if (keys.includes(key)) return |
| | | |
| | | keys.push(key) |
| | | urlparam[key] = '' |
| | | }) |
| | | } |
| | | |
| | | config.allSqls.forEach(item => { |
| | | item.id = md5(window.GLOB.appkey + item.v_id) |
| | | if (['datasource', 'interface', 'excelOut'].includes(item.type)) { |
| | |
| | | |
| | | if (window.backend && config.allSqls) { |
| | | let keys = Object.keys(urlparam) |
| | | |
| | | if (config.urlFields && config.urlFields.length) { |
| | | config.urlFields.forEach(field => { |
| | | let key = field.toLowerCase() |
| | | if (keys.includes(key)) return |
| | | |
| | | keys.push(key) |
| | | urlparam[key] = '' |
| | | }) |
| | | } |
| | | |
| | | config.allSqls.forEach(item => { |
| | | item.id = md5(window.GLOB.appkey + item.v_id) |
| | | if (['datasource', 'interface', 'excelOut'].includes(item.type)) { |
| | |
| | | if (window.backend && config.allSqls) { |
| | | let urlparam = urlParam || {} |
| | | let keys = Object.keys(urlparam) |
| | | |
| | | if (config.urlFields && config.urlFields.length) { |
| | | config.urlFields.forEach(field => { |
| | | let key = field.toLowerCase() |
| | | if (keys.includes(key)) return |
| | | |
| | | keys.push(key) |
| | | urlparam[key] = '' |
| | | }) |
| | | } |
| | | |
| | | config.allSqls.forEach(item => { |
| | | item.id = md5(window.GLOB.appkey + item.v_id) |
| | | if (['datasource', 'interface', 'excelOut'].includes(item.type)) { |