Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzdst
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
1
议题
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzdst
提交
d3045b2e
提交
d3045b2e
编写于
12月 09, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ibiz4j 发布系统代码 [ibz-dst,应用]
上级
e7a6abd6
变更
18
显示空白字符变更
内嵌
并排
正在显示
18 个修改的文件
包含
114 行增加
和
68 行删除
+114
-68
dabuild_en_US.ts
app_web/src/locale/lanres/entities/dabuild/dabuild_en_US.ts
+1
-0
dabuild_zh_CN.ts
app_web/src/locale/lanres/entities/dabuild/dabuild_zh_CN.ts
+1
-0
meta-relationship_en_US.ts
...res/entities/meta-relationship/meta-relationship_en_US.ts
+1
-0
meta-relationship_zh_CN.ts
...res/entities/meta-relationship/meta-relationship_zh_CN.ts
+1
-0
rule-engine_en_US.ts
...c/locale/lanres/entities/rule-engine/rule-engine_en_US.ts
+1
-0
rule-engine_zh_CN.ts
...c/locale/lanres/entities/rule-engine/rule-engine_zh_CN.ts
+1
-0
state.ts
app_web/src/store/modules/view-action/state.ts
+0
-1
main-form-base.vue
app_web/src/widgets/dabuild/main-form/main-form-base.vue
+22
-0
main-form-model.ts
app_web/src/widgets/dabuild/main-form/main-form-model.ts
+5
-0
main-form-base.vue
app_web/src/widgets/dametric/main-form/main-form-base.vue
+1
-1
main-form-base.vue
...eb/src/widgets/meta-data-set/main-form/main-form-base.vue
+8
-22
main-form-service.ts
.../src/widgets/meta-data-set/main-form/main-form-service.ts
+0
-12
main-form-base.vue
app_web/src/widgets/meta-entity/main-form/main-form-base.vue
+1
-1
main-form-base.vue
...rc/widgets/meta-relationship/main-form/main-form-base.vue
+31
-23
main-form-model.ts
...rc/widgets/meta-relationship/main-form/main-form-model.ts
+5
-0
main-form-base.vue
app_web/src/widgets/rule-engine/main-form/main-form-base.vue
+22
-0
main-form-model.ts
app_web/src/widgets/rule-engine/main-form/main-form-model.ts
+5
-0
h2_table.xml
ibzdst-core/src/main/resources/liquibase/h2_table.xml
+8
-8
未找到文件。
app_web/src/locale/lanres/entities/dabuild/dabuild_en_US.ts
浏览文件 @
d3045b2e
...
@@ -50,6 +50,7 @@ export default {
...
@@ -50,6 +50,7 @@ export default {
buildstate
:
"状态"
,
buildstate
:
"状态"
,
dadimension
:
"维度"
,
dadimension
:
"维度"
,
modelid
:
"模型标识"
,
modelid
:
"模型标识"
,
systemid
:
"系统标识"
,
buildid
:
"标识"
,
buildid
:
"标识"
,
},
},
uiactions
:
{
uiactions
:
{
...
...
app_web/src/locale/lanres/entities/dabuild/dabuild_zh_CN.ts
浏览文件 @
d3045b2e
...
@@ -49,6 +49,7 @@ export default {
...
@@ -49,6 +49,7 @@ export default {
buildstate
:
"状态"
,
buildstate
:
"状态"
,
dadimension
:
"维度"
,
dadimension
:
"维度"
,
modelid
:
"模型标识"
,
modelid
:
"模型标识"
,
systemid
:
"系统标识"
,
buildid
:
"标识"
,
buildid
:
"标识"
,
},
},
uiactions
:
{
uiactions
:
{
...
...
app_web/src/locale/lanres/entities/meta-relationship/meta-relationship_en_US.ts
浏览文件 @
d3045b2e
...
@@ -58,6 +58,7 @@ export default {
...
@@ -58,6 +58,7 @@ export default {
nestedname
:
"嵌套代码名称"
,
nestedname
:
"嵌套代码名称"
,
refentityid
:
"引用实体标识"
,
refentityid
:
"引用实体标识"
,
entityid
:
"实体标识"
,
entityid
:
"实体标识"
,
systemid
:
"系统"
,
relationid
:
"关系标识"
,
relationid
:
"关系标识"
,
},
},
uiactions
:
{
uiactions
:
{
...
...
app_web/src/locale/lanres/entities/meta-relationship/meta-relationship_zh_CN.ts
浏览文件 @
d3045b2e
...
@@ -57,6 +57,7 @@ export default {
...
@@ -57,6 +57,7 @@ export default {
nestedname
:
"嵌套代码名称"
,
nestedname
:
"嵌套代码名称"
,
refentityid
:
"引用实体标识"
,
refentityid
:
"引用实体标识"
,
entityid
:
"实体标识"
,
entityid
:
"实体标识"
,
systemid
:
"系统"
,
relationid
:
"关系标识"
,
relationid
:
"关系标识"
,
},
},
uiactions
:
{
uiactions
:
{
...
...
app_web/src/locale/lanres/entities/rule-engine/rule-engine_en_US.ts
浏览文件 @
d3045b2e
...
@@ -37,6 +37,7 @@ export default {
...
@@ -37,6 +37,7 @@ export default {
execstate
:
"状态"
,
execstate
:
"状态"
,
lastruntime
:
"上次执行时间"
,
lastruntime
:
"上次执行时间"
,
modelid
:
"模型标识"
,
modelid
:
"模型标识"
,
systemid
:
"系统"
,
engineid
:
"标识"
,
engineid
:
"标识"
,
},
},
uiactions
:
{
uiactions
:
{
...
...
app_web/src/locale/lanres/entities/rule-engine/rule-engine_zh_CN.ts
浏览文件 @
d3045b2e
...
@@ -36,6 +36,7 @@ export default {
...
@@ -36,6 +36,7 @@ export default {
execstate
:
"状态"
,
execstate
:
"状态"
,
lastruntime
:
"上次执行时间"
,
lastruntime
:
"上次执行时间"
,
modelid
:
"模型标识"
,
modelid
:
"模型标识"
,
systemid
:
"系统"
,
engineid
:
"标识"
,
engineid
:
"标识"
,
},
},
uiactions
:
{
uiactions
:
{
...
...
app_web/src/store/modules/view-action/state.ts
浏览文件 @
d3045b2e
...
@@ -197,7 +197,6 @@ export const viewstate: any = {
...
@@ -197,7 +197,6 @@ export const viewstate: any = {
viewaction
:
''
,
viewaction
:
''
,
viewdatachange
:
false
,
viewdatachange
:
false
,
refviews
:
[
refviews
:
[
'601fb9bf6eec2a7e264e7142017715a4'
,
],
],
},
},
{
{
...
...
app_web/src/widgets/dabuild/main-form/main-form-base.vue
浏览文件 @
d3045b2e
...
@@ -505,6 +505,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -505,6 +505,7 @@ export default class MainBase extends Vue implements ControlInterface {
buildstate
:
null
,
buildstate
:
null
,
dadimension
:
null
,
dadimension
:
null
,
modelid
:
null
,
modelid
:
null
,
systemid
:
null
,
buildid
:
null
,
buildid
:
null
,
dabuild
:
null
,
dabuild
:
null
,
};
};
...
@@ -713,6 +714,8 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -713,6 +714,8 @@ export default class MainBase extends Vue implements ControlInterface {
dadimension
:
new
FormItemModel
({
caption
:
'维度'
,
detailType
:
'FORMITEM'
,
name
:
'dadimension'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
dadimension
:
new
FormItemModel
({
caption
:
'维度'
,
detailType
:
'FORMITEM'
,
name
:
'dadimension'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
,
modelid
:
new
FormItemModel
({
caption
:
'模型标识'
,
detailType
:
'FORMITEM'
,
name
:
'modelid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
modelid
:
new
FormItemModel
({
caption
:
'模型标识'
,
detailType
:
'FORMITEM'
,
name
:
'modelid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
systemid
:
new
FormItemModel
({
caption
:
'系统标识'
,
detailType
:
'FORMITEM'
,
name
:
'systemid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
,
buildid
:
new
FormItemModel
({
caption
:
'标识'
,
detailType
:
'FORMITEM'
,
name
:
'buildid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
buildid
:
new
FormItemModel
({
caption
:
'标识'
,
detailType
:
'FORMITEM'
,
name
:
'buildid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
,
...
@@ -874,6 +877,18 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -874,6 +877,18 @@ export default class MainBase extends Vue implements ControlInterface {
this
.
formDataChange
({
name
:
'modelid'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
this
.
formDataChange
({
name
:
'modelid'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
}
/**
* 监控表单属性 systemid 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@
Watch
(
'data.systemid'
)
onSystemidChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'systemid'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
/**
* 监控表单属性 buildid 值
* 监控表单属性 buildid 值
*
*
...
@@ -957,6 +972,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -957,6 +972,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}
/**
/**
...
@@ -2038,6 +2054,9 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -2038,6 +2054,9 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase
* @memberof MainBase
*/
*/
public
createDefault
(){
public
createDefault
(){
if
(
this
.
data
.
hasOwnProperty
(
'systemid'
))
{
this
.
data
[
'systemid'
]
=
this
.
context
[
'dstsystemid'
];
}
}
}
/**
/**
...
@@ -2045,6 +2064,9 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -2045,6 +2064,9 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase
* @memberof MainBase
*/
*/
public
updateDefault
(){
public
updateDefault
(){
if
(
this
.
data
.
hasOwnProperty
(
'systemid'
)
&&
!
this
.
data
.
systemid
)
{
this
.
data
[
'systemid'
]
=
this
.
context
[
'dstsystemid'
];
}
}
}
...
...
app_web/src/widgets/dabuild/main-form/main-form-model.ts
浏览文件 @
d3045b2e
...
@@ -80,6 +80,11 @@ export default class MainModel {
...
@@ -80,6 +80,11 @@ export default class MainModel {
prop
:
'model_id'
,
prop
:
'model_id'
,
dataType
:
'PICKUP'
,
dataType
:
'PICKUP'
,
},
},
{
name
:
'systemid'
,
prop
:
'system_id'
,
dataType
:
'PICKUPDATA'
,
},
{
{
name
:
'buildid'
,
name
:
'buildid'
,
prop
:
'build_id'
,
prop
:
'build_id'
,
...
...
app_web/src/widgets/dametric/main-form/main-form-base.vue
浏览文件 @
d3045b2e
...
@@ -71,7 +71,7 @@
...
@@ -71,7 +71,7 @@
:viewparams=
"viewparams"
:viewparams=
"viewparams"
:formState=
"formState"
:formState=
"formState"
:localContext =
'
{ }'
:localContext =
'
{ }'
:localParam ='{ }'
:localParam ='{
n_buildid_eq:"%buildid%"
}'
:disabled="detailsModel.refmetric.disabled"
:disabled="detailsModel.refmetric.disabled"
valueType="string"
valueType="string"
tag='CLMetric'
tag='CLMetric'
...
...
app_web/src/widgets/meta-data-set/main-form/main-form-base.vue
浏览文件 @
d3045b2e
...
@@ -35,28 +35,14 @@
...
@@ -35,28 +35,14 @@
</i-col>
</i-col>
<i-col
v-show=
"detailsModel.entityname.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<i-col
v-show=
"detailsModel.entityname.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'entityname'
:itemRules=
"this.rules().entityname"
class=
''
:caption=
"$t('entities.metadataset.main_form.details.entityname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.entityname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-form-item
name=
'entityname'
:itemRules=
"this.rules().entityname"
class=
''
:caption=
"$t('entities.metadataset.main_form.details.entityname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.entityname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
<app-picker
v-model=
"data.entityname"
:formState=
"formState"
@
enter=
"onEnter($event)"
:data=
"data"
unit=
""
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }'
:localParam ='{ }'
:disabled=
"detailsModel.entityname.disabled"
:disabled=
"detailsModel.entityname.disabled"
name='entityname'
type=
'text'
style=
""
>
deMajorField='entity_name'
</input-box>
deKeyField='metaentity'
:service="service"
:acParams="{ serviceName: 'MetaEntityService', interfaceName: 'FetchDefault'}"
valueitem='entityid'
:value="data.entityname"
editortype=""
:pickupView="{ viewname: 'meta-entity-pickup-view', title: $t('entities.metaentity.views.pickupview.title'), deResParameters: [{ pathName: 'dstsystems', parameterName: 'dstsystem' }, ], parameters: [{ pathName: 'metaentities', parameterName: 'metaentity' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
style=""
@formitemvaluechange="onFormItemValueChange">
</app-picker>
</app-form-item>
</app-form-item>
...
...
app_web/src/widgets/meta-data-set/main-form/main-form-service.ts
浏览文件 @
d3045b2e
...
@@ -2,7 +2,6 @@ import { Http,Util,Errorlog } from '@/utils';
...
@@ -2,7 +2,6 @@ import { Http,Util,Errorlog } from '@/utils';
import
ControlService
from
'@/widgets/control-service'
;
import
ControlService
from
'@/widgets/control-service'
;
import
MetaDataSetService
from
'@/service/meta-data-set/meta-data-set-service'
;
import
MetaDataSetService
from
'@/service/meta-data-set/meta-data-set-service'
;
import
MainModel
from
'./main-form-model'
;
import
MainModel
from
'./main-form-model'
;
import
MetaEntityService
from
'@/service/meta-entity/meta-entity-service'
;
/**
/**
...
@@ -42,14 +41,6 @@ export default class MainService extends ControlService {
...
@@ -42,14 +41,6 @@ export default class MainService extends ControlService {
this
.
model
=
new
MainModel
();
this
.
model
=
new
MainModel
();
}
}
/**
* 实体服务对象
*
* @type {MetaEntityService}
* @memberof MainService
*/
public
metaentityService
:
MetaEntityService
=
new
MetaEntityService
();
/**
/**
* 远端数据
* 远端数据
*
*
...
@@ -99,9 +90,6 @@ export default class MainService extends ControlService {
...
@@ -99,9 +90,6 @@ export default class MainService extends ControlService {
public
getItems
(
serviceName
:
string
,
interfaceName
:
string
,
context
:
any
=
{},
data
:
any
,
isloading
?:
boolean
):
Promise
<
any
[]
>
{
public
getItems
(
serviceName
:
string
,
interfaceName
:
string
,
context
:
any
=
{},
data
:
any
,
isloading
?:
boolean
):
Promise
<
any
[]
>
{
data
.
page
=
data
.
page
?
data
.
page
:
0
;
data
.
page
=
data
.
page
?
data
.
page
:
0
;
data
.
size
=
data
.
size
?
data
.
size
:
1000
;
data
.
size
=
data
.
size
?
data
.
size
:
1000
;
if
(
Object
.
is
(
serviceName
,
'MetaEntityService'
)
&&
Object
.
is
(
interfaceName
,
'FetchDefault'
))
{
return
this
.
doItems
(
this
.
metaentityService
.
FetchDefault
(
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
,
isloading
),
'entity_id'
,
'metaentity'
);
}
return
Promise
.
reject
([])
return
Promise
.
reject
([])
}
}
...
...
app_web/src/widgets/meta-entity/main-form/main-form-base.vue
浏览文件 @
d3045b2e
...
@@ -70,7 +70,7 @@
...
@@ -70,7 +70,7 @@
:context=
"context"
:context=
"context"
:viewparams=
"viewparams"
:viewparams=
"viewparams"
:localContext =
'
{ }'
:localContext =
'
{ }'
:localParam ='{ }'
:localParam ='{
n_systemid_eq:"%systemid%"
}'
:disabled="detailsModel.modulename.disabled"
:disabled="detailsModel.modulename.disabled"
name='modulename'
name='modulename'
...
...
app_web/src/widgets/meta-relationship/main-form/main-form-base.vue
浏览文件 @
d3045b2e
...
@@ -35,28 +35,14 @@
...
@@ -35,28 +35,14 @@
</i-col>
</i-col>
<i-col
v-show=
"detailsModel.entityname.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<i-col
v-show=
"detailsModel.entityname.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'entityname'
:itemRules=
"this.rules().entityname"
class=
''
:caption=
"$t('entities.metarelationship.main_form.details.entityname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.entityname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-form-item
name=
'entityname'
:itemRules=
"this.rules().entityname"
class=
''
:caption=
"$t('entities.metarelationship.main_form.details.entityname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.entityname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
<app-picker
v-model=
"data.entityname"
:formState=
"formState"
@
enter=
"onEnter($event)"
:data=
"data"
unit=
""
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }'
:localParam ='{ }'
:disabled=
"detailsModel.entityname.disabled"
:disabled=
"detailsModel.entityname.disabled"
name='entityname'
type=
'text'
style=
""
>
deMajorField='entity_name'
</input-box>
deKeyField='metaentity'
:service="service"
:acParams="{ serviceName: 'MetaEntityService', interfaceName: 'FetchDefault'}"
valueitem='entityid'
:value="data.entityname"
editortype=""
:pickupView="{ viewname: 'meta-entity-pickup-view', title: $t('entities.metaentity.views.pickupview.title'), deResParameters: [{ pathName: 'dstsystems', parameterName: 'dstsystem' }, ], parameters: [{ pathName: 'metaentities', parameterName: 'metaentity' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
style=""
@formitemvaluechange="onFormItemValueChange">
</app-picker>
</app-form-item>
</app-form-item>
...
@@ -84,7 +70,7 @@
...
@@ -84,7 +70,7 @@
:context=
"context"
:context=
"context"
:viewparams=
"viewparams"
:viewparams=
"viewparams"
:localContext =
'
{ }'
:localContext =
'
{ }'
:localParam ='{ }'
:localParam ='{
n_systemid_eq:"%systemid%"
}'
:disabled="detailsModel.refentityname.disabled"
:disabled="detailsModel.refentityname.disabled"
name='refentityname'
name='refentityname'
...
@@ -530,6 +516,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -530,6 +516,7 @@ export default class MainBase extends Vue implements ControlInterface {
nestedname
:
null
,
nestedname
:
null
,
refentityid
:
null
,
refentityid
:
null
,
entityid
:
null
,
entityid
:
null
,
systemid
:
null
,
relationid
:
null
,
relationid
:
null
,
metarelationship
:
null
,
metarelationship
:
null
,
};
};
...
@@ -748,6 +735,8 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -748,6 +735,8 @@ export default class MainBase extends Vue implements ControlInterface {
refentityid
:
new
FormItemModel
({
caption
:
'引用实体标识'
,
detailType
:
'FORMITEM'
,
name
:
'refentityid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
refentityid
:
new
FormItemModel
({
caption
:
'引用实体标识'
,
detailType
:
'FORMITEM'
,
name
:
'refentityid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
,
entityid
:
new
FormItemModel
({
caption
:
'实体标识'
,
detailType
:
'FORMITEM'
,
name
:
'entityid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
entityid
:
new
FormItemModel
({
caption
:
'实体标识'
,
detailType
:
'FORMITEM'
,
name
:
'entityid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
systemid
:
new
FormItemModel
({
caption
:
'系统'
,
detailType
:
'FORMITEM'
,
name
:
'systemid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
,
relationid
:
new
FormItemModel
({
caption
:
'关系标识'
,
detailType
:
'FORMITEM'
,
name
:
'relationid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
relationid
:
new
FormItemModel
({
caption
:
'关系标识'
,
detailType
:
'FORMITEM'
,
name
:
'relationid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
,
...
@@ -945,6 +934,18 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -945,6 +934,18 @@ export default class MainBase extends Vue implements ControlInterface {
this
.
formDataChange
({
name
:
'entityid'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
this
.
formDataChange
({
name
:
'entityid'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
}
/**
* 监控表单属性 systemid 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@
Watch
(
'data.systemid'
)
onSystemidChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'systemid'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
/**
* 监控表单属性 relationid 值
* 监控表单属性 relationid 值
*
*
...
@@ -1029,6 +1030,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1029,6 +1030,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}
...
@@ -2112,6 +2114,9 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -2112,6 +2114,9 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase
* @memberof MainBase
*/
*/
public
createDefault
(){
public
createDefault
(){
if
(
this
.
data
.
hasOwnProperty
(
'systemid'
))
{
this
.
data
[
'systemid'
]
=
this
.
context
[
'dstsystemid'
];
}
}
}
/**
/**
...
@@ -2119,6 +2124,9 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -2119,6 +2124,9 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase
* @memberof MainBase
*/
*/
public
updateDefault
(){
public
updateDefault
(){
if
(
this
.
data
.
hasOwnProperty
(
'systemid'
)
&&
!
this
.
data
.
systemid
)
{
this
.
data
[
'systemid'
]
=
this
.
context
[
'dstsystemid'
];
}
}
}
...
...
app_web/src/widgets/meta-relationship/main-form/main-form-model.ts
浏览文件 @
d3045b2e
...
@@ -99,6 +99,11 @@ export default class MainModel {
...
@@ -99,6 +99,11 @@ export default class MainModel {
prop
:
'entity_id'
,
prop
:
'entity_id'
,
dataType
:
'PICKUP'
,
dataType
:
'PICKUP'
,
},
},
{
name
:
'systemid'
,
prop
:
'system_id'
,
dataType
:
'PICKUPDATA'
,
},
{
{
name
:
'relationid'
,
name
:
'relationid'
,
prop
:
'id'
,
prop
:
'id'
,
...
...
app_web/src/widgets/rule-engine/main-form/main-form-base.vue
浏览文件 @
d3045b2e
...
@@ -495,6 +495,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -495,6 +495,7 @@ export default class MainBase extends Vue implements ControlInterface {
execstate
:
null
,
execstate
:
null
,
lastruntime
:
null
,
lastruntime
:
null
,
modelid
:
null
,
modelid
:
null
,
systemid
:
null
,
engineid
:
null
,
engineid
:
null
,
ruleengine
:
null
,
ruleengine
:
null
,
};
};
...
@@ -701,6 +702,8 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -701,6 +702,8 @@ export default class MainBase extends Vue implements ControlInterface {
lastruntime
:
new
FormItemModel
({
caption
:
'上次执行时间'
,
detailType
:
'FORMITEM'
,
name
:
'lastruntime'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
lastruntime
:
new
FormItemModel
({
caption
:
'上次执行时间'
,
detailType
:
'FORMITEM'
,
name
:
'lastruntime'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
,
modelid
:
new
FormItemModel
({
caption
:
'模型标识'
,
detailType
:
'FORMITEM'
,
name
:
'modelid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
modelid
:
new
FormItemModel
({
caption
:
'模型标识'
,
detailType
:
'FORMITEM'
,
name
:
'modelid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
systemid
:
new
FormItemModel
({
caption
:
'系统'
,
detailType
:
'FORMITEM'
,
name
:
'systemid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
,
engineid
:
new
FormItemModel
({
caption
:
'标识'
,
detailType
:
'FORMITEM'
,
name
:
'engineid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
engineid
:
new
FormItemModel
({
caption
:
'标识'
,
detailType
:
'FORMITEM'
,
name
:
'engineid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
,
...
@@ -862,6 +865,18 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -862,6 +865,18 @@ export default class MainBase extends Vue implements ControlInterface {
this
.
formDataChange
({
name
:
'modelid'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
this
.
formDataChange
({
name
:
'modelid'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
}
/**
* 监控表单属性 systemid 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@
Watch
(
'data.systemid'
)
onSystemidChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'systemid'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
/**
* 监控表单属性 engineid 值
* 监控表单属性 engineid 值
*
*
...
@@ -944,6 +959,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -944,6 +959,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}
/**
/**
...
@@ -2025,6 +2041,9 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -2025,6 +2041,9 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase
* @memberof MainBase
*/
*/
public
createDefault
(){
public
createDefault
(){
if
(
this
.
data
.
hasOwnProperty
(
'systemid'
))
{
this
.
data
[
'systemid'
]
=
this
.
context
[
'dstsystemid'
];
}
}
}
/**
/**
...
@@ -2032,6 +2051,9 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -2032,6 +2051,9 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase
* @memberof MainBase
*/
*/
public
updateDefault
(){
public
updateDefault
(){
if
(
this
.
data
.
hasOwnProperty
(
'systemid'
)
&&
!
this
.
data
.
systemid
)
{
this
.
data
[
'systemid'
]
=
this
.
context
[
'dstsystemid'
];
}
}
}
...
...
app_web/src/widgets/rule-engine/main-form/main-form-model.ts
浏览文件 @
d3045b2e
...
@@ -80,6 +80,11 @@ export default class MainModel {
...
@@ -80,6 +80,11 @@ export default class MainModel {
prop
:
'model_id'
,
prop
:
'model_id'
,
dataType
:
'PICKUP'
,
dataType
:
'PICKUP'
,
},
},
{
name
:
'systemid'
,
prop
:
'system_id'
,
dataType
:
'PICKUPDATA'
,
},
{
{
name
:
'engineid'
,
name
:
'engineid'
,
prop
:
'engine_id'
,
prop
:
'engine_id'
,
...
...
ibzdst-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
d3045b2e
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<!--输出实体[DA_BUILD]数据结构 -->
<!--输出实体[DA_BUILD]数据结构 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-da_build-4
2
-1"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-da_build-4
4
-1"
>
<createTable
tableName=
"IBZDABUILD"
>
<createTable
tableName=
"IBZDABUILD"
>
<column
name=
"BUILDID"
remarks=
""
type=
"VARCHAR(100)"
>
<column
name=
"BUILDID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_DA_BUILD_BUILDID"
/>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_DA_BUILD_BUILDID"
/>
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
<!--输出实体[DA_METRIC]数据结构 -->
<!--输出实体[DA_METRIC]数据结构 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-da_metric-5
0
-3"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-da_metric-5
1
-3"
>
<createTable
tableName=
"IBZDAMETRIC"
>
<createTable
tableName=
"IBZDAMETRIC"
>
<column
name=
"DA_METRICID"
remarks=
""
type=
"VARCHAR(100)"
>
<column
name=
"DA_METRICID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_DA_METRIC_DA_METRICID"
/>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_DA_METRIC_DA_METRICID"
/>
...
@@ -204,7 +204,7 @@
...
@@ -204,7 +204,7 @@
<!--输出实体[META_DATASET]数据结构 -->
<!--输出实体[META_DATASET]数据结构 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-meta_dataset-
1
-9"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-meta_dataset-
2
-9"
>
<createTable
tableName=
"IBZDATASET"
>
<createTable
tableName=
"IBZDATASET"
>
<column
name=
"DATASETID"
remarks=
""
type=
"VARCHAR(100)"
>
<column
name=
"DATASETID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_META_DATASET_DATASETID"
/>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_META_DATASET_DATASETID"
/>
...
@@ -226,7 +226,7 @@
...
@@ -226,7 +226,7 @@
<!--输出实体[META_ENTITY]数据结构 -->
<!--输出实体[META_ENTITY]数据结构 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-meta_entity-
8
-10"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-meta_entity-
9
-10"
>
<createTable
tableName=
"IBZENTITY"
>
<createTable
tableName=
"IBZENTITY"
>
<column
name=
"ENTITYID"
remarks=
""
type=
"VARCHAR(100)"
>
<column
name=
"ENTITYID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_META_ENTITY_ENTITYID"
/>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_META_ENTITY_ENTITYID"
/>
...
@@ -366,7 +366,7 @@
...
@@ -366,7 +366,7 @@
<!--输出实体[META_RELATION]数据结构 -->
<!--输出实体[META_RELATION]数据结构 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-meta_relation-
5
-14"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-meta_relation-
6
-14"
>
<createTable
tableName=
"IBZRELATION"
>
<createTable
tableName=
"IBZRELATION"
>
<column
name=
"RELATIONID"
remarks=
""
type=
"VARCHAR(100)"
>
<column
name=
"RELATIONID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_META_RELATION_RELATIONID"
/>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_META_RELATION_RELATIONID"
/>
...
@@ -398,7 +398,7 @@
...
@@ -398,7 +398,7 @@
<!--输出实体[RU_ENGINE]数据结构 -->
<!--输出实体[RU_ENGINE]数据结构 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-ru_engine-2
7
-15"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-ru_engine-2
8
-15"
>
<createTable
tableName=
"IBZRULEENGINE"
>
<createTable
tableName=
"IBZRULEENGINE"
>
<column
name=
"ENGINEID"
remarks=
""
type=
"VARCHAR(100)"
>
<column
name=
"ENGINEID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_RU_ENGINE_ENGINEID"
/>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_RU_ENGINE_ENGINEID"
/>
...
@@ -420,7 +420,7 @@
...
@@ -420,7 +420,7 @@
<!--输出实体[RU_ITEM]数据结构 -->
<!--输出实体[RU_ITEM]数据结构 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-ru_item-5
5
-16"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-ru_item-5
6
-16"
>
<createTable
tableName=
"IBZRULE"
>
<createTable
tableName=
"IBZRULE"
>
<column
name=
"RULEID"
remarks=
""
type=
"VARCHAR(100)"
>
<column
name=
"RULEID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_RU_ITEM_RULEID"
/>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_RU_ITEM_RULEID"
/>
...
@@ -455,7 +455,7 @@
...
@@ -455,7 +455,7 @@
<!--输出实体[DA_BUILD]外键关系 -->
<!--输出实体[DA_BUILD]外键关系 -->
<!--输出实体[DA_CHART]外键关系 -->
<!--输出实体[DA_CHART]外键关系 -->
<!--输出实体[DA_METRIC]外键关系 -->
<!--输出实体[DA_METRIC]外键关系 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"fk-da_metric-5
0
-17"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"fk-da_metric-5
1
-17"
>
<addForeignKeyConstraint
baseColumnNames=
"BUILDID"
baseTableName=
"IBZDAMETRIC"
constraintName=
"DER1N_DA_METRIC_DA_BUILD_BUILD"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"BUILDID"
referencedTableName=
"IBZDABUILD"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"BUILDID"
baseTableName=
"IBZDAMETRIC"
constraintName=
"DER1N_DA_METRIC_DA_BUILD_BUILD"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"BUILDID"
referencedTableName=
"IBZDABUILD"
validate=
"true"
/>
</changeSet>
</changeSet>
<!--输出实体[DA_REPORT]外键关系 -->
<!--输出实体[DA_REPORT]外键关系 -->
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录