From 94f09287d3424f96a6d60ac67b9bf4ac58455e25 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 07 八月 2022 10:32:09 +0800 Subject: [PATCH] 2022-08-07 --- src/utils/utils-datamanage.js | 23 +++++------ src/tabviews/formtab/index.jsx | 4 +- src/tabviews/verupmanage/subtabtable/index.jsx | 4 +- src/tabviews/custom/components/table/normal-table/index.jsx | 2 src/tabviews/calendar/index.jsx | 4 +- src/tabviews/zshare/actionList/exceloutbutton/index.jsx | 2 src/tabviews/custom/components/table/edit-table/index.jsx | 2 src/tabviews/custom/index.jsx | 8 ---- src/tabviews/scriptmanage/index.jsx | 4 +- src/tabviews/subtable/index.jsx | 10 ---- src/tabviews/subtabtable/index.jsx | 10 ---- src/tabviews/commontable/index.jsx | 10 ---- src/tabviews/zshare/actionList/normalbutton/index.jsx | 24 ++++++----- src/tabviews/verupmanage/index.jsx | 4 +- src/utils/utils.js | 9 ---- 15 files changed, 39 insertions(+), 81 deletions(-) diff --git a/src/tabviews/calendar/index.jsx b/src/tabviews/calendar/index.jsx index 76671e6..735d55a 100644 --- a/src/tabviews/calendar/index.jsx +++ b/src/tabviews/calendar/index.jsx @@ -40,7 +40,7 @@ config: {}, // 椤甸潰閰嶇疆淇℃伅锛屽寘鎷寜閽�佹悳绱€�佹樉绀哄垪銆佹爣绛剧瓑 userConfig: null, // 鐢ㄦ埛鑷畾涔夎缃� searchlist: null, // 鎼滅储鏉′欢 - arr_field: '', // 浣跨敤 sPC_Get_TableData 鏃剁殑鏌ヨ瀛楁闆� + arr_field: '', // 鏌ヨ瀛楁闆� setting: null, // 椤甸潰鍏ㄥ眬璁剧疆锛氭暟鎹簮銆佹寜閽強鏄剧ず鍒楀浐瀹氥�佷富閿瓑 data: null, // 鍒楄〃鏁版嵁闆� loading: false, // 鍒楄〃鏁版嵁鍔犺浇涓� @@ -321,7 +321,7 @@ } /** - * @description 鑾峰彇绯荤粺瀛樺偍杩囩▼ sPC_Get_TableData 鐨勫弬鏁� + * @description 鑾峰彇绯荤粺瀛樺偍杩囩▼鐨勫弬鏁� */ getDefaultParam = () => { const { arr_field, search, setting, config, calendarYear } = this.state diff --git a/src/tabviews/commontable/index.jsx b/src/tabviews/commontable/index.jsx index 255c26d..99900ea 100644 --- a/src/tabviews/commontable/index.jsx +++ b/src/tabviews/commontable/index.jsx @@ -51,7 +51,7 @@ searchlist: null, // 鎼滅储鏉′欢 actions: null, // 鎸夐挳闆� columns: null, // 鏄剧ず鍒� - arr_field: '', // 浣跨敤 sPC_Get_TableData 鏃剁殑鏌ヨ瀛楁闆� + arr_field: '', // 鏌ヨ瀛楁闆� setting: null, // 椤甸潰鍏ㄥ眬璁剧疆锛氭暟鎹簮銆佹寜閽強鏄剧ず鍒楀浐瀹氥�佷富閿瓑 data: [], // 鍒楄〃鏁版嵁闆� selectedData: [], // 宸查�夎〃鏍兼暟鎹� @@ -653,14 +653,6 @@ sql = sql.join('') param = UtilsDM.getCallBackQueryParams(setting, sql, errSql, BID) - - if (BID) { - param.BID = BID - } - - if (window.GLOB.mkHS) { // 鍑芥暟 sPC_TableData_InUpDe 浜戠楠岃瘉 - param.open_key = Utils.encryptOpenKey(param.secretkey, param.timestamp) - } } else { param.func = 's_ex_result_back' param.s_ex_result = lines.map((item, index) => ({ diff --git a/src/tabviews/custom/components/table/edit-table/index.jsx b/src/tabviews/custom/components/table/edit-table/index.jsx index f130dc6..36170d3 100644 --- a/src/tabviews/custom/components/table/edit-table/index.jsx +++ b/src/tabviews/custom/components/table/edit-table/index.jsx @@ -29,7 +29,7 @@ config: {}, // 椤甸潰閰嶇疆淇℃伅锛屽寘鎷寜閽�佹悳绱€�佹樉绀哄垪銆佹爣绛剧瓑 actions: null, // 鎸夐挳闆� columns: null, // 鏄剧ず鍒� - arr_field: '', // 浣跨敤 sPC_Get_TableData 鏃剁殑鏌ヨ瀛楁闆� + arr_field: '', // 鏌ヨ瀛楁闆� setting: null, // 椤甸潰鍏ㄥ眬璁剧疆锛氭暟鎹簮銆佹寜閽強鏄剧ず鍒楀浐瀹氥�佷富閿瓑 data: [], // 鍒楄〃鏁版嵁闆� selectedData: [], // 宸查�夎〃鏍兼暟鎹� diff --git a/src/tabviews/custom/components/table/normal-table/index.jsx b/src/tabviews/custom/components/table/normal-table/index.jsx index 29532d5..62cefcd 100644 --- a/src/tabviews/custom/components/table/normal-table/index.jsx +++ b/src/tabviews/custom/components/table/normal-table/index.jsx @@ -32,7 +32,7 @@ config: {}, // 椤甸潰閰嶇疆淇℃伅锛屽寘鎷寜閽�佹悳绱€�佹樉绀哄垪銆佹爣绛剧瓑 actions: null, // 鎸夐挳闆� columns: null, // 鏄剧ず鍒� - arr_field: '', // 浣跨敤 sPC_Get_TableData 鏃剁殑鏌ヨ瀛楁闆� + arr_field: '', // 鏌ヨ瀛楁闆� setting: null, // 椤甸潰鍏ㄥ眬璁剧疆锛氭暟鎹簮銆佹寜閽強鏄剧ず鍒楀浐瀹氥�佷富閿瓑 data: [], // 鍒楄〃鏁版嵁闆� selectedData: [], // 宸查�夎〃鏍兼暟鎹� diff --git a/src/tabviews/custom/index.jsx b/src/tabviews/custom/index.jsx index 29a1d27..63a6a2c 100644 --- a/src/tabviews/custom/index.jsx +++ b/src/tabviews/custom/index.jsx @@ -405,14 +405,6 @@ sql = sql.join('') param = UtilsDM.getCallBackQueryParams(setting, sql, errSql, this.state.BID) - - if (this.state.BID) { - param.BID = this.state.BID - } - - if (window.GLOB.mkHS) { // 鍑芥暟 sPC_TableData_InUpDe 浜戠楠岃瘉 - param.open_key = Utils.encryptOpenKey(param.secretkey, param.timestamp) - } } else { param.func = 's_ex_result_back' param.s_ex_result = lines.map((item, index) => ({ diff --git a/src/tabviews/formtab/index.jsx b/src/tabviews/formtab/index.jsx index 9c15dfd..f4b1eea 100644 --- a/src/tabviews/formtab/index.jsx +++ b/src/tabviews/formtab/index.jsx @@ -37,7 +37,7 @@ config: {}, // 椤甸潰閰嶇疆淇℃伅锛屽寘鎷寜閽�佽〃鍗曘�佹爣绛剧瓑 groups: null, // 琛ㄥ崟缁� actions: null, // 鎸夐挳闆� - arr_field: '', // 浣跨敤 sPC_Get_TableData 鏃剁殑鏌ヨ瀛楁闆� + arr_field: '', // 鏌ヨ瀛楁闆� setting: null, // 椤甸潰鍏ㄥ眬璁剧疆锛氭暟鎹簮銆佹寜閽強鏄剧ず鍒楀浐瀹氥�佷富閿瓑 data: null, // 鍒楄〃鏁版嵁闆� BIDs: {}, // 涓婄骇琛╥d @@ -390,7 +390,7 @@ } /** - * @description 鑾峰彇绯荤粺瀛樺偍杩囩▼ sPC_Get_TableData 鐨勫弬鏁� + * @description 鑾峰彇绯荤粺瀛樺偍杩囩▼鐨勫弬鏁� */ getDefaultParam = () => { const { arr_field, setting, primaryId } = this.state diff --git a/src/tabviews/scriptmanage/index.jsx b/src/tabviews/scriptmanage/index.jsx index 63947a9..df5e94b 100644 --- a/src/tabviews/scriptmanage/index.jsx +++ b/src/tabviews/scriptmanage/index.jsx @@ -34,7 +34,7 @@ searchlist: [], // 鎼滅储鏉′欢 actions: [], // 鎸夐挳闆� columns: [], // 鏄剧ず鍒� - arr_field: '', // 浣跨敤 sPC_Get_TableData 鏃剁殑鏌ヨ瀛楁闆� + arr_field: '', // 鏌ヨ瀛楁闆� setting: {}, // 椤甸潰鍏ㄥ眬璁剧疆锛氭暟鎹簮銆佹寜閽強鏄剧ず鍒楀浐瀹氥�佷富閿瓑 data: [], // 鍒楄〃鏁版嵁闆� selectedData: [], // 宸查�夎〃鏍兼暟鎹� @@ -155,7 +155,7 @@ } /** - * @description 鑾峰彇绯荤粺瀛樺偍杩囩▼ sPC_Get_TableData 鐨勫弬鏁� + * @description 鑾峰彇绯荤粺瀛樺偍杩囩▼鐨勫弬鏁� */ getDefaultParam = () => { const { arr_field, pageIndex, pageSize, orderBy, search, setting } = this.state diff --git a/src/tabviews/subtable/index.jsx b/src/tabviews/subtable/index.jsx index 8d8fc3f..d58628f 100644 --- a/src/tabviews/subtable/index.jsx +++ b/src/tabviews/subtable/index.jsx @@ -46,7 +46,7 @@ searchlist: null, // 鎼滅储鏉′欢 actions: null, // 鎸夐挳闆� columns: null, // 鏄剧ず鍒� - arr_field: '', // 浣跨敤 sPC_Get_TableData 鏃剁殑鏌ヨ瀛楁闆� + arr_field: '', // 鏌ヨ瀛楁闆� setting: null, // 椤甸潰鍏ㄥ眬璁剧疆锛氭暟鎹簮銆佹寜閽強鏄剧ず鍒楀浐瀹氥�佷富閿瓑 data: [], // 鍒楄〃鏁版嵁闆� selectedData: [], // 宸查�夎〃鏍兼暟鎹� @@ -545,14 +545,6 @@ sql = sql.join('') param = UtilsDM.getCallBackQueryParams(setting, sql, errSql, BID) - - if (BID) { - param.BID = BID - } - - if (window.GLOB.mkHS) { // 鍑芥暟 sPC_TableData_InUpDe 浜戠楠岃瘉 - param.open_key = Utils.encryptOpenKey(param.secretkey, param.timestamp) - } } else { param.func = 's_ex_result_back' param.s_ex_result = lines.map((item, index) => ({ diff --git a/src/tabviews/subtabtable/index.jsx b/src/tabviews/subtabtable/index.jsx index 4c89fbe..ff72754 100644 --- a/src/tabviews/subtabtable/index.jsx +++ b/src/tabviews/subtabtable/index.jsx @@ -40,7 +40,7 @@ searchlist: null, // 鎼滅储鏉′欢 actions: null, // 鎸夐挳闆� columns: null, // 鏄剧ず鍒� - arr_field: '', // 浣跨敤 sPC_Get_TableData 鏃剁殑鏌ヨ瀛楁闆� + arr_field: '', // 鏌ヨ瀛楁闆� setting: null, // 椤甸潰鍏ㄥ眬璁剧疆锛氭暟鎹簮銆佹寜閽強鏄剧ず鍒楀浐瀹氥�佷富閿瓑 data: [], // 鍒楄〃鏁版嵁闆� selectedData: [], // 宸查�夎〃鏍兼暟鎹� @@ -484,14 +484,6 @@ sql = sql.join('') param = UtilsDM.getCallBackQueryParams(setting, sql, errSql, this.props.BID) - - if (this.props.BID) { - param.BID = this.props.BID - } - - if (window.GLOB.mkHS) { // 鍑芥暟 sPC_TableData_InUpDe 浜戠楠岃瘉 - param.open_key = Utils.encryptOpenKey(param.secretkey, param.timestamp) - } } else { let name = this.props.Tab ? (this.props.Tab.label || '') : '' param.func = 's_ex_result_back' diff --git a/src/tabviews/verupmanage/index.jsx b/src/tabviews/verupmanage/index.jsx index 9c1f4b3..d982822 100644 --- a/src/tabviews/verupmanage/index.jsx +++ b/src/tabviews/verupmanage/index.jsx @@ -37,7 +37,7 @@ searchlist: [], // 鎼滅储鏉′欢 actions: [], // 鎸夐挳闆� columns: [], // 鏄剧ず鍒� - arr_field: '', // 浣跨敤 sPC_Get_TableData 鏃剁殑鏌ヨ瀛楁闆� + arr_field: '', // 鏌ヨ瀛楁闆� setting: {}, // 椤甸潰鍏ㄥ眬璁剧疆锛氭暟鎹簮銆佹寜閽強鏄剧ず鍒楀浐瀹氥�佷富閿瓑 data: [], // 鍒楄〃鏁版嵁闆� selectedData: [], // 宸查�夎〃鏍兼暟鎹� @@ -206,7 +206,7 @@ } /** - * @description 鑾峰彇绯荤粺瀛樺偍杩囩▼ sPC_Get_TableData 鐨勫弬鏁� + * @description 鑾峰彇绯荤粺瀛樺偍杩囩▼鐨勫弬鏁� */ getDefaultParam = () => { const { arr_field, pageIndex, pageSize, orderBy, search, setting } = this.state diff --git a/src/tabviews/verupmanage/subtabtable/index.jsx b/src/tabviews/verupmanage/subtabtable/index.jsx index 0d69d00..fd00229 100644 --- a/src/tabviews/verupmanage/subtabtable/index.jsx +++ b/src/tabviews/verupmanage/subtabtable/index.jsx @@ -39,7 +39,7 @@ searchlist: null, // 鎼滅储鏉′欢 actions: null, // 鎸夐挳闆� columns: null, // 鏄剧ず鍒� - arr_field: '', // 浣跨敤 sPC_Get_TableData 鏃剁殑鏌ヨ瀛楁闆� + arr_field: '', // 鏌ヨ瀛楁闆� setting: null, // 椤甸潰鍏ㄥ眬璁剧疆锛氭暟鎹簮銆佹寜閽強鏄剧ず鍒楀浐瀹氥�佷富閿瓑 data: null, // 鍒楄〃鏁版嵁闆� selectedData: [], // 宸查�夎〃鏍兼暟鎹� @@ -228,7 +228,7 @@ } /** - * @description 鑾峰彇绯荤粺瀛樺偍杩囩▼ sPC_Get_TableData 鐨勫弬鏁� + * @description 鑾峰彇绯荤粺瀛樺偍杩囩▼鐨勫弬鏁� */ getDefaultParam = (BID) => { const { arr_field, pageIndex, pageSize, orderBy, search, setting } = this.state diff --git a/src/tabviews/zshare/actionList/exceloutbutton/index.jsx b/src/tabviews/zshare/actionList/exceloutbutton/index.jsx index 437bf21..5c7df9c 100644 --- a/src/tabviews/zshare/actionList/exceloutbutton/index.jsx +++ b/src/tabviews/zshare/actionList/exceloutbutton/index.jsx @@ -670,7 +670,7 @@ param.secretkey = Utils.encrypt('', param.timestamp) param.LText = Utils.formatOptions(script) - if (window.GLOB.mkHS) { // 鍑芥暟 sPC_TableData_InUpDe 浜戠楠岃瘉 + if (window.GLOB.mkHS) { // 绯荤粺鍑芥暟浜戠楠岃瘉 param.open_key = Utils.encryptOpenKey(param.secretkey, param.timestamp) } diff --git a/src/tabviews/zshare/actionList/normalbutton/index.jsx b/src/tabviews/zshare/actionList/normalbutton/index.jsx index 37d57c9..53d9a8b 100644 --- a/src/tabviews/zshare/actionList/normalbutton/index.jsx +++ b/src/tabviews/zshare/actionList/normalbutton/index.jsx @@ -673,11 +673,9 @@ param.open_key = Utils.encryptOpenKey(param.secretkey, param.timestamp) } - if (param.func === 'sPC_TableData_InUpDe') { - param.menuname = btn.logLabel - if (window.GLOB.probation) { - param.s_debug_type = 'Y' - } + param.menuname = btn.logLabel + if (window.GLOB.probation) { + param.s_debug_type = 'Y' } return param @@ -1071,7 +1069,11 @@ let _params = [] // 璇锋眰鍙傛暟鏁扮粍 if (btn.procMode === 'system') { - _params = this.getSystemParam(data, formdata, btn.callbackType === 'script') + _params = this.getSystemParam(data, formdata, true) + _params = _params.map(item => { + item.script_type = 'Y' + return item + }) } else { _params = this.getInnerParam(data, formdata, btn.callbackType === 'script') } @@ -1088,7 +1090,7 @@ let params = [] if (btn.procMode === 'system') { - params = this.getSystemParam(data, formdata, btn.callbackType === 'script') + params = this.getSystemParam(data, formdata, true) params = params.map(item => { item.script_type = 'Y' return item @@ -1230,8 +1232,8 @@ param = this.getCallBackSql(result, record) } else if (btn.callbackType === 'func') { param = { - func: btn.callbackFunc, - ...result + ...result, + func: btn.callbackFunc } if (result.$ErrCode === 'E') { delete param.$ErrCode @@ -1628,9 +1630,9 @@ delete result.status param = { - func: btn.callbackFunc, ...outParam, - ...result + ...result, + func: btn.callbackFunc } // 鍑芥暟 s_sDataDictb_TBBack 浜戠楠岃瘉 diff --git a/src/utils/utils-datamanage.js b/src/utils/utils-datamanage.js index a7411ae..0b94159 100644 --- a/src/utils/utils-datamanage.js +++ b/src/utils/utils-datamanage.js @@ -78,7 +78,7 @@ } /** - * @description 鑾峰彇绯荤粺瀛樺偍杩囩▼ sPC_Get_TableData 鐨勫弬鏁� + * @description 鑾峰彇绯荤粺瀛樺偍杩囩▼鐨勫弬鏁� */ static getDefaultQueryParam (setting, arrFields, search, orderBy, pageIndex, pageSize, id, BID) { let param = { @@ -127,7 +127,6 @@ _customScript = _customScript.replace(/\$sum@/ig, '/*') _customScript = _customScript.replace(/@sum\$/ig, '*/') - let time_id = Utils.getguid().substring(0, 32) || '' _dataresource = _dataresource.replace(/@ID@/ig, `''`) _customScript = _customScript.replace(/@ID@/ig, `''`) _dataresource = _dataresource.replace(/@BID@/ig, `'${BID || ''}'`) @@ -140,8 +139,6 @@ _customScript = _customScript.replace(/@UserID@/ig, `'${sessionStorage.getItem('UserID') || ''}'`) _dataresource = _dataresource.replace(/@Appkey@/ig, `'${window.GLOB.appkey || ''}'`) _customScript = _customScript.replace(/@Appkey@/ig, `'${window.GLOB.appkey || ''}'`) - _dataresource = _dataresource.replace(/@time_id@/ig, `'${time_id}'`) - _customScript = _customScript.replace(/@time_id@/ig, `'${time_id}'`) let regoptions = null if (setting.queryType === 'statistics' || _customScript) { @@ -270,7 +267,7 @@ } /** - * @description 鑾峰彇绯荤粺瀛樺偍杩囩▼ sPC_Get_TableData 鍚堣鍊肩殑鍙傛暟 + * @description 鑾峰彇绯荤粺瀛樺偍杩囩▼鍚堣鍊肩殑鍙傛暟 */ static getStatQueryDataParams (setting, statFields, search, orderBy, BID) { let param = { @@ -318,7 +315,6 @@ _customScript = _customScript.replace(/\$select@/ig, '/*') _customScript = _customScript.replace(/@select\$/ig, '*/') - let time_id = Utils.getguid().substring(0, 32) || '' _dataresource = _dataresource.replace(/@ID@/ig, `''`) _customScript = _customScript.replace(/@ID@/ig, `''`) _dataresource = _dataresource.replace(/@BID@/ig, `'${BID || ''}'`) @@ -331,8 +327,6 @@ _customScript = _customScript.replace(/@UserID@/ig, `'${sessionStorage.getItem('UserID') || ''}'`) _dataresource = _dataresource.replace(/@Appkey@/ig, `'${window.GLOB.appkey || ''}'`) _customScript = _customScript.replace(/@Appkey@/ig, `'${window.GLOB.appkey || ''}'`) - _dataresource = _dataresource.replace(/@time_id@/ig, `'${time_id}'`) - _customScript = _customScript.replace(/@time_id@/ig, `'${time_id}'`) let regoptions = null if (setting.queryType === 'statistics' || _customScript) { @@ -515,7 +509,6 @@ sql = sql.replace(/@SessionUid@/ig, `'${localStorage.getItem('SessionUid') || ''}'`) sql = sql.replace(/@UserID@/ig, `'${sessionStorage.getItem('UserID') || ''}'`) sql = sql.replace(/@Appkey@/ig, `'${window.GLOB.appkey || ''}'`) - sql = sql.replace(/@time_id@/ig, `'${Utils.getguid().substring(0, 32) || ''}'`) // 娴嬭瘯绯荤粺鎵撳嵃鏌ヨ璇彞 if (window.GLOB.debugger === true || (window.debugger === true && options.sysType !== 'cloud')) { @@ -604,7 +597,6 @@ sql = sql.replace(/@SessionUid@/ig, `'${localStorage.getItem('SessionUid') || ''}'`) sql = sql.replace(/@UserID@/ig, `'${sessionStorage.getItem('UserID') || ''}'`) sql = sql.replace(/@Appkey@/ig, `'${window.GLOB.appkey || ''}'`) - sql = sql.replace(/@time_id@/ig, `'${Utils.getguid().substring(0, 32) || ''}'`) if (window.GLOB.debugger === true || (window.debugger === true && options.sysType !== 'cloud')) { console.info(sql.replace(/\n\s{8}/ig, '\n')) @@ -616,6 +608,14 @@ param.secretkey = Utils.encrypt('', param.timestamp) param.LText = Utils.formatOptions(param.LText) param.menuname = setting.MenuName || '' + + if (BID) { + param.BID = BID + } + + if (window.GLOB.mkHS) { // 绯荤粺鍑芥暟浜戠楠岃瘉 + param.open_key = Utils.encryptOpenKey(param.secretkey, param.timestamp) + } return param } @@ -783,7 +783,6 @@ let LText_field = [] let diffUser = false let transaction = false - let time_id = Utils.getguid().substring(0, 32) || '' let loginId = `'${sessionStorage.getItem('LoginUID') || ''}'` let sessionId = `'${localStorage.getItem('SessionUid') || ''}'` let userId = `'${sessionStorage.getItem('UserID') || ''}'` @@ -811,8 +810,6 @@ _script = _script.replace(/@UserID@/ig, userId) _sql = _sql.replace(/@Appkey@/ig, `'${window.GLOB.appkey || ''}'`) _script = _script.replace(/@Appkey@/ig, `'${window.GLOB.appkey || ''}'`) - _sql = _sql.replace(/@time_id@/ig, `'${time_id}'`) - _script = _script.replace(/@time_id@/ig, `'${time_id}'`) // 娴嬭瘯绯荤粺鎵撳嵃鏌ヨ璇彞 if (window.GLOB.debugger === true || (window.debugger === true && options.sysType !== 'cloud')) { diff --git a/src/utils/utils.js b/src/utils/utils.js index a15f80a..3ceef58 100644 --- a/src/utils/utils.js +++ b/src/utils/utils.js @@ -2082,21 +2082,12 @@ aaa: select @ErrorCode as ErrorCode,@retmsg as retmsg` } - let time_id = [] - let options = '0123456789abcdefghigklmnopqrstuv' - for (let i = 0; i < 15; i++) { - time_id.push(options.substr(Math.floor(Math.random() * 0x20), 1)) - } - time_id = moment().format('YYYYMMDDHHmmssSSS') + time_id.join('') - time_id = time_id.toUpperCase() - _sql = _sql.replace(/@ID@/ig, `'${primaryId || ''}'`) _sql = _sql.replace(/@BID@/ig, `'${BID || ''}'`) _sql = _sql.replace(/@LoginUID@/ig, `'${sessionStorage.getItem('LoginUID') || ''}'`) _sql = _sql.replace(/@SessionUid@/ig, `'${localStorage.getItem('SessionUid') || ''}'`) _sql = _sql.replace(/@UserID@/ig, `'${sessionStorage.getItem('UserID') || ''}'`) _sql = _sql.replace(/@Appkey@/ig, `'${window.GLOB.appkey || ''}'`) - _sql = _sql.replace(/@time_id@/ig, `'${time_id}'`) if (window.GLOB.debugger === true || (window.debugger === true && options.sysType !== 'cloud')) { // _sql = _sql.replace(/\n\s{8}/ig, '\n') -- Gitblit v1.8.0