Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
iBiz-Vue-R7
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
22
议题
22
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz-R7前端标准模板
iBiz-Vue-R7
提交
a729d5eb
提交
a729d5eb
编写于
11月 04, 2022
作者:
Shine-zwj
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update:更新
上级
2236426b
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
5 行增加
和
5 行删除
+5
-5
DATA_CREATEOBJECT.ftl
...PANEL/VIEW_LAYOUTPANEL_UIACTION/SYS/DATA_CREATEOBJECT.ftl
+1
-1
DATA_REMOVEOBJECT.ftl
...PANEL/VIEW_LAYOUTPANEL_UIACTION/SYS/DATA_REMOVEOBJECT.ftl
+1
-1
DATA_SAVECHANGES.ftl
...TPANEL/VIEW_LAYOUTPANEL_UIACTION/SYS/DATA_SAVECHANGES.ftl
+3
-3
未找到文件。
@VIEW/@MACRO/VIEW_LAYOUTPANEL/VIEW_LAYOUTPANEL_UIACTION/SYS/DATA_CREATEOBJECT.ftl
浏览文件 @
a729d5eb
...
...
@@ -24,7 +24,7 @@
delete data[appEntityService.APPDEKEY.toLowerCase()];
}
try {
appEntityService.Create(tempContext,
D
ata).then((response: any) => {
appEntityService.Create(tempContext,
d
ata).then((response: any) => {
if (!response.status || response.status !== 200) {
this.$Notice.error({ title: '错误', desc: '当前环境无法执行建立数据逻辑[执行行为异常]' });
}
...
...
@VIEW/@MACRO/VIEW_LAYOUTPANEL/VIEW_LAYOUTPANEL_UIACTION/SYS/DATA_REMOVEOBJECT.ftl
浏览文件 @
a729d5eb
...
...
@@ -29,7 +29,7 @@
Object.assign(tempContext, { [name]: data[key] });
}
try {
appEntityService.Remove(tempContext,
D
ata).then((response: any) => {
appEntityService.Remove(tempContext,
d
ata).then((response: any) => {
if (!response.status || response.status !== 200) {
this.$Notice.error({ title: '错误', desc: '当前环境无法执行删除数据逻辑[执行行为异常]' });
}
...
...
@VIEW/@MACRO/VIEW_LAYOUTPANEL/VIEW_LAYOUTPANEL_UIACTION/SYS/DATA_SAVECHANGES.ftl
浏览文件 @
a729d5eb
...
...
@@ -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,
D
ata).then((response: any) => {
appEntityService[action](tempContext,
d
ata).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
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录