Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzlite
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzlite
提交
39b9ed1f
提交
39b9ed1f
编写于
4年前
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zhouweidong 发布系统代码 [ibz-lite,应用]
上级
00c4712d
变更
6
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
45 行增加
和
3 行删除
+45
-3
meta-dynamic-model_BO_CN_base.ts
...ities/meta-dynamic-model/meta-dynamic-model_BO_CN_base.ts
+1
-0
meta-dynamic-model_en_US_base.ts
...ities/meta-dynamic-model/meta-dynamic-model_en_US_base.ts
+1
-0
meta-dynamic-model_zh_CN_base.ts
...ities/meta-dynamic-model/meta-dynamic-model_zh_CN_base.ts
+1
-0
dyna-inst-form-base.vue
...meta-dynamic-model/dyna-inst-form/dyna-inst-form-base.vue
+0
-3
main-form-base.vue
...c/widgets/meta-dynamic-model/main-form/main-form-base.vue
+37
-0
main-form-model.ts
...c/widgets/meta-dynamic-model/main-form/main-form-model.ts
+5
-0
未找到文件。
app_web/src/locale/lanres/entities/meta-dynamic-model/meta-dynamic-model_BO_CN_base.ts
浏览文件 @
39b9ed1f
...
...
@@ -42,6 +42,7 @@ function getLocaleResourceBase(){
srfsourcekey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
configname
:
commonLogic
.
appcommonhandle
(
"配置名称"
,
null
),
formitem
:
commonLogic
.
appcommonhandle
(
"文件"
,
null
),
systemid
:
commonLogic
.
appcommonhandle
(
"系统"
,
null
),
pdynainstid
:
commonLogic
.
appcommonhandle
(
"父实例"
,
null
),
configid
:
commonLogic
.
appcommonhandle
(
"配置标识"
,
null
),
},
...
...
This diff is collapsed.
Click to expand it.
app_web/src/locale/lanres/entities/meta-dynamic-model/meta-dynamic-model_en_US_base.ts
浏览文件 @
39b9ed1f
...
...
@@ -42,6 +42,7 @@ function getLocaleResourceBase(){
srfsourcekey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
configname
:
commonLogic
.
appcommonhandle
(
"配置名称"
,
null
),
formitem
:
commonLogic
.
appcommonhandle
(
"文件"
,
null
),
systemid
:
commonLogic
.
appcommonhandle
(
"系统"
,
null
),
pdynainstid
:
commonLogic
.
appcommonhandle
(
"父实例"
,
null
),
configid
:
commonLogic
.
appcommonhandle
(
"配置标识"
,
null
),
},
...
...
This diff is collapsed.
Click to expand it.
app_web/src/locale/lanres/entities/meta-dynamic-model/meta-dynamic-model_zh_CN_base.ts
浏览文件 @
39b9ed1f
...
...
@@ -42,6 +42,7 @@ function getLocaleResourceBase(){
srfsourcekey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
configname
:
commonLogic
.
appcommonhandle
(
"配置名称"
,
null
),
formitem
:
commonLogic
.
appcommonhandle
(
"文件"
,
null
),
systemid
:
commonLogic
.
appcommonhandle
(
"系统"
,
null
),
pdynainstid
:
commonLogic
.
appcommonhandle
(
"父实例"
,
null
),
configid
:
commonLogic
.
appcommonhandle
(
"配置标识"
,
null
),
},
...
...
This diff is collapsed.
Click to expand it.
app_web/src/widgets/meta-dynamic-model/dyna-inst-form/dyna-inst-form-base.vue
浏览文件 @
39b9ed1f
...
...
@@ -1985,9 +1985,6 @@ export default class DynaInstBase extends Vue implements ControlInterface {
* @memberof DynaInstBase
*/
public
createDefault
(){
if
(
this
.
data
.
hasOwnProperty
(
'systemid'
))
{
this
.
data
[
'systemid'
]
=
this
.
context
[
'sysid'
];
}
}
/**
...
...
This diff is collapsed.
Click to expand it.
app_web/src/widgets/meta-dynamic-model/main-form/main-form-base.vue
浏览文件 @
39b9ed1f
...
...
@@ -25,6 +25,20 @@
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.systemid.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'systemid'
:itemRules=
"this.rules().systemid"
class=
''
:caption=
"$t('entities.metadynamicmodel.main_form.details.systemid')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.systemid.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.systemid"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.systemid.disabled"
type=
'text'
style=
""
>
</input-box>
</app-form-item>
</i-col>
</row>
...
...
@@ -450,6 +464,7 @@ export default class MainBase extends Vue implements ControlInterface {
srfsourcekey
:
null
,
configname
:
null
,
formitem
:
null
,
systemid
:
null
,
pdynainstid
:
null
,
configid
:
null
,
metadynamicmodel
:
null
,
...
...
@@ -511,6 +526,10 @@ export default class MainBase extends Vue implements ControlInterface {
{
required
:
this
.
detailsModel
.
formitem
.
required
,
type
:
'string'
,
message
:
'文件 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
formitem
.
required
,
type
:
'string'
,
message
:
'文件 值不能为空'
,
trigger
:
'blur'
},
],
systemid
:
[
{
required
:
this
.
detailsModel
.
systemid
.
required
,
type
:
'string'
,
message
:
'系统 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
systemid
.
required
,
type
:
'string'
,
message
:
'系统 值不能为空'
,
trigger
:
'blur'
},
],
pdynainstid
:
[
{
required
:
this
.
detailsModel
.
pdynainstid
.
required
,
type
:
'string'
,
message
:
'父实例 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
pdynainstid
.
required
,
type
:
'string'
,
message
:
'父实例 值不能为空'
,
trigger
:
'blur'
},
...
...
@@ -643,6 +662,8 @@ export default class MainBase extends Vue implements ControlInterface {
configname
:
new
FormItemModel
({
caption
:
'配置名称'
,
detailType
:
'FORMITEM'
,
name
:
'configname'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
formitem
:
new
FormItemModel
({
caption
:
'文件'
,
detailType
:
'FORMITEM'
,
name
:
'formitem'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
true
,
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
})
,
pdynainstid
:
new
FormItemModel
({
caption
:
'父实例'
,
detailType
:
'FORMITEM'
,
name
:
'pdynainstid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
...
...
@@ -758,6 +779,18 @@ export default class MainBase extends Vue implements ControlInterface {
this
.
formDataChange
({
name
:
'formitem'
,
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
});
}
/**
* 监控表单属性 pdynainstid 值
*
...
...
@@ -849,6 +882,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
/**
...
...
@@ -1933,6 +1967,9 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase
*/
public
createDefault
(){
if
(
this
.
data
.
hasOwnProperty
(
'systemid'
))
{
this
.
data
[
'systemid'
]
=
this
.
context
[
'sysid'
];
}
if
(
this
.
data
.
hasOwnProperty
(
'pdynainstid'
))
{
this
.
data
[
'pdynainstid'
]
=
this
.
context
[
'pinstid'
];
}
...
...
This diff is collapsed.
Click to expand it.
app_web/src/widgets/meta-dynamic-model/main-form/main-form-model.ts
浏览文件 @
39b9ed1f
...
...
@@ -60,6 +60,11 @@ export default class MainModel {
prop
:
'modelfile'
,
dataType
:
'TEXT'
,
},
{
name
:
'systemid'
,
prop
:
'system_id'
,
dataType
:
'PICKUP'
,
},
{
name
:
'pdynainstid'
,
prop
:
'pdynainstid'
,
...
...
This diff is collapsed.
Click to expand it.
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录