Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
32a3a72c
提交
32a3a72c
编写于
11月 25, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
46ae7949
变更
9
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
173 行增加
和
82 行删除
+173
-82
view-config.json
app_Web/public/assets/json/view-config.json
+2
-2
view-message-group.json
app_Web/public/assets/json/view-message-group.json
+39
-36
ibizorder-detail_en_US.ts
...anres/entities/ibizorder-detail/ibizorder-detail_en_US.ts
+1
-1
ibizorder-detail_zh_CN.ts
...anres/entities/ibizorder-detail/ibizorder-detail_zh_CN.ts
+2
-2
message-service-register.ts
app_Web/src/message/message-service-register.ts
+1
-0
view-msg26-message-base.ts
app_Web/src/message/view-msg26/view-msg26-message-base.ts
+63
-0
view-msg26-message.ts
app_Web/src/message/view-msg26/view-msg26-message.ts
+21
-0
viewconfig.ts
app_Web/src/mock/viewconfig/viewconfig.ts
+41
-38
ibizorder-detail-sf1-edit-view-base.vue
...ail-sf1-edit-view/ibizorder-detail-sf1-edit-view-base.vue
+3
-3
未找到文件。
app_Web/public/assets/json/view-config.json
浏览文件 @
32a3a72c
...
...
@@ -64,8 +64,8 @@
"viewtag"
:
"104b6cee4acd54ede4e4fe5fd0e28a13"
},
"ibizorderdetailsf1editview"
:
{
"title"
:
"
订单明细编辑视图
"
,
"caption"
:
"
订单明细
"
,
"title"
:
"
表单项重置项
"
,
"caption"
:
"
表单项重置项
"
,
"viewtype"
:
"DEEDITVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZOrderDetailSF1EditView"
,
...
...
app_Web/public/assets/json/view-message-group.json
浏览文件 @
32a3a72c
{
"VMGroup26"
:[
{
"tag"
:
"ViewMsg25"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup16"
:[
{
"tag"
:
"ViewMsg15"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
...
...
@@ -11,70 +8,76 @@
"VMGroup12"
:[
{
"tag"
:
"ViewMsg11"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup14"
:[
{
"tag"
:
"ViewMsg13"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup19"
:[
{
"tag"
:
"ViewMsg18"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup6"
:[
{
"tag"
:
"ViewMsg6"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup9"
:[
{
"tag"
:
"DataViewDar"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup7"
:[
{
"tag"
:
"ViewMsg7"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup24"
:[
{
"tag"
:
"ViewMsg23"
,
"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"
}
],
"VMGroup26"
:[
{
"tag"
:
"ViewMsg25"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup14"
:[
{
"tag"
:
"ViewMsg13"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup25"
:[
{
"tag"
:
"ViewMsg24"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup3"
:[
{
"tag"
:
"ViewMsg3"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup9"
:[
{
"tag"
:
"DataViewDar"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup13"
:[
{
"tag"
:
"ViewMsg12"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup5"
:[
{
"tag"
:
"ViewMsg5"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup
7
"
:[
{
"tag"
:
"ViewMsg
7
"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
"VMGroup
13
"
:[
{
"tag"
:
"ViewMsg
12
"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup23"
:[
{
"tag"
:
"ViewMsg22"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup24"
:[
{
"tag"
:
"ViewMsg23"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup17"
:[
{
"tag"
:
"ViewMsg16"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup22"
:[
{
"tag"
:
"ViewMsg21"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup2"
:[
{
"tag"
:
"ViewMsg2"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup20"
:[
{
"tag"
:
"ViewMsg19"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup10"
:[
{
"tag"
:
"ViewMsg9"
,
"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"
}
],
"VMGroup8"
:[
{
"tag"
:
"ViewMsg8"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup18"
:[
{
"tag"
:
"ViewMsg17"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
"VMGroup21"
:[
{
"tag"
:
"ViewMsg20"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup
4
"
:[
{
"tag"
:
"ViewMsg4"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
"VMGroup
15
"
:[
{
"tag"
:
"ViewMsg
1
4"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
]
}
\ No newline at end of file
app_Web/src/locale/lanres/entities/ibizorder-detail/ibizorder-detail_en_US.ts
浏览文件 @
32a3a72c
...
...
@@ -25,7 +25,7 @@ export default {
},
sf1editview
:
{
caption
:
"orderdetail"
,
title
:
"
订单明细编辑视图
"
,
title
:
"
表单项重置项
"
,
},
f6editview
:
{
caption
:
"orderdetail"
,
...
...
app_Web/src/locale/lanres/entities/ibizorder-detail/ibizorder-detail_zh_CN.ts
浏览文件 @
32a3a72c
...
...
@@ -23,8 +23,8 @@ export default {
title
:
"订单明细多表单编辑视图"
,
},
sf1editview
:
{
caption
:
"
订单明细
"
,
title
:
"
订单明细编辑视图
"
,
caption
:
"
表单项重置项
"
,
title
:
"
表单项重置项
"
,
},
f6editview
:
{
caption
:
"订单明细"
,
...
...
app_Web/src/message/message-service-register.ts
浏览文件 @
32a3a72c
...
...
@@ -46,6 +46,7 @@ export class MessageServiceRegister {
this
.
allMessageService
.
set
(
'ViewMsg10'
,
()
=>
import
(
'@/message/view-msg10/view-msg10-message'
));
this
.
allMessageService
.
set
(
'ViewMsg23'
,
()
=>
import
(
'@/message/view-msg23/view-msg23-message'
));
this
.
allMessageService
.
set
(
'ViewMsg7'
,
()
=>
import
(
'@/message/view-msg7/view-msg7-message'
));
this
.
allMessageService
.
set
(
'ViewMsg26'
,
()
=>
import
(
'@/message/view-msg26/view-msg26-message'
));
this
.
allMessageService
.
set
(
'DataViewDar'
,
()
=>
import
(
'@/message/data-view-dar/data-view-dar-message'
));
this
.
allMessageService
.
set
(
'ViewMsg17'
,
()
=>
import
(
'@/message/view-msg17/view-msg17-message'
));
this
.
allMessageService
.
set
(
'ViewMsg20'
,
()
=>
import
(
'@/message/view-msg20/view-msg20-message'
));
...
...
app_Web/src/message/view-msg26/view-msg26-message-base.ts
0 → 100644
浏览文件 @
32a3a72c
import
ViewMessageService
from
'../view-message-service'
;
/**
* 表单-重置项视图消息服务对象基类
*
* @export
* @class ViewMsg26MessageServiceBase
*/
export
default
class
ViewMsg26MessageServiceBase
extends
ViewMessageService
{
/**
* Creates an instance of ViewMsg26MessageServiceBase.
*
* @param {*} [opts={}]
* @memberof ViewMsg26MessageServiceBase
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
}
/**
* 初始化基础参数
*
* @memberof ViewMsg26MessageServiceBase
*/
public
initBasicParam
(){
this
.
id
=
"EC447FDE-5BE8-427C-A20F-4FE6B2281A5A"
;
this
.
name
=
"表单-重置项"
;
this
.
codename
=
"ViewMsg26"
;
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 ViewMsg26MessageServiceBase
*/
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-msg26/view-msg26-message.ts
0 → 100644
浏览文件 @
32a3a72c
import
ViewMsg26MessageServiceBase
from
'./view-msg26-message-base'
;
/**
* 表单-重置项视图消息服务对象
*
* @export
* @class ViewMsg26MessageService
*/
export
default
class
ViewMsg26MessageService
extends
ViewMsg26MessageServiceBase
{
/**
* Creates an instance of ViewMsg26MessageService.
*
* @param {*} [opts={}]
* @memberof ViewMsg26MessageService
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
}
}
\ No newline at end of file
app_Web/src/mock/viewconfig/viewconfig.ts
浏览文件 @
32a3a72c
...
...
@@ -72,8 +72,8 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewtag"
:
"104b6cee4acd54ede4e4fe5fd0e28a13"
},
"ibizorderdetailsf1editview"
:
{
"title"
:
"
订单明细编辑视图
"
,
"caption"
:
"
订单明细
"
,
"title"
:
"
表单项重置项
"
,
"caption"
:
"
表单项重置项
"
,
"viewtype"
:
"DEEDITVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZOrderDetailSF1EditView"
,
...
...
@@ -1214,9 +1214,6 @@ 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
,{
"VMGroup26"
:[
{
"tag"
:
"ViewMsg25"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup16"
:[
{
"tag"
:
"ViewMsg15"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
...
...
@@ -1226,71 +1223,77 @@ mock.onGet('./assets/json/view-message-group.json').reply((config: any) => {
"VMGroup12"
:[
{
"tag"
:
"ViewMsg11"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup14"
:[
{
"tag"
:
"ViewMsg13"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup19"
:[
{
"tag"
:
"ViewMsg18"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup6"
:[
{
"tag"
:
"ViewMsg6"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup9"
:[
{
"tag"
:
"DataViewDar"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup7"
:[
{
"tag"
:
"ViewMsg7"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup24"
:[
{
"tag"
:
"ViewMsg23"
,
"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"
}
],
"VMGroup26"
:[
{
"tag"
:
"ViewMsg25"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup14"
:[
{
"tag"
:
"ViewMsg13"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup25"
:[
{
"tag"
:
"ViewMsg24"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup3"
:[
{
"tag"
:
"ViewMsg3"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup9"
:[
{
"tag"
:
"DataViewDar"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup13"
:[
{
"tag"
:
"ViewMsg12"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup5"
:[
{
"tag"
:
"ViewMsg5"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup
7
"
:[
{
"tag"
:
"ViewMsg
7
"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
"VMGroup
13
"
:[
{
"tag"
:
"ViewMsg
12
"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup23"
:[
{
"tag"
:
"ViewMsg22"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup24"
:[
{
"tag"
:
"ViewMsg23"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup17"
:[
{
"tag"
:
"ViewMsg16"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup22"
:[
{
"tag"
:
"ViewMsg21"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup2"
:[
{
"tag"
:
"ViewMsg2"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup20"
:[
{
"tag"
:
"ViewMsg19"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup10"
:[
{
"tag"
:
"ViewMsg9"
,
"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"
}
],
"VMGroup8"
:[
{
"tag"
:
"ViewMsg8"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup18"
:[
{
"tag"
:
"ViewMsg17"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
"VMGroup21"
:[
{
"tag"
:
"ViewMsg20"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
],
"VMGroup
4
"
:[
{
"tag"
:
"ViewMsg4"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
"VMGroup
15
"
:[
{
"tag"
:
"ViewMsg
1
4"
,
"position"
:
"TOP"
,
"type"
:
"ERROR"
}
]
}];
});
\ No newline at end of file
app_Web/src/pages/sample/ibizorder-detail-sf1-edit-view/ibizorder-detail-sf1-edit-view-base.vue
浏览文件 @
32a3a72c
...
...
@@ -8,10 +8,10 @@
</div>
<div
class=
'view-top-messages'
>
</div>
<
app-alert-group
position=
'TOP'
:context=
"context"
:viewparam=
"viewparams"
infoGroup=
'VMGroup27'
viewname=
'ibizorderdetailsf1editview'
></app-alert-group>
<
/div>
<div
class=
"content-container"
>
<div
class=
'view-body-messages'
>
</div>
<
app-alert-group
position=
'BODY'
:context=
"context"
:viewparam=
"viewparams"
infoGroup=
'VMGroup27'
viewname=
'ibizorderdetailsf1editview'
></app-alert-group>
<
/div>
<view
_form
:viewState=
"viewState"
:viewparams=
"viewparams"
...
...
@@ -36,7 +36,7 @@
</view
_form
>
</div>
<div
class=
'view-bottom-messages'
>
</div>
<
app-alert-group
position=
'BOTTOM'
:context=
"context"
:viewparam=
"viewparams"
infoGroup=
'VMGroup27'
viewname=
'ibizorderdetailsf1editview'
></app-alert-group>
<
/div>
</card>
</div>
</
template
>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录