Commit 98de9519 by zhaochengxiang

衍生表问题

parent 963d9aba
...@@ -5,6 +5,7 @@ import LocalStorage from 'local-storage'; ...@@ -5,6 +5,7 @@ import LocalStorage from 'local-storage';
import ImportAction from "./ImportAction"; import ImportAction from "./ImportAction";
import { inheritanceHistoricalType, inheritanceZipperType } from "./ImportActionRelation"; import { inheritanceHistoricalType, inheritanceZipperType } from "./ImportActionRelation";
import { dispatch } from '../../../../model'; import { dispatch } from '../../../../model';
import { showMessage } from "../../../../util";
const FC = (props) => { const FC = (props) => {
const { visible, modelerData, onCancel } = props; const { visible, modelerData, onCancel } = props;
...@@ -89,6 +90,7 @@ const FC = (props) => { ...@@ -89,6 +90,7 @@ const FC = (props) => {
LocalStorage.set('modelChange', !(LocalStorage.get('modelChange')||false)); LocalStorage.set('modelChange', !(LocalStorage.get('modelChange')||false));
showMessage('success', '保存成功')
onCancel?.(true); onCancel?.(true);
}, },
error: () => { error: () => {
......
...@@ -546,6 +546,7 @@ const EditModel = (props) => { ...@@ -546,6 +546,7 @@ const EditModel = (props) => {
return; return;
} }
setActionData({ ...actionData, action: 'edit-inherited' });
setEditInheritedParms({visible: true, modelerData}); setEditInheritedParms({visible: true, modelerData});
}} }}
ghost ghost
...@@ -638,7 +639,8 @@ const EditModel = (props) => { ...@@ -638,7 +639,8 @@ const EditModel = (props) => {
showMessage("warn", '正在加载中,请稍后!'); showMessage("warn", '正在加载中,请稍后!');
return; return;
} }
setActionData({ ...actionData, action: 'edit-inherited' });
setEditInheritedParms({visible: true, modelerData}); setEditInheritedParms({visible: true, modelerData});
}} }}
ghost ghost
......
...@@ -35,6 +35,8 @@ const RecatalogModal = (props) => { ...@@ -35,6 +35,8 @@ const RecatalogModal = (props) => {
if ((message||'')!=='' && (message||'')!=='ok') { if ((message||'')!=='' && (message||'')!=='ok') {
showNotifaction('提示', message, 5); showNotifaction('提示', message, 5);
} else {
showMessage('success', '变更目录成功');
} }
reset(); reset();
......
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