Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
资
资产管理
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
资产管理
提交
1c4617bc
提交
1c4617bc
编写于
8月 06, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lab_gzf 部署微服务应用
上级
7bee11b3
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
29 行增加
和
74 行删除
+29
-74
eamasset-child-grid-view-base.tsx
...amasset-child-grid-view/eamasset-child-grid-view-base.tsx
+13
-37
eamasset-location-asset-grid-view-base.tsx
...sset-grid-view/eamasset-location-asset-grid-view-base.tsx
+7
-18
eamasset-ui-service-base.ts
...gement/src/uiservice/eamasset/eamasset-ui-service-base.ts
+9
-19
未找到文件。
app_AssetManagement/src/pages/asset/eamasset-child-grid-view/eamasset-child-grid-view-base.tsx
浏览文件 @
1c4617bc
...
@@ -511,27 +511,16 @@ export class EAMAssetChildGridViewBase extends GridViewBase {
...
@@ -511,27 +511,16 @@ export class EAMAssetChildGridViewBase extends GridViewBase {
}
}
const
parameters
:
any
[]
=
[
const
parameters
:
any
[]
=
[
{
pathName
:
'eamassets'
,
parameterName
:
'eamasset'
},
{
pathName
:
'eamassets'
,
parameterName
:
'eamasset'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
];
];
const
_this
:
any
=
this
;
const
_this
:
any
=
this
;
const
openPopupModal
=
(
view
:
any
,
data
:
any
)
=>
{
const
openIndexViewTab
=
(
data
:
any
)
=>
{
let
container
:
Subject
<
any
>
=
this
.
$appmodal
.
openModal
(
view
,
tempContext
,
data
);
const
_data
:
any
=
{
w
:
(
new
Date
().
getTime
())
};
container
.
subscribe
((
result
:
any
)
=>
{
Object
.
assign
(
_data
,
data
);
if
(
!
result
||
!
Object
.
is
(
result
.
ret
,
'OK'
))
{
const
routePath
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
tempContext
,
deResParameters
,
parameters
,
args
,
_data
);
return
;
this
.
$router
.
push
(
routePath
);
}
if
(
!
xData
||
!
(
xData
.
refresh
instanceof
Function
))
{
return
;
}
xData
.
refresh
(
result
.
datas
);
});
}
}
const
view
:
any
=
{
openIndexViewTab
(
data
);
viewname
:
'eamasset-edit-view'
,
height
:
0
,
width
:
0
,
title
:
this
.
$t
(
'entities.eamasset.views.editview.title'
),
};
openPopupModal
(
view
,
data
);
}
}
...
@@ -561,27 +550,14 @@ export class EAMAssetChildGridViewBase extends GridViewBase {
...
@@ -561,27 +550,14 @@ export class EAMAssetChildGridViewBase extends GridViewBase {
}
}
const
parameters
:
any
[]
=
[
const
parameters
:
any
[]
=
[
{
pathName
:
'eamassets'
,
parameterName
:
'eamasset'
},
{
pathName
:
'eamassets'
,
parameterName
:
'eamasset'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
];
];
const
_this
:
any
=
this
;
const
_this
:
any
=
this
;
const
openPopupModal
=
(
view
:
any
,
data
:
any
)
=>
{
const
openIndexViewTab
=
(
data
:
any
)
=>
{
let
container
:
Subject
<
any
>
=
this
.
$appmodal
.
openModal
(
view
,
tempContext
,
data
);
const
routePath
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
tempContext
,
deResParameters
,
parameters
,
args
,
data
);
container
.
subscribe
((
result
:
any
)
=>
{
this
.
$router
.
push
(
routePath
);
if
(
!
result
||
!
Object
.
is
(
result
.
ret
,
'OK'
))
{
}
return
;
openIndexViewTab
(
data
);
}
if
(
!
xData
||
!
(
xData
.
refresh
instanceof
Function
))
{
return
;
}
xData
.
refresh
(
result
.
datas
);
});
}
const
view
:
any
=
{
viewname
:
'eamasset-edit-view'
,
height
:
0
,
width
:
0
,
title
:
this
.
$t
(
'entities.eamasset.views.editview.title'
),
};
openPopupModal
(
view
,
data
);
}
}
...
...
app_AssetManagement/src/pages/asset/eamasset-location-asset-grid-view/eamasset-location-asset-grid-view-base.tsx
浏览文件 @
1c4617bc
...
@@ -511,27 +511,16 @@ export class EAMAssetLocationAssetGridViewBase extends GridViewBase {
...
@@ -511,27 +511,16 @@ export class EAMAssetLocationAssetGridViewBase extends GridViewBase {
}
}
const
parameters
:
any
[]
=
[
const
parameters
:
any
[]
=
[
{
pathName
:
'eamassets'
,
parameterName
:
'eamasset'
},
{
pathName
:
'eamassets'
,
parameterName
:
'eamasset'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
];
];
const
_this
:
any
=
this
;
const
_this
:
any
=
this
;
const
openPopupModal
=
(
view
:
any
,
data
:
any
)
=>
{
const
openIndexViewTab
=
(
data
:
any
)
=>
{
let
container
:
Subject
<
any
>
=
this
.
$appmodal
.
openModal
(
view
,
tempContext
,
data
);
const
_data
:
any
=
{
w
:
(
new
Date
().
getTime
())
};
container
.
subscribe
((
result
:
any
)
=>
{
Object
.
assign
(
_data
,
data
);
if
(
!
result
||
!
Object
.
is
(
result
.
ret
,
'OK'
))
{
const
routePath
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
tempContext
,
deResParameters
,
parameters
,
args
,
_data
);
return
;
this
.
$router
.
push
(
routePath
);
}
if
(
!
xData
||
!
(
xData
.
refresh
instanceof
Function
))
{
return
;
}
xData
.
refresh
(
result
.
datas
);
});
}
}
const
view
:
any
=
{
openIndexViewTab
(
data
);
viewname
:
'eamasset-edit-view'
,
height
:
0
,
width
:
0
,
title
:
this
.
$t
(
'entities.eamasset.views.editview.title'
),
};
openPopupModal
(
view
,
data
);
}
}
...
...
app_AssetManagement/src/uiservice/eamasset/eamasset-ui-service-base.ts
浏览文件 @
1c4617bc
...
@@ -161,28 +161,18 @@ export default class EAMAssetUIServiceBase extends UIService {
...
@@ -161,28 +161,18 @@ export default class EAMAssetUIServiceBase extends UIService {
}
}
const
parameters
:
any
[]
=
[
const
parameters
:
any
[]
=
[
{
pathName
:
'eamassets'
,
parameterName
:
'eamasset'
},
{
pathName
:
'eamassets'
,
parameterName
:
'eamasset'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
];
];
actionContext
.
closeView
(
null
);
actionContext
.
closeView
(
null
);
const
openPopupModal
=
(
view
:
any
,
data
:
any
)
=>
{
const
openIndexViewTab
=
(
data
:
any
)
=>
{
let
container
:
Subject
<
any
>
=
actionContext
.
$appmodal
.
openModal
(
view
,
context
,
data
);
const
routePath
=
actionContext
.
$viewTool
.
buildUpRoutePath
(
actionContext
.
$route
,
context
,
deResParameters
,
parameters
,
_args
,
data
);
container
.
subscribe
((
result
:
any
)
=>
{
actionContext
.
$router
.
push
(
routePath
);
if
(
!
result
||
!
Object
.
is
(
result
.
ret
,
'OK'
))
{
if
(
xData
&&
xData
.
refresh
&&
xData
.
refresh
instanceof
Function
)
{
return
;
xData
.
refresh
(
args
);
}
const
_this
:
any
=
actionContext
;
if
(
xData
&&
xData
.
refresh
&&
xData
.
refresh
instanceof
Function
)
{
xData
.
refresh
(
args
);
}
return
result
.
datas
;
});
}
}
const
view
:
any
=
{
return
null
;
viewname
:
'eamasset-edit-view'
,
}
height
:
0
,
openIndexViewTab
(
data
);
width
:
0
,
title
:
actionContext
.
$t
(
'entities.eamasset.views.editview.title'
),
};
openPopupModal
(
view
,
data
);
}
}
/**
/**
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录