Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzlite
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzlite
提交
f46ce07c
提交
f46ce07c
编写于
3月 02, 2021
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zhouweidong 发布系统代码 [ibz-lite,应用]
上级
aecf75b7
变更
5
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
86 行增加
和
19 行删除
+86
-19
meta-dynamic-model_BO_CN_base.ts
...ities/meta-dynamic-model/meta-dynamic-model_BO_CN_base.ts
+8
-0
meta-dynamic-model_en_US_base.ts
...ities/meta-dynamic-model/meta-dynamic-model_en_US_base.ts
+8
-0
meta-dynamic-model_zh_CN_base.ts
...ities/meta-dynamic-model/meta-dynamic-model_zh_CN_base.ts
+8
-0
meta-dynamic-model-dyna-inst-grid-view-base.vue
...grid-view/meta-dynamic-model-dyna-inst-grid-view-base.vue
+43
-0
h2_table.xml
ibzlite-core/src/main/resources/liquibase/h2_table.xml
+19
-19
未找到文件。
app_web/src/locale/lanres/entities/meta-dynamic-model/meta-dynamic-model_BO_CN_base.ts
浏览文件 @
f46ce07c
...
...
@@ -130,6 +130,14 @@ function getLocaleResourceBase(){
},
},
dynainstgridviewtoolbar_toolbar
:
{
tbitem1_publish
:
{
caption
:
commonLogic
.
appcommonhandle
(
"发布模型"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"发布模型"
,
null
),
},
tbitem2
:
{
caption
:
commonLogic
.
appcommonhandle
(
"-"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
""
,
null
),
},
tbitem3
:
{
caption
:
commonLogic
.
appcommonhandle
(
"新建"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"新建"
,
null
),
...
...
app_web/src/locale/lanres/entities/meta-dynamic-model/meta-dynamic-model_en_US_base.ts
浏览文件 @
f46ce07c
...
...
@@ -130,6 +130,14 @@ function getLocaleResourceBase(){
},
},
dynainstgridviewtoolbar_toolbar
:
{
tbitem1_publish
:
{
caption
:
commonLogic
.
appcommonhandle
(
"发布模型"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"发布模型"
,
null
),
},
tbitem2
:
{
caption
:
commonLogic
.
appcommonhandle
(
"-"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
""
,
null
),
},
tbitem3
:
{
caption
:
commonLogic
.
appcommonhandle
(
"New"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"New"
,
null
),
...
...
app_web/src/locale/lanres/entities/meta-dynamic-model/meta-dynamic-model_zh_CN_base.ts
浏览文件 @
f46ce07c
...
...
@@ -130,6 +130,14 @@ function getLocaleResourceBase(){
},
},
dynainstgridviewtoolbar_toolbar
:
{
tbitem1_publish
:
{
caption
:
commonLogic
.
appcommonhandle
(
"发布模型"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"发布模型"
,
null
),
},
tbitem2
:
{
caption
:
commonLogic
.
appcommonhandle
(
"-"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
""
,
null
),
},
tbitem3
:
{
caption
:
commonLogic
.
appcommonhandle
(
"新建"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"新建"
,
null
),
...
...
app_web/src/pages/lite/meta-dynamic-model-dyna-inst-grid-view/meta-dynamic-model-dyna-inst-grid-view-base.vue
浏览文件 @
f46ce07c
...
...
@@ -12,6 +12,14 @@
<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=
"配置名称"
/>
<div
class=
'pull-right'
>
<div
class=
'toolbar-container'
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"toolBarModels.tbitem1_publish.visabled"
:disabled=
"toolBarModels.tbitem1_publish.disabled"
class=
''
v-loading:i-button
@
click=
"toolbar_click(
{ tag: 'tbitem1_publish' }, $event)">
<i
class=
''
></i>
<span
class=
'caption'
>
{{
$t
(
'entities.metadynamicmodel.dynainstgridviewtoolbar_toolbar.tbitem1_publish.caption'
)
}}
</span>
</i-button>
<div
slot=
'content'
>
{{
$t
(
'entities.metadynamicmodel.dynainstgridviewtoolbar_toolbar.tbitem1_publish.tip'
)
}}
</div>
</tooltip>
<span
class=
'seperator'
>
|
</span>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"toolBarModels.tbitem3.visabled"
:disabled=
"toolBarModels.tbitem3.disabled"
class=
''
v-loading:i-button
@
click=
"toolbar_click(
{ tag: 'tbitem3' }, $event)">
<i
class=
'fa fa-file-text-o'
></i>
...
...
@@ -369,6 +377,9 @@ export default class MetaDynamicModelDynaInstGridViewBase extends Vue {
* @memberof MetaDynamicModelDynaInstGridView
*/
public
toolBarModels
:
any
=
{
tbitem1_publish
:
{
name
:
'tbitem1_publish'
,
actiontarget
:
'NONE'
,
caption
:
'发布模型'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'publish'
,
target
:
'SINGLEKEY'
}
},
tbitem2
:
{
name
:
'tbitem2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem3
:
{
name
:
'tbitem3'
,
actiontarget
:
'NONE'
,
caption
:
'新建'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'New'
,
target
:
''
}
},
tbitem4
:
{
name
:
'tbitem4'
,
actiontarget
:
'NONE'
,
caption
:
'编辑'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
}
},
...
...
@@ -744,6 +755,9 @@ export default class MetaDynamicModelDynaInstGridViewBase extends Vue {
* @memberof MetaDynamicModelDynaInstGridViewBase
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem1_publish'
))
{
this
.
toolbar_tbitem1_publish_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
this
.
toolbar_tbitem3_click
(
null
,
''
,
$event2
);
}
...
...
@@ -886,6 +900,35 @@ export default class MetaDynamicModelDynaInstGridViewBase extends Vue {
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem1_publish_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
const
curUIService
:
MetaDynamicModelUIService
=
new
MetaDynamicModelUIService
();
curUIService
.
MetaDynamicModel_publish
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"MetaDynamicModel"
);
}
/**
* 逻辑事件
*
...
...
ibzlite-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
f46ce07c
...
...
@@ -4,7 +4,7 @@
<!--输出实体[BLADE_VISUAL]数据结构 -->
<changeSet
author=
"
root
"
id=
"tab-blade_visual-55-1"
>
<changeSet
author=
"
a_A_5d9d78509
"
id=
"tab-blade_visual-55-1"
>
<createTable
tableName=
"blade_visual"
>
<column
name=
"ID"
remarks=
""
type=
"BIGINT"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_BLADE_VISUAL_ID"
/>
...
...
@@ -36,7 +36,7 @@
<!--输出实体[BLADE_VISUAL_CATEGORY]数据结构 -->
<changeSet
author=
"
root
"
id=
"tab-blade_visual_category-23-2"
>
<changeSet
author=
"
a_A_5d9d78509
"
id=
"tab-blade_visual_category-23-2"
>
<createTable
tableName=
"blade_visual_category"
>
<column
name=
"ID"
remarks=
""
type=
"BIGINT"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_BLADE_VISUAL_CATEGORY_ID"
/>
...
...
@@ -52,7 +52,7 @@
<!--输出实体[BLADE_VISUAL_CONFIG]数据结构 -->
<changeSet
author=
"
root
"
id=
"tab-blade_visual_config-18-3"
>
<changeSet
author=
"
a_A_5d9d78509
"
id=
"tab-blade_visual_config-18-3"
>
<createTable
tableName=
"blade_visual_config"
>
<column
name=
"ID"
remarks=
""
type=
"BIGINT"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_BLADE_VISUAL_CONFIG_ID"
/>
...
...
@@ -68,7 +68,7 @@
<!--输出实体[BLADE_VISUAL_MAP]数据结构 -->
<changeSet
author=
"
root
"
id=
"tab-blade_visual_map-18-4"
>
<changeSet
author=
"
a_A_5d9d78509
"
id=
"tab-blade_visual_map-18-4"
>
<createTable
tableName=
"blade_visual_map"
>
<column
name=
"ID"
remarks=
""
type=
"BIGINT"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_BLADE_VISUAL_MAP_ID"
/>
...
...
@@ -86,7 +86,7 @@
<!--输出实体[DST_COMPONENT]数据结构 -->
<changeSet
author=
"
root
"
id=
"tab-dst_component-59-5"
>
<changeSet
author=
"
a_A_5d9d78509
"
id=
"tab-dst_component-59-5"
>
<createTable
tableName=
"IBZCOMPONENT"
>
<column
name=
"CID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_DST_COMPONENT_CID"
/>
...
...
@@ -112,7 +112,7 @@
<!--输出实体[DST_CONFIG]数据结构 -->
<changeSet
author=
"
root
"
id=
"tab-dst_config-32-6"
>
<changeSet
author=
"
a_A_5d9d78509
"
id=
"tab-dst_config-32-6"
>
<createTable
tableName=
"IBZCFG"
>
<column
name=
"CFGID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_DST_CONFIG_CFGID"
/>
...
...
@@ -134,7 +134,7 @@
<!--输出实体[DST_DATASOURCE]数据结构 -->
<changeSet
author=
"
root
"
id=
"tab-dst_datasource-75-7"
>
<changeSet
author=
"
a_A_5d9d78509
"
id=
"tab-dst_datasource-75-7"
>
<createTable
tableName=
"IBZDATASOURCE"
>
<column
name=
"DSID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_DST_DATASOURCE_DSID"
/>
...
...
@@ -152,7 +152,7 @@
<!--输出实体[DST_ROUTER]数据结构 -->
<changeSet
author=
"
root
"
id=
"tab-dst_router-37-8"
>
<changeSet
author=
"
a_A_5d9d78509
"
id=
"tab-dst_router-37-8"
>
<createTable
tableName=
"IBZROUTER"
>
<column
name=
"ROUTERID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_DST_ROUTER_ROUTERID"
/>
...
...
@@ -178,7 +178,7 @@
<!--输出实体[DST_SYSTEM]数据结构 -->
<changeSet
author=
"
root
"
id=
"tab-dst_system-45-9"
>
<changeSet
author=
"
a_A_5d9d78509
"
id=
"tab-dst_system-45-9"
>
<createTable
tableName=
"IBZPSSYSTEM"
>
<column
name=
"PSSYSTEMID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_DST_SYSTEM_PSSYSTEMID"
/>
...
...
@@ -198,7 +198,7 @@
<!--输出实体[DST_VIEW]数据结构 -->
<changeSet
author=
"
root
"
id=
"tab-dst_view-46-10"
>
<changeSet
author=
"
a_A_5d9d78509
"
id=
"tab-dst_view-46-10"
>
<createTable
tableName=
"IBZVIEW"
>
<column
name=
"VIEWID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_DST_VIEW_VIEWID"
/>
...
...
@@ -222,7 +222,7 @@
<!--输出实体[META_DATASET]数据结构 -->
<changeSet
author=
"
root
"
id=
"tab-meta_dataset-33-11"
>
<changeSet
author=
"
a_A_5d9d78509
"
id=
"tab-meta_dataset-33-11"
>
<createTable
tableName=
"IBZDATASET"
>
<column
name=
"DATASETID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_META_DATASET_DATASETID"
/>
...
...
@@ -244,7 +244,7 @@
<!--输出实体[META_DYNAMICMODEL]数据结构 -->
<changeSet
author=
"
root"
id=
"tab-meta_dynamicmodel-75
-12"
>
<changeSet
author=
"
a_A_5d9d78509"
id=
"tab-meta_dynamicmodel-79
-12"
>
<createTable
tableName=
"IBZDYNAMICMODEL"
>
<column
name=
"DYNAINSTID"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
...
...
@@ -266,7 +266,7 @@
<!--输出实体[META_ENTITY]数据结构 -->
<changeSet
author=
"
root
"
id=
"tab-meta_entity-105-13"
>
<changeSet
author=
"
a_A_5d9d78509
"
id=
"tab-meta_entity-105-13"
>
<createTable
tableName=
"IBZENTITY"
>
<column
name=
"ENTITYID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_META_ENTITY_ENTITYID"
/>
...
...
@@ -298,7 +298,7 @@
<!--输出实体[META_FIELD]数据结构 -->
<changeSet
author=
"
root
"
id=
"tab-meta_field-153-14"
>
<changeSet
author=
"
a_A_5d9d78509
"
id=
"tab-meta_field-153-14"
>
<createTable
tableName=
"IBZFIELD"
>
<column
name=
"FIELDID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_META_FIELD_FIELDID"
/>
...
...
@@ -362,7 +362,7 @@
<!--输出实体[META_MODEL]数据结构 -->
<changeSet
author=
"
root
"
id=
"tab-meta_model-44-15"
>
<changeSet
author=
"
a_A_5d9d78509
"
id=
"tab-meta_model-44-15"
>
<createTable
tableName=
"IBZMODEL"
>
<column
name=
"MODELID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_META_MODEL_MODELID"
/>
...
...
@@ -388,7 +388,7 @@
<!--输出实体[META_MODULE]数据结构 -->
<changeSet
author=
"
root
"
id=
"tab-meta_module-34-16"
>
<changeSet
author=
"
a_A_5d9d78509
"
id=
"tab-meta_module-34-16"
>
<createTable
tableName=
"IBZMODULE"
>
<column
name=
"MODULEID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_META_MODULE_MODULEID"
/>
...
...
@@ -406,7 +406,7 @@
<!--输出实体[META_RELATION]数据结构 -->
<changeSet
author=
"
root
"
id=
"tab-meta_relation-106-17"
>
<changeSet
author=
"
a_A_5d9d78509
"
id=
"tab-meta_relation-106-17"
>
<createTable
tableName=
"IBZRELATION"
>
<column
name=
"RELATIONID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_META_RELATION_RELATIONID"
/>
...
...
@@ -448,10 +448,10 @@
<!--输出实体[DST_VIEW]外键关系 -->
<!--输出实体[META_DATASET]外键关系 -->
<!--输出实体[META_DYNAMICMODEL]外键关系 -->
<changeSet
author=
"
root"
id=
"fk-meta_dynamicmodel-75
-18"
>
<changeSet
author=
"
a_A_5d9d78509"
id=
"fk-meta_dynamicmodel-79
-18"
>
<addForeignKeyConstraint
baseColumnNames=
"SYSTEMID"
baseTableName=
"IBZDYNAMICMODEL"
constraintName=
"DER1N_META_DYNAMICMODEL_DST_SY"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"PSSYSTEMID"
referencedTableName=
"IBZPSSYSTEM"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"
root"
id=
"fk-meta_dynamicmodel-75
-19"
>
<changeSet
author=
"
a_A_5d9d78509"
id=
"fk-meta_dynamicmodel-79
-19"
>
<addForeignKeyConstraint
baseColumnNames=
"PDYNAINSTID"
baseTableName=
"IBZDYNAMICMODEL"
constraintName=
"DER1N_META_DYNAMICMODEL_META_D"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"CONFIGID"
referencedTableName=
"IBZDYNAMICMODEL"
validate=
"true"
/>
</changeSet>
<!--输出实体[META_ENTITY]外键关系 -->
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录