Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
7f83ce94
提交
7f83ce94
编写于
6月 18, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chitanda 发布系统代码
上级
8aba2d21
变更
22
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
22 个修改的文件
包含
3335 行增加
和
5 行删除
+3335
-5
account-inner-pickup-grid-view-base.vue
...-pickup-grid-view/account-inner-pickup-grid-view-base.vue
+0
-3
ibiz-list-info-abstract-base.vue
.../ibiz-list-info-abstract/ibiz-list-info-abstract-base.vue
+515
-0
ibiz-list-info-abstract.less
...ting/ibiz-list-info-abstract/ibiz-list-info-abstract.less
+6
-0
ibiz-list-info-abstract.vue
...eting/ibiz-list-info-abstract/ibiz-list-info-abstract.vue
+19
-0
page-register.ts
...usinessCentral/src/pages/ungroup/central/page-register.ts
+1
-0
router.ts
app_BusinessCentral/src/pages/ungroup/central/router.ts
+27
-0
state.ts
app_BusinessCentral/src/store/modules/view-action/state.ts
+14
-0
inner-pickip-grid-base.vue
...gets/account/inner-pickip-grid/inner-pickip-grid-base.vue
+2
-2
abstract-info-form-base.vue
.../ibiz-list/abstract-info-form/abstract-info-form-base.vue
+1779
-0
abstract-info-form-model.ts
.../ibiz-list/abstract-info-form/abstract-info-form-model.ts
+116
-0
abstract-info-form-service.ts
...biz-list/abstract-info-form/abstract-info-form-service.ts
+371
-0
abstract-info-form.less
...gets/ibiz-list/abstract-info-form/abstract-info-form.less
+4
-0
abstract-info-form.vue
...dgets/ibiz-list/abstract-info-form/abstract-info-form.vue
+14
-0
summary-dashboard-base.vue
...ts/ibiz-list/summary-dashboard/summary-dashboard-base.vue
+54
-0
summary-dashboard.vue
...widgets/ibiz-list/summary-dashboard/summary-dashboard.vue
+4
-0
summarydashboard-container1-portlet.less
...ntainer1-portlet/summarydashboard-container1-portlet.less
+4
-0
summarydashboard-container2-portlet.less
...ntainer2-portlet/summarydashboard-container2-portlet.less
+4
-0
view-list-abs-portlet-base.vue
...list/view-list-abs-portlet/view-list-abs-portlet-base.vue
+241
-0
view-list-abs-portlet-model.ts
...list/view-list-abs-portlet/view-list-abs-portlet-model.ts
+130
-0
view-list-abs-portlet-service.ts
...st/view-list-abs-portlet/view-list-abs-portlet-service.ts
+11
-0
view-list-abs-portlet.less
...biz-list/view-list-abs-portlet/view-list-abs-portlet.less
+4
-0
view-list-abs-portlet.vue
...ibiz-list/view-list-abs-portlet/view-list-abs-portlet.vue
+15
-0
未找到文件。
app_BusinessCentral/src/pages/base/account-inner-pickup-grid-view/account-inner-pickup-grid-view-base.vue
浏览文件 @
7f83ce94
<
template
>
<
template
>
<studio-view
viewName=
"accountinnerpickupgridview"
viewTitle=
"account选择表格视图"
class=
'depickupgridview account-inner-pickup-grid-view'
>
<studio-view
viewName=
"accountinnerpickupgridview"
viewTitle=
"account选择表格视图"
class=
'depickupgridview account-inner-pickup-grid-view'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{
$t
(
model
.
srfTitle
)
}}
</span>
</
template
>
<template
slot=
"searchForm"
>
<template
slot=
"searchForm"
>
<view
_searchform
<view
_searchform
:viewState=
"viewState"
:viewState=
"viewState"
...
...
app_BusinessCentral/src/pages/marketing/ibiz-list-info-abstract/ibiz-list-info-abstract-base.vue
0 → 100644
浏览文件 @
7f83ce94
此差异已折叠。
点击以展开。
app_BusinessCentral/src/pages/marketing/ibiz-list-info-abstract/ibiz-list-info-abstract.less
0 → 100644
浏览文件 @
7f83ce94
// 避免空文件,后台不让空文件过
.ibiz-list-info-abstract {
--ibiz-list-info-abstract: 0;
}
app_BusinessCentral/src/pages/marketing/ibiz-list-info-abstract/ibiz-list-info-abstract.vue
0 → 100644
浏览文件 @
7f83ce94
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
IBizListInfo_AbstractBase
from
'./ibiz-list-info-abstract-base.vue'
;
import
view_form
from
'@widgets/ibiz-list/abstract-info-form/abstract-info-form.vue'
;
@
Component
({
components
:
{
view_form
,
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
route
:
to
,
viewtag
:
vm
.
viewtag
});
});
},
})
export
default
class
IBizListInfo_Abstract
extends
IBizListInfo_AbstractBase
{
}
</
script
>
\ No newline at end of file
app_BusinessCentral/src/pages/ungroup/central/page-register.ts
浏览文件 @
7f83ce94
...
@@ -54,6 +54,7 @@ export const PageComponents = {
...
@@ -54,6 +54,7 @@ export const PageComponents = {
Vue
.
component
(
'contact-by-account'
,
()
=>
import
(
'@pages/base/contact-by-account/contact-by-account.vue'
));
Vue
.
component
(
'contact-by-account'
,
()
=>
import
(
'@pages/base/contact-by-account/contact-by-account.vue'
));
Vue
.
component
(
'product-grid-view'
,
()
=>
import
(
'@pages/product/product-grid-view/product-grid-view.vue'
));
Vue
.
component
(
'product-grid-view'
,
()
=>
import
(
'@pages/product/product-grid-view/product-grid-view.vue'
));
Vue
.
component
(
'sales-literature-edit-view'
,
()
=>
import
(
'@pages/sales/sales-literature-edit-view/sales-literature-edit-view.vue'
));
Vue
.
component
(
'sales-literature-edit-view'
,
()
=>
import
(
'@pages/sales/sales-literature-edit-view/sales-literature-edit-view.vue'
));
Vue
.
component
(
'ibiz-list-info-abstract'
,
()
=>
import
(
'@pages/marketing/ibiz-list-info-abstract/ibiz-list-info-abstract.vue'
));
Vue
.
component
(
'ibiz-list-info'
,
()
=>
import
(
'@pages/marketing/ibiz-list-info/ibiz-list-info.vue'
));
Vue
.
component
(
'ibiz-list-info'
,
()
=>
import
(
'@pages/marketing/ibiz-list-info/ibiz-list-info.vue'
));
Vue
.
component
(
'ibiz-list-summary'
,
()
=>
import
(
'@pages/marketing/ibiz-list-summary/ibiz-list-summary.vue'
));
Vue
.
component
(
'ibiz-list-summary'
,
()
=>
import
(
'@pages/marketing/ibiz-list-summary/ibiz-list-summary.vue'
));
Vue
.
component
(
'lead-pickup-grid-view'
,
()
=>
import
(
'@pages/sales/lead-pickup-grid-view/lead-pickup-grid-view.vue'
));
Vue
.
component
(
'lead-pickup-grid-view'
,
()
=>
import
(
'@pages/sales/lead-pickup-grid-view/lead-pickup-grid-view.vue'
));
...
...
app_BusinessCentral/src/pages/ungroup/central/router.ts
浏览文件 @
7f83ce94
...
@@ -969,6 +969,20 @@ const router = new Router({
...
@@ -969,6 +969,20 @@ const router = new Router({
},
},
component
:
()
=>
import
(
'@pages/sales/sales-literature-edit-view/sales-literature-edit-view.vue'
),
component
:
()
=>
import
(
'@pages/sales/sales-literature-edit-view/sales-literature-edit-view.vue'
),
},
},
{
path
:
'ibizlists/:ibizlist?/info_abstract/:info_abstract?'
,
meta
:
{
caption
:
'entities.ibizlist.views.info_abstract.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'ibizlists'
,
parameterName
:
'ibizlist'
},
{
pathName
:
'info_abstract'
,
parameterName
:
'info_abstract'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/marketing/ibiz-list-info-abstract/ibiz-list-info-abstract.vue'
),
},
{
{
path
:
'ibizlists/:ibizlist?/info/:info?'
,
path
:
'ibizlists/:ibizlist?/info/:info?'
,
meta
:
{
meta
:
{
...
@@ -2250,6 +2264,19 @@ const router = new Router({
...
@@ -2250,6 +2264,19 @@ const router = new Router({
},
},
component
:
()
=>
import
(
'@pages/base/account-info/account-info.vue'
),
component
:
()
=>
import
(
'@pages/base/account-info/account-info.vue'
),
},
},
{
path
:
'/ibizlists/:ibizlist?/info_abstract/:info_abstract?'
,
meta
:
{
caption
:
'entities.ibizlist.views.info_abstract.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizlists'
,
parameterName
:
'ibizlist'
},
{
pathName
:
'info_abstract'
,
parameterName
:
'info_abstract'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/marketing/ibiz-list-info-abstract/ibiz-list-info-abstract.vue'
),
},
{
{
path
:
'/salesliteratures/:salesliterature?/editview/:editview?'
,
path
:
'/salesliteratures/:salesliterature?/editview/:editview?'
,
meta
:
{
meta
:
{
...
...
app_BusinessCentral/src/store/modules/view-action/state.ts
浏览文件 @
7f83ce94
...
@@ -239,6 +239,15 @@ export const viewstate: any = {
...
@@ -239,6 +239,15 @@ export const viewstate: any = {
'016e75bb460270519a0ee9dda57b2c90'
,
'016e75bb460270519a0ee9dda57b2c90'
,
],
],
},
},
{
viewtag
:
'2eba43abd437c023437f1f2effb1fccb'
,
viewmodule
:
'Marketing'
,
viewname
:
'IBizListInfo_Abstract'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
{
viewtag
:
'303fcfed216ca770612be2c0a97be789'
,
viewtag
:
'303fcfed216ca770612be2c0a97be789'
,
viewmodule
:
'Sales'
,
viewmodule
:
'Sales'
,
...
@@ -686,6 +695,11 @@ export const viewstate: any = {
...
@@ -686,6 +695,11 @@ export const viewstate: any = {
viewaction
:
''
,
viewaction
:
''
,
viewdatachange
:
false
,
viewdatachange
:
false
,
refviews
:
[
refviews
:
[
'aa79d35850f36fbc1a5085353ecd5af5'
,
'2eba43abd437c023437f1f2effb1fccb'
,
'a95d7d9111bc13a8b73a11ee1e4ff92a'
,
'893e62d6fbdc4580de7e3e802aec9108'
,
'a5213905238dbc5d8e1a505029105cc9'
,
],
],
},
},
{
{
...
...
app_BusinessCentral/src/widgets/account/inner-pickip-grid/inner-pickip-grid-base.vue
浏览文件 @
7f83ce94
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
<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('accountname')"
>
<
template
v-if=
"getColumnState('accountname')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'accountname'"
:label=
"$t('entities.account.innerpickip_grid.columns.accountname')"
:width=
"250"
:align=
"'left'"
:sortable=
"'custom'"
>
<el-table-column
show-overflow-tooltip
:prop=
"'accountname'"
:label=
"$t('entities.account.innerpickip_grid.columns.accountname')"
:
min-
width=
"250"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"
{column}">
<template
v-slot:header=
"
{column}">
<span
class=
"column-header "
>
<span
class=
"column-header "
>
{{
$t
(
'entities.account.innerpickip_grid.columns.accountname'
)
}}
{{
$t
(
'entities.account.innerpickip_grid.columns.accountname'
)
}}
...
@@ -480,7 +480,7 @@ export default class InnerPickipBase extends Vue implements ControlInterface {
...
@@ -480,7 +480,7 @@ export default class InnerPickipBase extends Vue implements ControlInterface {
label
:
'客户名称'
,
label
:
'客户名称'
,
langtag
:
'entities.account.innerpickip_grid.columns.accountname'
,
langtag
:
'entities.account.innerpickip_grid.columns.accountname'
,
show
:
true
,
show
:
true
,
util
:
'
PX
'
util
:
'
STAR
'
},
},
{
{
name
:
'emailaddress1'
,
name
:
'emailaddress1'
,
...
...
app_BusinessCentral/src/widgets/ibiz-list/abstract-info-form/abstract-info-form-base.vue
0 → 100644
浏览文件 @
7f83ce94
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/ibiz-list/abstract-info-form/abstract-info-form-model.ts
0 → 100644
浏览文件 @
7f83ce94
/**
* AbstractInfo 部件模型
*
* @export
* @class AbstractInfoModel
*/
export
default
class
AbstractInfoModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof AbstractInfoModel
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'srfwfmemo'
,
prop
:
'srfwfmemo'
,
dataType
:
'TEXT'
,
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name
:
'srffrontuf'
,
prop
:
'srffrontuf'
,
dataType
:
'TEXT'
,
},
{
name
:
'srfupdatedate'
,
prop
:
'updatedate'
,
dataType
:
'DATETIME'
,
},
{
name
:
'srforikey'
,
},
{
name
:
'srfkey'
,
prop
:
'listid'
,
dataType
:
'GUID'
,
},
{
name
:
'srfmajortext'
,
prop
:
'listname'
,
dataType
:
'TEXT'
,
},
{
name
:
'srftempmode'
,
},
{
name
:
'srfuf'
,
},
{
name
:
'srfdeid'
,
},
{
name
:
'srfsourcekey'
,
},
{
name
:
'listname'
,
prop
:
'listname'
,
dataType
:
'TEXT'
,
},
{
name
:
'type'
,
prop
:
'type'
,
dataType
:
'YESNO'
,
},
{
name
:
'purpose'
,
prop
:
'purpose'
,
dataType
:
'TEXT'
,
},
{
name
:
'membertype'
,
prop
:
'membertype'
,
dataType
:
'INT'
,
},
{
name
:
'source'
,
prop
:
'source'
,
dataType
:
'TEXT'
,
},
{
name
:
'transactioncurrencyname'
,
prop
:
'transactioncurrencyname'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'cost'
,
prop
:
'cost'
,
dataType
:
'BIGDECIMAL'
,
},
{
name
:
'owneridyominame'
,
prop
:
'owneridyominame'
,
dataType
:
'TEXT'
,
},
{
name
:
'description'
,
prop
:
'description'
,
dataType
:
'TEXT'
,
},
{
name
:
'listid'
,
prop
:
'listid'
,
dataType
:
'GUID'
,
},
{
name
:
'ibizlist'
,
prop
:
'listid'
,
dataType
:
'FONTKEY'
,
},
]
}
}
\ No newline at end of file
app_BusinessCentral/src/widgets/ibiz-list/abstract-info-form/abstract-info-form-service.ts
0 → 100644
浏览文件 @
7f83ce94
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/ibiz-list/abstract-info-form/abstract-info-form.less
0 → 100644
浏览文件 @
7f83ce94
.form {
--form: 0px;
}
// this is less
app_BusinessCentral/src/widgets/ibiz-list/abstract-info-form/abstract-info-form.vue
0 → 100644
浏览文件 @
7f83ce94
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
AbstractInfoBase
from
'./abstract-info-form-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
AbstractInfo
extends
AbstractInfoBase
{
}
</
script
>
\ No newline at end of file
app_BusinessCentral/src/widgets/ibiz-list/summary-dashboard/summary-dashboard-base.vue
浏览文件 @
7f83ce94
...
@@ -4,6 +4,60 @@
...
@@ -4,6 +4,60 @@
<app-build
@
handleClick=
"handleClick"
></app-build>
<app-build
@
handleClick=
"handleClick"
></app-build>
</row>
</row>
<row
v-if=
"!isHasCustomized"
>
<row
v-if=
"!isHasCustomized"
>
<i-col
:md=
"
{ span: 24, offset: 0 }" :lg="{ span: 18, offset: 0 }">
<card
class=
"portlet-card"
:bordered=
"false"
dis-hover
:padding=
"0"
>
<span>
<div
class=
'portlet-container summarydashboard-container1 '
:style=
"
{}">
<row>
<i-col
:md=
"
{ span: 24, offset: 0 }">
<div
class=
"portlet-without-title"
>
<card
class=
"portlet-card"
:bordered=
"false"
dis-hover
:padding=
"0"
>
<span>
<view
_dashboard_sysportlet1
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:height=
"300"
name=
"dashboard_sysportlet1"
ref=
'dashboard_sysportlet1'
@
closeview=
"closeView($event)"
>
</view
_dashboard_sysportlet1
>
</span>
</card>
</div>
</i-col>
</row>
</div>
</span>
</card>
</i-col>
<i-col
:md=
"
{ span: 24, offset: 0 }" :lg="{ span: 6, offset: 0 }">
<card
class=
"portlet-card"
:bordered=
"false"
dis-hover
:padding=
"0"
>
<span>
<div
class=
'portlet-container summarydashboard-container2 '
:style=
"
{}">
<row>
<i-col
:md=
"
{ span: 24, offset: 0 }">
<div
class=
"portlet-without-title"
>
<card
class=
"portlet-card"
:bordered=
"false"
dis-hover
:padding=
"0"
>
<span>
<view
_dashboard_sysportlet2
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:height=
"300"
name=
"dashboard_sysportlet2"
ref=
'dashboard_sysportlet2'
@
closeview=
"closeView($event)"
>
</view
_dashboard_sysportlet2
>
</span>
</card>
</div>
</i-col>
</row>
</div>
</span>
</card>
</i-col>
</row>
</row>
<row
v-if=
"isHasCustomized"
style=
"width: 100%;min-height: calc(100% - 40px);"
>
<row
v-if=
"isHasCustomized"
style=
"width: 100%;min-height: calc(100% - 40px);"
>
<div
class=
"portlet-container"
style=
"position: relative;width:100%;"
>
<div
class=
"portlet-container"
style=
"position: relative;width:100%;"
>
...
...
app_BusinessCentral/src/widgets/ibiz-list/summary-dashboard/summary-dashboard.vue
浏览文件 @
7f83ce94
<
script
lang=
'tsx'
>
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
{
Component
}
from
'vue-property-decorator'
;
import
SummaryBase
from
'./summary-dashboard-base.vue'
;
import
SummaryBase
from
'./summary-dashboard-base.vue'
;
import
view_dashboard_sysportlet2
from
'@widgets/activity-pointer/list-by-parent-key-portlet/list-by-parent-key-portlet.vue'
;
import
view_dashboard_sysportlet1
from
'@widgets/ibiz-list/view-list-abs-portlet/view-list-abs-portlet.vue'
;
@
Component
({
@
Component
({
components
:
{
components
:
{
view_dashboard_sysportlet2
,
view_dashboard_sysportlet1
,
}
}
})
})
...
...
app_BusinessCentral/src/widgets/ibiz-list/summarydashboard-container1-portlet/summarydashboard-container1-portlet.less
0 → 100644
浏览文件 @
7f83ce94
.portlet {
--portlet: 0px;
}
// this is less
app_BusinessCentral/src/widgets/ibiz-list/summarydashboard-container2-portlet/summarydashboard-container2-portlet.less
0 → 100644
浏览文件 @
7f83ce94
.portlet {
--portlet: 0px;
}
// this is less
app_BusinessCentral/src/widgets/ibiz-list/view-list-abs-portlet/view-list-abs-portlet-base.vue
0 → 100644
浏览文件 @
7f83ce94
<
template
>
<div
class=
'portlet view-list-abs '
:style=
"
{'height': isAdaptiveSize ? 'calc(100% - 16px)' : (height > 0 ? height+'px' :'300px'),}">
<p
class=
'portlet-title'
>
<span>
摘要信息
</span>
</p>
<div
class=
"portlet-with-title"
>
<ibiz-list-info-abstract
:viewdata=
"JSON.stringify(context)"
:viewDefaultUsage=
"false"
></ibiz-list-info-abstract>
</div>
</div>
</
template
>
<
script
lang=
'tsx'
>
import
{
Vue
,
Component
,
Prop
,
Provide
,
Emit
,
Watch
,
Model
}
from
'vue-property-decorator'
;
import
{
CreateElement
}
from
'vue'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
ControlInterface
}
from
'@/interface/control'
;
import
{
UIActionTool
,
Util
}
from
'@/utils'
;
import
IBizListService
from
'@/service/ibiz-list/ibiz-list-service'
;
import
View_ListAbsService
from
'./view-list-abs-portlet-service'
;
import
{
Environment
}
from
'@/environments/environment'
;
@
Component
({
components
:
{
}
})
export
default
class
IBizListView_ListAbsBase
extends
Vue
implements
ControlInterface
{
/**
* 名称
*
* @type {string}
* @memberof View_ListAbs
*/
@
Prop
()
public
name
?:
string
;
/**
* 视图通讯对象
*
* @type {Subject<ViewState>}
* @memberof View_ListAbs
*/
@
Prop
()
public
viewState
!
:
Subject
<
ViewState
>
;
/**
* 应用上下文
*
* @type {*}
* @memberof View_ListAbs
*/
@
Prop
()
public
context
:
any
;
/**
* 视图参数
*
* @type {*}
* @memberof View_ListAbs
*/
@
Prop
()
public
viewparams
:
any
;
/**
* 视图状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof View_ListAbs
*/
public
viewStateEvent
:
Subscription
|
undefined
;
/**
* 获取部件类型
*
* @returns {string}
* @memberof View_ListAbs
*/
public
getControlType
():
string
{
return
'PORTLET'
}
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof View_ListAbs
*/
public
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 建构部件服务对象
*
* @type {View_ListAbsService}
* @memberof View_ListAbs
*/
public
service
:
View_ListAbsService
=
new
View_ListAbsService
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {IBizListService}
* @memberof View_ListAbs
*/
public
appEntityService
:
IBizListService
=
new
IBizListService
({
$store
:
this
.
$store
});
/**
* 关闭视图
*
* @param {any} args
* @memberof View_ListAbs
*/
public
closeView
(
args
:
any
):
void
{
let
_this
:
any
=
this
;
_this
.
$emit
(
'closeview'
,
[
args
]);
}
/**
* 计数器刷新
*
* @memberof View_ListAbs
*/
public
counterRefresh
(){
const
_this
:
any
=
this
;
if
(
_this
.
counterServiceArray
&&
_this
.
counterServiceArray
.
length
>
0
){
_this
.
counterServiceArray
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
refreshData
&&
item
.
refreshData
instanceof
Function
){
item
.
refreshData
();
}
})
}
}
/**
* 长度
*
* @type {number}
* @memberof View_ListAbs
*/
@
Prop
()
public
height
?:
number
;
/**
* 宽度
*
* @type {number}
* @memberof View_ListAbs
*/
@
Prop
()
public
width
?:
number
;
/**
* 是否自适应大小
*
* @returns {boolean}
* @memberof View_ListAbsBase
*/
@
Prop
({
default
:
false
})
public
isAdaptiveSize
!
:
boolean
;
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof View_ListAbsBase
*/
public
getDatas
():
any
[]
{
return
[];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof View_ListAbsBase
*/
public
getData
():
any
{
return
{};
}
/**
* vue 生命周期
*
* @memberof View_ListAbsBase
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof View_ListAbsBase
*/
public
afterCreated
(){
if
(
this
.
viewState
)
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
if
(
!
Object
.
is
(
tag
,
this
.
name
))
{
return
;
}
const
refs
:
any
=
this
.
$refs
;
Object
.
keys
(
refs
).
forEach
((
_name
:
string
)
=>
{
this
.
viewState
.
next
({
tag
:
_name
,
action
:
action
,
data
:
data
});
});
});
}
}
/**
* vue 生命周期
*
* @memberof View_ListAbsBase
*/
public
destroyed
()
{
this
.
afterDestroy
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof View_ListAbsBase
*/
public
afterDestroy
()
{
if
(
this
.
viewStateEvent
)
{
this
.
viewStateEvent
.
unsubscribe
();
}
}
}
</
script
>
<
style
lang=
'less'
>
@import './view-list-abs-portlet.less';
</
style
>
app_BusinessCentral/src/widgets/ibiz-list/view-list-abs-portlet/view-list-abs-portlet-model.ts
0 → 100644
浏览文件 @
7f83ce94
/**
* View_ListAbs 部件模型
*
* @export
* @class View_ListAbsModel
*/
export
default
class
View_ListAbsModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof View_ListAbsModel
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'owneridtype'
,
},
{
name
:
'query'
,
},
{
name
:
'updateman'
,
},
{
name
:
'lockstatus'
,
},
{
name
:
'purpose'
,
},
{
name
:
'lastusedon'
,
},
{
name
:
'ownerid'
,
},
{
name
:
'ibizlist'
,
prop
:
'listid'
,
},
{
name
:
'membertype'
,
},
{
name
:
'donotsendonoptout'
,
},
{
name
:
'versionnumber'
,
},
{
name
:
'cost'
,
},
{
name
:
'statecode'
,
},
{
name
:
'exchangerate'
,
},
{
name
:
'listname'
,
},
{
name
:
'statuscode'
,
},
{
name
:
'owneridyominame'
,
},
{
name
:
'description'
,
},
{
name
:
'type'
,
},
{
name
:
'createdate'
,
},
{
name
:
'importsequencenumber'
,
},
{
name
:
'createman'
,
},
{
name
:
'processid'
,
},
{
name
:
'cost_base'
,
},
{
name
:
'membercount'
,
},
{
name
:
'ignoreinactivelistmembers'
,
},
{
name
:
'stageid'
,
},
{
name
:
'source'
,
},
{
name
:
'updatedate'
,
},
{
name
:
'utcconversiontimezonecode'
,
},
{
name
:
'createdfromcode'
,
},
{
name
:
'overriddencreatedon'
,
},
{
name
:
'timezoneruleversionnumber'
,
},
{
name
:
'traversedpath'
,
},
{
name
:
'transactioncurrencyid'
,
},
{
name
:
'transactioncurrencyname'
,
},
]
}
}
app_BusinessCentral/src/widgets/ibiz-list/view-list-abs-portlet/view-list-abs-portlet-service.ts
0 → 100644
浏览文件 @
7f83ce94
import
{
Http
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
/**
* View_ListAbs 部件服务对象
*
* @export
* @class View_ListAbsService
*/
export
default
class
View_ListAbsService
extends
ControlService
{
}
app_BusinessCentral/src/widgets/ibiz-list/view-list-abs-portlet/view-list-abs-portlet.less
0 → 100644
浏览文件 @
7f83ce94
.portlet {
--portlet: 0px;
}
// this is less
app_BusinessCentral/src/widgets/ibiz-list/view-list-abs-portlet/view-list-abs-portlet.vue
0 → 100644
浏览文件 @
7f83ce94
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
IBizListView_ListAbsBase
from
'./view-list-abs-portlet-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
IBizListView_ListAbs
extends
IBizListView_ListAbsBase
{
}
</
script
>
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录