Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
资
资产管理
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
资产管理
提交
3795b042
提交
3795b042
编写于
7月 28, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lab_gzf 部署微服务应用
上级
51ceaae2
变更
18
展开全部
显示空白字符变更
内嵌
并排
正在显示
18 个修改的文件
包含
160 行增加
和
377 行删除
+160
-377
view-config.json
app_AssetManagement/public/assets/json/view-config.json
+1
-1
eamlocation-state-model-line_en_US.ts
...on-state-model-line/eamlocation-state-model-line_en_US.ts
+8
-20
eamlocation-state-model-line_zh_CN.ts
...on-state-model-line/eamlocation-state-model-line_zh_CN.ts
+8
-20
eamlocation-state-model_en_US.ts
.../eamlocation-state-model/eamlocation-state-model_en_US.ts
+14
-2
eamlocation-state-model_zh_CN.ts
.../eamlocation-state-model/eamlocation-state-model_zh_CN.ts
+14
-2
eamlocation-state_en_US.ts
...res/entities/eamlocation-state/eamlocation-state_en_US.ts
+2
-1
eamlocation-state_zh_CN.ts
...res/entities/eamlocation-state/eamlocation-state_zh_CN.ts
+2
-1
viewconfig.ts
app_AssetManagement/src/mock/viewconfig/viewconfig.ts
+1
-1
eamlocation-state-edit-view-base.tsx
...tion-state-edit-view/eamlocation-state-edit-view-base.tsx
+1
-1
eamlocation-state-edit-view.html
...location-state-edit-view/eamlocation-state-edit-view.html
+1
-1
eamlocation-state-edit-view.vue
...mlocation-state-edit-view/eamlocation-state-edit-view.vue
+1
-1
eamlocation-state-model-edit-view-base.tsx
...odel-edit-view/eamlocation-state-model-edit-view-base.tsx
+69
-8
eamlocation-state-model-line-grid-view-base.tsx
...grid-view/eamlocation-state-model-line-grid-view-base.tsx
+6
-309
eamlocation-state-model-line-grid-view.html
...ine-grid-view/eamlocation-state-model-line-grid-view.html
+0
-3
main-grid-base.tsx
...rc/widgets/eamlocation-state/main-grid/main-grid-base.tsx
+9
-0
main-grid-model.ts
...rc/widgets/eamlocation-state/main-grid/main-grid-model.ts
+5
-0
main-grid.html
...nt/src/widgets/eamlocation-state/main-grid/main-grid.html
+12
-0
h2_table.xml
...management-core/src/main/resources/liquibase/h2_table.xml
+6
-6
未找到文件。
app_AssetManagement/public/assets/json/view-config.json
浏览文件 @
3795b042
{
{
"eamlocationstateeditview"
:
{
"eamlocationstateeditview"
:
{
"title"
:
"功能位置状态
编辑视图
"
,
"title"
:
"功能位置状态
信息
"
,
"caption"
:
"功能位置状态"
,
"caption"
:
"功能位置状态"
,
"viewtype"
:
"DEEDITVIEW"
,
"viewtype"
:
"DEEDITVIEW"
,
"viewmodule"
:
"Location"
,
"viewmodule"
:
"Location"
,
...
...
app_AssetManagement/src/locale/lanres/entities/eamlocation-state-model-line/eamlocation-state-model-line_en_US.ts
浏览文件 @
3795b042
...
@@ -63,10 +63,18 @@ export default {
...
@@ -63,10 +63,18 @@ export default {
caption
:
"New"
,
caption
:
"New"
,
tip
:
"New"
,
tip
:
"New"
,
},
},
seperator1
:
{
caption
:
""
,
tip
:
""
,
},
tbitem2
:
{
tbitem2
:
{
caption
:
"Edit"
,
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
tip
:
"Edit {0}"
,
},
},
seperator2
:
{
caption
:
""
,
tip
:
""
,
},
tbitem1
:
{
tbitem1
:
{
caption
:
"Copy"
,
caption
:
"Copy"
,
tip
:
"Copy {0}"
,
tip
:
"Copy {0}"
,
...
@@ -91,30 +99,10 @@ export default {
...
@@ -91,30 +99,10 @@ export default {
caption
:
"-"
,
caption
:
"-"
,
tip
:
""
,
tip
:
""
,
},
},
tbitem20
:
{
caption
:
"其它"
,
tip
:
"其它"
,
},
tbitem24
:
{
caption
:
"Export Data Model"
,
tip
:
"导出数据模型"
,
},
tbitem25
:
{
caption
:
"数据导入"
,
tip
:
"数据导入"
,
},
tbitem21
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem10
:
{
tbitem10
:
{
caption
:
"Filter"
,
caption
:
"Filter"
,
tip
:
"Filter"
,
tip
:
"Filter"
,
},
},
tbitem4
:
{
caption
:
"Help"
,
tip
:
"Help"
,
},
},
},
editviewtoolbar_toolbar
:
{
editviewtoolbar_toolbar
:
{
tbitem2
:
{
tbitem2
:
{
...
...
app_AssetManagement/src/locale/lanres/entities/eamlocation-state-model-line/eamlocation-state-model-line_zh_CN.ts
浏览文件 @
3795b042
...
@@ -62,10 +62,18 @@ export default {
...
@@ -62,10 +62,18 @@ export default {
caption
:
"新建"
,
caption
:
"新建"
,
tip
:
"新建"
,
tip
:
"新建"
,
},
},
seperator1
:
{
caption
:
""
,
tip
:
""
,
},
tbitem2
:
{
tbitem2
:
{
caption
:
"编辑"
,
caption
:
"编辑"
,
tip
:
"编辑"
,
tip
:
"编辑"
,
},
},
seperator2
:
{
caption
:
""
,
tip
:
""
,
},
tbitem1
:
{
tbitem1
:
{
caption
:
"拷贝"
,
caption
:
"拷贝"
,
tip
:
"拷贝"
,
tip
:
"拷贝"
,
...
@@ -90,30 +98,10 @@ export default {
...
@@ -90,30 +98,10 @@ export default {
caption
:
"-"
,
caption
:
"-"
,
tip
:
""
,
tip
:
""
,
},
},
tbitem20
:
{
caption
:
"其它"
,
tip
:
"其它"
,
},
tbitem24
:
{
caption
:
"导出数据模型"
,
tip
:
"导出数据模型"
,
},
tbitem25
:
{
caption
:
"数据导入"
,
tip
:
"数据导入"
,
},
tbitem21
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem10
:
{
tbitem10
:
{
caption
:
"过滤"
,
caption
:
"过滤"
,
tip
:
"过滤"
,
tip
:
"过滤"
,
},
},
tbitem4
:
{
caption
:
"帮助"
,
tip
:
"帮助"
,
},
},
},
editviewtoolbar_toolbar
:
{
editviewtoolbar_toolbar
:
{
tbitem2
:
{
tbitem2
:
{
...
...
app_AssetManagement/src/locale/lanres/entities/eamlocation-state-model/eamlocation-state-model_en_US.ts
浏览文件 @
3795b042
...
@@ -62,11 +62,23 @@ export default {
...
@@ -62,11 +62,23 @@ export default {
},
},
},
},
editviewtoolbar_toolbar
:
{
editviewtoolbar_toolbar
:
{
tbitem2
:
{
tbitem10
:
{
caption
:
"Save"
,
tip
:
"Save"
,
},
tbitem18
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem11
:
{
caption
:
"Save And Close"
,
caption
:
"Save And Close"
,
tip
:
"Save And Close Window"
,
tip
:
"Save And Close Window"
,
},
},
tbitem1
:
{
tbitem19
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem8
:
{
caption
:
"关闭"
,
caption
:
"关闭"
,
tip
:
"关闭"
,
tip
:
"关闭"
,
},
},
...
...
app_AssetManagement/src/locale/lanres/entities/eamlocation-state-model/eamlocation-state-model_zh_CN.ts
浏览文件 @
3795b042
...
@@ -61,11 +61,23 @@ export default {
...
@@ -61,11 +61,23 @@ export default {
},
},
},
},
editviewtoolbar_toolbar
:
{
editviewtoolbar_toolbar
:
{
tbitem2
:
{
tbitem10
:
{
caption
:
"保存"
,
tip
:
"保存"
,
},
tbitem18
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem11
:
{
caption
:
"保存并关闭"
,
caption
:
"保存并关闭"
,
tip
:
"保存并关闭"
,
tip
:
"保存并关闭"
,
},
},
tbitem1
:
{
tbitem19
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem8
:
{
caption
:
"关闭"
,
caption
:
"关闭"
,
tip
:
"关闭"
,
tip
:
"关闭"
,
},
},
...
...
app_AssetManagement/src/locale/lanres/entities/eamlocation-state/eamlocation-state_en_US.ts
浏览文件 @
3795b042
...
@@ -13,7 +13,7 @@ export default {
...
@@ -13,7 +13,7 @@ export default {
views
:
{
views
:
{
editview
:
{
editview
:
{
caption
:
"功能位置状态"
,
caption
:
"功能位置状态"
,
title
:
"功能位置状态
编辑视图
"
,
title
:
"功能位置状态
信息
"
,
},
},
pickupview
:
{
pickupview
:
{
caption
:
"功能位置状态"
,
caption
:
"功能位置状态"
,
...
@@ -51,6 +51,7 @@ export default {
...
@@ -51,6 +51,7 @@ export default {
},
},
main_grid
:
{
main_grid
:
{
columns
:
{
columns
:
{
eamlocationstateid
:
"功能位置状态标识"
,
eamlocationstatename
:
"功能位置状态名称"
,
eamlocationstatename
:
"功能位置状态名称"
,
available
:
"是否有效"
,
available
:
"是否有效"
,
setup
:
"是否创建资产"
,
setup
:
"是否创建资产"
,
...
...
app_AssetManagement/src/locale/lanres/entities/eamlocation-state/eamlocation-state_zh_CN.ts
浏览文件 @
3795b042
...
@@ -12,7 +12,7 @@ export default {
...
@@ -12,7 +12,7 @@ export default {
views
:
{
views
:
{
editview
:
{
editview
:
{
caption
:
"功能位置状态"
,
caption
:
"功能位置状态"
,
title
:
"功能位置状态
编辑视图
"
,
title
:
"功能位置状态
信息
"
,
},
},
pickupview
:
{
pickupview
:
{
caption
:
"功能位置状态"
,
caption
:
"功能位置状态"
,
...
@@ -50,6 +50,7 @@ export default {
...
@@ -50,6 +50,7 @@ export default {
},
},
main_grid
:
{
main_grid
:
{
columns
:
{
columns
:
{
eamlocationstateid
:
"功能位置状态标识"
,
eamlocationstatename
:
"功能位置状态名称"
,
eamlocationstatename
:
"功能位置状态名称"
,
available
:
"是否有效"
,
available
:
"是否有效"
,
setup
:
"是否创建资产"
,
setup
:
"是否创建资产"
,
...
...
app_AssetManagement/src/mock/viewconfig/viewconfig.ts
浏览文件 @
3795b042
...
@@ -8,7 +8,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
...
@@ -8,7 +8,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
let
status
=
MockAdapter
.
mockStatus
(
config
);
let
status
=
MockAdapter
.
mockStatus
(
config
);
return
[
status
,{
return
[
status
,{
"eamlocationstateeditview"
:
{
"eamlocationstateeditview"
:
{
"title"
:
"功能位置状态
编辑视图
"
,
"title"
:
"功能位置状态
信息
"
,
"caption"
:
"功能位置状态"
,
"caption"
:
"功能位置状态"
,
"viewtype"
:
"DEEDITVIEW"
,
"viewtype"
:
"DEEDITVIEW"
,
"viewmodule"
:
"Location"
,
"viewmodule"
:
"Location"
,
...
...
app_AssetManagement/src/pages/location/eamlocation-state-edit-view/eamlocation-state-edit-view-base.tsx
浏览文件 @
3795b042
...
@@ -6,7 +6,7 @@ import EditViewEngine from '@engine/view/edit-view-engine';
...
@@ -6,7 +6,7 @@ import EditViewEngine from '@engine/view/edit-view-engine';
import
EAMLocationStateUIService
from
'@/uiservice/eamlocation-state/eamlocation-state-ui-service'
;
import
EAMLocationStateUIService
from
'@/uiservice/eamlocation-state/eamlocation-state-ui-service'
;
/**
/**
* 功能位置状态
编辑视图
视图基类
* 功能位置状态
信息
视图基类
*
*
* @export
* @export
* @class EAMLocationStateEditViewBase
* @class EAMLocationStateEditViewBase
...
...
app_AssetManagement/src/pages/location/eamlocation-state-edit-view/eamlocation-state-edit-view.html
浏览文件 @
3795b042
<studio-view-style2
viewName=
"eamlocationstateeditview"
viewTitle=
"功能位置状态
编辑视图
"
class=
'deeditview eamlocation-state-edit-view'
>
<studio-view-style2
viewName=
"eamlocationstateeditview"
viewTitle=
"功能位置状态
信息
"
class=
'deeditview eamlocation-state-edit-view'
>
<template
slot=
'title'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{$t(model.srfTitle)}}
</span>
<span
class=
'caption-info'
>
{{$t(model.srfTitle)}}
</span>
</template>
</template>
...
...
app_AssetManagement/src/pages/location/eamlocation-state-edit-view/eamlocation-state-edit-view.vue
浏览文件 @
3795b042
...
@@ -6,7 +6,7 @@ import { EAMLocationStateEditViewBase } from './eamlocation-state-edit-view-base
...
@@ -6,7 +6,7 @@ import { EAMLocationStateEditViewBase } from './eamlocation-state-edit-view-base
import view_form from '@widgets/eamlocation-state/main-form/main-form.vue';
import view_form from '@widgets/eamlocation-state/main-form/main-form.vue';
/**
/**
* 功能位置状态
编辑视图
视图
* 功能位置状态
信息
视图
*
*
* @export
* @export
* @class EAMLocationStateEditView
* @class EAMLocationStateEditView
...
...
app_AssetManagement/src/pages/location/eamlocation-state-model-edit-view/eamlocation-state-model-edit-view-base.tsx
浏览文件 @
3795b042
...
@@ -99,9 +99,13 @@ export class EAMLocationStateModelEditViewBase extends EditViewBase {
...
@@ -99,9 +99,13 @@ export class EAMLocationStateModelEditViewBase extends EditViewBase {
* @memberof EAMLocationStateModelEditView
* @memberof EAMLocationStateModelEditView
*/
*/
public
toolBarModels
:
any
=
{
public
toolBarModels
:
any
=
{
tbitem
2
:
{
name
:
'tbitem2'
,
caption
:
'保存并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'保存并关闭'
,
iconcls
:
'sx-tb-saveandclose'
,
icon
:
'../sasrfex/images/default/icon_saveandclose.png'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'SaveAndExit
'
,
target
:
''
,
class
:
''
}
},
tbitem
10
:
{
name
:
'tbitem10'
,
caption
:
'保存'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'保存'
,
iconcls
:
'fa fa-save'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Save
'
,
target
:
''
,
class
:
''
}
},
tbitem1
:
{
name
:
'tbitem1'
,
caption
:
'关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'关闭'
,
iconcls
:
'fa fa-sign-out'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Exit'
,
target
:
''
,
class
:
''
}
},
tbitem18
:
{
name
:
'tbitem18'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem11
:
{
name
:
'tbitem11'
,
caption
:
'保存并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'保存并关闭'
,
iconcls
:
'sx-tb-saveandclose'
,
icon
:
'../sasrfex/images/default/icon_saveandclose.png'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'SaveAndExit'
,
target
:
''
,
class
:
''
}
},
tbitem19
:
{
name
:
'tbitem19'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem8
:
{
name
:
'tbitem8'
,
caption
:
'关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'关闭'
,
iconcls
:
'fa fa-sign-out'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Exit'
,
target
:
''
,
class
:
''
}
},
};
};
...
@@ -151,11 +155,14 @@ export class EAMLocationStateModelEditViewBase extends EditViewBase {
...
@@ -151,11 +155,14 @@ export class EAMLocationStateModelEditViewBase extends EditViewBase {
* @memberof EAMLocationStateModelEditViewBase
* @memberof EAMLocationStateModelEditViewBase
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
):
void
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem2'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem10'
))
{
this
.
toolbar_tbitem2_click
(
null
,
''
,
$event2
);
this
.
toolbar_tbitem10_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem11'
))
{
this
.
toolbar_tbitem11_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem
1
'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem
8
'
))
{
this
.
toolbar_tbitem
1
_click
(
null
,
''
,
$event2
);
this
.
toolbar_tbitem
8
_click
(
null
,
''
,
$event2
);
}
}
}
}
...
@@ -200,7 +207,35 @@ export class EAMLocationStateModelEditViewBase extends EditViewBase {
...
@@ -200,7 +207,35 @@ export class EAMLocationStateModelEditViewBase extends EditViewBase {
* @param {*} [$event]
* @param {*} [$event]
* @memberof
* @memberof
*/
*/
public
toolbar_tbitem2_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
public
toolbar_tbitem10_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
.
form
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Save
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"EAMLocationStateModel"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem11_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 参数
// 取数
// 取数
let
datas
:
any
[]
=
[];
let
datas
:
any
[]
=
[];
...
@@ -228,7 +263,7 @@ export class EAMLocationStateModelEditViewBase extends EditViewBase {
...
@@ -228,7 +263,7 @@ export class EAMLocationStateModelEditViewBase extends EditViewBase {
* @param {*} [$event]
* @param {*} [$event]
* @memberof
* @memberof
*/
*/
public
toolbar_tbitem
1
_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
public
toolbar_tbitem
8
_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 参数
// 取数
// 取数
let
datas
:
any
[]
=
[];
let
datas
:
any
[]
=
[];
...
@@ -248,6 +283,32 @@ export class EAMLocationStateModelEditViewBase extends EditViewBase {
...
@@ -248,6 +283,32 @@ export class EAMLocationStateModelEditViewBase extends EditViewBase {
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"EAMLocationStateModel"
);
this
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"EAMLocationStateModel"
);
}
}
/**
* 保存
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof EAMLocationStateModelEditViewBase
*/
public
Save
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
// 界面行为容器对象 _this
const
_this
:
any
=
this
;
if
(
xData
&&
xData
.
save
instanceof
Function
)
{
xData
.
save
().
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
_this
.
$emit
(
'viewdataschange'
,
[{
...
response
.
data
}]);
});
}
else
if
(
_this
.
save
&&
_this
.
save
instanceof
Function
)
{
_this
.
save
();
}
}
/**
/**
* 保存并关闭
* 保存并关闭
*
*
...
...
app_AssetManagement/src/pages/location/eamlocation-state-model-line-grid-view/eamlocation-state-model-line-grid-view-base.tsx
浏览文件 @
3795b042
此差异已折叠。
点击以展开。
app_AssetManagement/src/pages/location/eamlocation-state-model-line-grid-view/eamlocation-state-model-line-grid-view.html
浏览文件 @
3795b042
<studio-view-style2
viewName=
"eamlocationstatemodellinegridview"
viewTitle=
"功能位置状态模型明细表格视图"
class=
'degridview eamlocation-state-model-line-grid-view'
>
<studio-view-style2
viewName=
"eamlocationstatemodellinegridview"
viewTitle=
"功能位置状态模型明细表格视图"
class=
'degridview eamlocation-state-model-line-grid-view'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{$t(model.srfTitle)}}
</span>
</template>
<i-input
slot=
"quickSearch"
v-show=
"!isExpandSearchForm"
v-model=
"query"
placeholder=
"功能位置状态模型明细名称"
search
@
on-search=
"onSearch($event)"
/>
<i-input
slot=
"quickSearch"
v-show=
"!isExpandSearchForm"
v-model=
"query"
placeholder=
"功能位置状态模型明细名称"
search
@
on-search=
"onSearch($event)"
/>
<template
slot=
"toolbar"
>
<template
slot=
"toolbar"
>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click($event)"
/>
</template>
<view-toolbar
mode=
"STYLE2"
:model=
"toolBarModels"
@
item-click=
"toolbar_click($event)"
/>
</template>
...
...
app_AssetManagement/src/widgets/eamlocation-state/main-grid/main-grid-base.tsx
浏览文件 @
3795b042
...
@@ -83,6 +83,14 @@ export class MainGridBase extends GridControlBase {
...
@@ -83,6 +83,14 @@ export class MainGridBase extends GridControlBase {
* @memberof MainGridBase
* @memberof MainGridBase
*/
*/
public
allColumns
:
any
[]
=
[
public
allColumns
:
any
[]
=
[
{
name
:
'eamlocationstateid'
,
label
:
'功能位置状态标识'
,
langtag
:
'entities.eamlocationstate.main_grid.columns.eamlocationstateid'
,
show
:
true
,
util
:
'PX'
,
isEnableRowEdit
:
false
,
},
{
{
name
:
'eamlocationstatename'
,
name
:
'eamlocationstatename'
,
label
:
'功能位置状态名称'
,
label
:
'功能位置状态名称'
,
...
@@ -141,6 +149,7 @@ export class MainGridBase extends GridControlBase {
...
@@ -141,6 +149,7 @@ export class MainGridBase extends GridControlBase {
* @memberof MainBase
* @memberof MainBase
*/
*/
public
hasRowEdit
:
any
=
{
public
hasRowEdit
:
any
=
{
'eamlocationstateid'
:
false
,
'eamlocationstatename'
:
false
,
'eamlocationstatename'
:
false
,
'available'
:
false
,
'available'
:
false
,
'setup'
:
false
,
'setup'
:
false
,
...
...
app_AssetManagement/src/widgets/eamlocation-state/main-grid/main-grid-model.ts
浏览文件 @
3795b042
...
@@ -31,6 +31,11 @@ export default class MainModel {
...
@@ -31,6 +31,11 @@ export default class MainModel {
prop
:
'eamlocationstatename'
,
prop
:
'eamlocationstatename'
,
dataType
:
'TEXT'
,
dataType
:
'TEXT'
,
},
},
{
name
:
'eamlocationstateid'
,
prop
:
'eamlocationstateid'
,
dataType
:
'GUID'
,
},
{
{
name
:
'setup'
,
name
:
'setup'
,
prop
:
'setup'
,
prop
:
'setup'
,
...
...
app_AssetManagement/src/widgets/eamlocation-state/main-grid/main-grid.html
浏览文件 @
3795b042
...
@@ -23,6 +23,18 @@
...
@@ -23,6 +23,18 @@
<template
v-if=
"!isSingleSelect"
>
<template
v-if=
"!isSingleSelect"
>
<el-table-column
align=
"center"
type=
'selection'
:width=
"checkboxColWidth"
></el-table-column>
<el-table-column
align=
"center"
type=
'selection'
:width=
"checkboxColWidth"
></el-table-column>
</template>
</template>
<template
v-if=
"getColumnState('eamlocationstateid')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'eamlocationstateid'"
:label=
"$t('entities.eamlocationstate.main_grid.columns.eamlocationstateid')"
:width=
"180"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.eamlocationstate.main_grid.columns.eamlocationstateid')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.eamlocationstateid}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('eamlocationstatename')"
>
<template
v-if=
"getColumnState('eamlocationstatename')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'eamlocationstatename'"
:label=
"$t('entities.eamlocationstate.main_grid.columns.eamlocationstatename')"
:width=
"180"
:align=
"'left'"
:sortable=
"'custom'"
>
<el-table-column
show-overflow-tooltip
:prop=
"'eamlocationstatename'"
:label=
"$t('entities.eamlocationstate.main_grid.columns.eamlocationstatename')"
:width=
"180"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<template
v-slot:header=
"{column}"
>
...
...
assetmanagement-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
3795b042
...
@@ -254,7 +254,7 @@
...
@@ -254,7 +254,7 @@
<!--输出实体[EAMLOCATIONSTATE]数据结构 -->
<!--输出实体[EAMLOCATIONSTATE]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-eamlocationstate-
29
-12"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-eamlocationstate-
31
-12"
>
<createTable
tableName=
"EAMLOCATIONSTATE"
>
<createTable
tableName=
"EAMLOCATIONSTATE"
>
<column
name=
"CREATEDATE"
remarks=
""
type=
"DATETIME"
>
<column
name=
"CREATEDATE"
remarks=
""
type=
"DATETIME"
>
</column>
</column>
...
@@ -278,7 +278,7 @@
...
@@ -278,7 +278,7 @@
<!--输出实体[EAMLOCATIONSTATEMODEL]数据结构 -->
<!--输出实体[EAMLOCATIONSTATEMODEL]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-eamlocationstatemodel-1
8
-13"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-eamlocationstatemodel-1
9
-13"
>
<createTable
tableName=
"EAMLOCATIONSTATEMODEL"
>
<createTable
tableName=
"EAMLOCATIONSTATEMODEL"
>
<column
name=
"CREATEDATE"
remarks=
""
type=
"DATETIME"
>
<column
name=
"CREATEDATE"
remarks=
""
type=
"DATETIME"
>
</column>
</column>
...
@@ -298,7 +298,7 @@
...
@@ -298,7 +298,7 @@
<!--输出实体[EAMLOCATIONSTATEMODELLINE]数据结构 -->
<!--输出实体[EAMLOCATIONSTATEMODELLINE]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-eamlocationstatemodelline-
18
-14"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-eamlocationstatemodelline-
21
-14"
>
<createTable
tableName=
"EAMLOCATIONSTATEMODELLINE"
>
<createTable
tableName=
"EAMLOCATIONSTATEMODELLINE"
>
<column
name=
"UPDATEMAN"
remarks=
""
type=
"VARCHAR(60)"
>
<column
name=
"UPDATEMAN"
remarks=
""
type=
"VARCHAR(60)"
>
</column>
</column>
...
@@ -322,7 +322,7 @@
...
@@ -322,7 +322,7 @@
<!--输出实体[EAMLOCATIONTYPE]数据结构 -->
<!--输出实体[EAMLOCATIONTYPE]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-eamlocationtype-
17
-15"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-eamlocationtype-
20
-15"
>
<createTable
tableName=
"EAMLOCATIONTYPE"
>
<createTable
tableName=
"EAMLOCATIONTYPE"
>
<column
name=
"EAMLOCATIONTYPENAME"
remarks=
""
type=
"VARCHAR(200)"
>
<column
name=
"EAMLOCATIONTYPENAME"
remarks=
""
type=
"VARCHAR(200)"
>
</column>
</column>
...
@@ -603,11 +603,11 @@
...
@@ -603,11 +603,11 @@
<!--输出实体[EAMLOCATIONSTATE]外键关系 -->
<!--输出实体[EAMLOCATIONSTATE]外键关系 -->
<!--输出实体[EAMLOCATIONSTATEMODEL]外键关系 -->
<!--输出实体[EAMLOCATIONSTATEMODEL]外键关系 -->
<!--输出实体[EAMLOCATIONSTATEMODELLINE]外键关系 -->
<!--输出实体[EAMLOCATIONSTATEMODELLINE]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-eamlocationstatemodelline-
18
-40"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-eamlocationstatemodelline-
21
-40"
>
<addForeignKeyConstraint
baseColumnNames=
"EAMLOCATIONSTATEMODELID"
baseTableName=
"EAMLOCATIONSTATEMODELLINE"
constraintName=
"DER1N_EAMLOCATIONSTATEMODELLIN"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EAMLOCATIONSTATEMODELID"
referencedTableName=
"EAMLOCATIONSTATEMODEL"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"EAMLOCATIONSTATEMODELID"
baseTableName=
"EAMLOCATIONSTATEMODELLINE"
constraintName=
"DER1N_EAMLOCATIONSTATEMODELLIN"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EAMLOCATIONSTATEMODELID"
referencedTableName=
"EAMLOCATIONSTATEMODEL"
validate=
"true"
/>
</changeSet>
</changeSet>
<!--输出实体[EAMLOCATIONTYPE]外键关系 -->
<!--输出实体[EAMLOCATIONTYPE]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-eamlocationtype-
17
-42"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-eamlocationtype-
20
-42"
>
<addForeignKeyConstraint
baseColumnNames=
"EAMLOCATIONSTATEMODELID"
baseTableName=
"EAMLOCATIONTYPE"
constraintName=
"DER1N_EAMLOCATIONTYPE_EAMLOCAT"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EAMLOCATIONSTATEMODELID"
referencedTableName=
"EAMLOCATIONSTATEMODEL"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"EAMLOCATIONSTATEMODELID"
baseTableName=
"EAMLOCATIONTYPE"
constraintName=
"DER1N_EAMLOCATIONTYPE_EAMLOCAT"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EAMLOCATIONSTATEMODELID"
referencedTableName=
"EAMLOCATIONSTATEMODEL"
validate=
"true"
/>
</changeSet>
</changeSet>
<!--输出实体[EAMPLAN]外键关系 -->
<!--输出实体[EAMPLAN]外键关系 -->
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录