Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
a8b67d66
提交
a8b67d66
编写于
12月 04, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ShineKOT 发布系统代码 [后台服务,演示应用]
上级
02e177e2
变更
6
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
252 行增加
和
7 行删除
+252
-7
data-dictionary.json
app_Web/public/assets/json/data-dictionary.json
+95
-0
codelist_en_US.ts
app_Web/src/locale/lanres/codelist/codelist_en_US.ts
+11
-0
codelist_zh_CN.ts
app_Web/src/locale/lanres/codelist/codelist_zh_CN.ts
+11
-0
codelist.ts
app_Web/src/mock/codelist/codelist.ts
+95
-0
main-form-base.vue
...Web/src/widgets/ibizviewmess/main-form/main-form-base.vue
+14
-7
StaticDict.java
demo-util/src/main/java/cn/ibizlab/util/dict/StaticDict.java
+26
-0
未找到文件。
app_Web/public/assets/json/data-dictionary.json
浏览文件 @
a8b67d66
...
...
@@ -452,6 +452,101 @@
}
]
},
{
"srfkey"
:
"AppViewType"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"SingleDataView"
,
"label"
:
"单数据视图"
,
"text"
:
"单数据视图"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Singledataview"
,
"value"
:
"SingleDataView"
,
"disabled"
:
false
}
,
{
"id"
:
"MultipleDataView"
,
"label"
:
"多数据视图"
,
"text"
:
"多数据视图"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Multipledataview"
,
"value"
:
"MultipleDataView"
,
"disabled"
:
false
}
,
{
"id"
:
"NavigationView"
,
"label"
:
"导航视图"
,
"text"
:
"导航视图"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Navigationview"
,
"value"
:
"NavigationView"
,
"disabled"
:
false
}
,
{
"id"
:
"SelectView"
,
"label"
:
"选择视图"
,
"text"
:
"选择视图"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Selectview"
,
"value"
:
"SelectView"
,
"disabled"
:
false
}
,
{
"id"
:
"WorkflowView"
,
"label"
:
"工作流视图"
,
"text"
:
"工作流视图"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Workflowview"
,
"value"
:
"WorkflowView"
,
"disabled"
:
false
}
,
{
"id"
:
"ApplicationView"
,
"label"
:
"应用视图"
,
"text"
:
"应用视图"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Applicationview"
,
"value"
:
"ApplicationView"
,
"disabled"
:
false
}
,
{
"id"
:
"FunctionalView"
,
"label"
:
"功能视图"
,
"text"
:
"功能视图"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Functionalview"
,
"value"
:
"FunctionalView"
,
"disabled"
:
false
}
,
{
"id"
:
"OtherView"
,
"label"
:
"其他视图"
,
"text"
:
"其他视图"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Otherview"
,
"value"
:
"OtherView"
,
"disabled"
:
false
}
]
},
{
"srfkey"
:
"CodeList"
,
"emptytext"
:
"未定义"
,
...
...
app_Web/src/locale/lanres/codelist/codelist_en_US.ts
浏览文件 @
a8b67d66
...
...
@@ -66,6 +66,17 @@ export default {
"4"
:
"类型3"
,
"empty"
:
""
},
AppViewType
:
{
"SingleDataView"
:
"单数据视图"
,
"MultipleDataView"
:
"多数据视图"
,
"NavigationView"
:
"导航视图"
,
"SelectView"
:
"选择视图"
,
"WorkflowView"
:
"工作流视图"
,
"ApplicationView"
:
"应用视图"
,
"FunctionalView"
:
"功能视图"
,
"OtherView"
:
"其他视图"
,
"empty"
:
""
},
CodeList
:
{
"100"
:
"第一图书馆"
,
"300"
:
"第三图书馆"
,
...
...
app_Web/src/locale/lanres/codelist/codelist_zh_CN.ts
浏览文件 @
a8b67d66
...
...
@@ -66,6 +66,17 @@ export default {
"4"
:
"类型3"
,
"empty"
:
""
,
},
AppViewType
:
{
"SingleDataView"
:
"单数据视图"
,
"MultipleDataView"
:
"多数据视图"
,
"NavigationView"
:
"导航视图"
,
"SelectView"
:
"选择视图"
,
"WorkflowView"
:
"工作流视图"
,
"ApplicationView"
:
"应用视图"
,
"FunctionalView"
:
"功能视图"
,
"OtherView"
:
"其他视图"
,
"empty"
:
""
,
},
CodeList
:
{
"100"
:
"第一图书馆"
,
"300"
:
"第三图书馆"
,
...
...
app_Web/src/mock/codelist/codelist.ts
浏览文件 @
a8b67d66
...
...
@@ -460,6 +460,101 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey
:
"AppViewType"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"SingleDataView"
,
label
:
"单数据视图"
,
text
:
"单数据视图"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Singledataview"
,
value
:
"SingleDataView"
,
disabled
:
false
,
},
{
id
:
"MultipleDataView"
,
label
:
"多数据视图"
,
text
:
"多数据视图"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Multipledataview"
,
value
:
"MultipleDataView"
,
disabled
:
false
,
},
{
id
:
"NavigationView"
,
label
:
"导航视图"
,
text
:
"导航视图"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Navigationview"
,
value
:
"NavigationView"
,
disabled
:
false
,
},
{
id
:
"SelectView"
,
label
:
"选择视图"
,
text
:
"选择视图"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Selectview"
,
value
:
"SelectView"
,
disabled
:
false
,
},
{
id
:
"WorkflowView"
,
label
:
"工作流视图"
,
text
:
"工作流视图"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Workflowview"
,
value
:
"WorkflowView"
,
disabled
:
false
,
},
{
id
:
"ApplicationView"
,
label
:
"应用视图"
,
text
:
"应用视图"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Applicationview"
,
value
:
"ApplicationView"
,
disabled
:
false
,
},
{
id
:
"FunctionalView"
,
label
:
"功能视图"
,
text
:
"功能视图"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Functionalview"
,
value
:
"FunctionalView"
,
disabled
:
false
,
},
{
id
:
"OtherView"
,
label
:
"其他视图"
,
text
:
"其他视图"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Otherview"
,
value
:
"OtherView"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"CodeList"
,
emptytext
:
"未定义"
,
...
...
app_Web/src/widgets/ibizviewmess/main-form/main-form-base.vue
浏览文件 @
a8b67d66
...
...
@@ -31,14 +31,21 @@
</i-col>
<i-col
v-show=
"detailsModel.viewtype.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'viewtype'
:itemRules=
"this.rules().viewtype"
class=
''
:caption=
"$t('entities.ibizviewmess.main_form.details.viewtype')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.viewtype.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.viewtype"
@
enter=
"onEnter($event)"
unit=
""
<dropdown-list
v-model=
"data.viewtype"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:formState=
"formState"
:localContext =
'
{ }'
:localParam ='{ }'
:disabled="detailsModel.viewtype.disabled"
type=
'text'
style=
""
>
</input-box>
valueType="string"
tag='AppViewType'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
</app-form-item>
...
...
demo-util/src/main/java/cn/ibizlab/util/dict/StaticDict.java
浏览文件 @
a8b67d66
...
...
@@ -1213,6 +1213,32 @@ public class StaticDict {
}
/**
* 代码表[视图类型]
*/
@Getter
public
enum
AppViewType
{
SINGLEDATAVIEW
(
"SingleDataView"
,
"单数据视图"
),
MULTIPLEDATAVIEW
(
"MultipleDataView"
,
"多数据视图"
),
NAVIGATIONVIEW
(
"NavigationView"
,
"导航视图"
),
SELECTVIEW
(
"SelectView"
,
"选择视图"
),
WORKFLOWVIEW
(
"WorkflowView"
,
"工作流视图"
),
APPLICATIONVIEW
(
"ApplicationView"
,
"应用视图"
),
FUNCTIONALVIEW
(
"FunctionalView"
,
"功能视图"
),
OTHERVIEW
(
"OtherView"
,
"其他视图"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
AppViewType
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[输入辅助_消息模板宏]
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录