提交 a729d5eb 编写于 作者: Shine-zwj's avatar Shine-zwj

update:更新

上级 2236426b
......@@ -24,7 +24,7 @@
delete data[appEntityService.APPDEKEY.toLowerCase()];
}
try {
appEntityService.Create(tempContext, Data).then((response: any) => {
appEntityService.Create(tempContext, data).then((response: any) => {
if (!response.status || response.status !== 200) {
this.$Notice.error({ title: '错误', desc: '当前环境无法执行建立数据逻辑[执行行为异常]' });
}
......
......@@ -29,7 +29,7 @@
Object.assign(tempContext, { [name]: data[key] });
}
try {
appEntityService.Remove(tempContext, Data).then((response: any) => {
appEntityService.Remove(tempContext, data).then((response: any) => {
if (!response.status || response.status !== 200) {
this.$Notice.error({ title: '错误', desc: '当前环境无法执行删除数据逻辑[执行行为异常]' });
}
......
......@@ -20,7 +20,7 @@
}
const data = args[0];
let action: string | undefined = undefined;
const appEntityService: ${srfclassname('${item.getPSAppDataEntity().getCodeName()}')}Service = new ${srfclassname('${item.getPSAppDataEntity().getCodeName()}')}Service();
const appEntityService: any = new ${srfclassname('${item.getPSAppDataEntity().getCodeName()}')}Service();
const key = appEntityService.APPDEKEY.toLowerCase();
const name = appEntityService.APPDENAME.toLowerCase();
if (data.hasOwnProperty(key) || data.hasOwnProperty(name)) {
......@@ -35,7 +35,7 @@
}
try {
if (action) {
appEntityService[action](tempContext, Data).then((response: any) => {
appEntityService[action](tempContext, data).then((response: any) => {
if (!response.status || response.status !== 200) {
this.$Notice.error({ title: '错误', desc: '当前环境无法执行保存变更逻辑[执行行为异常]' });
}
......@@ -47,7 +47,7 @@
this.$Notice.error({ title: '错误', desc: '当前环境无法执行保存变更逻辑[执行行为异常]' });
}
<#else>
this.$Notice.error({ title: '错误', desc: '建立数据行为配置实体' });
this.$Notice.error({ title: '错误', desc: '保存变更行为未配置实体' });
</#if>
}
</#macro>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册