Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
资
资产管理
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
资产管理
提交
ab58c3a1
提交
ab58c3a1
编写于
8月 04, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lab_gzf 部署微服务应用
上级
57346f59
变更
10
隐藏空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
369 行增加
和
0 行删除
+369
-0
state.ts
app_AssetManagement/src/store/modules/view-action/state.ts
+1
-0
info-viewtabexppanel-tabexppanel.html
...xppanel-tabexppanel/info-viewtabexppanel-tabexppanel.html
+12
-0
info-viewtabexppanel-tabexppanel-base.tsx
...nel-tabexppanel/info-viewtabexppanel-tabexppanel-base.tsx
+1
-0
info-viewtabexppanel-tabexppanel.html
...xppanel-tabexppanel/info-viewtabexppanel-tabexppanel.html
+42
-0
info-viewtabexppanel-tabexppanel.vue
...exppanel-tabexppanel/info-viewtabexppanel-tabexppanel.vue
+2
-0
info-viewtabviewpanel3-tabviewpanel-base.tsx
...tabviewpanel/info-viewtabviewpanel3-tabviewpanel-base.tsx
+206
-0
info-viewtabviewpanel3-tabviewpanel-model.ts
...tabviewpanel/info-viewtabviewpanel3-tabviewpanel-model.ts
+61
-0
info-viewtabviewpanel3-tabviewpanel-service.ts
...bviewpanel/info-viewtabviewpanel3-tabviewpanel-service.ts
+11
-0
info-viewtabviewpanel3-tabviewpanel.html
...el3-tabviewpanel/info-viewtabviewpanel3-tabviewpanel.html
+11
-0
info-viewtabviewpanel3-tabviewpanel.vue
...nel3-tabviewpanel/info-viewtabviewpanel3-tabviewpanel.vue
+22
-0
未找到文件。
app_AssetManagement/src/store/modules/view-action/state.ts
浏览文件 @
ab58c3a1
...
...
@@ -536,6 +536,7 @@ export const viewstate: any = {
viewdatachange
:
false
,
refviews
:
[
'b24fce391aeca43222a1017b50ba40e2'
,
'fc4b884f4116e498cafad375e0b6cb7d'
,
'cc29cbcb0398aa069d4b05f3469f0377'
,
],
},
...
...
app_AssetManagement/src/widgets/eamasset/info-viewtabexppanel-tabexppanel/info-viewtabexppanel-tabexppanel.html
浏览文件 @
ab58c3a1
...
...
@@ -3,6 +3,12 @@
<tab-pane
:index=
"0"
name=
'tabviewpanel'
tab=
'infoviewtabexppanel'
class=
''
:label=
"(h) =>{
return h('div', [
h('i',{
class:'fa fa-info-circle',
style:{
'margin-right' : '2px'
}
}),
h('span', '概览'),
h('Badge', {
props: {
...
...
@@ -27,6 +33,12 @@
<tab-pane
:index=
"1"
name=
'tabviewpanel2'
tab=
'infoviewtabexppanel'
class=
''
:label=
"(h) =>{
return h('div', [
h('i',{
class:'fa fa-rocket',
style:{
'margin-right' : '2px'
}
}),
h('span', '下级资产'),
h('Badge', {
props: {
...
...
app_AssetManagement/src/widgets/eamlocation/info-viewtabexppanel-tabexppanel/info-viewtabexppanel-tabexppanel-base.tsx
浏览文件 @
ab58c3a1
...
...
@@ -58,6 +58,7 @@ export class InfoViewtabexppanelTabexppanelBase extends TabExpPanelControlBase {
protected
isInit
:
any
=
{
tabviewpanel
:
true
,
tabviewpanel2
:
false
,
tabviewpanel3
:
false
,
}
/**
...
...
app_AssetManagement/src/widgets/eamlocation/info-viewtabexppanel-tabexppanel/info-viewtabexppanel-tabexppanel.html
浏览文件 @
ab58c3a1
...
...
@@ -3,6 +3,12 @@
<tab-pane
:index=
"0"
name=
'tabviewpanel'
tab=
'infoviewtabexppanel'
class=
''
:label=
"(h) =>{
return h('div', [
h('i',{
class:'fa fa-info-circle',
style:{
'margin-right' : '2px'
}
}),
h('span', '功能位置信息'),
h('Badge', {
props: {
...
...
@@ -27,6 +33,12 @@
<tab-pane
:index=
"1"
name=
'tabviewpanel2'
tab=
'infoviewtabexppanel'
class=
''
:label=
"(h) =>{
return h('div', [
h('i',{
class:'fa fa-navicon',
style:{
'margin-right' : '2px'
}
}),
h('span', '下级功能位置'),
h('Badge', {
props: {
...
...
@@ -48,5 +60,35 @@
@
closeview=
"closeView($event)"
>
</view
_tabviewpanel2
>
</tab-pane>
<tab-pane
:index=
"2"
name=
'tabviewpanel3'
tab=
'infoviewtabexppanel'
class=
''
:label=
"(h) =>{
return h('div', [
h('i',{
class:'fa fa-rocket',
style:{
'margin-right' : '2px'
}
}),
h('span', '位置资产'),
h('Badge', {
props: {
count: undefined,
type: 'primary'
}
})
])
}"
>
<view
_tabviewpanel3
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
v-if=
"isInit.tabviewpanel3"
name=
"tabviewpanel3"
ref=
'tabviewpanel3'
:expActive=
"activatedTabViewPanel === 'tabviewpanel3'"
@
viewpanelDatasChange =
"tabViewPanelDatasChange"
@
closeview=
"closeView($event)"
>
</view
_tabviewpanel3
>
</tab-pane>
</tabs>
</div>
\ No newline at end of file
app_AssetManagement/src/widgets/eamlocation/info-viewtabexppanel-tabexppanel/info-viewtabexppanel-tabexppanel.vue
浏览文件 @
ab58c3a1
...
...
@@ -5,6 +5,7 @@ import { VueLifeCycleProcessing } from '@/studio-core';
import { InfoViewtabexppanelTabexppanelBase } from './info-viewtabexppanel-tabexppanel-base';
import view_tabviewpanel from '@widgets/eamlocation/info-viewtabviewpanel-tabviewpanel/info-viewtabviewpanel-tabviewpanel.vue';
import view_tabviewpanel2 from '@widgets/eamlocation/info-viewtabviewpanel2-tabviewpanel/info-viewtabviewpanel2-tabviewpanel.vue';
import view_tabviewpanel3 from '@widgets/eamlocation/info-viewtabviewpanel3-tabviewpanel/info-viewtabviewpanel3-tabviewpanel.vue';
/**
...
...
@@ -18,6 +19,7 @@ import view_tabviewpanel2 from '@widgets/eamlocation/info-viewtabviewpanel2-tabv
components: {
view_tabviewpanel,
view_tabviewpanel2,
view_tabviewpanel3,
}
})
...
...
app_AssetManagement/src/widgets/eamlocation/info-viewtabviewpanel3-tabviewpanel/info-viewtabviewpanel3-tabviewpanel-base.tsx
0 → 100644
浏览文件 @
ab58c3a1
import
{
Prop
,
Provide
,
Emit
,
Model
}
from
'vue-property-decorator'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
Watch
,
MainControlBase
}
from
'@/studio-core'
;
import
EAMLocationService
from
'@/service/eamlocation/eamlocation-service'
;
import
InfoViewtabviewpanel3Service
from
'./info-viewtabviewpanel3-tabviewpanel-service'
;
import
EAMLocationUIService
from
'@/uiservice/eamlocation/eamlocation-ui-service'
;
/**
* tabviewpanel3部件基类
*
* @export
* @class MainControlBase
* @extends {InfoViewtabviewpanel3TabviewpanelBase}
*/
export
class
InfoViewtabviewpanel3TabviewpanelBase
extends
MainControlBase
{
/**
* 获取部件类型
*
* @protected
* @type {string}
* @memberof InfoViewtabviewpanel3TabviewpanelBase
*/
protected
controlType
:
string
=
'TABVIEWPANEL'
;
/**
* 建构部件服务对象
*
* @type {InfoViewtabviewpanel3Service}
* @memberof InfoViewtabviewpanel3TabviewpanelBase
*/
public
service
:
InfoViewtabviewpanel3Service
=
new
InfoViewtabviewpanel3Service
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {EAMLocationService}
* @memberof InfoViewtabviewpanel3TabviewpanelBase
*/
public
appEntityService
:
EAMLocationService
=
new
EAMLocationService
({
$store
:
this
.
$store
});
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof InfoViewtabviewpanel3TabviewpanelBase
*/
protected
appDeName
:
string
=
'eamlocation'
;
/**
* 导航模式下项是否激活
*
* @type {*}
* @memberof InfoViewtabviewpanel3
*/
@
Prop
()
public
expActive
!
:
any
;
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof InfoViewtabviewpanel3
*/
public
getDatas
():
any
[]
{
return
[];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof InfoViewtabviewpanel3
*/
public
getData
():
any
{
return
null
;
}
/**
* 是否被激活
*
* @type {boolean}
* @memberof InfoViewtabviewpanel3
*/
public
isActivied
:
boolean
=
true
;
/**
* 局部上下文
*
* @type {*}
* @memberof InfoViewtabviewpanel3
*/
public
localContext
:
any
=
null
;
/**
* 局部视图参数
*
* @type {*}
* @memberof InfoViewtabviewpanel3
*/
public
localViewParam
:
any
=
null
;
/**
* 传入上下文
*
* @type {string}
* @memberof TabExpViewtabviewpanel
*/
public
viewdata
:
string
=
JSON
.
stringify
(
this
.
context
);
/**
* 传入视图参数
*
* @type {string}
* @memberof PickupViewpickupviewpanel
*/
public
viewparam
:
string
=
JSON
.
stringify
(
this
.
viewparams
);
/**
* 视图面板过滤项
*
* @type {string}
* @memberof InfoViewtabviewpanel3
*/
public
navfilter
:
string
=
""
;
/**
* vue 生命周期
*
* @returns
* @memberof InfoViewtabviewpanel3
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof InfoViewtabviewpanel3
*/
public
afterCreated
(){
this
.
initNavParam
();
if
(
this
.
viewState
)
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
if
(
!
Object
.
is
(
tag
,
this
.
name
))
{
return
;
}
this
.
$forceUpdate
();
this
.
initNavParam
();
});
}
}
/**
* 初始化导航参数
*
* @memberof InfoViewtabviewpanel3
*/
public
initNavParam
(){
if
(
!
Object
.
is
(
this
.
navfilter
,
""
)){
Object
.
assign
(
this
.
viewparams
,{[
this
.
navfilter
]:
this
.
context
[
'majorentity'
]})
}
if
(
this
.
localContext
&&
Object
.
keys
(
this
.
localContext
).
length
>
0
){
let
_context
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localContext
);
Object
.
assign
(
this
.
context
,
_context
);
}
if
(
this
.
localViewParam
&&
Object
.
keys
(
this
.
localViewParam
).
length
>
0
){
let
_param
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localViewParam
);
Object
.
assign
(
this
.
viewparams
,
_param
);
}
this
.
viewdata
=
JSON
.
stringify
(
this
.
context
);
this
.
viewparam
=
JSON
.
stringify
(
this
.
viewparams
);
}
/**
* 视图数据变化
*
* @memberof InfoViewtabviewpanel3
*/
public
viewDatasChange
(
$event
:
any
){
this
.
$emit
(
'viewpanelDatasChange'
,
$event
);
}
/**
* vue 生命周期
*
* @memberof InfoViewtabviewpanel3
*/
public
destroyed
()
{
this
.
afterDestroy
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof InfoViewtabviewpanel3
*/
public
afterDestroy
()
{
if
(
this
.
viewStateEvent
)
{
this
.
viewStateEvent
.
unsubscribe
();
}
}
}
\ No newline at end of file
app_AssetManagement/src/widgets/eamlocation/info-viewtabviewpanel3-tabviewpanel/info-viewtabviewpanel3-tabviewpanel-model.ts
0 → 100644
浏览文件 @
ab58c3a1
/**
* InfoViewtabviewpanel3 部件模型
*
* @export
* @class InfoViewtabviewpanel3Model
*/
export
default
class
InfoViewtabviewpanel3Model
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof InfoViewtabviewpanel3Model
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'eamlocation'
,
prop
:
'eamlocationid'
,
},
{
name
:
'createman'
,
},
{
name
:
'createdate'
,
},
{
name
:
'eamlocationname'
,
},
{
name
:
'updateman'
,
},
{
name
:
'updatedate'
,
},
{
name
:
'eamlocationtypeid'
,
},
{
name
:
'peamlocationid'
,
},
{
name
:
'eamlocationstateid'
,
},
{
name
:
'peamlocationname'
,
},
{
name
:
'eamlocationtypename'
,
},
{
name
:
'eamlocationstatename'
,
},
{
name
:
'locationnumber'
,
},
]
}
}
\ No newline at end of file
app_AssetManagement/src/widgets/eamlocation/info-viewtabviewpanel3-tabviewpanel/info-viewtabviewpanel3-tabviewpanel-service.ts
0 → 100644
浏览文件 @
ab58c3a1
import
{
Http
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
/**
* InfoViewtabviewpanel3 部件服务对象
*
* @export
* @class InfoViewtabviewpanel3Service
*/
export
default
class
InfoViewtabviewpanel3Service
extends
ControlService
{
}
\ No newline at end of file
app_AssetManagement/src/widgets/eamlocation/info-viewtabviewpanel3-tabviewpanel/info-viewtabviewpanel3-tabviewpanel.html
0 → 100644
浏览文件 @
ab58c3a1
<div
class=
'tabviewpanel'
v-if=
'isActivied'
>
<eamasset-grid-view
class=
'viewcontainer2'
:viewdata=
"viewdata"
:viewparam=
"viewparam"
@
viewload=
"viewDatasChange($event)"
:viewDefaultUsage=
"false"
:viewUsage=
"7"
:expActive=
"expActive"
/>
</div>
\ No newline at end of file
app_AssetManagement/src/widgets/eamlocation/info-viewtabviewpanel3-tabviewpanel/info-viewtabviewpanel3-tabviewpanel.vue
0 → 100644
浏览文件 @
ab58c3a1
<
template
src=
"./info-viewtabviewpanel3-tabviewpanel.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { InfoViewtabviewpanel3TabviewpanelBase } from './info-viewtabviewpanel3-tabviewpanel-base';
/**
* tabviewpanel3部件
*
* @export
* @class InfoViewtabviewpanel3Tabviewpanel
* @extends {InfoViewtabviewpanel3TabviewpanelBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class InfoViewtabviewpanel3Tabviewpanel extends InfoViewtabviewpanel3TabviewpanelBase { }
</script>
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录