Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
1c081bf8
提交
1c081bf8
编写于
6月 22, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
ad75a61d
变更
14
隐藏空白字符变更
内嵌
并排
正在显示
14 个修改的文件
包含
999 行增加
和
152 行删除
+999
-152
view-config.json
app_CRM/public/assets/json/view-config.json
+2
-2
account_en_US.ts
app_CRM/src/locale/lanres/entities/account/account_en_US.ts
+71
-71
account_zh_CN.ts
app_CRM/src/locale/lanres/entities/account/account_zh_CN.ts
+71
-71
viewconfig.ts
app_CRM/src/mock/viewconfig/viewconfig.ts
+2
-2
account-gradation-base.vue
...c/pages/base/account-gradation/account-gradation-base.vue
+2
-5
state.ts
app_CRM/src/store/modules/view-action/state.ts
+1
-0
gradationtreeexpbar-treeexpbar-base.vue
...expbar-treeexpbar/gradationtreeexpbar-treeexpbar-base.vue
+1
-1
infotabexppanel-tabexppanel-base.vue
...exppanel-tabexppanel/infotabexppanel-tabexppanel-base.vue
+30
-0
infotabexppanel-tabexppanel.vue
...fotabexppanel-tabexppanel/infotabexppanel-tabexppanel.vue
+2
-0
infotabviewpanel4-tabviewpanel-base.vue
...nel4-tabviewpanel/infotabviewpanel4-tabviewpanel-base.vue
+283
-0
infotabviewpanel4-tabviewpanel-model.ts
...nel4-tabviewpanel/infotabviewpanel4-tabviewpanel-model.ts
+508
-0
infotabviewpanel4-tabviewpanel-service.ts
...l4-tabviewpanel/infotabviewpanel4-tabviewpanel-service.ts
+11
-0
infotabviewpanel4-tabviewpanel.less
...ewpanel4-tabviewpanel/infotabviewpanel4-tabviewpanel.less
+1
-0
infotabviewpanel4-tabviewpanel.vue
...iewpanel4-tabviewpanel/infotabviewpanel4-tabviewpanel.vue
+14
-0
未找到文件。
app_CRM/public/assets/json/view-config.json
浏览文件 @
1c081bf8
...
@@ -640,8 +640,8 @@
...
@@ -640,8 +640,8 @@
"memo"
:
"系统自动添加"
"memo"
:
"系统自动添加"
},
},
"accountgradation"
:
{
"accountgradation"
:
{
"title"
:
"客户
树导航视图
"
,
"title"
:
"客户
关系导航
"
,
"caption"
:
"客户"
,
"caption"
:
"客户
关系导航
"
,
"viewtype"
:
"DETREEEXPVIEW"
,
"viewtype"
:
"DETREEEXPVIEW"
,
"viewmodule"
:
"Base"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"AccountGradation"
,
"viewname"
:
"AccountGradation"
,
...
...
app_CRM/src/locale/lanres/entities/account/account_en_US.ts
浏览文件 @
1c081bf8
...
@@ -198,8 +198,8 @@ export default {
...
@@ -198,8 +198,8 @@ export default {
title
:
'账户信息'
,
title
:
'账户信息'
,
},
},
gradation
:
{
gradation
:
{
caption
:
"客户"
,
caption
:
"客户
关系导航
"
,
title
:
'客户
树导航视图
'
,
title
:
'客户
关系导航
'
,
},
},
editview
:
{
editview
:
{
caption
:
"客户"
,
caption
:
"客户"
,
...
@@ -419,6 +419,33 @@ export default {
...
@@ -419,6 +419,33 @@ export default {
uiactions
:
{
uiactions
:
{
},
},
},
},
quickcreate_form
:
{
details
:
{
group1
:
"客户基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"客户"
,
srfmajortext
:
"客户名称"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
accountname
:
"客户名称"
,
telephone1
:
"主要电话"
,
fax
:
"传真"
,
websiteurl
:
"网站"
,
parentaccountname
:
"上级单位"
,
tickersymbol
:
"股票代号"
,
customertypecode
:
"关系类型"
,
defaultpricelevelname
:
"价目表"
,
defaultpricelevelid
:
"价目表"
,
parentaccountid
:
"上级单位"
,
accountid
:
"客户"
,
},
uiactions
:
{
},
},
main_form
:
{
main_form
:
{
details
:
{
details
:
{
group1
:
"账户信息"
,
group1
:
"账户信息"
,
...
@@ -470,33 +497,6 @@ export default {
...
@@ -470,33 +497,6 @@ export default {
uiactions
:
{
uiactions
:
{
},
},
},
},
quickcreate_form
:
{
details
:
{
group1
:
"客户基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"客户"
,
srfmajortext
:
"客户名称"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
accountname
:
"客户名称"
,
telephone1
:
"主要电话"
,
fax
:
"传真"
,
websiteurl
:
"网站"
,
parentaccountname
:
"上级单位"
,
tickersymbol
:
"股票代号"
,
customertypecode
:
"关系类型"
,
defaultpricelevelname
:
"价目表"
,
defaultpricelevelid
:
"价目表"
,
parentaccountid
:
"上级单位"
,
accountid
:
"客户"
,
},
uiactions
:
{
},
},
introduction_form
:
{
introduction_form
:
{
details
:
{
details
:
{
group1
:
"客户基本信息"
,
group1
:
"客户基本信息"
,
...
@@ -615,6 +615,48 @@ export default {
...
@@ -615,6 +615,48 @@ export default {
uiactions
:
{
uiactions
:
{
},
},
},
},
gridviewtoolbar_toolbar
:
{
tbitem1_openquickcreateview
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
tbitem2
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem4
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
},
tbitem6
:
{
caption
:
"Copy"
,
tip
:
"Copy {0}"
,
},
tbitem7
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem8
:
{
caption
:
"Remove"
,
tip
:
"Remove {0}"
,
},
tbitem9
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem13
:
{
caption
:
"Export"
,
tip
:
"Export {0} Data To Excel"
,
},
tbitem10
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem19
:
{
caption
:
"Filter"
,
tip
:
"Filter"
,
},
},
editviewtoolbar_toolbar
:
{
editviewtoolbar_toolbar
:
{
tbitem1
:
{
tbitem1
:
{
caption
:
"Save And Close"
,
caption
:
"Save And Close"
,
...
@@ -663,48 +705,6 @@ export default {
...
@@ -663,48 +705,6 @@ export default {
tip
:
"关闭"
,
tip
:
"关闭"
,
},
},
},
},
gridviewtoolbar_toolbar
:
{
tbitem1_openquickcreateview
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
tbitem2
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem4
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
},
tbitem6
:
{
caption
:
"Copy"
,
tip
:
"Copy {0}"
,
},
tbitem7
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem8
:
{
caption
:
"Remove"
,
tip
:
"Remove {0}"
,
},
tbitem9
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem13
:
{
caption
:
"Export"
,
tip
:
"Export {0} Data To Excel"
,
},
tbitem10
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem19
:
{
caption
:
"Filter"
,
tip
:
"Filter"
,
},
},
account_treeview
:
{
account_treeview
:
{
nodes
:
{
nodes
:
{
root
:
'全部客户'
,
root
:
'全部客户'
,
...
...
app_CRM/src/locale/lanres/entities/account/account_zh_CN.ts
浏览文件 @
1c081bf8
...
@@ -197,8 +197,8 @@ export default {
...
@@ -197,8 +197,8 @@ export default {
title
:
'账户信息'
,
title
:
'账户信息'
,
},
},
gradation
:
{
gradation
:
{
caption
:
'客户'
,
caption
:
'客户
关系导航
'
,
title
:
'客户
树导航视图
'
,
title
:
'客户
关系导航
'
,
},
},
editview
:
{
editview
:
{
caption
:
'客户'
,
caption
:
'客户'
,
...
@@ -418,6 +418,33 @@ export default {
...
@@ -418,6 +418,33 @@ export default {
uiactions
:
{
uiactions
:
{
},
},
},
},
quickcreate_form
:
{
details
:
{
group1
:
'客户基本信息'
,
formpage1
:
'基本信息'
,
srfupdatedate
:
'更新时间'
,
srforikey
:
''
,
srfkey
:
'客户'
,
srfmajortext
:
'客户名称'
,
srftempmode
:
''
,
srfuf
:
''
,
srfdeid
:
''
,
srfsourcekey
:
''
,
accountname
:
'客户名称'
,
telephone1
:
'主要电话'
,
fax
:
'传真'
,
websiteurl
:
'网站'
,
parentaccountname
:
'上级单位'
,
tickersymbol
:
'股票代号'
,
customertypecode
:
'关系类型'
,
defaultpricelevelname
:
'价目表'
,
defaultpricelevelid
:
'价目表'
,
parentaccountid
:
'上级单位'
,
accountid
:
'客户'
,
},
uiactions
:
{
},
},
main_form
:
{
main_form
:
{
details
:
{
details
:
{
group1
:
'账户信息'
,
group1
:
'账户信息'
,
...
@@ -469,33 +496,6 @@ export default {
...
@@ -469,33 +496,6 @@ export default {
uiactions
:
{
uiactions
:
{
},
},
},
},
quickcreate_form
:
{
details
:
{
group1
:
'客户基本信息'
,
formpage1
:
'基本信息'
,
srfupdatedate
:
'更新时间'
,
srforikey
:
''
,
srfkey
:
'客户'
,
srfmajortext
:
'客户名称'
,
srftempmode
:
''
,
srfuf
:
''
,
srfdeid
:
''
,
srfsourcekey
:
''
,
accountname
:
'客户名称'
,
telephone1
:
'主要电话'
,
fax
:
'传真'
,
websiteurl
:
'网站'
,
parentaccountname
:
'上级单位'
,
tickersymbol
:
'股票代号'
,
customertypecode
:
'关系类型'
,
defaultpricelevelname
:
'价目表'
,
defaultpricelevelid
:
'价目表'
,
parentaccountid
:
'上级单位'
,
accountid
:
'客户'
,
},
uiactions
:
{
},
},
introduction_form
:
{
introduction_form
:
{
details
:
{
details
:
{
group1
:
'客户基本信息'
,
group1
:
'客户基本信息'
,
...
@@ -614,6 +614,48 @@ export default {
...
@@ -614,6 +614,48 @@ export default {
uiactions
:
{
uiactions
:
{
},
},
},
},
gridviewtoolbar_toolbar
:
{
tbitem1_openquickcreateview
:
{
caption
:
'新建'
,
tip
:
'新建'
,
},
tbitem2
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem4
:
{
caption
:
'编辑'
,
tip
:
'编辑'
,
},
tbitem6
:
{
caption
:
'拷贝'
,
tip
:
'拷贝'
,
},
tbitem7
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem8
:
{
caption
:
'删除'
,
tip
:
'删除'
,
},
tbitem9
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem13
:
{
caption
:
'导出'
,
tip
:
'导出'
,
},
tbitem10
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem19
:
{
caption
:
'过滤'
,
tip
:
'过滤'
,
},
},
editviewtoolbar_toolbar
:
{
editviewtoolbar_toolbar
:
{
tbitem1
:
{
tbitem1
:
{
caption
:
'保存并关闭'
,
caption
:
'保存并关闭'
,
...
@@ -662,48 +704,6 @@ export default {
...
@@ -662,48 +704,6 @@ export default {
tip
:
'关闭'
,
tip
:
'关闭'
,
},
},
},
},
gridviewtoolbar_toolbar
:
{
tbitem1_openquickcreateview
:
{
caption
:
'新建'
,
tip
:
'新建'
,
},
tbitem2
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem4
:
{
caption
:
'编辑'
,
tip
:
'编辑'
,
},
tbitem6
:
{
caption
:
'拷贝'
,
tip
:
'拷贝'
,
},
tbitem7
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem8
:
{
caption
:
'删除'
,
tip
:
'删除'
,
},
tbitem9
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem13
:
{
caption
:
'导出'
,
tip
:
'导出'
,
},
tbitem10
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem19
:
{
caption
:
'过滤'
,
tip
:
'过滤'
,
},
},
account_treeview
:
{
account_treeview
:
{
nodes
:
{
nodes
:
{
root
:
'全部客户'
,
root
:
'全部客户'
,
...
...
app_CRM/src/mock/viewconfig/viewconfig.ts
浏览文件 @
1c081bf8
...
@@ -520,8 +520,8 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
...
@@ -520,8 +520,8 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewtag"
:
"697373026d90700244354625e1d01cc2"
"viewtag"
:
"697373026d90700244354625e1d01cc2"
},
},
"accountgradation"
:
{
"accountgradation"
:
{
"title"
:
"客户
树导航视图
"
,
"title"
:
"客户
关系导航
"
,
"caption"
:
"客户"
,
"caption"
:
"客户
关系导航
"
,
"viewtype"
:
"DETREEEXPVIEW"
,
"viewtype"
:
"DETREEEXPVIEW"
,
"viewmodule"
:
"Base"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"AccountGradation"
,
"viewname"
:
"AccountGradation"
,
...
...
app_CRM/src/pages/base/account-gradation/account-gradation-base.vue
浏览文件 @
1c081bf8
<
template
>
<
template
>
<studio-view-style2
viewName=
"accountgradation"
viewTitle=
"客户树导航视图"
class=
'detreeexpview account-gradation'
>
<studio-view-style2
viewName=
"accountgradation"
viewTitle=
"客户关系导航"
class=
'detreeexpview account-gradation'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{
$t
(
model
.
srfTitle
)
}}
</span>
</
template
>
<view
_treeexpbar
<view
_treeexpbar
:viewState=
"viewState"
:viewState=
"viewState"
:viewparams=
"viewparams"
:viewparams=
"viewparams"
...
@@ -29,7 +26,7 @@ import TreeExpViewEngine from '@engine/view/tree-exp-view-engine';
...
@@ -29,7 +26,7 @@ import TreeExpViewEngine from '@engine/view/tree-exp-view-engine';
/**
/**
* 客户
树导航视图
视图基类
* 客户
关系导航
视图基类
*
*
* @export
* @export
* @class AccountGradationBase
* @class AccountGradationBase
...
...
app_CRM/src/store/modules/view-action/state.ts
浏览文件 @
1c081bf8
...
@@ -260,6 +260,7 @@ export const viewstate: any = {
...
@@ -260,6 +260,7 @@ export const viewstate: any = {
viewdatachange
:
false
,
viewdatachange
:
false
,
refviews
:
[
refviews
:
[
'fb06f2c1cea1ac2a5a70c20f4a277ae5'
,
'fb06f2c1cea1ac2a5a70c20f4a277ae5'
,
'5c7e90ccfaeb49b5bd84ae6c17b479e3'
,
'bae77557d2f7a7852b634dc5d5a93435'
,
'bae77557d2f7a7852b634dc5d5a93435'
,
'6e18ac74e5685439110f9b4e534ee005'
,
'6e18ac74e5685439110f9b4e534ee005'
,
'016e75bb460270519a0ee9dda57b2c90'
,
'016e75bb460270519a0ee9dda57b2c90'
,
...
...
app_CRM/src/widgets/account/gradationtreeexpbar-treeexpbar/gradationtreeexpbar-treeexpbar-base.vue
浏览文件 @
1c081bf8
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<split
id=
"gradationtreeexpbar"
class=
'app-tree-exp-bar'
v-model=
"split"
mode=
"horizontal"
@
on-move-end=
"onSplitChange"
>
<split
id=
"gradationtreeexpbar"
class=
'app-tree-exp-bar'
v-model=
"split"
mode=
"horizontal"
@
on-move-end=
"onSplitChange"
>
<div
class=
"app-tree-exp-bar-left show-title-bar"
slot=
'left'
>
<div
class=
"app-tree-exp-bar-left show-title-bar"
slot=
'left'
>
<div
class=
'tree-exp-bar-header'
>
<div
class=
'tree-exp-bar-header'
>
<div>
树视图导航栏
</div>
<div>
客户
</div>
</div>
</div>
<div
class=
'tree-exp-content'
>
<div
class=
'tree-exp-content'
>
<view
_treeexpbar_tree
<view
_treeexpbar_tree
...
...
app_CRM/src/widgets/account/infotabexppanel-tabexppanel/infotabexppanel-tabexppanel-base.vue
浏览文件 @
1c081bf8
...
@@ -88,6 +88,35 @@
...
@@ -88,6 +88,35 @@
@
closeview=
"closeView($event)"
>
@
closeview=
"closeView($event)"
>
</view
_tabviewpanel3
>
</view
_tabviewpanel3
>
</tab-pane>
</tab-pane>
<tab-pane
:index=
"3"
name=
'tabviewpanel4'
tab=
'infotabexppanel'
class=
''
:label=
"(h) =>
{
return h('div', [
h('i',{
class:'fa fa-users',
style:{
'margin-right' : '2px'
}
}),
h('span', '关联客户'),
h('Badge', {
props: {
count: undefined,
type: 'primary'
}
})
])
}" >
<view
_tabviewpanel4
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
v-if=
"isInit.tabviewpanel4"
name=
"tabviewpanel4"
ref=
'tabviewpanel4'
@
viewpanelDatasChange =
"tabViewPanelDatasChange"
@
closeview=
"closeView($event)"
>
</view
_tabviewpanel4
>
</tab-pane>
</tabs>
</tabs>
</div>
</div>
</
template
>
</
template
>
...
@@ -225,6 +254,7 @@ export default class InfotabexppanelBase extends Vue implements ControlInterface
...
@@ -225,6 +254,7 @@ export default class InfotabexppanelBase extends Vue implements ControlInterface
tabviewpanel
:
true
,
tabviewpanel
:
true
,
tabviewpanel2
:
false
,
tabviewpanel2
:
false
,
tabviewpanel3
:
false
,
tabviewpanel3
:
false
,
tabviewpanel4
:
false
,
}
}
/**
/**
...
...
app_CRM/src/widgets/account/infotabexppanel-tabexppanel/infotabexppanel-tabexppanel.vue
浏览文件 @
1c081bf8
...
@@ -4,6 +4,7 @@ import InfotabexppanelBase from './infotabexppanel-tabexppanel-base.vue';
...
@@ -4,6 +4,7 @@ import InfotabexppanelBase from './infotabexppanel-tabexppanel-base.vue';
import
view_tabviewpanel
from
'@widgets/account/infotabviewpanel-tabviewpanel/infotabviewpanel-tabviewpanel.vue'
;
import
view_tabviewpanel
from
'@widgets/account/infotabviewpanel-tabviewpanel/infotabviewpanel-tabviewpanel.vue'
;
import
view_tabviewpanel2
from
'@widgets/account/infotabviewpanel2-tabviewpanel/infotabviewpanel2-tabviewpanel.vue'
;
import
view_tabviewpanel2
from
'@widgets/account/infotabviewpanel2-tabviewpanel/infotabviewpanel2-tabviewpanel.vue'
;
import
view_tabviewpanel3
from
'@widgets/account/infotabviewpanel3-tabviewpanel/infotabviewpanel3-tabviewpanel.vue'
;
import
view_tabviewpanel3
from
'@widgets/account/infotabviewpanel3-tabviewpanel/infotabviewpanel3-tabviewpanel.vue'
;
import
view_tabviewpanel4
from
'@widgets/account/infotabviewpanel4-tabviewpanel/infotabviewpanel4-tabviewpanel.vue'
;
@
Component
({
@
Component
({
...
@@ -11,6 +12,7 @@ import view_tabviewpanel3 from '@widgets/account/infotabviewpanel3-tabviewpanel/
...
@@ -11,6 +12,7 @@ import view_tabviewpanel3 from '@widgets/account/infotabviewpanel3-tabviewpanel/
view_tabviewpanel
,
view_tabviewpanel
,
view_tabviewpanel2
,
view_tabviewpanel2
,
view_tabviewpanel3
,
view_tabviewpanel3
,
view_tabviewpanel4
,
}
}
})
})
...
...
app_CRM/src/widgets/account/infotabviewpanel4-tabviewpanel/infotabviewpanel4-tabviewpanel-base.vue
0 → 100644
浏览文件 @
1c081bf8
<
template
>
<div
class=
'tabviewpanel'
style=
"height:100%;"
v-if =
'isActivied'
>
<account-grid-view
class=
'viewcontainer2'
:viewdata=
"viewdata"
:viewparam=
"viewparam"
@
viewload=
"viewDatasChange($event)"
:viewDefaultUsage=
"false"
>
</account-grid-view>
</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
AccountService
from
'@/service/account/account-service'
;
import
Infotabviewpanel4Service
from
'./infotabviewpanel4-tabviewpanel-service'
;
@
Component
({
components
:
{
}
})
export
default
class
Infotabviewpanel4Base
extends
Vue
implements
ControlInterface
{
/**
* 名称
*
* @type {string}
* @memberof Infotabviewpanel4
*/
@
Prop
()
public
name
?:
string
;
/**
* 视图通讯对象
*
* @type {Subject<ViewState>}
* @memberof Infotabviewpanel4
*/
@
Prop
()
public
viewState
!
:
Subject
<
ViewState
>
;
/**
* 应用上下文
*
* @type {*}
* @memberof Infotabviewpanel4
*/
@
Prop
()
public
context
:
any
;
/**
* 视图参数
*
* @type {*}
* @memberof Infotabviewpanel4
*/
@
Prop
()
public
viewparams
:
any
;
/**
* 视图状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof Infotabviewpanel4
*/
public
viewStateEvent
:
Subscription
|
undefined
;
/**
* 获取部件类型
*
* @returns {string}
* @memberof Infotabviewpanel4
*/
public
getControlType
():
string
{
return
'TABVIEWPANEL'
}
/**
* 建构部件服务对象
*
* @type {Infotabviewpanel4Service}
* @memberof Infotabviewpanel4
*/
public
service
:
Infotabviewpanel4Service
=
new
Infotabviewpanel4Service
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {AccountService}
* @memberof Infotabviewpanel4
*/
public
appEntityService
:
AccountService
=
new
AccountService
({
$store
:
this
.
$store
});
/**
* 关闭视图
*
* @param {any} args
* @memberof Infotabviewpanel4
*/
public
closeView
(
args
:
any
):
void
{
let
_this
:
any
=
this
;
_this
.
$emit
(
'closeview'
,
[
args
]);
}
/**
* 计数器刷新
*
* @memberof Infotabviewpanel4
*/
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
();
}
})
}
}
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof Infotabviewpanel4
*/
public
getDatas
():
any
[]
{
return
[];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof Infotabviewpanel4
*/
public
getData
():
any
{
return
null
;
}
/**
* 是否被激活
*
* @type {boolean}
* @memberof Infotabviewpanel4
*/
public
isActivied
:
boolean
=
true
;
/**
* 局部上下文
*
* @type {*}
* @memberof Infotabviewpanel4
*/
public
localContext
:
any
=
null
;
/**
* 局部视图参数
*
* @type {*}
* @memberof Infotabviewpanel4
*/
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 Infotabviewpanel4
*/
public
navfilter
:
string
=
""
;
/**
* vue 生命周期
*
* @returns
* @memberof Infotabviewpanel4
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof Infotabviewpanel4
*/
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 Infotabviewpanel4
*/
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 Infotabviewpanel4
*/
public
viewDatasChange
(
$event
:
any
){
this
.
$emit
(
'viewpanelDatasChange'
,
$event
);
}
/**
* vue 生命周期
*
* @memberof Infotabviewpanel4
*/
public
destroyed
()
{
this
.
afterDestroy
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof Infotabviewpanel4
*/
public
afterDestroy
()
{
if
(
this
.
viewStateEvent
)
{
this
.
viewStateEvent
.
unsubscribe
();
}
}
}
</
script
>
<
style
lang=
'less'
>
@import './infotabviewpanel4-tabviewpanel.less';
</
style
>
\ No newline at end of file
app_CRM/src/widgets/account/infotabviewpanel4-tabviewpanel/infotabviewpanel4-tabviewpanel-model.ts
0 → 100644
浏览文件 @
1c081bf8
/**
* Infotabviewpanel4 部件模型
*
* @export
* @class Infotabviewpanel4Model
*/
export
default
class
Infotabviewpanel4Model
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof Infotabviewpanel4Model
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'address1_primarycontactname'
,
},
{
name
:
'openrevenue_date'
,
},
{
name
:
'address2_utcoffset'
,
},
{
name
:
'fax'
,
},
{
name
:
'address1_composite'
,
},
{
name
:
'entityimage'
,
},
{
name
:
'emailaddress1'
,
},
{
name
:
'overriddencreatedon'
,
},
{
name
:
'address1_stateorprovince'
,
},
{
name
:
'openrevenue'
,
},
{
name
:
'address1_upszone'
,
},
{
name
:
'followemail'
,
},
{
name
:
'marketingonly'
,
},
{
name
:
'numberofemployees'
,
},
{
name
:
'telephone1'
,
},
{
name
:
'aging60'
,
},
{
name
:
'sharesoutstanding'
,
},
{
name
:
'address2_freighttermscode'
,
},
{
name
:
'entityimage_timestamp'
,
},
{
name
:
'revenue_base'
,
},
{
name
:
'accountratingcode'
,
},
{
name
:
'donotbulkemail'
,
},
{
name
:
'aging30'
,
},
{
name
:
'donotbulkpostalmail'
,
},
{
name
:
'creditlimit_base'
,
},
{
name
:
'timezoneruleversionnumber'
,
},
{
name
:
'customertypecode'
,
},
{
name
:
'address2_longitude'
,
},
{
name
:
'accountname'
,
},
{
name
:
'participatesinworkflow'
,
},
{
name
:
'preferredcontactmethodcode'
,
},
{
name
:
'preferredappointmentdaycode'
,
},
{
name
:
'marketcap'
,
},
{
name
:
'address2_telephone1'
,
},
{
name
:
'businesstypecode'
,
},
{
name
:
'entityimageid'
,
},
{
name
:
'address2_city'
,
},
{
name
:
'ownershipcode'
,
},
{
name
:
'utcconversiontimezonecode'
,
},
{
name
:
'accountnumber'
,
},
{
name
:
'address1_telephone2'
,
},
{
name
:
'address1_line1'
,
},
{
name
:
'donotphone'
,
},
{
name
:
'address1_telephone3'
,
},
{
name
:
'exchangerate'
,
},
{
name
:
'address2_line2'
,
},
{
name
:
'address2_telephone3'
,
},
{
name
:
'address1_telephone1'
,
},
{
name
:
'address1_fax'
,
},
{
name
:
'address1_freighttermscode'
,
},
{
name
:
'description'
,
},
{
name
:
'merged'
,
},
{
name
:
'address1_shippingmethodcode'
,
},
{
name
:
'address1_name'
,
},
{
name
:
'aging30_base'
,
},
{
name
:
'address2_telephone2'
,
},
{
name
:
'account'
,
prop
:
'accountid'
,
},
{
name
:
'primarytwitterid'
,
},
{
name
:
'tickersymbol'
,
},
{
name
:
'stockexchange'
,
},
{
name
:
'address2_stateorprovince'
,
},
{
name
:
'ftpsiteurl'
,
},
{
name
:
'statuscode'
,
},
{
name
:
'websiteurl'
,
},
{
name
:
'donotpostalmail'
,
},
{
name
:
'address1_city'
,
},
{
name
:
'address2_fax'
,
},
{
name
:
'aging90_base'
,
},
{
name
:
'opendeals_date'
,
},
{
name
:
'traversedpath'
,
},
{
name
:
'shippingmethodcode'
,
},
{
name
:
'address1_line2'
,
},
{
name
:
'openrevenue_base'
,
},
{
name
:
'updatedate'
,
},
{
name
:
'preferredsystemuseridyominame'
,
},
{
name
:
'address2_line3'
,
},
{
name
:
'address1_postalcode'
,
},
{
name
:
'address2_latitude'
,
},
{
name
:
'ibizprivate'
,
},
{
name
:
'territorycode'
,
},
{
name
:
'teamsfollowed'
,
},
{
name
:
'yominame'
,
},
{
name
:
'address1_latitude'
,
},
{
name
:
'telephone3'
,
},
{
name
:
'ownerid'
,
},
{
name
:
'address2_country'
,
},
{
name
:
'masteraccountidyominame'
,
},
{
name
:
'industrycode'
,
},
{
name
:
'lastonholdtime'
,
},
{
name
:
'address2_addressid'
,
},
{
name
:
'onholdtime'
,
},
{
name
:
'accountclassificationcode'
,
},
{
name
:
'address1_country'
,
},
{
name
:
'address1_addresstypecode'
,
},
{
name
:
'statecode'
,
},
{
name
:
'address2_addresstypecode'
,
},
{
name
:
'accountcategorycode'
,
},
{
name
:
'emailaddress2'
,
},
{
name
:
'address2_shippingmethodcode'
,
},
{
name
:
'importsequencenumber'
,
},
{
name
:
'primarysatoriid'
,
},
{
name
:
'customersizecode'
,
},
{
name
:
'opendeals'
,
},
{
name
:
'donotsendmm'
,
},
{
name
:
'processid'
,
},
{
name
:
'paymenttermscode'
,
},
{
name
:
'sic'
,
},
{
name
:
'address2_primarycontactname'
,
},
{
name
:
'address1_utcoffset'
,
},
{
name
:
'owneridyominame'
,
},
{
name
:
'lastusedincampaign'
,
},
{
name
:
'aging60_base'
,
},
{
name
:
'donotfax'
,
},
{
name
:
'updateman'
,
},
{
name
:
'openrevenue_state'
,
},
{
name
:
'opendeals_state'
,
},
{
name
:
'versionnumber'
,
},
{
name
:
'address1_longitude'
,
},
{
name
:
'aging90'
,
},
{
name
:
'entityimage_url'
,
},
{
name
:
'creditlimit'
,
},
{
name
:
'preferredsystemuserid'
,
},
{
name
:
'revenue'
,
},
{
name
:
'address1_county'
,
},
{
name
:
'address1_line3'
,
},
{
name
:
'stageid'
,
},
{
name
:
'donotemail'
,
},
{
name
:
'address2_postalcode'
,
},
{
name
:
'preferredappointmenttimecode'
,
},
{
name
:
'address2_upszone'
,
},
{
name
:
'createdate'
,
},
{
name
:
'address2_county'
,
},
{
name
:
'owneridtype'
,
},
{
name
:
'address2_composite'
,
},
{
name
:
'address2_name'
,
},
{
name
:
'address2_line1'
,
},
{
name
:
'marketcap_base'
,
},
{
name
:
'emailaddress3'
,
},
{
name
:
'telephone2'
,
},
{
name
:
'createman'
,
},
{
name
:
'address1_postofficebox'
,
},
{
name
:
'creditonhold'
,
},
{
name
:
'address1_addressid'
,
},
{
name
:
'address2_postofficebox'
,
},
{
name
:
'slaname'
,
},
{
name
:
'originatingleadid'
,
},
{
name
:
'transactioncurrencyid'
,
},
{
name
:
'defaultpricelevelid'
,
},
{
name
:
'parentaccountid'
,
},
{
name
:
'preferredequipmentid'
,
},
{
name
:
'territoryid'
,
},
{
name
:
'primarycontactid'
,
},
{
name
:
'slaid'
,
},
{
name
:
'preferredserviceid'
,
},
{
name
:
'originatingleadname'
,
},
{
name
:
'defaultpricelevelname'
,
},
{
name
:
'territoryname'
,
},
{
name
:
'parentaccountname'
,
},
{
name
:
'preferredequipmentname'
,
},
{
name
:
'preferredservicename'
,
},
{
name
:
'primarycontactname'
,
},
{
name
:
'transactioncurrencyname'
,
},
]
}
}
\ No newline at end of file
app_CRM/src/widgets/account/infotabviewpanel4-tabviewpanel/infotabviewpanel4-tabviewpanel-service.ts
0 → 100644
浏览文件 @
1c081bf8
import
{
Http
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
/**
* Infotabviewpanel4 部件服务对象
*
* @export
* @class Infotabviewpanel4Service
*/
export
default
class
Infotabviewpanel4Service
extends
ControlService
{
}
\ No newline at end of file
app_CRM/src/widgets/account/infotabviewpanel4-tabviewpanel/infotabviewpanel4-tabviewpanel.less
0 → 100644
浏览文件 @
1c081bf8
// this is less
app_CRM/src/widgets/account/infotabviewpanel4-tabviewpanel/infotabviewpanel4-tabviewpanel.vue
0 → 100644
浏览文件 @
1c081bf8
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
Infotabviewpanel4Base
from
'./infotabviewpanel4-tabviewpanel-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
Infotabviewpanel4
extends
Infotabviewpanel4Base
{
}
</
script
>
\ No newline at end of file
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录