Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
fd023592
提交
fd023592
编写于
11月 10, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Mosher 发布系统代码 [后台服务,演示应用]
上级
8d19a806
变更
7
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
179 行增加
和
27 行删除
+179
-27
ibizsample0001_en_US.ts
...le/lanres/entities/ibizsample0001/ibizsample0001_en_US.ts
+4
-1
ibizsample0001_zh_CN.ts
...le/lanres/entities/ibizsample0001/ibizsample0001_zh_CN.ts
+4
-1
main2-form-base.vue
app_Web/src/widgets/ibizorder/main2-form/main2-form-base.vue
+1
-1
main4-form-base.vue
...src/widgets/ibizsample0001/main4-form/main4-form-base.vue
+153
-19
main4-form-model.ts
...src/widgets/ibizsample0001/main4-form/main4-form-model.ts
+13
-1
h2_table.xml
demo-core/src/main/resources/liquibase/h2_table.xml
+2
-2
view.xml
demo-core/src/main/resources/liquibase/view.xml
+2
-2
未找到文件。
app_Web/src/locale/lanres/entities/ibizsample0001/ibizsample0001_en_US.ts
浏览文件 @
fd023592
...
...
@@ -107,7 +107,10 @@ export default {
f39
:
"部门人员选择(多选)"
,
f40
:
"单位人员选择(单选)"
,
f41
:
"单位人员选择(多选)"
,
formitem3
:
""
,
f43
:
"指定单位及所有下级单位人员(单选)"
,
f44
:
"指定单位及所有下级单位人员(多选)"
,
f45
:
"指定部门及所有下级部门人员(单选)"
,
f46
:
"指定部门及所有下级部门人员(多选)"
,
ibizsample0001id
:
"IBIZSAMPLE0001标识"
,
},
uiactions
:
{
...
...
app_Web/src/locale/lanres/entities/ibizsample0001/ibizsample0001_zh_CN.ts
浏览文件 @
fd023592
...
...
@@ -106,7 +106,10 @@ export default {
f39
:
"部门人员选择(多选)"
,
f40
:
"单位人员选择(单选)"
,
f41
:
"单位人员选择(多选)"
,
formitem3
:
""
,
f43
:
"指定单位及所有下级单位人员(单选)"
,
f44
:
"指定单位及所有下级单位人员(多选)"
,
f45
:
"指定部门及所有下级部门人员(单选)"
,
f46
:
"指定部门及所有下级部门人员(多选)"
,
ibizsample0001id
:
"IBIZSAMPLE0001标识"
,
},
uiactions
:
{
...
...
app_Web/src/widgets/ibizorder/main2-form/main2-form-base.vue
浏览文件 @
fd023592
...
...
@@ -2399,7 +2399,7 @@ export default class Main2Base extends Vue implements ControlInterface {
this
.
data
[
'f6'
]
=
this
.
$util
.
dateFormat
(
new
Date
());
}
if
(
this
.
data
.
hasOwnProperty
(
'f7'
))
{
this
.
data
[
'f7'
]
=
this
.
service
.
getRemoteCopyData
().
?
this
.
service
.
getRemoteCopyData
().
:
null
;
this
.
data
[
'f7'
]
=
this
.
service
.
getRemoteCopyData
().
ibizcustomername
?
this
.
service
.
getRemoteCopyData
().
ibizcustomername
:
null
;
}
if
(
this
.
data
.
hasOwnProperty
(
'f8'
))
{
this
.
data
[
'f8'
]
=
'默认值'
;
...
...
app_Web/src/widgets/ibizsample0001/main4-form/main4-form-base.vue
浏览文件 @
fd023592
...
...
@@ -493,16 +493,90 @@
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.formitem3.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'formitem3'
:itemRules=
"this.rules().formitem3"
class=
''
:caption=
"$t('entities.ibizsample0001.main4_form.details.formitem3')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.formitem3.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.formitem3"
@
enter=
"onEnter($event)"
:disabled=
"detailsModel.formitem3.disabled"
type=
'text'
style=
""
>
</input-box>
<i-col
v-show=
"detailsModel.f43.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'f43'
:itemRules=
"this.rules().f43"
class=
''
:caption=
"$t('entities.ibizsample0001.main4_form.details.f43')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.f43.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-group-select
name=
"f43"
:value=
'data.f43'
valueitem=
""
url=
"/ibzorganizations/$
{selected-orgid}/ibzemployees/picker"
treeurl="/ibzorganizations/${orgid}/suborg/picker"
:multiple="false"
filter="srforgid"
:fillmap="{'id':'','label':'f43'}"
:disabled="detailsModel.f43.disabled"
:data="data"
:context="context"
@formitemvaluechange="onFormItemValueChange">
</app-group-select>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.f44.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'f44'
:itemRules=
"this.rules().f44"
class=
''
:caption=
"$t('entities.ibizsample0001.main4_form.details.f44')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.f44.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-group-select
name=
"f44"
:value=
'data.f44'
valueitem=
""
url=
"/ibzorganizations/$
{selected-orgid}/ibzemployees/picker"
treeurl="/ibzorganizations/${orgid}/suborg/picker"
:multiple="true"
filter="srforgid"
:fillmap="{'id':'','label':'f44'}"
:disabled="detailsModel.f44.disabled"
:data="data"
:context="context"
@formitemvaluechange="onFormItemValueChange">
</app-group-select>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.f45.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'f45'
:itemRules=
"this.rules().f45"
class=
''
:caption=
"$t('entities.ibizsample0001.main4_form.details.f45')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.f45.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-department-personnel
name=
"f45"
:value=
'data.f45'
valueitem=
""
url=
"/ibzdepartments/
{deptId}/subemp"
:multiple="false"
filter="srfsdept"
:fillmap="{'id':'','label':'f45'}"
:disabled="detailsModel.f45.disabled"
:data="data"
:context="context"
@formitemvaluechange="onFormItemValueChange">
</app-department-personnel>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.f46.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'f46'
:itemRules=
"this.rules().f46"
class=
''
:caption=
"$t('entities.ibizsample0001.main4_form.details.f46')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.f46.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-department-personnel
name=
"f46"
:value=
'data.f46'
valueitem=
""
url=
"/ibzdepartments/
{deptId}/subemp"
:multiple="true"
filter="srfsdept"
:fillmap="{'id':'','label':'f46'}"
:disabled="detailsModel.f46.disabled"
:data="data"
:context="context"
@formitemvaluechange="onFormItemValueChange">
</app-department-personnel>
</app-form-item>
...
...
@@ -945,7 +1019,10 @@ export default class Main4Base extends Vue implements ControlInterface {
f39
:
null
,
f40
:
null
,
f41
:
null
,
formitem3
:
null
,
f43
:
null
,
f44
:
null
,
f45
:
null
,
f46
:
null
,
ibizsample0001id
:
null
,
ibizsample0001
:
null
,
};
...
...
@@ -1162,9 +1239,21 @@ export default class Main4Base extends Vue implements ControlInterface {
{
required
:
this
.
detailsModel
.
f41
.
required
,
type
:
'string'
,
message
:
'单位人员选择(多选) 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
f41
.
required
,
type
:
'string'
,
message
:
'单位人员选择(多选) 值不能为空'
,
trigger
:
'blur'
},
],
formitem3
:
[
{
required
:
this
.
detailsModel
.
formitem3
.
required
,
type
:
'string'
,
message
:
' 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
formitem3
.
required
,
type
:
'string'
,
message
:
' 值不能为空'
,
trigger
:
'blur'
},
f43
:
[
{
required
:
this
.
detailsModel
.
f43
.
required
,
type
:
'string'
,
message
:
'指定单位及所有下级单位人员(单选) 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
f43
.
required
,
type
:
'string'
,
message
:
'指定单位及所有下级单位人员(单选) 值不能为空'
,
trigger
:
'blur'
},
],
f44
:
[
{
required
:
this
.
detailsModel
.
f44
.
required
,
type
:
'string'
,
message
:
'指定单位及所有下级单位人员(多选) 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
f44
.
required
,
type
:
'string'
,
message
:
'指定单位及所有下级单位人员(多选) 值不能为空'
,
trigger
:
'blur'
},
],
f45
:
[
{
required
:
this
.
detailsModel
.
f45
.
required
,
type
:
'string'
,
message
:
'指定部门及所有下级部门人员(单选) 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
f45
.
required
,
type
:
'string'
,
message
:
'指定部门及所有下级部门人员(单选) 值不能为空'
,
trigger
:
'blur'
},
],
f46
:
[
{
required
:
this
.
detailsModel
.
f46
.
required
,
type
:
'string'
,
message
:
'指定部门及所有下级部门人员(多选) 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
f46
.
required
,
type
:
'string'
,
message
:
'指定部门及所有下级部门人员(多选) 值不能为空'
,
trigger
:
'blur'
},
],
}
}
...
...
@@ -1379,7 +1468,13 @@ export default class Main4Base extends Vue implements ControlInterface {
,
f41
:
new
FormItemModel
({
caption
:
'单位人员选择(多选)'
,
detailType
:
'FORMITEM'
,
name
:
'f41'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
formitem3
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'formitem3'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
f43
:
new
FormItemModel
({
caption
:
'指定单位及所有下级单位人员(单选)'
,
detailType
:
'FORMITEM'
,
name
:
'f43'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
f44
:
new
FormItemModel
({
caption
:
'指定单位及所有下级单位人员(多选)'
,
detailType
:
'FORMITEM'
,
name
:
'f44'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
f45
:
new
FormItemModel
({
caption
:
'指定部门及所有下级部门人员(单选)'
,
detailType
:
'FORMITEM'
,
name
:
'f45'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
f46
:
new
FormItemModel
({
caption
:
'指定部门及所有下级部门人员(多选)'
,
detailType
:
'FORMITEM'
,
name
:
'f46'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
ibizsample0001id
:
new
FormItemModel
({
caption
:
'IBIZSAMPLE0001标识'
,
detailType
:
'FORMITEM'
,
name
:
'ibizsample0001id'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
...
...
@@ -1974,15 +2069,51 @@ export default class Main4Base extends Vue implements ControlInterface {
}
/**
* 监控表单属性 f
ormitem
3 值
* 监控表单属性 f
4
3 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main4Base
*/
@
Watch
(
'data.formitem3'
)
onFormitem3Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'formitem3'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
@
Watch
(
'data.f43'
)
onF43Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'f43'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 f44 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main4Base
*/
@
Watch
(
'data.f44'
)
onF44Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'f44'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 f45 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main4Base
*/
@
Watch
(
'data.f45'
)
onF45Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'f45'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 f46 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main4Base
*/
@
Watch
(
'data.f46'
)
onF46Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'f46'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
...
...
@@ -2106,6 +2237,9 @@ export default class Main4Base extends Vue implements ControlInterface {
...
...
app_Web/src/widgets/ibizsample0001/main4-form/main4-form-model.ts
浏览文件 @
fd023592
...
...
@@ -221,7 +221,19 @@ export default class Main4Model {
dataType
:
'FORMITEM'
,
},
{
name
:
'formitem3'
,
name
:
'f43'
,
dataType
:
'FORMITEM'
,
},
{
name
:
'f44'
,
dataType
:
'FORMITEM'
,
},
{
name
:
'f45'
,
dataType
:
'FORMITEM'
,
},
{
name
:
'f46'
,
dataType
:
'FORMITEM'
,
},
{
...
...
demo-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
fd023592
...
...
@@ -134,7 +134,7 @@
<!--输出实体[IBIZORDER]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizorder-
29
-8"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizorder-
30
-8"
>
<createTable
tableName=
"T_IBIZORDER"
>
<column
name=
"TP"
remarks=
""
type=
"TEXT(1048576)"
>
</column>
...
...
@@ -316,7 +316,7 @@
<!--输出实体[IBIZSAMPLE0001]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizsample0001-
28
-13"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizsample0001-
33
-13"
>
<createTable
tableName=
"T_IBIZSAMPLE0001"
>
<column
name=
"FIELD01"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
...
...
demo-core/src/main/resources/liquibase/view.xml
浏览文件 @
fd023592
...
...
@@ -37,7 +37,7 @@
</createView>
</changeSet>
<!--输出实体[IBIZORDER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizorder-
29
-8"
runOnChange=
"true"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizorder-
30
-8"
runOnChange=
"true"
>
<createView
fullDefinition=
"false"
replaceIfExists=
"true"
viewName=
"V_IBIZORDER"
>
<![CDATA[ SELECT t1.[AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[DETAILNUM], t1.[IBIZCUSTOMERID], t11.[IBIZCUSTOMERNAME], t1.[IBIZORDERID], t1.[IBIZORDERNAME], t1.[MEMO], t1.[ORDERSTATE], t1.[ORDERTIME], t1.[ORDERTYPE], t1.[ORDERUID], t1.[UPDATEDATE], t1.[UPDATEMAN], t1.[WFINSTANCEID], t1.[WFSTATE], t1.[WFSTEP] FROM [T_IBIZORDER] t1 LEFT JOIN T_IBIZCUSTOMER t11 ON t1.IBIZCUSTOMERID = t11.IBIZCUSTOMERID ]]>
</createView>
...
...
@@ -67,7 +67,7 @@
</createView>
</changeSet>
<!--输出实体[IBIZSAMPLE0001]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizsample0001-
28
-13"
runOnChange=
"true"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizsample0001-
33
-13"
runOnChange=
"true"
>
<createView
fullDefinition=
"false"
replaceIfExists=
"true"
viewName=
"V_IBIZSAMPLE0001"
>
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[FIELD01], t1.[FIELD02], t1.[FIELD05], t1.[FIELD06], t1.[FIELD07], t1.[FIELD08], t1.[FIELD09], t1.[FIELD10], t1.[FIELD11], t1.[FIELD12], t1.[FIELD13], t1.[FIELD14], t1.[FIELD15], t1.[FIELD16], t1.[FIELD17], t1.[FIELD18], t1.[FIELD19], t1.[FIELD20], t1.[FIELD21], t1.[FIELD22], t1.[FIELD23], t1.[FIELD24], t1.[FIELD25], t1.[FIELD26], t1.[FIELD27], t1.[IBIZSAMPLE0001ID], t1.[IBIZSAMPLE0001NAME], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0001] t1 ]]>
</createView>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录