Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
8a3faa1b
提交
8a3faa1b
编写于
6月 17, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
9944388b
变更
9
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
84 行增加
和
109 行删除
+84
-109
view-config.json
app_BusinessCentral/public/assets/json/view-config.json
+10
-10
account_en_US.ts
...ntral/src/locale/lanres/entities/account/account_en_US.ts
+4
-4
account_zh_CN.ts
...ntral/src/locale/lanres/entities/account/account_zh_CN.ts
+4
-4
viewconfig.ts
app_BusinessCentral/src/mock/viewconfig/viewconfig.ts
+9
-9
account-summary-base.vue
...l/src/pages/base/account-summary/account-summary-base.vue
+7
-32
page-register.ts
...usinessCentral/src/pages/ungroup/central/page-register.ts
+1
-1
router.ts
app_BusinessCentral/src/pages/ungroup/central/router.ts
+27
-27
state.ts
app_BusinessCentral/src/store/modules/view-action/state.ts
+21
-21
account-ui-service-base.ts
...sCentral/src/uiservice/account/account-ui-service-base.ts
+1
-1
未找到文件。
app_BusinessCentral/public/assets/json/view-config.json
浏览文件 @
8a3faa1b
{
"accountsummary"
:
{
"title"
:
"客户概览"
,
"caption"
:
"客户概览"
,
"viewtype"
:
"DEPORTALVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"AccountSummary"
,
"viewfilename"
:
"account-summary"
,
"viewtag"
:
"016e75bb460270519a0ee9dda57b2c90"
,
"memo"
:
""
},
"invoiceeditview"
:
{
"title"
:
"invoice编辑视图"
,
"caption"
:
"发票"
,
...
...
@@ -139,16 +149,6 @@
"viewtag"
:
"29bfcd628ab25e297248ff0524d12908"
,
"memo"
:
"系统自动添加"
},
"accountsummary"
:
{
"title"
:
"客户概览"
,
"caption"
:
"客户概览"
,
"viewtype"
:
"DEPORTALVIEW9"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"AccountSummary"
,
"viewfilename"
:
"account-summary"
,
"viewtag"
:
"2becf7bda3a6d70cbe9a4e254093e84e"
,
"memo"
:
""
},
"leadeditview"
:
{
"title"
:
"lead编辑视图"
,
"caption"
:
"潜在顾客"
,
...
...
app_BusinessCentral/src/locale/lanres/entities/account/account_en_US.ts
浏览文件 @
8a3faa1b
...
...
@@ -165,6 +165,10 @@ export default {
transactioncurrencyname
:
'货币'
,
},
views
:
{
summary
:
{
caption
:
"客户概览"
,
title
:
'客户概览'
,
},
info_account
:
{
caption
:
"客户"
,
title
:
'account编辑视图'
,
...
...
@@ -172,10 +176,6 @@ export default {
pickupview
:
{
caption
:
"客户"
,
title
:
'account数据选择视图'
,
},
summary
:
{
caption
:
"客户概览"
,
title
:
'客户概览'
,
},
info
:
{
caption
:
"客户信息"
,
...
...
app_BusinessCentral/src/locale/lanres/entities/account/account_zh_CN.ts
浏览文件 @
8a3faa1b
...
...
@@ -164,6 +164,10 @@ export default {
transactioncurrencyname
:
'货币'
,
},
views
:
{
summary
:
{
caption
:
'客户概览'
,
title
:
'客户概览'
,
},
info_account
:
{
caption
:
'客户'
,
title
:
'account编辑视图'
,
...
...
@@ -171,10 +175,6 @@ export default {
pickupview
:
{
caption
:
'客户'
,
title
:
'account数据选择视图'
,
},
summary
:
{
caption
:
'客户概览'
,
title
:
'客户概览'
,
},
info
:
{
caption
:
'客户信息'
,
...
...
app_BusinessCentral/src/mock/viewconfig/viewconfig.ts
浏览文件 @
8a3faa1b
...
...
@@ -7,7 +7,15 @@ import Mock from 'mockjs'
mock
.
onGet
(
'./assets/json/view-config.json'
).
reply
((
config
:
any
)
=>
{
let
status
=
MockAdapter
.
mockStatus
(
config
);
return
[
status
,{
"invoiceeditview"
:
{
"accountsummary"
:
{
"title"
:
"客户概览"
,
"caption"
:
"客户概览"
,
"viewtype"
:
"DEPORTALVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"AccountSummary"
,
"viewtag"
:
"016e75bb460270519a0ee9dda57b2c90"
},
"invoiceeditview"
:
{
"title"
:
"invoice编辑视图"
,
"caption"
:
"发票"
,
"viewtype"
:
"DEEDITVIEW"
,
...
...
@@ -119,14 +127,6 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"AccountPickupView"
,
"viewtag"
:
"29bfcd628ab25e297248ff0524d12908"
},
"accountsummary"
:
{
"title"
:
"客户概览"
,
"caption"
:
"客户概览"
,
"viewtype"
:
"DEPORTALVIEW9"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"AccountSummary"
,
"viewtag"
:
"2becf7bda3a6d70cbe9a4e254093e84e"
},
"leadeditview"
:
{
"title"
:
"lead编辑视图"
,
"caption"
:
"潜在顾客"
,
...
...
app_BusinessCentral/src/pages/base/account-summary/account-summary-base.vue
浏览文件 @
8a3faa1b
<
template
>
<studio-
embed-view
viewName=
"accountsummary"
viewTitle=
"客户概览"
class=
'deportalview9
account-summary'
>
<studio-
view
viewName=
"accountsummary"
viewTitle=
"客户概览"
class=
'deportalview
account-summary'
>
<view
_dashboard
:viewState=
"viewState"
:viewparams=
"viewparams"
...
...
@@ -10,7 +11,7 @@
@
load=
"dashboard_load($event)"
@
closeview=
"closeView($event)"
>
</view
_dashboard
>
</studio-
embed-
view>
</studio-view>
</
template
>
<
script
lang=
'tsx'
>
...
...
@@ -19,7 +20,7 @@ import { UIActionTool,Util } from '@/utils';
import
{
Subject
}
from
'rxjs'
;
import
AccountService
from
'@/service/account/account-service'
;
import
PortalView
9Engine
from
'@engine/view/portal-view9
-engine'
;
import
PortalView
Engine
from
'@engine/view/portal-view
-engine'
;
...
...
@@ -88,7 +89,7 @@ export default class AccountSummaryBase extends Vue {
* @type {string}
* @memberof AccountSummaryBase
*/
public
viewtag
:
string
=
'
2becf7bda3a6d70cbe9a4e254093e84e
'
;
public
viewtag
:
string
=
'
016e75bb460270519a0ee9dda57b2c90
'
;
/**
* 自定义视图导航上下文集合
...
...
@@ -201,7 +202,7 @@ export default class AccountSummaryBase extends Vue {
* @type {Engine}
* @memberof AccountSummaryBase
*/
public
engine
:
PortalView
9Engine
=
new
PortalView9
Engine
();
public
engine
:
PortalView
Engine
=
new
PortalView
Engine
();
/**
* 引擎初始化
...
...
@@ -377,15 +378,7 @@ export default class AccountSummaryBase extends Vue {
this
.
$store
.
commit
(
'viewaction/createdView'
,
{
viewtag
:
this
.
viewtag
,
secondtag
:
secondtag
});
this
.
viewtag
=
secondtag
;
this
.
parseViewParam
();
if
(
this
.
formDruipart
){
this
.
formDruipart
.
subscribe
((
res
:
any
)
=>
{
if
(
Object
.
is
(
res
.
action
,
'load'
)){
const
_this
:
any
=
this
;
_this
.
engine
.
load
(
res
.
data
,
true
);
}
});
}
}
/**
...
...
@@ -478,24 +471,6 @@ export default class AccountSummaryBase extends Vue {
}
}
/**
* 是否嵌入关系界面
*
* @type {boolean}
* @memberof AccountSummaryBase
*/
@
Prop
({
default
:
false
})
public
isformDruipart
?:
boolean
;
/**
* 界面关系通讯对象
*
* @type {Subject<ViewState>}
* @memberof AccountSummaryBase
*/
@
Prop
()
public
formDruipart
!
:
Subject
<
ViewState
>
;
}
</
script
>
...
...
app_BusinessCentral/src/pages/ungroup/central/page-register.ts
浏览文件 @
8a3faa1b
...
...
@@ -19,7 +19,6 @@ export const PageComponents = {
Vue
.
component
(
'quote-grid-view'
,
()
=>
import
(
'@pages/sales/quote-grid-view/quote-grid-view.vue'
));
Vue
.
component
(
'account-info-account'
,
()
=>
import
(
'@pages/base/account-info-account/account-info-account.vue'
));
Vue
.
component
(
'invoice-edit-view'
,
()
=>
import
(
'@pages/finance/invoice-edit-view/invoice-edit-view.vue'
));
Vue
.
component
(
'account-summary'
,
()
=>
import
(
'@pages/base/account-summary/account-summary.vue'
));
Vue
.
component
(
'campaign-info-schedule'
,
()
=>
import
(
'@pages/marketing/campaign-info-schedule/campaign-info-schedule.vue'
));
Vue
.
component
(
'account-info-contact-setting'
,
()
=>
import
(
'@pages/base/account-info-contact-setting/account-info-contact-setting.vue'
));
Vue
.
component
(
'campaign-edit-view'
,
()
=>
import
(
'@pages/marketing/campaign-edit-view/campaign-edit-view.vue'
));
...
...
@@ -68,6 +67,7 @@ export const PageComponents = {
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'
));
Vue
.
component
(
'account-summary'
,
()
=>
import
(
'@pages/base/account-summary/account-summary.vue'
));
Vue
.
component
(
'campaign-summary-head'
,
()
=>
import
(
'@pages/marketing/campaign-summary-head/campaign-summary-head.vue'
));
Vue
.
component
(
'contact-detail-info-edit-view9'
,
()
=>
import
(
'@pages/base/contact-detail-info-edit-view9/contact-detail-info-edit-view9.vue'
));
Vue
.
component
(
'account-edit-account-info'
,
()
=>
import
(
'@pages/base/account-edit-account-info/account-edit-account-info.vue'
));
...
...
app_BusinessCentral/src/pages/ungroup/central/router.ts
浏览文件 @
8a3faa1b
...
...
@@ -328,20 +328,6 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/finance/invoice-edit-view/invoice-edit-view.vue'
),
},
{
path
:
'accounts/:account?/summary/:summary?'
,
meta
:
{
caption
:
'entities.account.views.summary.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'summary'
,
parameterName
:
'summary'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/account-summary/account-summary.vue'
),
},
{
path
:
'campaigns/:campaign?/info_schedule/:info_schedule?'
,
meta
:
{
...
...
@@ -1070,9 +1056,36 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/service/incident-grid-view/incident-grid-view.vue'
),
},
{
path
:
'accounts/:account?/summary/:summary?'
,
meta
:
{
caption
:
'entities.account.views.summary.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'summary'
,
parameterName
:
'summary'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/account-summary/account-summary.vue'
),
},
...
indexRoutes
,
],
},
{
path
:
'/accounts/:account?/summary/:summary?'
,
meta
:
{
caption
:
'entities.account.views.summary.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'summary'
,
parameterName
:
'summary'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/account-summary/account-summary.vue'
),
},
{
path
:
'/invoices/:invoice?/editview/:editview?'
,
meta
:
{
...
...
@@ -1242,19 +1255,6 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/base/account-pickup-view/account-pickup-view.vue'
),
},
{
path
:
'/accounts/:account?/summary/:summary?'
,
meta
:
{
caption
:
'entities.account.views.summary.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'summary'
,
parameterName
:
'summary'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/account-summary/account-summary.vue'
),
},
{
path
:
'/leads/:lead?/editview/:editview?'
,
meta
:
{
...
...
app_BusinessCentral/src/store/modules/view-action/state.ts
浏览文件 @
8a3faa1b
...
...
@@ -3,6 +3,26 @@
*/
export
const
viewstate
:
any
=
{
appviews
:
[
{
viewtag
:
'016e75bb460270519a0ee9dda57b2c90'
,
viewmodule
:
'Base'
,
viewname
:
'AccountSummary'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'aa79d35850f36fbc1a5085353ecd5af5'
,
'e38e7b53a449e0f112cb545d2c5d4b85'
,
'73bb9f7e653384ca09f8bbbfd580d892'
,
'e4335da0a7c14a65376eecaabb771fd7'
,
'c607e5bc2c07ab2aca084e275ce677b7'
,
'a95d7d9111bc13a8b73a11ee1e4ff92a'
,
'893e62d6fbdc4580de7e3e802aec9108'
,
'916febbb65be1c54dd42ccb9914fe973'
,
'1d3b94223a5d3f8ab1d2fe334c8c4afd'
,
'688201ee5642d41628dbf4deba002d17'
,
'a5213905238dbc5d8e1a505029105cc9'
,
],
},
{
viewtag
:
'01c28e25ad9d42977cb91ee890731b64'
,
viewmodule
:
'Finance'
,
...
...
@@ -129,26 +149,6 @@ export const viewstate: any = {
'ef9fea872a6a21e7566033fafcc0ccb5'
,
],
},
{
viewtag
:
'2becf7bda3a6d70cbe9a4e254093e84e'
,
viewmodule
:
'Base'
,
viewname
:
'AccountSummary'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'aa79d35850f36fbc1a5085353ecd5af5'
,
'e38e7b53a449e0f112cb545d2c5d4b85'
,
'73bb9f7e653384ca09f8bbbfd580d892'
,
'e4335da0a7c14a65376eecaabb771fd7'
,
'c607e5bc2c07ab2aca084e275ce677b7'
,
'a95d7d9111bc13a8b73a11ee1e4ff92a'
,
'893e62d6fbdc4580de7e3e802aec9108'
,
'916febbb65be1c54dd42ccb9914fe973'
,
'1d3b94223a5d3f8ab1d2fe334c8c4afd'
,
'688201ee5642d41628dbf4deba002d17'
,
'a5213905238dbc5d8e1a505029105cc9'
,
],
},
{
viewtag
:
'2e17cb1d009dd49ac529319ac15319cd'
,
viewmodule
:
'Sales'
,
...
...
@@ -167,7 +167,7 @@ export const viewstate: any = {
refviews
:
[
'fb06f2c1cea1ac2a5a70c20f4a277ae5'
,
'bae77557d2f7a7852b634dc5d5a93435'
,
'
2becf7bda3a6d70cbe9a4e254093e84e
'
,
'
016e75bb460270519a0ee9dda57b2c90
'
,
],
},
{
...
...
app_BusinessCentral/src/uiservice/account/account-ui-service-base.ts
浏览文件 @
8a3faa1b
...
...
@@ -79,9 +79,9 @@ export default class AccountUIServiceBase extends UIService {
* @memberof AccountUIServiceBase
*/
public
initViewMap
(){
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'summary'
,
srfappde
:
'accounts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'info_account'
,
srfappde
:
'accounts'
});
this
.
allViewMap
.
set
(
'PICKUPVIEW:'
,{
viewname
:
'pickupview'
,
srfappde
:
'accounts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'summary'
,
srfappde
:
'accounts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'info'
,
srfappde
:
'accounts'
});
this
.
allViewMap
.
set
(
'MDATAVIEW:'
,{
viewname
:
'gridview'
,
srfappde
:
'accounts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'edit_accountinfo'
,
srfappde
:
'accounts'
});
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录