Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
资
资产管理
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
资产管理
提交
5fecd46e
提交
5fecd46e
编写于
8月 05, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lab_gzf 部署微服务应用
上级
a74b394c
变更
7
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
29 行增加
和
16 行删除
+29
-16
eamlocation_en_US.ts
...c/locale/lanres/entities/eamlocation/eamlocation_en_US.ts
+2
-1
eamlocation_zh_CN.ts
...c/locale/lanres/entities/eamlocation/eamlocation_zh_CN.ts
+2
-1
edit-main-form-base.tsx
...idgets/eamlocation/edit-main-form/edit-main-form-base.tsx
+9
-2
edit-main-form-model.ts
...idgets/eamlocation/edit-main-form/edit-main-form-model.ts
+8
-3
edit-main-form-service.ts
...gets/eamlocation/edit-main-form/edit-main-form-service.ts
+0
-1
edit-main-form.html
...rc/widgets/eamlocation/edit-main-form/edit-main-form.html
+4
-4
h2_table.xml
...management-core/src/main/resources/liquibase/h2_table.xml
+4
-4
未找到文件。
app_AssetManagement/src/locale/lanres/entities/eamlocation/eamlocation_en_US.ts
浏览文件 @
5fecd46e
...
...
@@ -91,10 +91,11 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
eamlocationid
:
"功能位置标识
"
,
locationnumber
:
"功能位置编号
"
,
eamlocationname
:
"功能位置名称"
,
eamlocationtypename
:
"功能位置类型"
,
peamlocationname
:
"上级位置"
,
eamlocationid
:
"功能位置标识"
,
peamlocationid
:
"上级功能位置标识"
,
eamlocationtypeid
:
"功能位置类型标识"
,
},
...
...
app_AssetManagement/src/locale/lanres/entities/eamlocation/eamlocation_zh_CN.ts
浏览文件 @
5fecd46e
...
...
@@ -90,10 +90,11 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
eamlocationid
:
"功能位置标识
"
,
locationnumber
:
"功能位置编号
"
,
eamlocationname
:
"功能位置名称"
,
eamlocationtypename
:
"功能位置类型"
,
peamlocationname
:
"上级位置"
,
eamlocationid
:
"功能位置标识"
,
peamlocationid
:
"上级功能位置标识"
,
eamlocationtypeid
:
"功能位置类型标识"
,
},
...
...
app_AssetManagement/src/widgets/eamlocation/edit-main-form/edit-main-form-base.tsx
浏览文件 @
5fecd46e
...
...
@@ -73,10 +73,11 @@ export class Edit_MainEditFormBase extends EditFormControlBase {
srfuf
:
null
,
srfdeid
:
null
,
srfsourcekey
:
null
,
eamlocationid
:
null
,
locationnumber
:
null
,
eamlocationname
:
null
,
eamlocationtypename
:
null
,
peamlocationname
:
null
,
eamlocationid
:
null
,
peamlocationid
:
null
,
eamlocationtypeid
:
null
,
eamlocation
:
null
,
...
...
@@ -89,6 +90,10 @@ export class Edit_MainEditFormBase extends EditFormControlBase {
* @memberof Edit_MainEditFormBase
*/
public
rules
:
any
=
{
locationnumber
:
[
{
required
:
true
,
type
:
'string'
,
message
:
'功能位置编号 值不能为空'
,
trigger
:
'change'
},
{
required
:
true
,
type
:
'string'
,
message
:
'功能位置编号 值不能为空'
,
trigger
:
'blur'
},
],
eamlocationname
:
[
{
required
:
true
,
type
:
'string'
,
message
:
'功能位置名称 值不能为空'
,
trigger
:
'change'
},
{
required
:
true
,
type
:
'string'
,
message
:
'功能位置名称 值不能为空'
,
trigger
:
'blur'
},
...
...
@@ -135,7 +140,7 @@ export class Edit_MainEditFormBase extends EditFormControlBase {
srfsourcekey
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfsourcekey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
eamlocationid
:
new
FormItemModel
({
caption
:
'功能位置标识'
,
detailType
:
'FORMITEM'
,
name
:
'eamlocationid
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
locationnumber
:
new
FormItemModel
({
caption
:
'功能位置编号'
,
detailType
:
'FORMITEM'
,
name
:
'locationnumber
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
eamlocationname
:
new
FormItemModel
({
caption
:
'功能位置名称'
,
detailType
:
'FORMITEM'
,
name
:
'eamlocationname'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
...
...
@@ -143,6 +148,8 @@ export class Edit_MainEditFormBase extends EditFormControlBase {
peamlocationname
:
new
FormItemModel
({
caption
:
'上级位置'
,
detailType
:
'FORMITEM'
,
name
:
'peamlocationname'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
eamlocationid
:
new
FormItemModel
({
caption
:
'功能位置标识'
,
detailType
:
'FORMITEM'
,
name
:
'eamlocationid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
peamlocationid
:
new
FormItemModel
({
caption
:
'上级功能位置标识'
,
detailType
:
'FORMITEM'
,
name
:
'peamlocationid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
eamlocationtypeid
:
new
FormItemModel
({
caption
:
'功能位置类型标识'
,
detailType
:
'FORMITEM'
,
name
:
'eamlocationtypeid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
...
...
app_AssetManagement/src/widgets/eamlocation/edit-main-form/edit-main-form-model.ts
浏览文件 @
5fecd46e
...
...
@@ -56,9 +56,9 @@ export default class Edit_MainModel {
name
:
'srfsourcekey'
,
},
{
name
:
'
eamlocationid
'
,
prop
:
'
eamlocationid
'
,
dataType
:
'
GUID
'
,
name
:
'
locationnumber
'
,
prop
:
'
locationnumber
'
,
dataType
:
'
TEXT
'
,
},
{
name
:
'eamlocationname'
,
...
...
@@ -75,6 +75,11 @@ export default class Edit_MainModel {
prop
:
'peamlocationname'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'eamlocationid'
,
prop
:
'eamlocationid'
,
dataType
:
'GUID'
,
},
{
name
:
'peamlocationid'
,
prop
:
'peamlocationid'
,
...
...
app_AssetManagement/src/widgets/eamlocation/edit-main-form/edit-main-form-service.ts
浏览文件 @
5fecd46e
...
...
@@ -178,7 +178,6 @@ export default class Edit_MainService extends ControlService {
@
Errorlog
public
add
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
Object
.
assign
(
Data
,{
eamlocationid
:
data
.
eamlocationid
,
srffrontuf
:
'1'
});
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
...
...
app_AssetManagement/src/widgets/eamlocation/edit-main-form/edit-main-form.html
浏览文件 @
5fecd46e
...
...
@@ -6,13 +6,13 @@
<app-form-group
:model=
"detailsModel.group1"
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.eamlocation.edit_main_form.details.group1')"
:isShowCaption=
"true"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"1"
:isInfoGroupMode=
"false"
>
<app-form-group-data-panel
slot=
"dataInfoPanel"
:model=
"detailsModel.group1"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
/>
<row>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.
eamlocationid
.visible"
:style=
"{}"
:md=
"{ span: 12, offset: 0 }"
:lg=
"{ span: 8, offset: 0 }"
:xl=
"{ span: 6, offset: 0 }"
>
<app-form-item
name=
'
eamlocationid'
:itemRules=
"this.rules.eamlocationid"
class=
''
:caption=
"$t('entities.eamlocation.edit_main_form.details.eamlocationid')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.eamlocationid
.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<i-col
class=
"form-layout-container"
v-show=
"detailsModel.
locationnumber
.visible"
:style=
"{}"
:md=
"{ span: 12, offset: 0 }"
:lg=
"{ span: 8, offset: 0 }"
:xl=
"{ span: 6, offset: 0 }"
>
<app-form-item
name=
'
locationnumber'
:itemRules=
"this.rules.locationnumber"
class=
''
:caption=
"$t('entities.eamlocation.edit_main_form.details.locationnumber')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.locationnumber
.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.
eamlocationid
"
v-model=
"data.
locationnumber
"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.
eamlocationid
.disabled"
:disabled=
"detailsModel.
locationnumber
.disabled"
type=
'text'
style=
""
>
</input-box>
...
...
assetmanagement-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
5fecd46e
...
...
@@ -260,7 +260,7 @@
<!--输出实体[EAMLOCATION]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-eamlocation-9
1
-12"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-eamlocation-9
2
-12"
>
<createTable
tableName=
"EAMLOCATION"
>
<column
name=
"EAMLOCATIONID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_EAMLOCATION_EAMLOCATIONID"
/>
...
...
@@ -727,13 +727,13 @@
<addForeignKeyConstraint
baseColumnNames=
"EAMASSETSTATEMODELID"
baseTableName=
"EAMASSETTYPE"
constraintName=
"DER1N_EAMASSETTYPE_EAMASSETSTA"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EAMASSETSTATEMODELID"
referencedTableName=
"EAMASSETSTATEMODEL"
validate=
"true"
/>
</changeSet>
<!--输出实体[EAMLOCATION]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-eamlocation-9
1
-45"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-eamlocation-9
2
-45"
>
<addForeignKeyConstraint
baseColumnNames=
"EAMLOCATIONSTATEID"
baseTableName=
"EAMLOCATION"
constraintName=
"DER1N_EAMLOCATION_EAMLOCATIONS"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EAMLOCATIONSTATEID"
referencedTableName=
"EAMLOCATIONSTATE"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-eamlocation-9
1
-46"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-eamlocation-9
2
-46"
>
<addForeignKeyConstraint
baseColumnNames=
"EAMLOCATIONTYPEID"
baseTableName=
"EAMLOCATION"
constraintName=
"DER1N_EAMLOCATION_EAMLOCATIONT"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EAMLOCATIONTYPEID"
referencedTableName=
"EAMLOCATIONTYPE"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-eamlocation-9
1
-47"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-eamlocation-9
2
-47"
>
<addForeignKeyConstraint
baseColumnNames=
"PEAMLOCATIONID"
baseTableName=
"EAMLOCATION"
constraintName=
"DER1N_EAMLOCATION_EAMLOCATION_"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EAMLOCATIONID"
referencedTableName=
"EAMLOCATION"
validate=
"true"
/>
</changeSet>
<!--输出实体[EAMLOCATIONSTATE]外键关系 -->
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录