Commit 5e6c7688 authored by 涂伟's avatar 涂伟

fix: '节点配置查询表名添加参数'

parent 0d6d8039
Pipeline #68794 passed with stages
......@@ -179,7 +179,7 @@ const NodeEdit = props => {
};
// 获取表名
const getTableName = () => {
loadEventTypeTable({ flowNodeId: msg.ID }).then(res => {
loadEventTypeTable({ flowNodeId: msg.ID, nodeType: Number(msg.nodeType) }).then(res => {
if (res.code === 0) {
setEventTable(res.data);
}
......
......@@ -70,11 +70,13 @@ const ConfigNodeMsg = (props, ref) => {
};
// 获取表名
const getTableName = () => {
loadEventTypeTable({ flowNodeId: editMsg.ActivityId }).then(res => {
loadEventTypeTable({ flowNodeId: editMsg.ActivityId, NodeType: Number(editMsg.NodeType) }).then(
res => {
if (res.code === 0) {
setEventTable(res.data);
}
});
},
);
};
// 表切换
const changTable = val => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment