From e2ac71fbc53b7119ae87c5a3b08cdcf830b497e2 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 06 三月 2020 18:52:03 +0800 Subject: [PATCH] 2020-03-06 --- src/templates/comtableconfig/index.jsx | 19 ++++++++++++++----- 1 files changed, 14 insertions(+), 5 deletions(-) diff --git a/src/templates/comtableconfig/index.jsx b/src/templates/comtableconfig/index.jsx index 7fb6751..bd48173 100644 --- a/src/templates/comtableconfig/index.jsx +++ b/src/templates/comtableconfig/index.jsx @@ -171,10 +171,19 @@ originMenu: JSON.parse(JSON.stringify(menu)), selectedTables: _config.tables || [], menuformlist: [ + // { + // type: 'select', + // key: 'firparentId', + // label: '涓�绾ц彍鍗�', + // initVal: menu.ParentID, + // required: true, + // readonly: false, + // options: this.props.supMenuList + // }, { type: 'select', key: 'parentId', - label: this.state.dict['header.menu.supMenu'], + label: '浜岀骇鑿滃崟', initVal: menu.ParentID, required: true, readonly: false, @@ -1531,6 +1540,7 @@ getFuncNames = (data, funcNames, tableNames) => { data.forEach(item => { + console.log(item) if (item.subfuncs) { this.getFuncNames(item.subfuncs, funcNames, tableNames) } else { @@ -1538,11 +1548,10 @@ tableNames.push(item.tableName) } if (item.innerFunc) { + // funcNames.push({func: item.innerFunc, label: item}) funcNames.push(item.innerFunc) } - // if (item.outerFunc) { - // funcNames.push(item.outerFunc) - // } + if (item.callbackFunc) { funcNames.push(item.callbackFunc) } @@ -1788,7 +1797,7 @@ Sort: (this.props.supMenuList.length + 1) * 10, PageParam: JSON.stringify(_pageParam), LongParam: _LongParam, - LText: _funcs.map(item => `select '${menu.MenuID}' as MenuID,'${item}' as ProcName`), + LText: _funcs.map(item => `select '${menu.MenuID}' as MenuID,'${item}' as ProcName,'${item}' as MenuName`), LTexttb: _tables.map(item => `select '${menu.MenuID}' as MenuID,'${item}' as tbName`) } -- Gitblit v1.8.0