From 567cea64c520654876e8c1a7f4ca2baf2c1c773f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 25 十一月 2022 11:16:39 +0800 Subject: [PATCH] 2022-11-25 --- src/tabviews/custom/index.jsx | 14 +------------- 1 files changed, 1 insertions(+), 13 deletions(-) diff --git a/src/tabviews/custom/index.jsx b/src/tabviews/custom/index.jsx index 0a2277e..3a28d2d 100644 --- a/src/tabviews/custom/index.jsx +++ b/src/tabviews/custom/index.jsx @@ -725,24 +725,12 @@ group.subButton.syncComponentId = '' } - let _sql = `Declare @mk_organization nvarchar(512) select @mk_organization='${sessionStorage.getItem('organization') || ''}'\n` - let _sso = _sql - let _local = _sql - group.fields = group.fields.map(cell => { // 鏁版嵁婧恠ql璇彞锛岄澶勭悊锛屾潈闄愰粦鍚嶅崟瀛楁璁剧疆涓洪殣钘忚〃鍗� if (['select', 'link', 'multiselect', 'radio', 'checkbox', 'checkcard'].includes(cell.type) && cell.resourceType === '1') { let _option = Utils.getSelectQueryOptions(cell) - if (cell.database === 'sso') { - cell.data_sql = Utils.formatOptions(_sso + _option.sql) - _sso = '' - } else { - cell.data_sql = Utils.formatOptions(_local + _option.sql) - _local = '' - } - - cell.base_sql = window.btoa(window.encodeURIComponent(_sql + _option.sql)) + cell.base_sql = _option.sql cell.arr_field = _option.field } -- Gitblit v1.8.0