Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
f15e1b01
提交
f15e1b01
编写于
6月 16, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
12da365a
变更
28
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
28 个修改的文件
包含
2505 行增加
和
185 行删除
+2505
-185
view-config.json
app_BusinessCentral/public/assets/json/view-config.json
+20
-0
account_en_US.ts
...ntral/src/locale/lanres/entities/account/account_en_US.ts
+1
-0
account_zh_CN.ts
...ntral/src/locale/lanres/entities/account/account_zh_CN.ts
+1
-0
contact_en_US.ts
...ntral/src/locale/lanres/entities/contact/contact_en_US.ts
+113
-1
contact_zh_CN.ts
...ntral/src/locale/lanres/entities/contact/contact_zh_CN.ts
+113
-1
viewconfig.ts
app_BusinessCentral/src/mock/viewconfig/viewconfig.ts
+16
-0
contact-abstract-edit-view9-base.vue
...-abstract-edit-view9/contact-abstract-edit-view9-base.vue
+0
-55
contact-by-account-base.vue
...pages/base/contact-by-account/contact-by-account-base.vue
+1222
-0
contact-by-account.less
...src/pages/base/contact-by-account/contact-by-account.less
+8
-0
contact-by-account.vue
.../src/pages/base/contact-by-account/contact-by-account.vue
+21
-0
contact-grid-view-base.vue
...c/pages/base/contact-grid-view/contact-grid-view-base.vue
+5
-19
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
+18
-7
contact-ui-service-base.ts
...sCentral/src/uiservice/contact/contact-ui-service-base.ts
+2
-0
infotabexppanel-tabexppanel-base.vue
...exppanel-tabexppanel/infotabexppanel-tabexppanel-base.vue
+24
-0
infotabexppanel-tabexppanel.vue
...fotabexppanel-tabexppanel/infotabexppanel-tabexppanel.vue
+2
-0
infotabviewpanel3-tabviewpanel-base.vue
...nel3-tabviewpanel/infotabviewpanel3-tabviewpanel-base.vue
+283
-0
infotabviewpanel3-tabviewpanel-model.ts
...nel3-tabviewpanel/infotabviewpanel3-tabviewpanel-model.ts
+508
-0
infotabviewpanel3-tabviewpanel-service.ts
...l3-tabviewpanel/infotabviewpanel3-tabviewpanel-service.ts
+11
-0
infotabviewpanel3-tabviewpanel.less
...ewpanel3-tabviewpanel/infotabviewpanel3-tabviewpanel.less
+1
-0
infotabviewpanel3-tabviewpanel.vue
...iewpanel3-tabviewpanel/infotabviewpanel3-tabviewpanel.vue
+14
-0
major-contact-form-base.vue
...ts/account/major-contact-form/major-contact-form-base.vue
+29
-1
summary-dashboard-base.vue
...gets/account/summary-dashboard/summary-dashboard-base.vue
+0
-46
summary-dashboard.vue
...c/widgets/account/summary-dashboard/summary-dashboard.vue
+0
-4
default-searchform-base.vue
...ts/contact/default-searchform/default-searchform-base.vue
+2
-2
main-grid-base.vue
...sCentral/src/widgets/contact/main-grid/main-grid-base.vue
+21
-7
h2_table.xml
...esscentral-core/src/main/resources/liquibase/h2_table.xml
+42
-42
未找到文件。
app_BusinessCentral/public/assets/json/view-config.json
浏览文件 @
f15e1b01
...
...
@@ -199,6 +199,16 @@
"viewtag"
:
"573c48d02ab5eef37c4cf701be87fcb5"
,
"memo"
:
"系统自动添加"
},
"contactabstracteditview9_editmode"
:
{
"title"
:
"联系人编辑视图"
,
"caption"
:
"联系人"
,
"viewtype"
:
"DEEDITVIEW9"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"ContactAbstractEditView9_EditMode"
,
"viewfilename"
:
"contact-abstract-edit-view9-edit-mode"
,
"viewtag"
:
"5b2c286488252f647dbe00fcf7f57abd"
,
"memo"
:
""
},
"accountgridview"
:
{
"title"
:
"account表格视图"
,
"caption"
:
"客户"
,
...
...
@@ -379,6 +389,16 @@
"viewtag"
:
"916febbb65be1c54dd42ccb9914fe973"
,
"memo"
:
"系统自动添加"
},
"contactbyaccount"
:
{
"title"
:
"联系人"
,
"caption"
:
"联系人"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"ContactByAccount"
,
"viewfilename"
:
"contact-by-account"
,
"viewtag"
:
"9224b0b14d2d99014e051f8035ba5cbf"
,
"memo"
:
"系统自动添加"
},
"contactabstracteditview9"
:
{
"title"
:
"联系人编辑视图"
,
"caption"
:
"联系人"
,
...
...
app_BusinessCentral/src/locale/lanres/entities/account/account_en_US.ts
浏览文件 @
f15e1b01
...
...
@@ -391,6 +391,7 @@ export default {
},
majorcontact_form
:
{
details
:
{
druipart1
:
""
,
group1
:
"客户基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
...
...
app_BusinessCentral/src/locale/lanres/entities/account/account_zh_CN.ts
浏览文件 @
f15e1b01
...
...
@@ -390,6 +390,7 @@ export default {
},
majorcontact_form
:
{
details
:
{
druipart1
:
''
,
group1
:
'客户基本信息'
,
formpage1
:
'基本信息'
,
srfupdatedate
:
'更新时间'
,
...
...
app_BusinessCentral/src/locale/lanres/entities/contact/contact_en_US.ts
浏览文件 @
f15e1b01
...
...
@@ -206,6 +206,10 @@ export default {
gridview
:
{
caption
:
"联系人"
,
title
:
'contact表格视图'
,
},
abstracteditview9_editmode
:
{
caption
:
"联系人"
,
title
:
'联系人编辑视图'
,
},
detailinfoeditview9
:
{
caption
:
"联系人"
,
...
...
@@ -214,6 +218,10 @@ export default {
pickupgridview
:
{
caption
:
"联系人"
,
title
:
'contact选择表格视图'
,
},
byaccount
:
{
caption
:
"联系人"
,
title
:
'联系人'
,
},
abstracteditview9
:
{
caption
:
"联系人"
,
...
...
@@ -327,6 +335,54 @@ export default {
uiactions
:
{
},
},
main3_form
:
{
details
:
{
grouppanel4
:
"联系人信息"
,
grouppanel5
:
"地址"
,
group1
:
"个人信息"
,
grouppanel1
:
"市场营销"
,
grouppanel2
:
"记账"
,
grouppanel3
:
"送货"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"联系人"
,
srfmajortext
:
"全名"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
fullname
:
"全名"
,
parentcustomerid
:
"公司名称"
,
emailaddress1
:
"电子邮件"
,
telephone1
:
"商务电话"
,
mobilephone
:
"移动电话"
,
fax
:
"传真"
,
address1_country
:
"国家/地区"
,
address1_stateorprovince
:
"省/市/自治区"
,
address1_city
:
"市/县"
,
address1_line1
:
"街道"
,
address1_postalcode
:
"邮政编码"
,
gendercode
:
"性别"
,
familystatuscode
:
"婚姻状况"
,
spousesname
:
"配偶/伴侣姓名"
,
birthdate
:
"生日"
,
anniversary
:
"纪念日"
,
originatingleadname
:
"原始潜在顾客"
,
lastusedincampaign
:
"上次参与市场活动的日期"
,
donotsendmm
:
"发送市场营销资料"
,
transactioncurrencyname
:
"货币"
,
creditlimit
:
"信用额度"
,
creditonhold
:
"信用冻结"
,
paymenttermscode
:
"付款方式"
,
shippingmethodcode
:
"送货方式"
,
originatingleadid
:
"原始潜在顾客"
,
transactioncurrencyid
:
"货币"
,
contactid
:
"联系人"
,
},
uiactions
:
{
},
},
main_form
:
{
details
:
{
group1
:
"contact基本信息"
,
...
...
@@ -415,7 +471,63 @@ export default {
caption
:
"编辑"
,
tip
:
"编辑"
,
},
deuiaction4
:
{
},
byaccounttoolbar_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"
,
},
},
abstracteditview9_editmodetoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"Save"
,
tip
:
"Save"
,
},
tbitem5
:
{
caption
:
"Save And Close"
,
tip
:
"Save And Close Window"
,
},
tbitem6
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem12
:
{
caption
:
"关闭"
,
tip
:
"关闭"
,
},
...
...
app_BusinessCentral/src/locale/lanres/entities/contact/contact_zh_CN.ts
浏览文件 @
f15e1b01
...
...
@@ -205,6 +205,10 @@ export default {
gridview
:
{
caption
:
'联系人'
,
title
:
'contact表格视图'
,
},
abstracteditview9_editmode
:
{
caption
:
'联系人'
,
title
:
'联系人编辑视图'
,
},
detailinfoeditview9
:
{
caption
:
'联系人'
,
...
...
@@ -213,6 +217,10 @@ export default {
pickupgridview
:
{
caption
:
'联系人'
,
title
:
'contact选择表格视图'
,
},
byaccount
:
{
caption
:
'联系人'
,
title
:
'联系人'
,
},
abstracteditview9
:
{
caption
:
'联系人'
,
...
...
@@ -326,6 +334,54 @@ export default {
uiactions
:
{
},
},
main3_form
:
{
details
:
{
grouppanel4
:
'联系人信息'
,
grouppanel5
:
'地址'
,
group1
:
'个人信息'
,
grouppanel1
:
'市场营销'
,
grouppanel2
:
'记账'
,
grouppanel3
:
'送货'
,
formpage1
:
'基本信息'
,
srfupdatedate
:
'更新时间'
,
srforikey
:
''
,
srfkey
:
'联系人'
,
srfmajortext
:
'全名'
,
srftempmode
:
''
,
srfuf
:
''
,
srfdeid
:
''
,
srfsourcekey
:
''
,
fullname
:
'全名'
,
parentcustomerid
:
'公司名称'
,
emailaddress1
:
'电子邮件'
,
telephone1
:
'商务电话'
,
mobilephone
:
'移动电话'
,
fax
:
'传真'
,
address1_country
:
'国家/地区'
,
address1_stateorprovince
:
'省/市/自治区'
,
address1_city
:
'市/县'
,
address1_line1
:
'街道'
,
address1_postalcode
:
'邮政编码'
,
gendercode
:
'性别'
,
familystatuscode
:
'婚姻状况'
,
spousesname
:
'配偶/伴侣姓名'
,
birthdate
:
'生日'
,
anniversary
:
'纪念日'
,
originatingleadname
:
'原始潜在顾客'
,
lastusedincampaign
:
'上次参与市场活动的日期'
,
donotsendmm
:
'发送市场营销资料'
,
transactioncurrencyname
:
'货币'
,
creditlimit
:
'信用额度'
,
creditonhold
:
'信用冻结'
,
paymenttermscode
:
'付款方式'
,
shippingmethodcode
:
'送货方式'
,
originatingleadid
:
'原始潜在顾客'
,
transactioncurrencyid
:
'货币'
,
contactid
:
'联系人'
,
},
uiactions
:
{
},
},
main_form
:
{
details
:
{
group1
:
'contact基本信息'
,
...
...
@@ -414,7 +470,63 @@ export default {
caption
:
'编辑'
,
tip
:
'编辑'
,
},
deuiaction4
:
{
},
byaccounttoolbar_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
:
'过滤'
,
},
},
abstracteditview9_editmodetoolbar_toolbar
:
{
tbitem3
:
{
caption
:
'保存'
,
tip
:
'保存'
,
},
tbitem5
:
{
caption
:
'保存并关闭'
,
tip
:
'保存并关闭'
,
},
tbitem6
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem12
:
{
caption
:
'关闭'
,
tip
:
'关闭'
,
},
...
...
app_BusinessCentral/src/mock/viewconfig/viewconfig.ts
浏览文件 @
f15e1b01
...
...
@@ -167,6 +167,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"ProductEditView"
,
"viewtag"
:
"573c48d02ab5eef37c4cf701be87fcb5"
},
"contactabstracteditview9_editmode"
:
{
"title"
:
"联系人编辑视图"
,
"caption"
:
"联系人"
,
"viewtype"
:
"DEEDITVIEW9"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"ContactAbstractEditView9_EditMode"
,
"viewtag"
:
"5b2c286488252f647dbe00fcf7f57abd"
},
"accountgridview"
:
{
"title"
:
"account表格视图"
,
"caption"
:
"客户"
,
...
...
@@ -311,6 +319,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"AccountAddress"
,
"viewtag"
:
"916febbb65be1c54dd42ccb9914fe973"
},
"contactbyaccount"
:
{
"title"
:
"联系人"
,
"caption"
:
"联系人"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"ContactByAccount"
,
"viewtag"
:
"9224b0b14d2d99014e051f8035ba5cbf"
},
"contactabstracteditview9"
:
{
"title"
:
"联系人编辑视图"
,
"caption"
:
"联系人"
,
...
...
app_BusinessCentral/src/pages/base/contact-abstract-edit-view9/contact-abstract-edit-view9-base.vue
浏览文件 @
f15e1b01
...
...
@@ -6,10 +6,6 @@
<i
class=
'fa fa-edit'
></i>
<span
class=
'caption'
>
{{
$t
(
'entities.contact.abstracteditview9toolbar_toolbar.deuiaction2.caption'
)
}}
</span>
</i-button>
<i-button
:title=
"$t('entities.contact.abstracteditview9toolbar_toolbar.deuiaction4.tip')"
v-show=
"toolBarModels.deuiaction4.visabled"
:disabled=
"toolBarModels.deuiaction4.disabled"
class=
''
@
click=
"toolbar_click(
{ tag: 'deuiaction4' }, $event)">
<i
class=
'fa fa-sign-out'
></i>
<span
class=
'caption'
>
{{
$t
(
'entities.contact.abstracteditview9toolbar_toolbar.deuiaction4.caption'
)
}}
</span>
</i-button>
</div>
</
template
>
<view
_form
...
...
@@ -226,8 +222,6 @@ export default class ContactAbstractEditView9Base extends Vue {
public
toolBarModels
:
any
=
{
deuiaction2
:
{
name
:
'deuiaction2'
,
caption
:
'编辑'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'OpenEditMode'
,
target
:
'SINGLEKEY'
}
},
deuiaction4
:
{
name
:
'deuiaction4'
,
caption
:
'关闭'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Exit'
,
target
:
''
}
},
};
...
...
@@ -474,9 +468,6 @@ export default class ContactAbstractEditView9Base extends Vue {
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction2'
))
{
this
.
toolbar_deuiaction2_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction4'
))
{
this
.
toolbar_deuiaction4_click
(
null
,
''
,
$event2
);
}
}
...
...
@@ -545,34 +536,6 @@ export default class ContactAbstractEditView9Base extends Vue {
this
.
OpenEditMode
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Contact"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction4_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
.
Exit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"Contact"
);
}
/**
* 编辑
*
...
...
@@ -640,24 +603,6 @@ export default class ContactAbstractEditView9Base extends Vue {
}
/**
* 关闭
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof ContactAbstractEditView9Base
*/
public
Exit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
this
.
closeView
(
args
);
if
(
window
.
parent
){
window
.
parent
.
postMessage
([{
...
args
}],
'*'
);
}
}
/**
* 关闭视图
...
...
app_BusinessCentral/src/pages/base/contact-by-account/contact-by-account-base.vue
0 → 100644
浏览文件 @
f15e1b01
此差异已折叠。
点击以展开。
app_BusinessCentral/src/pages/base/contact-by-account/contact-by-account.less
0 → 100644
浏览文件 @
f15e1b01
// 避免空文件,后台不让空文件过
.contact-by-account {
--contact-by-account: 0;
}
// 视图样式
// this is less
app_BusinessCentral/src/pages/base/contact-by-account/contact-by-account.vue
0 → 100644
浏览文件 @
f15e1b01
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
ContactByAccountBase
from
'./contact-by-account-base.vue'
;
import
view_grid
from
'@widgets/contact/main-grid/main-grid.vue'
;
import
view_searchform
from
'@widgets/contact/default-searchform/default-searchform.vue'
;
@
Component
({
components
:
{
view_grid
,
view_searchform
,
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
route
:
to
,
viewtag
:
vm
.
viewtag
});
});
},
})
export
default
class
ContactByAccount
extends
ContactByAccountBase
{
}
</
script
>
\ No newline at end of file
app_BusinessCentral/src/pages/base/contact-grid-view/contact-grid-view-base.vue
浏览文件 @
f15e1b01
...
...
@@ -920,28 +920,14 @@ export default class ContactGridViewBase extends Vue {
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'tabexpview'
,
parameterName
:
'tabexpview'
},
];
const
_this
:
any
=
this
;
const
openDrawer
=
(
view
:
any
,
data
:
any
)
=>
{
let
container
:
Subject
<
any
>
=
this
.
$appdrawer
.
openDrawer
(
view
,
tempContext
,
data
);
container
.
subscribe
((
result
:
any
)
=>
{
if
(
!
result
||
!
Object
.
is
(
result
.
ret
,
'OK'
))
{
return
;
}
if
(
!
xData
||
!
(
xData
.
refresh
instanceof
Function
))
{
return
;
}
xData
.
refresh
(
result
.
datas
);
});
const
openIndexViewTab
=
(
data
:
any
)
=>
{
const
routePath
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
tempContext
,
deResParameters
,
parameters
,
args
,
data
);
this
.
$router
.
push
(
routePath
);
}
const
view
:
any
=
{
viewname
:
'contact-tab-exp-view'
,
height
:
0
,
width
:
0
,
title
:
this
.
$t
(
'entities.contact.views.tabexpview.title'
),
placement
:
'DRAWER_TOP'
,
};
openDrawer
(
view
,
data
);
openIndexViewTab
(
data
);
}
...
...
app_BusinessCentral/src/pages/ungroup/central/page-register.ts
浏览文件 @
f15e1b01
...
...
@@ -38,6 +38,7 @@ export const PageComponents = {
Vue
.
component
(
'account-pickup-view'
,
()
=>
import
(
'@pages/base/account-pickup-view/account-pickup-view.vue'
));
Vue
.
component
(
'price-level-pickup-grid-view'
,
()
=>
import
(
'@pages/product/price-level-pickup-grid-view/price-level-pickup-grid-view.vue'
));
Vue
.
component
(
'ibiz-list-grid-view'
,
()
=>
import
(
'@pages/marketing/ibiz-list-grid-view/ibiz-list-grid-view.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
(
'sales-literature-edit-view'
,
()
=>
import
(
'@pages/sales/sales-literature-edit-view/sales-literature-edit-view.vue'
));
Vue
.
component
(
'account-pickup-grid-view'
,
()
=>
import
(
'@pages/base/account-pickup-grid-view/account-pickup-grid-view.vue'
));
...
...
app_BusinessCentral/src/pages/ungroup/central/router.ts
浏览文件 @
f15e1b01
...
...
@@ -622,6 +622,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/marketing/ibiz-list-grid-view/ibiz-list-grid-view.vue'
),
},
{
path
:
'contacts/:contact?/byaccount/:byaccount?'
,
meta
:
{
caption
:
'entities.contact.views.byaccount.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'byaccount'
,
parameterName
:
'byaccount'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-by-account/contact-by-account.vue'
),
},
{
path
:
'products/:product?/gridview/:gridview?'
,
meta
:
{
...
...
@@ -1318,6 +1332,19 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/base/account-address/account-address.vue'
),
},
{
path
:
'/contacts/:contact?/byaccount/:byaccount?'
,
meta
:
{
caption
:
'entities.contact.views.byaccount.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'byaccount'
,
parameterName
:
'byaccount'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-by-account/contact-by-account.vue'
),
},
{
path
:
'/contacts/:contact?/abstracteditview9/:abstracteditview9?'
,
meta
:
{
...
...
app_BusinessCentral/src/store/modules/view-action/state.ts
浏览文件 @
f15e1b01
...
...
@@ -106,19 +106,17 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'e38e7b53a449e0f112cb545d2c5d4b85'
,
'aa79d35850f36fbc1a5085353ecd5af5'
,
'
fb06f2c1cea1ac2a5a70c20f4a277ae
5'
,
'
e38e7b53a449e0f112cb545d2c5d4b8
5'
,
'73bb9f7e653384ca09f8bbbfd580d892'
,
'e404dc93e70d6284d4e1a083017625ed'
,
'a95d7d9111bc13a8b73a11ee1e4ff92a'
,
'916febbb65be1c54dd42ccb9914fe973'
,
'a5213905238dbc5d8e1a505029105cc9'
,
'e4335da0a7c14a65376eecaabb771fd7'
,
'c607e5bc2c07ab2aca084e275ce677b7'
,
'a95d7d9111bc13a8b73a11ee1e4ff92a'
,
'893e62d6fbdc4580de7e3e802aec9108'
,
'
688201ee5642d41628dbf4deba002d17
'
,
'
916febbb65be1c54dd42ccb9914fe973
'
,
'1d3b94223a5d3f8ab1d2fe334c8c4afd'
,
'688201ee5642d41628dbf4deba002d17'
,
'a5213905238dbc5d8e1a505029105cc9'
,
],
},
{
...
...
@@ -137,6 +135,7 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'fb06f2c1cea1ac2a5a70c20f4a277ae5'
,
'bae77557d2f7a7852b634dc5d5a93435'
,
'2becf7bda3a6d70cbe9a4e254093e84e'
,
],
...
...
@@ -375,6 +374,17 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'9224b0b14d2d99014e051f8035ba5cbf'
,
viewmodule
:
'Base'
,
viewname
:
'ContactByAccount'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'e404dc93e70d6284d4e1a083017625ed'
,
'fcdb236b65d78c4a8ae64e74f9483a63'
,
],
},
{
viewtag
:
'928f354b1e67a8b855b7f19f485299b0'
,
viewmodule
:
'Base'
,
...
...
@@ -607,6 +617,7 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'9224b0b14d2d99014e051f8035ba5cbf'
,
'b6b6215e439e78cdf6959b6f45bd7927'
,
],
},
...
...
app_BusinessCentral/src/uiservice/contact/contact-ui-service-base.ts
浏览文件 @
f15e1b01
...
...
@@ -80,8 +80,10 @@ export default class ContactUIServiceBase extends UIService {
*/
public
initViewMap
(){
this
.
allViewMap
.
set
(
'MDATAVIEW:'
,{
viewname
:
'gridview'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'abstracteditview9_editmode'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'detailinfoeditview9'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'pickupgridview'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'byaccount'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'abstracteditview9'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
'EDITVIEW:'
,{
viewname
:
'editview'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
'PICKUPVIEW:'
,{
viewname
:
'pickupview'
,
srfappde
:
'contacts'
});
...
...
app_BusinessCentral/src/widgets/account/infotabexppanel-tabexppanel/infotabexppanel-tabexppanel-base.vue
浏览文件 @
f15e1b01
...
...
@@ -59,6 +59,29 @@
@
closeview=
"closeView($event)"
>
</view
_tabviewpanel2
>
</tab-pane>
<tab-pane
:index=
"2"
name=
'tabviewpanel3'
tab=
'infotabexppanel'
class=
''
:label=
"(h) =>
{
return h('div', [
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'
@
viewpanelDatasChange =
"tabViewPanelDatasChange"
@
closeview=
"closeView($event)"
>
</view
_tabviewpanel3
>
</tab-pane>
</tabs>
</div>
</
template
>
...
...
@@ -195,6 +218,7 @@ export default class InfotabexppanelBase extends Vue implements ControlInterface
public
isInit
:
any
=
{
tabviewpanel
:
true
,
tabviewpanel2
:
false
,
tabviewpanel3
:
false
,
}
/**
...
...
app_BusinessCentral/src/widgets/account/infotabexppanel-tabexppanel/infotabexppanel-tabexppanel.vue
浏览文件 @
f15e1b01
...
...
@@ -3,12 +3,14 @@ import { Component } from 'vue-property-decorator';
import
InfotabexppanelBase
from
'./infotabexppanel-tabexppanel-base.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_tabviewpanel3
from
'@widgets/account/infotabviewpanel3-tabviewpanel/infotabviewpanel3-tabviewpanel.vue'
;
@
Component
({
components
:
{
view_tabviewpanel
,
view_tabviewpanel2
,
view_tabviewpanel3
,
}
})
...
...
app_BusinessCentral/src/widgets/account/infotabviewpanel3-tabviewpanel/infotabviewpanel3-tabviewpanel-base.vue
0 → 100644
浏览文件 @
f15e1b01
<
template
>
<div
class=
'tabviewpanel'
style=
"height:100%;"
v-if =
'isActivied'
>
<account-major-contact
class=
'viewcontainer2'
:viewdata=
"viewdata"
:viewparam=
"viewparam"
@
viewload=
"viewDatasChange($event)"
:viewDefaultUsage=
"false"
>
</account-major-contact>
</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
Infotabviewpanel3Service
from
'./infotabviewpanel3-tabviewpanel-service'
;
@
Component
({
components
:
{
}
})
export
default
class
Infotabviewpanel3Base
extends
Vue
implements
ControlInterface
{
/**
* 名称
*
* @type {string}
* @memberof Infotabviewpanel3
*/
@
Prop
()
public
name
?:
string
;
/**
* 视图通讯对象
*
* @type {Subject<ViewState>}
* @memberof Infotabviewpanel3
*/
@
Prop
()
public
viewState
!
:
Subject
<
ViewState
>
;
/**
* 应用上下文
*
* @type {*}
* @memberof Infotabviewpanel3
*/
@
Prop
()
public
context
:
any
;
/**
* 视图参数
*
* @type {*}
* @memberof Infotabviewpanel3
*/
@
Prop
()
public
viewparams
:
any
;
/**
* 视图状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof Infotabviewpanel3
*/
public
viewStateEvent
:
Subscription
|
undefined
;
/**
* 获取部件类型
*
* @returns {string}
* @memberof Infotabviewpanel3
*/
public
getControlType
():
string
{
return
'TABVIEWPANEL'
}
/**
* 建构部件服务对象
*
* @type {Infotabviewpanel3Service}
* @memberof Infotabviewpanel3
*/
public
service
:
Infotabviewpanel3Service
=
new
Infotabviewpanel3Service
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {AccountService}
* @memberof Infotabviewpanel3
*/
public
appEntityService
:
AccountService
=
new
AccountService
({
$store
:
this
.
$store
});
/**
* 关闭视图
*
* @param {any} args
* @memberof Infotabviewpanel3
*/
public
closeView
(
args
:
any
):
void
{
let
_this
:
any
=
this
;
_this
.
$emit
(
'closeview'
,
[
args
]);
}
/**
* 计数器刷新
*
* @memberof Infotabviewpanel3
*/
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 Infotabviewpanel3
*/
public
getDatas
():
any
[]
{
return
[];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof Infotabviewpanel3
*/
public
getData
():
any
{
return
null
;
}
/**
* 是否被激活
*
* @type {boolean}
* @memberof Infotabviewpanel3
*/
public
isActivied
:
boolean
=
true
;
/**
* 局部上下文
*
* @type {*}
* @memberof Infotabviewpanel3
*/
public
localContext
:
any
=
null
;
/**
* 局部视图参数
*
* @type {*}
* @memberof Infotabviewpanel3
*/
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 Infotabviewpanel3
*/
public
navfilter
:
string
=
""
;
/**
* vue 生命周期
*
* @returns
* @memberof Infotabviewpanel3
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof Infotabviewpanel3
*/
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 Infotabviewpanel3
*/
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 Infotabviewpanel3
*/
public
viewDatasChange
(
$event
:
any
){
this
.
$emit
(
'viewpanelDatasChange'
,
$event
);
}
/**
* vue 生命周期
*
* @memberof Infotabviewpanel3
*/
public
destroyed
()
{
this
.
afterDestroy
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof Infotabviewpanel3
*/
public
afterDestroy
()
{
if
(
this
.
viewStateEvent
)
{
this
.
viewStateEvent
.
unsubscribe
();
}
}
}
</
script
>
<
style
lang=
'less'
>
@import './infotabviewpanel3-tabviewpanel.less';
</
style
>
\ No newline at end of file
app_BusinessCentral/src/widgets/account/infotabviewpanel3-tabviewpanel/infotabviewpanel3-tabviewpanel-model.ts
0 → 100644
浏览文件 @
f15e1b01
/**
* Infotabviewpanel3 部件模型
*
* @export
* @class Infotabviewpanel3Model
*/
export
default
class
Infotabviewpanel3Model
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof Infotabviewpanel3Model
*/
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_BusinessCentral/src/widgets/account/infotabviewpanel3-tabviewpanel/infotabviewpanel3-tabviewpanel-service.ts
0 → 100644
浏览文件 @
f15e1b01
import
{
Http
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
/**
* Infotabviewpanel3 部件服务对象
*
* @export
* @class Infotabviewpanel3Service
*/
export
default
class
Infotabviewpanel3Service
extends
ControlService
{
}
\ No newline at end of file
app_BusinessCentral/src/widgets/account/infotabviewpanel3-tabviewpanel/infotabviewpanel3-tabviewpanel.less
0 → 100644
浏览文件 @
f15e1b01
// this is less
app_BusinessCentral/src/widgets/account/infotabviewpanel3-tabviewpanel/infotabviewpanel3-tabviewpanel.vue
0 → 100644
浏览文件 @
f15e1b01
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
Infotabviewpanel3Base
from
'./infotabviewpanel3-tabviewpanel-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
Infotabviewpanel3
extends
Infotabviewpanel3Base
{
}
</
script
>
\ No newline at end of file
app_BusinessCentral/src/widgets/account/major-contact-form/major-contact-form-base.vue
浏览文件 @
f15e1b01
...
...
@@ -38,6 +38,31 @@
<input-box
v-model=
"data.emailaddress1"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.emailaddress1.disabled"
type=
'text'
style=
""
></input-box>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.druipart1.visible"
:style=
"
{}" :md="{ span: 24, offset: 0 }" :lg="{ span: 24, offset: 0 }" :xl="{ span: 24, offset: 0 }">
<app-form-druipart
:formState=
"formState"
:isForbidLoad=
"this.data.srfuf === '0'"
paramItem=
'account'
:parentdata=
'
{"srfparentdename":"ACCOUNT","SRFPARENTTYPE":"CUSTOM"}'
:parameters="[
]"
:context="context"
:viewparams="viewparams"
:localContext ='{}'
:localParam ='{}'
parameterName='account'
parentName="Account"
refviewtype='DEGRIDVIEW'
refreshitems=''
:ignorefieldvaluechange="ignorefieldvaluechange"
viewname='contact-by-account'
:data="JSON.stringify(this.data)"
@drdatasaved="drdatasaved($event)"
style=";overflow: auto;">
</app-form-druipart>
</i-col>
</row>
...
...
@@ -477,6 +502,8 @@ export default class MajorContactBase extends Vue implements ControlInterface {
* @memberof MajorContact
*/
public
detailsModel
:
any
=
{
druipart1
:
new
FormDRUIPartModel
({
caption
:
''
,
detailType
:
'DRUIPART'
,
name
:
'druipart1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
})
,
group1
:
new
FormGroupPanelModel
({
caption
:
'客户基本信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group1'
,
visible
:
true
,
isShowCaption
:
false
,
form
:
this
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.account.majorcontact_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
})
,
formpage1
:
new
FormPageModel
({
caption
:
'基本信息'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
})
...
...
@@ -701,6 +728,7 @@ export default class MajorContactBase extends Vue implements ControlInterface {
}
/**
...
...
@@ -1224,7 +1252,7 @@ export default class MajorContactBase extends Vue implements ControlInterface {
Object
.
assign
(
arg
,
data
);
Object
.
assign
(
arg
,
this
.
context
);
if
(
ifStateNext
)
{
this
.
drcounter
=
0
;
this
.
drcounter
=
1
;
if
(
this
.
drcounter
!==
0
){
this
.
drsaveopt
=
opt
;
this
.
formState
.
next
({
type
:
'beforesave'
,
data
:
arg
});
//先通知关系界面保存
...
...
app_BusinessCentral/src/widgets/account/summary-dashboard/summary-dashboard-base.vue
浏览文件 @
f15e1b01
...
...
@@ -100,52 +100,6 @@
</card>
</div>
</i-col>
<i-col
:md=
"
{ span: 24, offset: 0 }">
<div
class=
"portlet-without-title"
>
<card
class=
"portlet-card"
:bordered=
"false"
dis-hover
:padding=
"0"
>
<span>
<div
class=
'portlet-container summarydashboard-container4 '
: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_sysportlet6
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:height=
"300"
name=
"dashboard_sysportlet6"
ref=
'dashboard_sysportlet6'
@
closeview=
"closeView($event)"
>
</view
_dashboard_sysportlet6
>
</span>
</card>
</div>
</i-col>
<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_sysportlet7
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:height=
"300"
name=
"dashboard_sysportlet7"
ref=
'dashboard_sysportlet7'
@
closeview=
"closeView($event)"
>
</view
_dashboard_sysportlet7
>
</span>
</card>
</div>
</i-col>
</row>
</div>
</span>
</card>
</div>
</i-col>
</row>
</div>
</span>
...
...
app_BusinessCentral/src/widgets/account/summary-dashboard/summary-dashboard.vue
浏览文件 @
f15e1b01
...
...
@@ -2,8 +2,6 @@
import
{
Component
}
from
'vue-property-decorator'
;
import
SummaryBase
from
'./summary-dashboard-base.vue'
;
import
view_dashboard_sysportlet8
from
'@widgets/activity-pointer/pt-by-parent-key-portlet/pt-by-parent-key-portlet.vue'
;
import
view_dashboard_sysportlet6
from
'@widgets/account/pt-major-contact-portlet/pt-major-contact-portlet.vue'
;
import
view_dashboard_sysportlet7
from
'@widgets/contact/pt-by-account-portlet/pt-by-account-portlet.vue'
;
import
view_dashboard_sysportlet4
from
'@widgets/account/pt-contact-setting-portlet/pt-contact-setting-portlet.vue'
;
import
view_dashboard_sysportlet5
from
'@widgets/account/pt-distribution-portlet/pt-distribution-portlet.vue'
;
import
view_dashboard_sysportlet2
from
'@widgets/account/pt-address-portlet/pt-address-portlet.vue'
;
...
...
@@ -14,8 +12,6 @@ import view_dashboard_sysportlet1 from '@widgets/account/pt-account-info-portlet
@
Component
({
components
:
{
view_dashboard_sysportlet8
,
view_dashboard_sysportlet6
,
view_dashboard_sysportlet7
,
view_dashboard_sysportlet4
,
view_dashboard_sysportlet5
,
view_dashboard_sysportlet2
,
...
...
app_BusinessCentral/src/widgets/contact/default-searchform/default-searchform-base.vue
浏览文件 @
f15e1b01
...
...
@@ -561,7 +561,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'Contact
PickupGridView
视图搜索表单loadAction参数未配置'
});
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'Contact
ByAccount
视图搜索表单loadAction参数未配置'
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -598,7 +598,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'Contact
PickupGridView
视图搜索表单loaddraftAction参数未配置'
});
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'Contact
ByAccount
视图搜索表单loaddraftAction参数未配置'
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_BusinessCentral/src/widgets/contact/main-grid/main-grid-base.vue
浏览文件 @
f15e1b01
...
...
@@ -48,7 +48,7 @@
</el-table-column>
</template>
<
template
v-if=
"getColumnState('parentcustomerid')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'parentcustomerid'"
:label=
"$t('entities.contact.main_grid.columns.parentcustomerid')"
:
min-width=
"1
00"
:align=
"'left'"
:sortable=
"'custom'"
>
<el-table-column
show-overflow-tooltip
:prop=
"'parentcustomerid'"
:label=
"$t('entities.contact.main_grid.columns.parentcustomerid')"
:
width=
"2
00"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"
{column}">
<span
class=
"column-header "
>
{{
$t
(
'entities.contact.main_grid.columns.parentcustomerid'
)
}}
...
...
@@ -268,6 +268,20 @@ export default class MainBase extends Vue implements ControlInterface {
return
this
.
selections
[
0
];
}
/**
* 打开新建数据视图
*
* @type {any}
* @memberof Main
*/
@
Prop
()
public
newdata
:
any
;
/**
* 打开编辑数据视图
*
* @type {any}
* @memberof Main
*/
@
Prop
()
public
opendata
:
any
;
/**
* 显示处理提示
...
...
@@ -553,7 +567,7 @@ export default class MainBase extends Vue implements ControlInterface {
label
:
'公司名称'
,
langtag
:
'entities.contact.main_grid.columns.parentcustomerid'
,
show
:
true
,
util
:
'
STAR
'
util
:
'
PX
'
},
{
name
:
'telephone1'
,
...
...
@@ -649,7 +663,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{},
pageReset
:
boolean
=
false
):
void
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'Contact
PickupGridView
视图表格fetchAction参数未配置'
});
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'Contact
ByAccount
视图表格fetchAction参数未配置'
});
return
;
}
if
(
pageReset
){
...
...
@@ -726,7 +740,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'Contact
PickupGridView
视图表格removeAction参数未配置'
});
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'Contact
ByAccount
视图表格removeAction参数未配置'
});
return
;
}
let
_datas
:
any
[]
=
[];
...
...
@@ -832,7 +846,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
addBatch
(
arg
:
any
=
{}):
void
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'Contact
PickupGridView
视图表格fetchAction参数未配置'
});
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'Contact
ByAccount
视图表格fetchAction参数未配置'
});
return
;
}
if
(
!
arg
){
...
...
@@ -1370,7 +1384,7 @@ export default class MainBase extends Vue implements ControlInterface {
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
)){
if
(
!
this
.
createAction
){
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'Contact
PickupGridView
视图表格createAction参数未配置'
});
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'Contact
ByAccount
视图表格createAction参数未配置'
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
...
...
@@ -1378,7 +1392,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
){
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'Contact
PickupGridView
视图表格updateAction参数未配置'
});
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'Contact
ByAccount
视图表格updateAction参数未配置'
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
contact
){
...
...
businesscentral-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
f15e1b01
此差异已折叠。
点击以展开。
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录