Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
4c2f71b9
提交
4c2f71b9
编写于
6月 16, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
e16e8a18
变更
29
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
29 个修改的文件
包含
2496 行增加
和
1057 行删除
+2496
-1057
account_en_US.ts
...ntral/src/locale/lanres/entities/account/account_en_US.ts
+27
-65
account_zh_CN.ts
...ntral/src/locale/lanres/entities/account/account_zh_CN.ts
+27
-65
account-edit-view-base.vue
...c/pages/base/account-edit-view/account-edit-view-base.vue
+0
-597
account-edit-view.less
...l/src/pages/base/account-edit-view/account-edit-view.less
+0
-2
page-register.ts
...usinessCentral/src/pages/ungroup/central/page-register.ts
+27
-20
router.ts
app_BusinessCentral/src/pages/ungroup/central/router.ts
+363
-174
state.ts
app_BusinessCentral/src/store/modules/view-action/state.ts
+70
-1
infotabviewpanel-tabviewpanel-base.vue
...panel-tabviewpanel/infotabviewpanel-tabviewpanel-base.vue
+2
-2
main-form-base.vue
...sCentral/src/widgets/account/main-form/main-form-base.vue
+11
-24
main-grid-base.vue
...sCentral/src/widgets/account/main-grid/main-grid-base.vue
+4
-4
summary-dashboard-base.vue
...gets/account/summary-dashboard/summary-dashboard-base.vue
+117
-93
summary-dashboard.vue
...c/widgets/account/summary-dashboard/summary-dashboard.vue
+2
-0
summarydashboard-container3-portlet.less
...ntainer3-portlet/summarydashboard-container3-portlet.less
+4
-0
by-parent-key-list-base.vue
...ty-pointer/by-parent-key-list/by-parent-key-list-base.vue
+585
-0
by-parent-key-list-model.ts
...ty-pointer/by-parent-key-list/by-parent-key-list-model.ts
+88
-0
by-parent-key-list-service.ts
...-pointer/by-parent-key-list/by-parent-key-list-service.ts
+104
-0
by-parent-key-list.less
...tivity-pointer/by-parent-key-list/by-parent-key-list.less
+4
-0
by-parent-key-list.vue
...ctivity-pointer/by-parent-key-list/by-parent-key-list.vue
+16
-0
by-parent-key-portlet-base.vue
...nter/by-parent-key-portlet/by-parent-key-portlet-base.vue
+254
-0
by-parent-key-portlet-model.ts
...nter/by-parent-key-portlet/by-parent-key-portlet-model.ts
+181
-0
by-parent-key-portlet-service.ts
...er/by-parent-key-portlet/by-parent-key-portlet-service.ts
+11
-0
by-parent-key-portlet.less
...-pointer/by-parent-key-portlet/by-parent-key-portlet.less
+4
-0
by-parent-key-portlet.vue
...y-pointer/by-parent-key-portlet/by-parent-key-portlet.vue
+17
-0
by-regarding-object-id-panel-base.vue
...ing-object-id-panel/by-regarding-object-id-panel-base.vue
+501
-0
by-regarding-object-id-panel-model.ts
...ing-object-id-panel/by-regarding-object-id-panel-model.ts
+27
-0
by-regarding-object-id-panel-service.ts
...g-object-id-panel/by-regarding-object-id-panel-service.ts
+11
-0
by-regarding-object-id-panel.less
...garding-object-id-panel/by-regarding-object-id-panel.less
+15
-0
by-regarding-object-id-panel.vue
...egarding-object-id-panel/by-regarding-object-id-panel.vue
+14
-0
h2_table.xml
...esscentral-core/src/main/resources/liquibase/h2_table.xml
+10
-10
未找到文件。
app_BusinessCentral/src/locale/lanres/entities/account/account_en_US.ts
浏览文件 @
4c2f71b9
...
...
@@ -364,6 +364,33 @@ export default {
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
:
{
details
:
{
group1
:
"账户信息"
,
...
...
@@ -415,33 +442,6 @@ export default {
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_grid
:
{
columns
:
{
accountname
:
"客户名称"
,
...
...
@@ -460,44 +460,6 @@ export default {
uiactions
:
{
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"Save"
,
tip
:
"Save"
,
},
tbitem4
:
{
caption
:
"Save And New"
,
tip
:
"Save And New"
,
},
tbitem5
:
{
caption
:
"Save And Close"
,
tip
:
"Save And Close Window"
,
},
tbitem6
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem7
:
{
caption
:
"Remove And Close"
,
tip
:
"Remove And Close Window"
,
},
tbitem8
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem12
:
{
caption
:
"New"
,
tip
:
"New"
,
},
tbitem13
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem14
:
{
caption
:
"Copy"
,
tip
:
"Copy {0}"
,
},
},
gridviewtoolbar_toolbar
:
{
tbitem1_openquickcreateview
:
{
caption
:
"新建"
,
...
...
app_BusinessCentral/src/locale/lanres/entities/account/account_zh_CN.ts
浏览文件 @
4c2f71b9
...
...
@@ -363,6 +363,33 @@ export default {
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
:
{
details
:
{
group1
:
'账户信息'
,
...
...
@@ -414,33 +441,6 @@ export default {
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_grid
:
{
columns
:
{
accountname
:
'客户名称'
,
...
...
@@ -459,44 +459,6 @@ export default {
uiactions
:
{
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
'保存'
,
tip
:
'保存'
,
},
tbitem4
:
{
caption
:
'保存并新建'
,
tip
:
'保存并新建'
,
},
tbitem5
:
{
caption
:
'保存并关闭'
,
tip
:
'保存并关闭'
,
},
tbitem6
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem7
:
{
caption
:
'删除并关闭'
,
tip
:
'删除并关闭'
,
},
tbitem8
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem12
:
{
caption
:
'新建'
,
tip
:
'新建'
,
},
tbitem13
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem14
:
{
caption
:
'拷贝'
,
tip
:
'拷贝'
,
},
},
gridviewtoolbar_toolbar
:
{
tbitem1_openquickcreateview
:
{
caption
:
'新建'
,
...
...
app_BusinessCentral/src/pages/base/account-edit-view/account-edit-view-base.vue
浏览文件 @
4c2f71b9
此差异已折叠。
点击以展开。
app_BusinessCentral/src/pages/base/account-edit-view/account-edit-view.less
浏览文件 @
4c2f71b9
...
...
@@ -2,7 +2,5 @@
.account-edit-view {
--account-edit-view: 0;
}
// 视图样式
// this is less
app_BusinessCentral/src/pages/ungroup/central/page-register.ts
浏览文件 @
4c2f71b9
export
const
PageComponents
=
{
install
(
Vue
:
any
,
opt
:
any
)
{
Vue
.
component
(
'account-option-view'
,
()
=>
import
(
'@pages/base/account-option-view/account-option-view.vue'
));
Vue
.
component
(
'ibiz-list-grid-view'
,
()
=>
import
(
'@pages/marketing/ibiz-list-grid-view/ibiz-list-grid-view.vue'
));
Vue
.
component
(
'appointment-quick-create'
,
()
=>
import
(
'@pages/base/appointment-quick-create/appointment-quick-create.vue'
));
Vue
.
component
(
'sales-literature-edit-view'
,
()
=>
import
(
'@pages/sales/sales-literature-edit-view/sales-literature-edit-view.vue'
));
Vue
.
component
(
'product-grid-view'
,
()
=>
import
(
'@pages/product/product-grid-view/product-grid-view.vue'
));
Vue
.
component
(
'sales-order-edit-view'
,
()
=>
import
(
'@pages/sales/sales-order-edit-view/sales-order-edit-view.vue'
));
Vue
.
component
(
'account-introduction'
,
()
=>
import
(
'@pages/base/account-introduction/account-introduction.vue'
));
Vue
.
component
(
'campaign-response-edit-view'
,
()
=>
import
(
'@pages/marketing/campaign-response-edit-view/campaign-response-edit-view.vue'
));
Vue
.
component
(
'sales-order-edit-view'
,
()
=>
import
(
'@pages/sales/sales-order-edit-view/sales-order-edit-view.vue'
));
Vue
.
component
(
'account-edit-view'
,
()
=>
import
(
'@pages/base/account-edit-view/account-edit-view.vue'
));
Vue
.
component
(
'fax-edit-view'
,
()
=>
import
(
'@pages/base/fax-edit-view/fax-edit-view.vue'
));
Vue
.
component
(
'incident-edit-view'
,
()
=>
import
(
'@pages/service/incident-edit-view/incident-edit-view.vue'
));
Vue
.
component
(
'account-pickup-grid-view'
,
()
=>
import
(
'@pages/base/account-pickup-grid-view/account-pickup-grid-view.vue'
));
Vue
.
component
(
'lead-grid-view'
,
()
=>
import
(
'@pages/sales/lead-grid-view/lead-grid-view.vue'
));
Vue
.
component
(
'activity-pointer-edit-view'
,
()
=>
import
(
'@pages/base/activity-pointer-edit-view/activity-pointer-edit-view.vue'
));
Vue
.
component
(
'
account-info'
,
()
=>
import
(
'@pages/base/account-info/account-info
.vue'
));
Vue
.
component
(
'
lead-grid-view'
,
()
=>
import
(
'@pages/sales/lead-grid-view/lead-grid-view
.vue'
));
Vue
.
component
(
'sales-literature-grid-view'
,
()
=>
import
(
'@pages/sales/sales-literature-grid-view/sales-literature-grid-view.vue'
));
Vue
.
component
(
'competitor-edit-view'
,
()
=>
import
(
'@pages/sales/competitor-edit-view/competitor-edit-view.vue'
));
Vue
.
component
(
'centeral-portal'
,
()
=>
import
(
'@pages/ungroup/centeral-portal/centeral-portal.vue'
));
Vue
.
component
(
'product-edit-view'
,
()
=>
import
(
'@pages/product/product-edit-view/product-edit-view.vue'
));
Vue
.
component
(
'task-quick-create'
,
()
=>
import
(
'@pages/base/task-quick-create/task-quick-create.vue'
));
Vue
.
component
(
'quote-grid-view'
,
()
=>
import
(
'@pages/sales/quote-grid-view/quote-grid-view.vue'
));
Vue
.
component
(
'task-quick-create'
,
()
=>
import
(
'@pages/base/task-quick-create/task-quick-create.vue'
));
Vue
.
component
(
'account-account-info'
,
()
=>
import
(
'@pages/base/account-account-info/account-account-info.vue'
));
Vue
.
component
(
'invoice-edit-view'
,
()
=>
import
(
'@pages/finance/invoice-edit-view/invoice-edit-view.vue'
));
Vue
.
component
(
'sales-order-grid-view'
,
()
=>
import
(
'@pages/sales/sales-order-grid-view/sales-order-grid-view.vue'
));
Vue
.
component
(
'account-summary'
,
()
=>
import
(
'@pages/base/account-summary/account-summary.vue'
));
Vue
.
component
(
'account-contact-setting'
,
()
=>
import
(
'@pages/base/account-contact-setting/account-contact-setting.vue'
));
Vue
.
component
(
'opportunity-grid-view'
,
()
=>
import
(
'@pages/sales/opportunity-grid-view/opportunity-grid-view.vue'
));
Vue
.
component
(
'goal-edit-view'
,
()
=>
import
(
'@pages/sales/goal-edit-view/goal-edit-view.vue'
));
Vue
.
component
(
'contact-option-view'
,
()
=>
import
(
'@pages/base/contact-option-view/contact-option-view.vue'
));
Vue
.
component
(
'letter-edit-view'
,
()
=>
import
(
'@pages/base/letter-edit-view/letter-edit-view.vue'
));
Vue
.
component
(
'
activity-pointer-by-parent-key'
,
()
=>
import
(
'@pages/base/activity-pointer-by-parent-key/activity-pointer-by-parent-key
.vue'
));
Vue
.
component
(
'
goal-edit-view'
,
()
=>
import
(
'@pages/sales/goal-edit-view/goal-edit-view
.vue'
));
Vue
.
component
(
'contact-edit-view'
,
()
=>
import
(
'@pages/base/contact-edit-view/contact-edit-view.vue'
));
Vue
.
component
(
'lead-edit-view'
,
()
=>
import
(
'@pages/sales/lead-edit-view/lead-edit-view.vue'
));
Vue
.
component
(
'phone-call-edit-view'
,
()
=>
import
(
'@pages/base/phone-call-edit-view/phone-call-edit-view.vue'
));
Vue
.
component
(
'account-address'
,
()
=>
import
(
'@pages/base/account-address/account-address.vue'
));
Vue
.
component
(
'appointment-edit-view'
,
()
=>
import
(
'@pages/base/appointment-edit-view/appointment-edit-view.vue'
));
Vue
.
component
(
'task-edit-view'
,
()
=>
import
(
'@pages/base/task-edit-view/task-edit-view.vue'
));
Vue
.
component
(
'email-edit-view'
,
()
=>
import
(
'@pages/base/email-edit-view/email-edit-view.vue'
));
Vue
.
component
(
'price-level-pickup-view'
,
()
=>
import
(
'@pages/product/price-level-pickup-view/price-level-pickup-view.vue'
));
Vue
.
component
(
'goal-grid-view'
,
()
=>
import
(
'@pages/sales/goal-grid-view/goal-grid-view.vue'
));
Vue
.
component
(
'opportunity-edit-view'
,
()
=>
import
(
'@pages/sales/opportunity-edit-view/opportunity-edit-view.vue'
));
Vue
.
component
(
'service-appointment-edit-view'
,
()
=>
import
(
'@pages/service/service-appointment-edit-view/service-appointment-edit-view.vue'
));
Vue
.
component
(
'contact-grid-view'
,
()
=>
import
(
'@pages/base/contact-grid-view/contact-grid-view.vue'
));
Vue
.
component
(
'service-appointment-edit-view'
,
()
=>
import
(
'@pages/service/service-appointment-edit-view/service-appointment-edit-view.vue'
));
Vue
.
component
(
'account-grid-view'
,
()
=>
import
(
'@pages/base/account-grid-view/account-grid-view.vue'
));
Vue
.
component
(
'activity-pointer-grid-view'
,
()
=>
import
(
'@pages/base/activity-pointer-grid-view/activity-pointer-grid-view.vue'
));
Vue
.
component
(
'ibiz-list-edit-view'
,
()
=>
import
(
'@pages/marketing/ibiz-list-edit-view/ibiz-list-edit-view.vue'
));
Vue
.
component
(
'invoice-grid-view'
,
()
=>
import
(
'@pages/finance/invoice-grid-view/invoice-grid-view.vue'
));
Vue
.
component
(
'
competitor-grid-view'
,
()
=>
import
(
'@pages/sales/competitor-grid-view/competitor-grid-view
.vue'
));
Vue
.
component
(
'
account-distribution'
,
()
=>
import
(
'@pages/base/account-distribution/account-distribution
.vue'
));
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
(
'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'
));
Vue
.
component
(
'account-info'
,
()
=>
import
(
'@pages/base/account-info/account-info.vue'
));
Vue
.
component
(
'account-major-contact'
,
()
=>
import
(
'@pages/base/account-major-contact/account-major-contact.vue'
));
Vue
.
component
(
'sales-order-grid-view'
,
()
=>
import
(
'@pages/sales/sales-order-grid-view/sales-order-grid-view.vue'
));
Vue
.
component
(
'contact-option-view'
,
()
=>
import
(
'@pages/base/contact-option-view/contact-option-view.vue'
));
Vue
.
component
(
'activity-pointer-by-parent-key'
,
()
=>
import
(
'@pages/base/activity-pointer-by-parent-key/activity-pointer-by-parent-key.vue'
));
Vue
.
component
(
'lead-edit-view'
,
()
=>
import
(
'@pages/sales/lead-edit-view/lead-edit-view.vue'
));
Vue
.
component
(
'phone-call-edit-view'
,
()
=>
import
(
'@pages/base/phone-call-edit-view/phone-call-edit-view.vue'
));
Vue
.
component
(
'task-edit-view'
,
()
=>
import
(
'@pages/base/task-edit-view/task-edit-view.vue'
));
Vue
.
component
(
'price-level-pickup-view'
,
()
=>
import
(
'@pages/product/price-level-pickup-view/price-level-pickup-view.vue'
));
Vue
.
component
(
'opportunity-edit-view'
,
()
=>
import
(
'@pages/sales/opportunity-edit-view/opportunity-edit-view.vue'
));
Vue
.
component
(
'competitor-grid-view'
,
()
=>
import
(
'@pages/sales/competitor-grid-view/competitor-grid-view.vue'
));
Vue
.
component
(
'ibiz-list-edit-view'
,
()
=>
import
(
'@pages/marketing/ibiz-list-edit-view/ibiz-list-edit-view.vue'
));
Vue
.
component
(
'quote-edit-view'
,
()
=>
import
(
'@pages/sales/quote-edit-view/quote-edit-view.vue'
));
Vue
.
component
(
'incident-grid-view'
,
()
=>
import
(
'@pages/service/incident-grid-view/incident-grid-view.vue'
));
}
...
...
app_BusinessCentral/src/pages/ungroup/central/router.ts
浏览文件 @
4c2f71b9
此差异已折叠。
点击以展开。
app_BusinessCentral/src/store/modules/view-action/state.ts
浏览文件 @
4c2f71b9
...
...
@@ -61,6 +61,15 @@ export const viewstate: any = {
'2e17cb1d009dd49ac529319ac15319cd'
,
],
},
{
viewtag
:
'1d3b94223a5d3f8ab1d2fe334c8c4afd'
,
viewmodule
:
'Base'
,
viewname
:
'AccountAccountInfo'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'24a93674ec4c976c08902a3e95421ca6'
,
viewmodule
:
'Marketing'
,
...
...
@@ -90,6 +99,21 @@ export const viewstate: any = {
'ef9fea872a6a21e7566033fafcc0ccb5'
,
],
},
{
viewtag
:
'2becf7bda3a6d70cbe9a4e254093e84e'
,
viewmodule
:
'Base'
,
viewname
:
'AccountSummary'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'e38e7b53a449e0f112cb545d2c5d4b85'
,
'fb06f2c1cea1ac2a5a70c20f4a277ae5'
,
'73bb9f7e653384ca09f8bbbfd580d892'
,
'c607e5bc2c07ab2aca084e275ce677b7'
,
'916febbb65be1c54dd42ccb9914fe973'
,
'1d3b94223a5d3f8ab1d2fe334c8c4afd'
,
],
},
{
viewtag
:
'2e17cb1d009dd49ac529319ac15319cd'
,
viewmodule
:
'Sales'
,
...
...
@@ -107,7 +131,7 @@ export const viewstate: any = {
viewdatachange
:
false
,
refviews
:
[
'bae77557d2f7a7852b634dc5d5a93435'
,
'
6e18ac74e5685439110f9b4e534ee005
'
,
'
2becf7bda3a6d70cbe9a4e254093e84e
'
,
],
},
{
...
...
@@ -219,6 +243,15 @@ export const viewstate: any = {
'29bfcd628ab25e297248ff0524d12908'
,
],
},
{
viewtag
:
'73bb9f7e653384ca09f8bbbfd580d892'
,
viewmodule
:
'Base'
,
viewname
:
'AccountIntroduction'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'7877d7e7e55fe21f48e8382e07579f33'
,
viewmodule
:
'Sales'
,
...
...
@@ -299,6 +332,15 @@ export const viewstate: any = {
'303fcfed216ca770612be2c0a97be789'
,
],
},
{
viewtag
:
'916febbb65be1c54dd42ccb9914fe973'
,
viewmodule
:
'Base'
,
viewname
:
'AccountAddress'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'99d4a530c13b03a98cd143f341394354'
,
viewmodule
:
'Service'
,
...
...
@@ -421,6 +463,15 @@ export const viewstate: any = {
'a5213905238dbc5d8e1a505029105cc9'
,
],
},
{
viewtag
:
'c607e5bc2c07ab2aca084e275ce677b7'
,
viewmodule
:
'Base'
,
viewname
:
'AccountDistribution'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'd1c35f3c52010e1428d7dc1a6bc82f63'
,
viewmodule
:
'Sales'
,
...
...
@@ -460,6 +511,15 @@ export const viewstate: any = {
'01c28e25ad9d42977cb91ee890731b64'
,
],
},
{
viewtag
:
'e38e7b53a449e0f112cb545d2c5d4b85'
,
viewmodule
:
'Base'
,
viewname
:
'AccountContactSetting'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'e404dc93e70d6284d4e1a083017625ed'
,
viewmodule
:
'Base'
,
...
...
@@ -487,6 +547,15 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'fb06f2c1cea1ac2a5a70c20f4a277ae5'
,
viewmodule
:
'Base'
,
viewname
:
'AccountMajorContact'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'fc2117de593df9cc982bd802cbdb2154'
,
viewmodule
:
'Sales'
,
...
...
app_BusinessCentral/src/widgets/account/infotabviewpanel-tabviewpanel/infotabviewpanel-tabviewpanel-base.vue
浏览文件 @
4c2f71b9
<
template
>
<div
class=
'tabviewpanel'
style=
"height:100%;"
v-if =
'isActivied'
>
<account-
edit-view
<account-
summary
class=
'viewcontainer2'
:viewdata=
"viewdata"
:viewparam=
"viewparam"
@
viewload=
"viewDatasChange($event)"
:viewDefaultUsage=
"false"
>
</account-
edit-view
>
</account-
summary
>
</div>
</
template
>
<
script
lang=
'tsx'
>
...
...
app_BusinessCentral/src/widgets/account/main-form/main-form-base.vue
浏览文件 @
4c2f71b9
...
...
@@ -117,7 +117,7 @@
<app-form-group
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.grouppanel3.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.account.main_form.details.grouppanel3')"
:isShowCaption=
"true"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"2"
:isInfoGroupMode=
"false"
>
<row>
<i-col
v-show=
"detailsModel.industrycode.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item
name=
'industrycode'
:itemRules=
"this.rules.industrycode"
class=
''
:caption=
"$t('entities.account.main_form.details.industrycode')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.industrycode.error"
:isEmptyCaption=
"false"
labelPos=
"
TOP
"
>
<app-form-item
name=
'industrycode'
:itemRules=
"this.rules.industrycode"
class=
''
:caption=
"$t('entities.account.main_form.details.industrycode')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.industrycode.error"
:isEmptyCaption=
"false"
labelPos=
"
LEFT
"
>
<dropdown-list
v-model=
"data.industrycode"
...
...
@@ -135,13 +135,13 @@
</i-col>
<i-col
v-show=
"detailsModel.sic.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item
name=
'sic'
:itemRules=
"this.rules.sic"
class=
''
:caption=
"$t('entities.account.main_form.details.sic')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.sic.error"
:isEmptyCaption=
"false"
labelPos=
"
TOP
"
>
<app-form-item
name=
'sic'
:itemRules=
"this.rules.sic"
class=
''
:caption=
"$t('entities.account.main_form.details.sic')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.sic.error"
:isEmptyCaption=
"false"
labelPos=
"
LEFT
"
>
<input-box
v-model=
"data.sic"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.sic.disabled"
type=
'text'
style=
""
></input-box>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.ownershipcode.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item
name=
'ownershipcode'
:itemRules=
"this.rules.ownershipcode"
class=
''
:caption=
"$t('entities.account.main_form.details.ownershipcode')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.ownershipcode.error"
:isEmptyCaption=
"false"
labelPos=
"
TOP
"
>
<app-form-item
name=
'ownershipcode'
:itemRules=
"this.rules.ownershipcode"
class=
''
:caption=
"$t('entities.account.main_form.details.ownershipcode')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.ownershipcode.error"
:isEmptyCaption=
"false"
labelPos=
"
LEFT
"
>
<dropdown-list
v-model=
"data.ownershipcode"
...
...
@@ -159,7 +159,7 @@
</i-col>
<i-col
v-show=
"detailsModel.description.visible"
:style=
"
{}" :md="{ span: 24, offset: 0 }" :lg="{ span: 24, offset: 0 }" :xl="{ span: 24, offset: 0 }">
<app-form-item
name=
'description'
:itemRules=
"this.rules.description"
class=
''
:caption=
"$t('entities.account.main_form.details.description')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.description.error"
:isEmptyCaption=
"false"
labelPos=
"
TOP
"
>
<app-form-item
name=
'description'
:itemRules=
"this.rules.description"
class=
''
:caption=
"$t('entities.account.main_form.details.description')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.description.error"
:isEmptyCaption=
"false"
labelPos=
"
LEFT
"
>
<input-box
v-model=
"data.description"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.description.disabled"
type=
'text'
style=
""
></input-box>
</app-form-item>
...
...
@@ -271,7 +271,7 @@
<app-form-group
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.grouppanel2.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.account.main_form.details.grouppanel2')"
:isShowCaption=
"true"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"2"
:isInfoGroupMode=
"false"
>
<row>
<i-col
v-show=
"detailsModel.preferredcontactmethodcode.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item
name=
'preferredcontactmethodcode'
:itemRules=
"this.rules.preferredcontactmethodcode"
class=
''
:caption=
"$t('entities.account.main_form.details.preferredcontactmethodcode')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.preferredcontactmethodcode.error"
:isEmptyCaption=
"false"
labelPos=
"
TOP
"
>
<app-form-item
name=
'preferredcontactmethodcode'
:itemRules=
"this.rules.preferredcontactmethodcode"
class=
''
:caption=
"$t('entities.account.main_form.details.preferredcontactmethodcode')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.preferredcontactmethodcode.error"
:isEmptyCaption=
"false"
labelPos=
"
LEFT
"
>
<dropdown-list
v-model=
"data.preferredcontactmethodcode"
...
...
@@ -289,44 +289,31 @@
</i-col>
<i-col
v-show=
"detailsModel.donotemail.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item
name=
'donotemail'
:itemRules=
"this.rules.donotemail"
class=
''
:caption=
"$t('entities.account.main_form.details.donotemail')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.donotemail.error"
:isEmptyCaption=
"false"
labelPos=
"
TOP
"
>
<app-form-item
name=
'donotemail'
:itemRules=
"this.rules.donotemail"
class=
''
:caption=
"$t('entities.account.main_form.details.donotemail')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.donotemail.error"
:isEmptyCaption=
"false"
labelPos=
"
LEFT
"
>
<app-switch
name=
'donotemail'
:value=
"this.data.donotemail"
@
change=
"($event)=>
{this.data.donotemail = $event} " :disabled="detailsModel.donotemail.disabled" style="">
</app-switch>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.donotbulkemail.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item
name=
'donotbulkemail'
:itemRules=
"this.rules.donotbulkemail"
class=
''
:caption=
"$t('entities.account.main_form.details.donotbulkemail')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.donotbulkemail.error"
:isEmptyCaption=
"false"
labelPos=
"TOP"
>
<dropdown-list
v-model=
"data.donotbulkemail"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }'
:localParam ='{ }'
:disabled="detailsModel.donotbulkemail.disabled"
style="width:100px;width: 100px;"
tag='YesNo'
codelistType='STATIC'
placeholder='请选择...'>
</dropdown-list>
<app-form-item
name=
'donotbulkemail'
:itemRules=
"this.rules.donotbulkemail"
class=
''
:caption=
"$t('entities.account.main_form.details.donotbulkemail')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.donotbulkemail.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-switch
name=
'donotbulkemail'
:value=
"this.data.donotbulkemail"
@
change=
"($event)=>
{this.data.donotbulkemail = $event} " :disabled="detailsModel.donotbulkemail.disabled" style="">
</app-switch>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.donotphone.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item
name=
'donotphone'
:itemRules=
"this.rules.donotphone"
class=
''
:caption=
"$t('entities.account.main_form.details.donotphone')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.donotphone.error"
:isEmptyCaption=
"false"
labelPos=
"
TOP
"
>
<app-form-item
name=
'donotphone'
:itemRules=
"this.rules.donotphone"
class=
''
:caption=
"$t('entities.account.main_form.details.donotphone')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.donotphone.error"
:isEmptyCaption=
"false"
labelPos=
"
LEFT
"
>
<app-switch
name=
'donotphone'
:value=
"this.data.donotphone"
@
change=
"($event)=>
{this.data.donotphone = $event} " :disabled="detailsModel.donotphone.disabled" style="">
</app-switch>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.donotfax.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item
name=
'donotfax'
:itemRules=
"this.rules.donotfax"
class=
''
:caption=
"$t('entities.account.main_form.details.donotfax')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.donotfax.error"
:isEmptyCaption=
"false"
labelPos=
"
TOP
"
>
<app-form-item
name=
'donotfax'
:itemRules=
"this.rules.donotfax"
class=
''
:caption=
"$t('entities.account.main_form.details.donotfax')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.donotfax.error"
:isEmptyCaption=
"false"
labelPos=
"
LEFT
"
>
<app-switch
name=
'donotfax'
:value=
"this.data.donotfax"
@
change=
"($event)=>
{this.data.donotfax = $event} " :disabled="detailsModel.donotfax.disabled" style="">
</app-switch>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.donotpostalmail.visible"
:style=
"
{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item
name=
'donotpostalmail'
:itemRules=
"this.rules.donotpostalmail"
class=
''
:caption=
"$t('entities.account.main_form.details.donotpostalmail')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.donotpostalmail.error"
:isEmptyCaption=
"false"
labelPos=
"
TOP
"
>
<app-form-item
name=
'donotpostalmail'
:itemRules=
"this.rules.donotpostalmail"
class=
''
:caption=
"$t('entities.account.main_form.details.donotpostalmail')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.donotpostalmail.error"
:isEmptyCaption=
"false"
labelPos=
"
LEFT
"
>
<app-switch
name=
'donotpostalmail'
:value=
"this.data.donotpostalmail"
@
change=
"($event)=>
{this.data.donotpostalmail = $event} " :disabled="detailsModel.donotpostalmail.disabled" style="">
</app-switch>
</app-form-item>
...
...
app_BusinessCentral/src/widgets/account/main-grid/main-grid-base.vue
浏览文件 @
4c2f71b9
...
...
@@ -24,7 +24,7 @@
<el-table-column
align=
"center"
type=
'selection'
:width=
"checkboxColWidth"
></el-table-column>
</
template
>
<
template
v-if=
"getColumnState('accountname')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'accountname'"
:label=
"$t('entities.account.main_grid.columns.accountname')"
:width=
"
1
50"
:align=
"'left'"
:sortable=
"'custom'"
>
<el-table-column
show-overflow-tooltip
:prop=
"'accountname'"
:label=
"$t('entities.account.main_grid.columns.accountname')"
:width=
"
2
50"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"
{column}">
<span
class=
"column-header "
>
{{
$t
(
'entities.account.main_grid.columns.accountname'
)
}}
...
...
@@ -48,7 +48,7 @@
</el-table-column>
</template>
<
template
v-if=
"getColumnState('address1_city')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'address1_city'"
:label=
"$t('entities.account.main_grid.columns.address1_city')"
:width=
"1
0
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<el-table-column
show-overflow-tooltip
:prop=
"'address1_city'"
:label=
"$t('entities.account.main_grid.columns.address1_city')"
:width=
"1
2
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"
{column}">
<span
class=
"column-header "
>
{{
$t
(
'entities.account.main_grid.columns.address1_city'
)
}}
...
...
@@ -60,7 +60,7 @@
</el-table-column>
</template>
<
template
v-if=
"getColumnState('primarycontactname')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'primarycontactname'"
:label=
"$t('entities.account.main_grid.columns.primarycontactname')"
:width=
"1
0
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<el-table-column
show-overflow-tooltip
:prop=
"'primarycontactname'"
:label=
"$t('entities.account.main_grid.columns.primarycontactname')"
:width=
"1
2
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"
{column}">
<span
class=
"column-header "
>
{{
$t
(
'entities.account.main_grid.columns.primarycontactname'
)
}}
...
...
@@ -72,7 +72,7 @@
</el-table-column>
</template>
<
template
v-if=
"getColumnState('emailaddress1')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'emailaddress1'"
:label=
"$t('entities.account.main_grid.columns.emailaddress1')"
:width=
"1
0
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<el-table-column
show-overflow-tooltip
:prop=
"'emailaddress1'"
:label=
"$t('entities.account.main_grid.columns.emailaddress1')"
:width=
"1
2
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"
{column}">
<span
class=
"column-header "
>
{{
$t
(
'entities.account.main_grid.columns.emailaddress1'
)
}}
...
...
app_BusinessCentral/src/widgets/account/summary-dashboard/summary-dashboard-base.vue
浏览文件 @
4c2f71b9
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/account/summary-dashboard/summary-dashboard.vue
浏览文件 @
4c2f71b9
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
SummaryBase
from
'./summary-dashboard-base.vue'
;
import
view_dashboard_sysportlet8
from
'@widgets/activity-pointer/by-parent-key-portlet/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/by-account-portlet/by-account-portlet.vue'
;
import
view_dashboard_sysportlet4
from
'@widgets/account/pt-contact-setting-portlet/pt-contact-setting-portlet.vue'
;
...
...
@@ -12,6 +13,7 @@ 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
,
...
...
app_BusinessCentral/src/widgets/account/summarydashboard-container3-portlet/summarydashboard-container3-portlet.less
0 → 100644
浏览文件 @
4c2f71b9
.portlet {
--portlet: 0px;
}
// this is less
app_BusinessCentral/src/widgets/activity-pointer/by-parent-key-list/by-parent-key-list-base.vue
0 → 100644
浏览文件 @
4c2f71b9
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/activity-pointer/by-parent-key-list/by-parent-key-list-model.ts
0 → 100644
浏览文件 @
4c2f71b9
/**
* ByParentKey 部件模型
*
* @export
* @class ByParentKeyModel
*/
export
default
class
ByParentKeyModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof ByParentKeyDashboard_sysportlet8_listMode
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'activitytypecode'
,
codelist
:{
tag
:
'ActivityTypeCode'
,
codelistType
:
'STATIC'
},
},
{
name
:
'subject'
,
},
{
name
:
'activityid'
,
},
{
name
:
'srfkey'
,
prop
:
'activityid'
,
dataType
:
'GUID'
,
},
{
name
:
'srfmajortext'
,
prop
:
'subject'
,
dataType
:
'TEXT'
,
},
{
name
:
'srfdatatype'
,
prop
:
'activitytypecode'
,
dataType
:
'SSCODELIST'
,
codelist
:{
tag
:
'ActivityTypeCode'
,
codelistType
:
'STATIC'
},
},
{
name
:
'serviceid'
,
prop
:
'serviceid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'transactioncurrencyid'
,
prop
:
'transactioncurrencyid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'slaid'
,
prop
:
'slaid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'activitypointer'
,
prop
:
'activityid'
,
dataType
:
'FONTKEY'
,
},
{
name
:
'size'
,
prop
:
'size'
},
{
name
:
'query'
,
prop
:
'query'
},
{
name
:
'sort'
,
prop
:
'sort'
},
{
name
:
'page'
,
prop
:
'page'
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name
:
'srffrontuf'
,
prop
:
'srffrontuf'
,
dataType
:
'TEXT'
,
},
]
}
}
\ No newline at end of file
app_BusinessCentral/src/widgets/activity-pointer/by-parent-key-list/by-parent-key-list-service.ts
0 → 100644
浏览文件 @
4c2f71b9
import
{
Http
,
Util
,
Errorlog
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
import
ActivityPointerService
from
'@/service/activity-pointer/activity-pointer-service'
;
import
ByParentKeyModel
from
'./by-parent-key-list-model'
;
/**
* ByParentKey 部件服务对象
*
* @export
* @class ByParentKeyService
*/
export
default
class
ByParentKeyService
extends
ControlService
{
/**
* 活动服务对象
*
* @type {ActivityPointerService}
* @memberof ByParentKeyService
*/
public
appEntityService
:
ActivityPointerService
=
new
ActivityPointerService
({
$store
:
this
.
getStore
()
});
/**
* 设置从数据模式
*
* @type {boolean}
* @memberof ByParentKeyService
*/
public
setTempMode
(){
this
.
isTempMode
=
false
;
}
/**
* Creates an instance of ByParentKeyService.
*
* @param {*} [opts={}]
* @memberof ByParentKeyService
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
this
.
model
=
new
ByParentKeyModel
();
}
/**
* 查询数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ByParentKeyService
*/
@
Errorlog
public
search
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
const
_appEntityService
:
any
=
this
.
appEntityService
;
let
result
:
Promise
<
any
>
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
_appEntityService
.
FetchDefault
(
Context
,
Data
,
isloading
);
}
result
.
then
(
async
(
response
)
=>
{
await
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 删除数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ByParentKeyService
*/
@
Errorlog
public
delete
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
const
_appEntityService
:
any
=
this
.
appEntityService
;
let
result
:
Promise
<
any
>
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
_appEntityService
.
remove
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
}
\ No newline at end of file
app_BusinessCentral/src/widgets/activity-pointer/by-parent-key-list/by-parent-key-list.less
0 → 100644
浏览文件 @
4c2f71b9
.app-list {
--app-list: 0;
}
// this is less
app_BusinessCentral/src/widgets/activity-pointer/by-parent-key-list/by-parent-key-list.vue
0 → 100644
浏览文件 @
4c2f71b9
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
ByParentKeyBase
from
'./by-parent-key-list-base.vue'
;
import
layout_dashboard_sysportlet8_list_itempanel
from
'@widgets/activity-pointer/by-regarding-object-id-panel/by-regarding-object-id-panel.vue'
;
@
Component
({
components
:
{
layout_dashboard_sysportlet8_list_itempanel
,
}
})
export
default
class
ByParentKey
extends
ByParentKeyBase
{
}
</
script
>
\ No newline at end of file
app_BusinessCentral/src/widgets/activity-pointer/by-parent-key-portlet/by-parent-key-portlet-base.vue
0 → 100644
浏览文件 @
4c2f71b9
<
template
>
<div
class=
'portlet by-parent-key '
:style=
"
{'height': isAdaptiveSize ? 'calc(100% - 16px)' : (height > 0 ? height+'px' :'300px'),}">
<p
class=
'portlet-title'
>
<span>
日程安排
</span>
</p>
<div
class=
"portlet-with-title"
>
<!-- 测试 -->
<view
_dashboard_sysportlet8_list
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
createAction=
"Create"
removeAction=
"Remove"
updateAction=
"Update"
fetchAction=
"FetchByParentKey"
:showBusyIndicator=
"true"
name=
"dashboard_sysportlet8_list"
ref=
'dashboard_sysportlet8_list'
@
closeview=
"closeView($event)"
>
</view
_dashboard_sysportlet8_list
>
</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
ActivityPointerService
from
'@/service/activity-pointer/activity-pointer-service'
;
import
ByParentKeyService
from
'./by-parent-key-portlet-service'
;
import
{
Environment
}
from
'@/environments/environment'
;
@
Component
({
components
:
{
}
})
export
default
class
ActivityPointerByParentKeyBase
extends
Vue
implements
ControlInterface
{
/**
* 名称
*
* @type {string}
* @memberof ByParentKey
*/
@
Prop
()
public
name
?:
string
;
/**
* 视图通讯对象
*
* @type {Subject<ViewState>}
* @memberof ByParentKey
*/
@
Prop
()
public
viewState
!
:
Subject
<
ViewState
>
;
/**
* 应用上下文
*
* @type {*}
* @memberof ByParentKey
*/
@
Prop
()
public
context
:
any
;
/**
* 视图参数
*
* @type {*}
* @memberof ByParentKey
*/
@
Prop
()
public
viewparams
:
any
;
/**
* 视图状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof ByParentKey
*/
public
viewStateEvent
:
Subscription
|
undefined
;
/**
* 获取部件类型
*
* @returns {string}
* @memberof ByParentKey
*/
public
getControlType
():
string
{
return
'PORTLET'
}
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof ByParentKey
*/
public
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 建构部件服务对象
*
* @type {ByParentKeyService}
* @memberof ByParentKey
*/
public
service
:
ByParentKeyService
=
new
ByParentKeyService
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {ActivityPointerService}
* @memberof ByParentKey
*/
public
appEntityService
:
ActivityPointerService
=
new
ActivityPointerService
({
$store
:
this
.
$store
});
/**
* 关闭视图
*
* @param {any} args
* @memberof ByParentKey
*/
public
closeView
(
args
:
any
):
void
{
let
_this
:
any
=
this
;
_this
.
$emit
(
'closeview'
,
[
args
]);
}
/**
* 计数器刷新
*
* @memberof ByParentKey
*/
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 ByParentKey
*/
@
Prop
()
public
height
?:
number
;
/**
* 宽度
*
* @type {number}
* @memberof ByParentKey
*/
@
Prop
()
public
width
?:
number
;
/**
* 是否自适应大小
*
* @returns {boolean}
* @memberof ByParentKeyBase
*/
@
Prop
({
default
:
false
})
public
isAdaptiveSize
!
:
boolean
;
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof ByParentKeyBase
*/
public
getDatas
():
any
[]
{
return
[];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof ByParentKeyBase
*/
public
getData
():
any
{
return
{};
}
/**
* vue 生命周期
*
* @memberof ByParentKeyBase
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof ByParentKeyBase
*/
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 ByParentKeyBase
*/
public
destroyed
()
{
this
.
afterDestroy
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof ByParentKeyBase
*/
public
afterDestroy
()
{
if
(
this
.
viewStateEvent
)
{
this
.
viewStateEvent
.
unsubscribe
();
}
}
}
</
script
>
<
style
lang=
'less'
>
@import './by-parent-key-portlet.less';
</
style
>
app_BusinessCentral/src/widgets/activity-pointer/by-parent-key-portlet/by-parent-key-portlet-model.ts
0 → 100644
浏览文件 @
4c2f71b9
/**
* ByParentKey 部件模型
*
* @export
* @class ByParentKeyModel
*/
export
default
class
ByParentKeyModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof ByParentKeyModel
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'seriesid'
,
},
{
name
:
'traversedpath'
,
},
{
name
:
'deliveryprioritycode'
,
},
{
name
:
'onholdtime'
,
},
{
name
:
'workflowcreated'
,
},
{
name
:
'senton'
,
},
{
name
:
'lastonholdtime'
,
},
{
name
:
'actualdurationminutes'
,
},
{
name
:
'regardingobjectid'
,
},
{
name
:
'deliverylastattemptedon'
,
},
{
name
:
'mapiprivate'
,
},
{
name
:
'actualend'
,
},
{
name
:
'description'
,
},
{
name
:
'prioritycode'
,
},
{
name
:
'owneridtype'
,
},
{
name
:
'billed'
,
},
{
name
:
'regularactivity'
,
},
{
name
:
'utcconversiontimezonecode'
,
},
{
name
:
'createman'
,
},
{
name
:
'scheduleddurationminutes'
,
},
{
name
:
'activityadditionalparams'
,
},
{
name
:
'activitypointer'
,
prop
:
'activityid'
,
},
{
name
:
'updatedate'
,
},
{
name
:
'stageid'
,
},
{
name
:
'leftvoicemail'
,
},
{
name
:
'scheduledend'
,
},
{
name
:
'exchangeitemid'
,
},
{
name
:
'exchangerate'
,
},
{
name
:
'scheduledstart'
,
},
{
name
:
'instancetypecode'
,
},
{
name
:
'regardingobjectidyominame'
,
},
{
name
:
'regardingobjecttypecode'
,
},
{
name
:
'sortdate'
,
},
{
name
:
'createdate'
,
},
{
name
:
'owneridyominame'
,
},
{
name
:
'community'
,
},
{
name
:
'ownerid'
,
},
{
name
:
'processid'
,
},
{
name
:
'slaname'
,
},
{
name
:
'subject'
,
},
{
name
:
'versionnumber'
,
},
{
name
:
'allparties'
,
},
{
name
:
'updateman'
,
},
{
name
:
'exchangeweblink'
,
},
{
name
:
'statuscode'
,
},
{
name
:
'timezoneruleversionnumber'
,
},
{
name
:
'actualstart'
,
},
{
name
:
'activitytypecode'
,
},
{
name
:
'regardingobjectidname'
,
},
{
name
:
'statecode'
,
},
{
name
:
'serviceid'
,
},
{
name
:
'transactioncurrencyid'
,
},
{
name
:
'slaid'
,
},
]
}
}
app_BusinessCentral/src/widgets/activity-pointer/by-parent-key-portlet/by-parent-key-portlet-service.ts
0 → 100644
浏览文件 @
4c2f71b9
import
{
Http
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
/**
* ByParentKey 部件服务对象
*
* @export
* @class ByParentKeyService
*/
export
default
class
ByParentKeyService
extends
ControlService
{
}
app_BusinessCentral/src/widgets/activity-pointer/by-parent-key-portlet/by-parent-key-portlet.less
0 → 100644
浏览文件 @
4c2f71b9
.portlet {
--portlet: 0px;
}
// this is less
app_BusinessCentral/src/widgets/activity-pointer/by-parent-key-portlet/by-parent-key-portlet.vue
0 → 100644
浏览文件 @
4c2f71b9
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
ActivityPointerByParentKeyBase
from
'./by-parent-key-portlet-base.vue'
;
import
view_dashboard_sysportlet8_list
from
'@widgets/activity-pointer/by-parent-key-list/by-parent-key-list.vue'
;
@
Component
({
components
:
{
view_dashboard_sysportlet8_list
,
}
})
export
default
class
ActivityPointerByParentKey
extends
ActivityPointerByParentKeyBase
{
}
</
script
>
app_BusinessCentral/src/widgets/activity-pointer/by-regarding-object-id-panel/by-regarding-object-id-panel-base.vue
0 → 100644
浏览文件 @
4c2f71b9
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/activity-pointer/by-regarding-object-id-panel/by-regarding-object-id-panel-model.ts
0 → 100644
浏览文件 @
4c2f71b9
/**
* ByRegardingObjectId 部件模型
*
* @export
* @class ByRegardingObjectIdModel
*/
export
default
class
ByRegardingObjectIdModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof ByRegardingObjectIdModel
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'activitytypecode'
,
prop
:
'activitytypecode'
},
{
name
:
'subject'
,
prop
:
'subject'
}
]
}
}
\ No newline at end of file
app_BusinessCentral/src/widgets/activity-pointer/by-regarding-object-id-panel/by-regarding-object-id-panel-service.ts
0 → 100644
浏览文件 @
4c2f71b9
import
{
Http
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
/**
* ByRegardingObjectId 部件服务对象
*
* @export
* @class ByRegardingObjectIdService
*/
export
default
class
ByRegardingObjectIdService
extends
ControlService
{
}
\ No newline at end of file
app_BusinessCentral/src/widgets/activity-pointer/by-regarding-object-id-panel/by-regarding-object-id-panel.less
0 → 100644
浏览文件 @
4c2f71b9
// this is less
.app-layoutpanel {
height: 100%;
> .app-layoutpanel-container {
height: 100%;
}
.item-field{
padding: 0 4px;
display: flex;
>.item-field-label{
padding: 0 8px;
}
}
}
\ No newline at end of file
app_BusinessCentral/src/widgets/activity-pointer/by-regarding-object-id-panel/by-regarding-object-id-panel.vue
0 → 100644
浏览文件 @
4c2f71b9
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
ByRegardingObjectIdBase
from
'./by-regarding-object-id-panel-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
ByRegardingObjectId
extends
ByRegardingObjectIdBase
{
}
</
script
>
\ No newline at end of file
businesscentral-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
4c2f71b9
...
...
@@ -4480,7 +4480,7 @@
<!--输出实体[ACCOUNT]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-account-1
18
-53"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-account-1
23
-53"
>
<createTable
tableName=
"ACCOUNT"
>
<column
name=
"ADDRESS1_PRIMARYCONTACTNAME"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
...
...
@@ -11074,31 +11074,31 @@
<addForeignKeyConstraint
baseColumnNames=
"METRICID"
baseTableName=
"GOAL"
constraintName=
"DER1N_GOAL__METRIC__METRICID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"METRICID"
referencedTableName=
"METRIC"
validate=
"true"
/>
</changeSet>
<!--输出实体[ACCOUNT]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-1
18
-246"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-1
23
-246"
>
<addForeignKeyConstraint
baseColumnNames=
"PARENTACCOUNTID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__ACCOUNT__PARENT"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"ACCOUNTID"
referencedTableName=
"ACCOUNT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-1
18
-247"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-1
23
-247"
>
<addForeignKeyConstraint
baseColumnNames=
"PRIMARYCONTACTID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__CONTACT__PRIMAR"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"CONTACTID"
referencedTableName=
"CONTACT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-1
18
-248"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-1
23
-248"
>
<addForeignKeyConstraint
baseColumnNames=
"PREFERREDEQUIPMENTID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__EQUIPMENT__PREF"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EQUIPMENTID"
referencedTableName=
"EQUIPMENT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-1
18
-249"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-1
23
-249"
>
<addForeignKeyConstraint
baseColumnNames=
"ORIGINATINGLEADID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__LEAD__ORIGINATI"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"LEADID"
referencedTableName=
"LEAD"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-1
18
-250"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-1
23
-250"
>
<addForeignKeyConstraint
baseColumnNames=
"DEFAULTPRICELEVELID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__PRICELEVEL__DEF"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"PRICELEVELID"
referencedTableName=
"PRICELEVEL"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-1
18
-251"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-1
23
-251"
>
<addForeignKeyConstraint
baseColumnNames=
"PREFERREDSERVICEID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__SERVICE__PREFER"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SERVICEID"
referencedTableName=
"SERVICE"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-1
18
-252"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-1
23
-252"
>
<addForeignKeyConstraint
baseColumnNames=
"SLAID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__SLA__SLAID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SLAID"
referencedTableName=
"SLA"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-1
18
-253"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-1
23
-253"
>
<addForeignKeyConstraint
baseColumnNames=
"TERRITORYID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__TERRITORY__TERR"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TERRITORYID"
referencedTableName=
"TERRITORY"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-1
18
-254"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-1
23
-254"
>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__TRANSACTIONCURR"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
<!--输出实体[KNOWLEDGEARTICLEVIEWS]外键关系 -->
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录