Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
b4e9b7f1
提交
b4e9b7f1
编写于
12月 03, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
24ef466c
变更
7
显示空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
231 行增加
和
140 行删除
+231
-140
view-message-group.json
app_Web/public/assets/json/view-message-group.json
+70
-67
message-service-register.ts
app_Web/src/message/message-service-register.ts
+2
-1
view-msg50-message-base.ts
app_Web/src/message/view-msg50/view-msg50-message-base.ts
+63
-0
view-msg50-message.ts
app_Web/src/message/view-msg50/view-msg50-message.ts
+21
-0
viewconfig.ts
app_Web/src/mock/viewconfig/viewconfig.ts
+70
-67
ibizuniproduct-sgrid-view-base.vue
...zuniproduct-sgrid-view/ibizuniproduct-sgrid-view-base.vue
+3
-3
finish-logic-base.ts
app_Web/src/service/ibizbook/finish-logic-base.ts
+2
-2
未找到文件。
app_Web/public/assets/json/view-message-group.json
浏览文件 @
b4e9b7f1
{
"VMGroup"
:[
{
"tag"
:
"ViewMsg"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup30"
:[
{
"tag"
:
"ViewMsg28"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup45"
:[
{
"tag"
:
"ViewMsg44"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup6"
:[
{
"tag"
:
"ViewMsg6"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup36"
:[
{
"tag"
:
"ViewMsg35"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup7"
:[
{
"tag"
:
"ViewMsg7"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup2"
:[
{
"tag"
:
"ViewMsg2"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup10"
:[
{
"tag"
:
"ViewMsg9"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup18"
:[
{
"tag"
:
"ViewMsg17"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup27"
:[
{
"tag"
:
"ViewMsg26"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup43"
:[
{
"tag"
:
"ViewMsg42"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup25"
:[
{
"tag"
:
"ViewMsg24"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup34"
:[
{
"tag"
:
"ViewMsg33"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup23"
:[
{
"tag"
:
"ViewMsg22"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup33"
:[
{
"tag"
:
"ViewMsg32"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup28"
:[
{
"tag"
:
"ViewMsg27"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup46"
:[
{
"tag"
:
"ViewMsg46"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup22"
:[
{
"tag"
:
"ViewMsg21"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup21"
:[
{
"tag"
:
"ViewMsg20"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup16"
:[
{
"tag"
:
"ViewMsg15"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup31"
:[
{
"tag"
:
"ViewMsg29"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup4
0
"
:[
{
"tag"
:
"ViewMsg
39
"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
"VMGroup4
4
"
:[
{
"tag"
:
"ViewMsg
43
"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup29"
:[
{
"tag"
:
"ViewMsg31"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup44"
:[
{
"tag"
:
"ViewMsg43"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup"
:[
{
"tag"
:
"ViewMsg"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
"VMGroup40"
:[
{
"tag"
:
"ViewMsg39"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup12"
:[
{
"tag"
:
"ViewMsg11"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup30"
:[
{
"tag"
:
"ViewMsg28"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup19"
:[
{
"tag"
:
"ViewMsg18"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup6"
:[
{
"tag"
:
"ViewMsg6"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup45"
:[
{
"tag"
:
"ViewMsg44"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup36"
:[
{
"tag"
:
"ViewMsg35"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup42"
:[
{
"tag"
:
"ViewMsg41"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup9"
:[
{
"tag"
:
"DataViewDar"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup7"
:[
{
"tag"
:
"ViewMsg7"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup48"
:[
{
"tag"
:
"ViewMsg45"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
...
...
@@ -53,27 +92,12 @@
"VMGroup49"
:[
{
"tag"
:
"ViewMsg47"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup2"
:[
{
"tag"
:
"ViewMsg2"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup10"
:[
{
"tag"
:
"ViewMsg9"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup8"
:[
{
"tag"
:
"ViewMsg8"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup18"
:[
{
"tag"
:
"ViewMsg17"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup4"
:[
{
"tag"
:
"ViewMsg4"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup27"
:[
{
"tag"
:
"ViewMsg26"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup43"
:[
{
"tag"
:
"ViewMsg42"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup26"
:[
{
"tag"
:
"ViewMsg25"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
...
...
@@ -86,64 +110,43 @@
"VMGroup14"
:[
{
"tag"
:
"ViewMsg13"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup51"
:[
{
"tag"
:
"ViewMsg50"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup38"
:[
{
"tag"
:
"ViewMsg37"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup47"
:[
{
"tag"
:
"ViewMsg48"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup25"
:[
{
"tag"
:
"ViewMsg24"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup3"
:[
{
"tag"
:
"ViewMsg3"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup13"
:[
{
"tag"
:
"ViewMsg12"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup5"
:[
{
"tag"
:
"ViewMsg5"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup13"
:[
{
"tag"
:
"ViewMsg12"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup39"
:[
{
"tag"
:
"ViewMsg38"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup34"
:[
{
"tag"
:
"ViewMsg33"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup23"
:[
{
"tag"
:
"ViewMsg22"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup17"
:[
{
"tag"
:
"ViewMsg16"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup33"
:[
{
"tag"
:
"ViewMsg32"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup28"
:[
{
"tag"
:
"ViewMsg27"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup37"
:[
{
"tag"
:
"ViewMsg36"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup46"
:[
{
"tag"
:
"ViewMsg46"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup41"
:[
{
"tag"
:
"ViewMsg40"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup22"
:[
{
"tag"
:
"ViewMsg21"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup20"
:[
{
"tag"
:
"ViewMsg19"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup15"
:[
{
"tag"
:
"ViewMsg14"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup21"
:[
{
"tag"
:
"ViewMsg20"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup11"
:[
{
"tag"
:
"ViewMsg10"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup15"
:[
{
"tag"
:
"ViewMsg14"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
]
}
\ No newline at end of file
app_Web/src/message/message-service-register.ts
浏览文件 @
b4e9b7f1
...
...
@@ -67,9 +67,10 @@ export class MessageServiceRegister {
this
.
allMessageService
.
set
(
'ViewMsg46'
,
()
=>
import
(
'@/message/view-msg46/view-msg46-message'
));
this
.
allMessageService
.
set
(
'ViewMsg42'
,
()
=>
import
(
'@/message/view-msg42/view-msg42-message'
));
this
.
allMessageService
.
set
(
'ViewMsg39'
,
()
=>
import
(
'@/message/view-msg39/view-msg39-message'
));
this
.
allMessageService
.
set
(
'ViewMsg44'
,
()
=>
import
(
'@/message/view-msg44/view-msg44-message'
));
this
.
allMessageService
.
set
(
'ViewMsg13'
,
()
=>
import
(
'@/message/view-msg13/view-msg13-message'
));
this
.
allMessageService
.
set
(
'ViewMsg44'
,
()
=>
import
(
'@/message/view-msg44/view-msg44-message'
));
this
.
allMessageService
.
set
(
'ViewMsg45'
,
()
=>
import
(
'@/message/view-msg45/view-msg45-message'
));
this
.
allMessageService
.
set
(
'ViewMsg50'
,
()
=>
import
(
'@/message/view-msg50/view-msg50-message'
));
this
.
allMessageService
.
set
(
'ViewMsg29'
,
()
=>
import
(
'@/message/view-msg29/view-msg29-message'
));
this
.
allMessageService
.
set
(
'ViewMsg8'
,
()
=>
import
(
'@/message/view-msg8/view-msg8-message'
));
this
.
allMessageService
.
set
(
'ViewMsg'
,
()
=>
import
(
'@/message/view-msg/view-msg-message'
));
...
...
app_Web/src/message/view-msg50/view-msg50-message-base.ts
0 → 100644
浏览文件 @
b4e9b7f1
import
ViewMessageService
from
'../view-message-service'
;
/**
* 索引关系选择数据视图视图消息服务对象基类
*
* @export
* @class ViewMsg50MessageServiceBase
*/
export
default
class
ViewMsg50MessageServiceBase
extends
ViewMessageService
{
/**
* Creates an instance of ViewMsg50MessageServiceBase.
*
* @param {*} [opts={}]
* @memberof ViewMsg50MessageServiceBase
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
}
/**
* 初始化基础参数
*
* @memberof ViewMsg50MessageServiceBase
*/
public
initBasicParam
(){
this
.
id
=
"20D99436-9960-44B7-8E59-4AF652D01048"
;
this
.
name
=
"索引关系选择数据视图"
;
this
.
codename
=
"ViewMsg50"
;
this
.
title
=
""
;
this
.
content
=
"本示例展示索引关系选择数据视图:点击新建按钮打开索引关系选择数据视图,选中要新建的实体点击确认后跳转到相应的新建页面。"
;
this
.
closeMode
=
0
;
this
.
position
=
"TOP"
;
this
.
type
=
"error"
;
this
.
isEnableRemove
=
false
;
this
.
order
=
1
;
this
.
dynamicMode
=
"STATIC"
;
this
.
hasMessageTemp
=
false
;
this
.
messageType
=
"TEXT"
;
}
/**
* 转化消息模板标题和内容
*
* @target {*} target 返回目标数据
* @param {*} context 应用上下文
* @param {*} viewparam 视图参数
* @param {*} item 源数据
*
* @memberof ViewMsg50MessageServiceBase
*/
public
translateMessageTemp
(
target
:
any
,
context
:
any
,
viewparam
:
any
,
item
?:
any
){
if
(
this
.
hasMessageTemp
&&
Object
.
is
(
this
.
messageType
,
"HTML"
)){
Object
.
assign
(
target
,{
title
:
``
});
Object
.
assign
(
target
,{
content
:
``
});
}
if
(
this
.
hasMessageTemp
&&
Object
.
is
(
this
.
messageType
,
"TEXT"
)){
Object
.
assign
(
target
,{
title
:
""
});
Object
.
assign
(
target
,{
content
:
""
});
}
}
}
\ No newline at end of file
app_Web/src/message/view-msg50/view-msg50-message.ts
0 → 100644
浏览文件 @
b4e9b7f1
import
ViewMsg50MessageServiceBase
from
'./view-msg50-message-base'
;
/**
* 索引关系选择数据视图视图消息服务对象
*
* @export
* @class ViewMsg50MessageService
*/
export
default
class
ViewMsg50MessageService
extends
ViewMsg50MessageServiceBase
{
/**
* Creates an instance of ViewMsg50MessageService.
*
* @param {*} [opts={}]
* @memberof ViewMsg50MessageService
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
}
}
\ No newline at end of file
app_Web/src/mock/viewconfig/viewconfig.ts
浏览文件 @
b4e9b7f1
...
...
@@ -1638,51 +1638,90 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
mock
.
onGet
(
'./assets/json/view-message-group.json'
).
reply
((
config
:
any
)
=>
{
let
status
=
MockAdapter
.
mockStatus
(
config
);
return
[
status
,{
"VMGroup"
:[
{
"tag"
:
"ViewMsg"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup30"
:[
{
"tag"
:
"ViewMsg28"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup45"
:[
{
"tag"
:
"ViewMsg44"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup6"
:[
{
"tag"
:
"ViewMsg6"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup36"
:[
{
"tag"
:
"ViewMsg35"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup7"
:[
{
"tag"
:
"ViewMsg7"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup2"
:[
{
"tag"
:
"ViewMsg2"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup10"
:[
{
"tag"
:
"ViewMsg9"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup18"
:[
{
"tag"
:
"ViewMsg17"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup27"
:[
{
"tag"
:
"ViewMsg26"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup43"
:[
{
"tag"
:
"ViewMsg42"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup25"
:[
{
"tag"
:
"ViewMsg24"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup34"
:[
{
"tag"
:
"ViewMsg33"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup23"
:[
{
"tag"
:
"ViewMsg22"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup33"
:[
{
"tag"
:
"ViewMsg32"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup28"
:[
{
"tag"
:
"ViewMsg27"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup46"
:[
{
"tag"
:
"ViewMsg46"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup22"
:[
{
"tag"
:
"ViewMsg21"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup21"
:[
{
"tag"
:
"ViewMsg20"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup16"
:[
{
"tag"
:
"ViewMsg15"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup31"
:[
{
"tag"
:
"ViewMsg29"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup4
0
"
:[
{
"tag"
:
"ViewMsg
39
"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
"VMGroup4
4
"
:[
{
"tag"
:
"ViewMsg
43
"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup29"
:[
{
"tag"
:
"ViewMsg31"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup44"
:[
{
"tag"
:
"ViewMsg43"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup"
:[
{
"tag"
:
"ViewMsg"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
"VMGroup40"
:[
{
"tag"
:
"ViewMsg39"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup12"
:[
{
"tag"
:
"ViewMsg11"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup30"
:[
{
"tag"
:
"ViewMsg28"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup19"
:[
{
"tag"
:
"ViewMsg18"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup6"
:[
{
"tag"
:
"ViewMsg6"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup45"
:[
{
"tag"
:
"ViewMsg44"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup36"
:[
{
"tag"
:
"ViewMsg35"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup42"
:[
{
"tag"
:
"ViewMsg41"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup9"
:[
{
"tag"
:
"DataViewDar"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup7"
:[
{
"tag"
:
"ViewMsg7"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup48"
:[
{
"tag"
:
"ViewMsg45"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
...
...
@@ -1692,27 +1731,12 @@ mock.onGet('./assets/json/view-message-group.json').reply((config: any) => {
"VMGroup49"
:[
{
"tag"
:
"ViewMsg47"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup2"
:[
{
"tag"
:
"ViewMsg2"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup10"
:[
{
"tag"
:
"ViewMsg9"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup8"
:[
{
"tag"
:
"ViewMsg8"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup18"
:[
{
"tag"
:
"ViewMsg17"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup4"
:[
{
"tag"
:
"ViewMsg4"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup27"
:[
{
"tag"
:
"ViewMsg26"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup43"
:[
{
"tag"
:
"ViewMsg42"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup26"
:[
{
"tag"
:
"ViewMsg25"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
...
...
@@ -1725,65 +1749,44 @@ mock.onGet('./assets/json/view-message-group.json').reply((config: any) => {
"VMGroup14"
:[
{
"tag"
:
"ViewMsg13"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup51"
:[
{
"tag"
:
"ViewMsg50"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup38"
:[
{
"tag"
:
"ViewMsg37"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup47"
:[
{
"tag"
:
"ViewMsg48"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup25"
:[
{
"tag"
:
"ViewMsg24"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup3"
:[
{
"tag"
:
"ViewMsg3"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup13"
:[
{
"tag"
:
"ViewMsg12"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup5"
:[
{
"tag"
:
"ViewMsg5"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup13"
:[
{
"tag"
:
"ViewMsg12"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup39"
:[
{
"tag"
:
"ViewMsg38"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup34"
:[
{
"tag"
:
"ViewMsg33"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup23"
:[
{
"tag"
:
"ViewMsg22"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup17"
:[
{
"tag"
:
"ViewMsg16"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup33"
:[
{
"tag"
:
"ViewMsg32"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup28"
:[
{
"tag"
:
"ViewMsg27"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup37"
:[
{
"tag"
:
"ViewMsg36"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup46"
:[
{
"tag"
:
"ViewMsg46"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup41"
:[
{
"tag"
:
"ViewMsg40"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup22"
:[
{
"tag"
:
"ViewMsg21"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup20"
:[
{
"tag"
:
"ViewMsg19"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup15"
:[
{
"tag"
:
"ViewMsg14"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup21"
:[
{
"tag"
:
"ViewMsg20"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup11"
:[
{
"tag"
:
"ViewMsg10"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup15"
:[
{
"tag"
:
"ViewMsg14"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
]
}];
});
\ No newline at end of file
app_Web/src/pages/sample/ibizuniproduct-sgrid-view/ibizuniproduct-sgrid-view-base.vue
浏览文件 @
b4e9b7f1
...
...
@@ -6,7 +6,7 @@
<span
class=
'caption-info'
>
{{
$t
(
model
.
srfCaption
)
}}
</span>
</div>
<div
class=
'view-top-messages'
>
</div>
<
app-alert-group
position=
'TOP'
:context=
"context"
:viewparam=
"viewparams"
infoGroup=
'VMGroup51'
viewname=
'ibizuniproductsgridview'
></app-alert-group>
<
/div>
<div
class=
'content-container'
>
<div
style=
'margin-bottom: 6px;'
>
<i-input
v-show=
"!isExpandSearchForm"
v-model=
"query"
search
enter-button
@
on-search=
"onSearch($event)"
class=
'quick-search-input'
style=
'max-width: 400px;padding-left: 24px'
placeholder=
"产品名称"
/>
...
...
@@ -122,7 +122,7 @@
@
closeview=
"closeView($event)"
>
</view
_searchform
>
<div
class=
'view-body-messages'
>
</div>
<
app-alert-group
position=
'BODY'
:context=
"context"
:viewparam=
"viewparams"
infoGroup=
'VMGroup51'
viewname=
'ibizuniproductsgridview'
></app-alert-group>
<
/div>
<view
_grid
:viewState=
"viewState"
:viewparams=
"viewparams"
...
...
@@ -152,7 +152,7 @@
</view
_grid
>
</div>
<div
class=
'view-bottom-messages'
>
</div>
<
app-alert-group
position=
'BOTTOM'
:context=
"context"
:viewparam=
"viewparams"
infoGroup=
'VMGroup51'
viewname=
'ibizuniproductsgridview'
></app-alert-group>
<
/div>
</card>
</div>
</
template
>
...
...
app_Web/src/service/ibizbook/finish-logic-base.ts
浏览文件 @
b4e9b7f1
...
...
@@ -90,8 +90,8 @@ export default class FinishLogicBase {
let
result
:
any
;
let
actionParam
:
any
=
this
.
paramsMap
.
get
(
'Default'
);
const
targetService
:
IBIZBOOKService
=
new
IBIZBOOKService
();
if
(
targetService
[
'
Save'
]
&&
targetService
[
'Sav
e'
]
instanceof
Function
)
{
result
=
await
targetService
[
'
Sav
e'
](
actionParam
.
context
,
actionParam
.
data
,
false
);
if
(
targetService
[
'
Update'
]
&&
targetService
[
'Updat
e'
]
instanceof
Function
)
{
result
=
await
targetService
[
'
Updat
e'
](
actionParam
.
context
,
actionParam
.
data
,
false
);
}
if
(
result
&&
result
.
status
==
200
){
Object
.
assign
(
actionParam
.
data
,
result
.
data
);
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录