From c76e56d9cc6f8f5e93aaf355b269ec8cac8c6b95 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期六, 15 二月 2020 02:18:10 +0800
Subject: [PATCH] 2020-02-15

---
 src/templates/modalconfig/index.jsx |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/templates/modalconfig/index.jsx b/src/templates/modalconfig/index.jsx
index 4b7b064..e299d77 100644
--- a/src/templates/modalconfig/index.jsx
+++ b/src/templates/modalconfig/index.jsx
@@ -11,6 +11,7 @@
 import enUS from '@/locales/en-US/comtable.js'
 import Utils from '@/utils/utils.js'
 import { getModalForm } from '@/templates/tableshare/formconfig'
+import { queryTableSql } from '@/utils/option.js'
 
 import ModalForm from '@/templates/ushare/modalform'
 import DragElement from './dragelement'
@@ -131,8 +132,7 @@
   componentDidMount () {
     let param = {
       func: 'sPC_Get_SelectedList',
-      // LText: 'select TbName ,Remark from sDataDictionary where IsKey!=\'\' and Deleted =0',
-      LText: 'select TbName,Remark from (select TbName,Remark from sDataDictb where appkey= @appkey@ and Deleted=0 union select a.TbName,Remark from (select TbName,Remark from sDataDictb where appkey= \'\' and Deleted=0 ) a left join (select TbName from sDataDictb where appkey= @appkey@ and Deleted=0 ) b on a.TbName=b.TbName where b.TbName is null ) t',
+      LText: queryTableSql,
       obj_name: 'data',
       arr_field: 'TbName,Remark'
     }

--
Gitblit v1.8.0