Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
050a3347
提交
050a3347
编写于
6月 16, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
c04bb35b
变更
15
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
15 个修改的文件
包含
230 行增加
和
1552 行删除
+230
-1552
view-config.json
app_BusinessCentral/public/assets/json/view-config.json
+15
-25
account_en_US.ts
...ntral/src/locale/lanres/entities/account/account_en_US.ts
+13
-93
account_zh_CN.ts
...ntral/src/locale/lanres/entities/account/account_zh_CN.ts
+13
-93
viewconfig.ts
app_BusinessCentral/src/mock/viewconfig/viewconfig.ts
+12
-20
account-edit-account-info-base.vue
...ount-edit-account-info/account-edit-account-info-base.vue
+61
-619
account-edit-account-info.less
.../account-edit-account-info/account-edit-account-info.less
+3
-2
account-edit-address-base.vue
...s/base/account-edit-address/account-edit-address-base.vue
+61
-619
account-edit-address.less
...pages/base/account-edit-address/account-edit-address.less
+3
-2
contact-abstract-edit-view9-base.vue
...-abstract-edit-view9/contact-abstract-edit-view9-base.vue
+0
-3
contact-detail-info-edit-view9-base.vue
...l-info-edit-view9/contact-detail-info-edit-view9-base.vue
+0
-3
page-register.ts
...usinessCentral/src/pages/ungroup/central/page-register.ts
+2
-3
router.ts
app_BusinessCentral/src/pages/ungroup/central/router.ts
+30
-43
state.ts
app_BusinessCentral/src/store/modules/view-action/state.ts
+8
-17
account-ui-service-base.ts
...sCentral/src/uiservice/account/account-ui-service-base.ts
+4
-5
edit-address-form-base.vue
...gets/account/edit-address-form/edit-address-form-base.vue
+5
-5
未找到文件。
app_BusinessCentral/public/assets/json/view-config.json
浏览文件 @
050a3347
...
...
@@ -29,16 +29,6 @@
"viewtag"
:
"06c6da1c8093784a9e76e1ccc52231b7"
,
"memo"
:
"系统自动添加"
},
"accountedit_accountinfo"
:
{
"title"
:
"地址信息"
,
"caption"
:
"客户"
,
"viewtype"
:
"DEEDITVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"AccountEdit_AccountInfo"
,
"viewfilename"
:
"account-edit-account-info"
,
"viewtag"
:
"0d25ba75b06acd9c995642d0a45fcd2c"
,
"memo"
:
"系统自动添加"
},
"salesordereditview"
:
{
"title"
:
"salesorder编辑视图"
,
"caption"
:
"订单"
,
...
...
@@ -249,6 +239,16 @@
"viewtag"
:
"631a4276161c551802f3aaf4bd7e607c"
,
"memo"
:
""
},
"accountedit_accountinfo"
:
{
"title"
:
"账户信息"
,
"caption"
:
"账户信息"
,
"viewtype"
:
"DEOPTVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"AccountEdit_AccountInfo"
,
"viewfilename"
:
"account-edit-account-info"
,
"viewtag"
:
"688201ee5642d41628dbf4deba002d17"
,
"memo"
:
""
},
"transactioncurrencypickupgridview"
:
{
"title"
:
"transactioncurrency选择表格视图"
,
"caption"
:
"货币"
,
...
...
@@ -269,16 +269,6 @@
"viewtag"
:
"6e18ac74e5685439110f9b4e534ee005"
,
"memo"
:
"系统自动添加"
},
"accountedit_address"
:
{
"title"
:
"地址信息"
,
"caption"
:
"客户"
,
"viewtype"
:
"DEEDITVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"AccountEdit_Address"
,
"viewfilename"
:
"account-edit-address"
,
"viewtag"
:
"728b69e2de09e7920b86712bc17ea963"
,
"memo"
:
"系统自动添加"
},
"accountintroduction"
:
{
"title"
:
"account编辑视图"
,
"caption"
:
"客户"
,
...
...
@@ -609,13 +599,13 @@
"viewtag"
:
"e404dc93e70d6284d4e1a083017625ed"
,
"memo"
:
""
},
"account
usr2optionview
"
:
{
"title"
:
"
客户选项操作视图
"
,
"caption"
:
"
11
"
,
"account
edit_address
"
:
{
"title"
:
"
地址信息
"
,
"caption"
:
"
地址信息
"
,
"viewtype"
:
"DEOPTVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"Account
Usr2OptionView
"
,
"viewfilename"
:
"account-
usr2-option-view
"
,
"viewname"
:
"Account
Edit_Address
"
,
"viewfilename"
:
"account-
edit-address
"
,
"viewtag"
:
"e4335da0a7c14a65376eecaabb771fd7"
,
"memo"
:
""
},
...
...
app_BusinessCentral/src/locale/lanres/entities/account/account_en_US.ts
浏览文件 @
050a3347
...
...
@@ -165,10 +165,6 @@ export default {
transactioncurrencyname
:
'货币'
,
},
views
:
{
edit_accountinfo
:
{
caption
:
"客户"
,
title
:
'地址信息'
,
},
accountinfo
:
{
caption
:
"客户"
,
title
:
'account编辑视图'
,
...
...
@@ -188,14 +184,14 @@ export default {
gridview
:
{
caption
:
"客户"
,
title
:
'account表格视图'
,
},
edit_accountinfo
:
{
caption
:
"账户信息"
,
title
:
'账户信息'
,
},
editview
:
{
caption
:
"客户"
,
title
:
'account编辑视图'
,
},
edit_address
:
{
caption
:
"客户"
,
title
:
'地址信息'
,
},
introduction
:
{
caption
:
"客户"
,
...
...
@@ -217,9 +213,9 @@ export default {
caption
:
"客户"
,
title
:
'account编辑视图'
,
},
usr2optionview
:
{
caption
:
"
11
"
,
title
:
'
客户选项操作视图
'
,
edit_address
:
{
caption
:
"
地址信息
"
,
title
:
'
地址信息
'
,
},
pickupgridview
:
{
caption
:
"客户"
,
...
...
@@ -230,7 +226,7 @@ export default {
title
:
'account编辑视图'
,
},
},
edit_
accountinfo_form
:
{
accountinfo_form
:
{
details
:
{
group1
:
"客户基本信息"
,
formpage1
:
"基本信息"
,
...
...
@@ -250,14 +246,12 @@ export default {
tickersymbol
:
"股票代号"
,
customertypecode
:
"关系类型"
,
defaultpricelevelname
:
"价目表"
,
defaultpricelevelid
:
"价目表"
,
parentaccountid
:
"上级单位"
,
accountid
:
"客户"
,
},
uiactions
:
{
},
},
accountinfo_form
:
{
edit_
accountinfo_form
:
{
details
:
{
group1
:
"客户基本信息"
,
formpage1
:
"基本信息"
,
...
...
@@ -277,12 +271,14 @@ export default {
tickersymbol
:
"股票代号"
,
customertypecode
:
"关系类型"
,
defaultpricelevelname
:
"价目表"
,
defaultpricelevelid
:
"价目表"
,
parentaccountid
:
"上级单位"
,
accountid
:
"客户"
,
},
uiactions
:
{
},
},
edit_
address_form
:
{
address_form
:
{
details
:
{
group1
:
"客户基本信息"
,
formpage1
:
"基本信息"
,
...
...
@@ -306,7 +302,7 @@ export default {
uiactions
:
{
},
},
address_form
:
{
edit_
address_form
:
{
details
:
{
group1
:
"客户基本信息"
,
formpage1
:
"基本信息"
,
...
...
@@ -509,82 +505,6 @@ export default {
uiactions
:
{
},
},
edit_accountinfotoolbar_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}"
,
},
},
edit_addresstoolbar_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
浏览文件 @
050a3347
...
...
@@ -164,10 +164,6 @@ export default {
transactioncurrencyname
:
'货币'
,
},
views
:
{
edit_accountinfo
:
{
caption
:
'客户'
,
title
:
'地址信息'
,
},
accountinfo
:
{
caption
:
'客户'
,
title
:
'account编辑视图'
,
...
...
@@ -187,14 +183,14 @@ export default {
gridview
:
{
caption
:
'客户'
,
title
:
'account表格视图'
,
},
edit_accountinfo
:
{
caption
:
'账户信息'
,
title
:
'账户信息'
,
},
editview
:
{
caption
:
'客户'
,
title
:
'account编辑视图'
,
},
edit_address
:
{
caption
:
'客户'
,
title
:
'地址信息'
,
},
introduction
:
{
caption
:
'客户'
,
...
...
@@ -216,9 +212,9 @@ export default {
caption
:
'客户'
,
title
:
'account编辑视图'
,
},
usr2optionview
:
{
caption
:
'
11
'
,
title
:
'
客户选项操作视图
'
,
edit_address
:
{
caption
:
'
地址信息
'
,
title
:
'
地址信息
'
,
},
pickupgridview
:
{
caption
:
'客户'
,
...
...
@@ -229,7 +225,7 @@ export default {
title
:
'account编辑视图'
,
},
},
edit_
accountinfo_form
:
{
accountinfo_form
:
{
details
:
{
group1
:
'客户基本信息'
,
formpage1
:
'基本信息'
,
...
...
@@ -249,14 +245,12 @@ export default {
tickersymbol
:
'股票代号'
,
customertypecode
:
'关系类型'
,
defaultpricelevelname
:
'价目表'
,
defaultpricelevelid
:
'价目表'
,
parentaccountid
:
'上级单位'
,
accountid
:
'客户'
,
},
uiactions
:
{
},
},
accountinfo_form
:
{
edit_
accountinfo_form
:
{
details
:
{
group1
:
'客户基本信息'
,
formpage1
:
'基本信息'
,
...
...
@@ -276,12 +270,14 @@ export default {
tickersymbol
:
'股票代号'
,
customertypecode
:
'关系类型'
,
defaultpricelevelname
:
'价目表'
,
defaultpricelevelid
:
'价目表'
,
parentaccountid
:
'上级单位'
,
accountid
:
'客户'
,
},
uiactions
:
{
},
},
edit_
address_form
:
{
address_form
:
{
details
:
{
group1
:
'客户基本信息'
,
formpage1
:
'基本信息'
,
...
...
@@ -305,7 +301,7 @@ export default {
uiactions
:
{
},
},
address_form
:
{
edit_
address_form
:
{
details
:
{
group1
:
'客户基本信息'
,
formpage1
:
'基本信息'
,
...
...
@@ -508,82 +504,6 @@ export default {
uiactions
:
{
},
},
edit_accountinfotoolbar_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
:
'拷贝'
,
},
},
edit_addresstoolbar_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/mock/viewconfig/viewconfig.ts
浏览文件 @
050a3347
...
...
@@ -31,14 +31,6 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"IncidentEditView"
,
"viewtag"
:
"06c6da1c8093784a9e76e1ccc52231b7"
},
"accountedit_accountinfo"
:
{
"title"
:
"地址信息"
,
"caption"
:
"客户"
,
"viewtype"
:
"DEEDITVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"AccountEdit_AccountInfo"
,
"viewtag"
:
"0d25ba75b06acd9c995642d0a45fcd2c"
},
"salesordereditview"
:
{
"title"
:
"salesorder编辑视图"
,
"caption"
:
"订单"
,
...
...
@@ -207,6 +199,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"GoalGridView"
,
"viewtag"
:
"631a4276161c551802f3aaf4bd7e607c"
},
"accountedit_accountinfo"
:
{
"title"
:
"账户信息"
,
"caption"
:
"账户信息"
,
"viewtype"
:
"DEOPTVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"AccountEdit_AccountInfo"
,
"viewtag"
:
"688201ee5642d41628dbf4deba002d17"
},
"transactioncurrencypickupgridview"
:
{
"title"
:
"transactioncurrency选择表格视图"
,
"caption"
:
"货币"
,
...
...
@@ -223,14 +223,6 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"AccountEditView"
,
"viewtag"
:
"6e18ac74e5685439110f9b4e534ee005"
},
"accountedit_address"
:
{
"title"
:
"地址信息"
,
"caption"
:
"客户"
,
"viewtype"
:
"DEEDITVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"AccountEdit_Address"
,
"viewtag"
:
"728b69e2de09e7920b86712bc17ea963"
},
"accountintroduction"
:
{
"title"
:
"account编辑视图"
,
"caption"
:
"客户"
,
...
...
@@ -495,12 +487,12 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"ContactOptionView"
,
"viewtag"
:
"e404dc93e70d6284d4e1a083017625ed"
},
"account
usr2optionview
"
:
{
"title"
:
"
客户选项操作视图
"
,
"caption"
:
"
11
"
,
"account
edit_address
"
:
{
"title"
:
"
地址信息
"
,
"caption"
:
"
地址信息
"
,
"viewtype"
:
"DEOPTVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"Account
Usr2OptionView
"
,
"viewname"
:
"Account
Edit_Address
"
,
"viewtag"
:
"e4335da0a7c14a65376eecaabb771fd7"
},
"accountpickupgridview"
:
{
...
...
app_BusinessCentral/src/pages/base/account-edit-account-info/account-edit-account-info-base.vue
浏览文件 @
050a3347
此差异已折叠。
点击以展开。
app_BusinessCentral/src/pages/base/account-edit-account-info/account-edit-account-info.less
浏览文件 @
050a3347
.option-view {
--option-view: 0;
}
// 避免空文件,后台不让空文件过
.account-edit-account-info {
--account-edit-account-info: 0;
}
// 视图样式
// this is less
app_BusinessCentral/src/pages/base/account-edit-address/account-edit-address-base.vue
浏览文件 @
050a3347
此差异已折叠。
点击以展开。
app_BusinessCentral/src/pages/base/account-edit-address/account-edit-address.less
浏览文件 @
050a3347
.option-view {
--option-view: 0;
}
// 避免空文件,后台不让空文件过
.account-edit-address {
--account-edit-address: 0;
}
// 视图样式
// this is less
app_BusinessCentral/src/pages/base/contact-abstract-edit-view9/contact-abstract-edit-view9-base.vue
浏览文件 @
050a3347
<
template
>
<studio-embed-view
viewName=
"contactabstracteditview9"
viewTitle=
"联系人编辑视图"
class=
'deeditview9 contact-abstract-edit-view9'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{
$t
(
model
.
srfTitle
)
}}
</span>
</
template
>
<template
slot=
"toolbar"
>
<div
class=
'toolbar-container'
>
<i-button
:title=
"$t('entities.contact.abstracteditview9toolbar_toolbar.deuiaction2.tip')"
v-show=
"toolBarModels.deuiaction2.visabled"
:disabled=
"toolBarModels.deuiaction2.disabled"
class=
''
@
click=
"toolbar_click(
{ tag: 'deuiaction2' }, $event)">
...
...
app_BusinessCentral/src/pages/base/contact-detail-info-edit-view9/contact-detail-info-edit-view9-base.vue
浏览文件 @
050a3347
<
template
>
<studio-embed-view
viewName=
"contactdetailinfoeditview9"
viewTitle=
"联系人编辑视图"
class=
'deeditview9 contact-detail-info-edit-view9'
>
<template
slot=
'title'
>
<span
class=
'caption-info'
>
{{
$t
(
model
.
srfTitle
)
}}
</span>
</
template
>
<view
_form
:viewState=
"viewState"
:viewparams=
"viewparams"
...
...
app_BusinessCentral/src/pages/ungroup/central/page-register.ts
浏览文件 @
050a3347
...
...
@@ -55,11 +55,10 @@ 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-edit-account-info'
,
()
=>
import
(
'@pages/base/account-edit-account-info/account-edit-account-info.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-a
ddress'
,
()
=>
import
(
'@pages/base/account-edit-address/account-edit-address
.vue'
));
Vue
.
component
(
'account-edit-a
ccount-info'
,
()
=>
import
(
'@pages/base/account-edit-account-info/account-edit-account-info
.vue'
));
Vue
.
component
(
'contact-abstract-edit-view9'
,
()
=>
import
(
'@pages/base/contact-abstract-edit-view9/contact-abstract-edit-view9.vue'
));
Vue
.
component
(
'contact-pickup-view'
,
()
=>
import
(
'@pages/base/contact-pickup-view/contact-pickup-view.vue'
));
Vue
.
component
(
'account-
usr2-option-view'
,
()
=>
import
(
'@pages/base/account-usr2-option-view/account-usr2-option-view
.vue'
));
Vue
.
component
(
'account-
edit-address'
,
()
=>
import
(
'@pages/base/account-edit-address/account-edit-address
.vue'
));
}
};
\ No newline at end of file
app_BusinessCentral/src/pages/ungroup/central/router.ts
浏览文件 @
050a3347
...
...
@@ -231,18 +231,18 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/ungroup/centeral-portal/centeral-portal.vue'
),
},
{
path
:
'accounts/:account?/
usr2optionview/:usr2optionview
?'
,
path
:
'accounts/:account?/
edit_address/:edit_address
?'
,
meta
:
{
caption
:
'entities.account.views.
usr2optionview
.title'
,
caption
:
'entities.account.views.
edit_address
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'
usr2optionview'
,
parameterName
:
'usr2optionview
'
},
{
pathName
:
'
edit_address'
,
parameterName
:
'edit_address
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/account-
usr2-option-view/account-usr2-option-view
.vue'
),
component
:
()
=>
import
(
'@pages/base/account-
edit-address/account-edit-address
.vue'
),
},
{
path
:
'products/:product?/editview/:editview?'
,
...
...
@@ -440,20 +440,6 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/base/appointment-edit-view/appointment-edit-view.vue'
),
},
{
path
:
'accounts/:account?/edit_address/:edit_address?'
,
meta
:
{
caption
:
'entities.account.views.edit_address.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'edit_address'
,
parameterName
:
'edit_address'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/account-edit-address/account-edit-address.vue'
),
},
{
path
:
'contacts/:contact?/tabexpview/:tabexpview?'
,
meta
:
{
...
...
@@ -860,6 +846,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sales/quote-edit-view/quote-edit-view.vue'
),
},
{
path
:
'accounts/:account?/edit_accountinfo/:edit_accountinfo?'
,
meta
:
{
caption
:
'entities.account.views.edit_accountinfo.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'edit_accountinfo'
,
parameterName
:
'edit_accountinfo'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/account-edit-account-info/account-edit-account-info.vue'
),
},
{
path
:
'incidents/:incident?/gridview/:gridview?'
,
meta
:
{
...
...
@@ -916,19 +916,6 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/service/incident-edit-view/incident-edit-view.vue'
),
},
{
path
:
'/accounts/:account?/edit_accountinfo/:edit_accountinfo?'
,
meta
:
{
caption
:
'entities.account.views.edit_accountinfo.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'edit_accountinfo'
,
parameterName
:
'edit_accountinfo'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/account-edit-account-info/account-edit-account-info.vue'
),
},
{
path
:
'/salesorders/:salesorder?/editview/:editview?'
,
meta
:
{
...
...
@@ -1190,30 +1177,30 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/sales/goal-grid-view/goal-grid-view.vue'
),
},
{
path
:
'/accounts/:account?/edit
view/:editview
?'
,
path
:
'/accounts/:account?/edit
_accountinfo/:edit_accountinfo
?'
,
meta
:
{
caption
:
'entities.account.views.edit
view
.title'
,
caption
:
'entities.account.views.edit
_accountinfo
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'edit
view'
,
parameterName
:
'editview
'
},
{
pathName
:
'edit
_accountinfo'
,
parameterName
:
'edit_accountinfo
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/account-edit-
view/account-edit-view
.vue'
),
component
:
()
=>
import
(
'@pages/base/account-edit-
account-info/account-edit-account-info
.vue'
),
},
{
path
:
'/accounts/:account?/edit
_address/:edit_address
?'
,
path
:
'/accounts/:account?/edit
view/:editview
?'
,
meta
:
{
caption
:
'entities.account.views.edit
_address
.title'
,
caption
:
'entities.account.views.edit
view
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'edit
_address'
,
parameterName
:
'edit_address
'
},
{
pathName
:
'edit
view'
,
parameterName
:
'editview
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/account-edit-
address/account-edit-address
.vue'
),
component
:
()
=>
import
(
'@pages/base/account-edit-
view/account-edit-view
.vue'
),
},
{
path
:
'/accounts/:account?/introduction/:introduction?'
,
...
...
@@ -1592,17 +1579,17 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/base/contact-option-view/contact-option-view.vue'
),
},
{
path
:
'/accounts/:account?/
usr2optionview/:usr2optionview
?'
,
path
:
'/accounts/:account?/
edit_address/:edit_address
?'
,
meta
:
{
caption
:
'entities.account.views.
usr2optionview
.title'
,
caption
:
'entities.account.views.
edit_address
.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'
usr2optionview'
,
parameterName
:
'usr2optionview
'
},
{
pathName
:
'
edit_address'
,
parameterName
:
'edit_address
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/account-
usr2-option-view/account-usr2-option-view
.vue'
),
component
:
()
=>
import
(
'@pages/base/account-
edit-address/account-edit-address
.vue'
),
},
{
path
:
'/accounts/:account?/pickupgridview/:pickupgridview?'
,
...
...
app_BusinessCentral/src/store/modules/view-action/state.ts
浏览文件 @
050a3347
...
...
@@ -32,17 +32,6 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'0d25ba75b06acd9c995642d0a45fcd2c'
,
viewmodule
:
'Base'
,
viewname
:
'AccountEdit_AccountInfo'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'8b806fb12589b2fc17d1bb90f4b5422e'
,
'29bfcd628ab25e297248ff0524d12908'
,
],
},
{
viewtag
:
'0ff3eacd51054572cf899247b1c57018'
,
viewmodule
:
'Sales'
,
...
...
@@ -127,7 +116,7 @@ export const viewstate: any = {
'893e62d6fbdc4580de7e3e802aec9108'
,
'916febbb65be1c54dd42ccb9914fe973'
,
'1d3b94223a5d3f8ab1d2fe334c8c4afd'
,
'
728b69e2de09e7920b86712bc17ea963
'
,
'
688201ee5642d41628dbf4deba002d17
'
,
'a5213905238dbc5d8e1a505029105cc9'
,
],
},
...
...
@@ -259,9 +248,9 @@ export const viewstate: any = {
],
},
{
viewtag
:
'6
e18ac74e5685439110f9b4e534ee005
'
,
viewtag
:
'6
88201ee5642d41628dbf4deba002d17
'
,
viewmodule
:
'Base'
,
viewname
:
'AccountEdit
View
'
,
viewname
:
'AccountEdit
_AccountInfo
'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
...
...
@@ -270,12 +259,14 @@ export const viewstate: any = {
],
},
{
viewtag
:
'
728b69e2de09e7920b86712bc17ea963
'
,
viewtag
:
'
6e18ac74e5685439110f9b4e534ee005
'
,
viewmodule
:
'Base'
,
viewname
:
'AccountEdit
_Address
'
,
viewname
:
'AccountEdit
View
'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'8b806fb12589b2fc17d1bb90f4b5422e'
,
'29bfcd628ab25e297248ff0524d12908'
,
],
},
{
...
...
@@ -586,7 +577,7 @@ export const viewstate: any = {
{
viewtag
:
'e4335da0a7c14a65376eecaabb771fd7'
,
viewmodule
:
'Base'
,
viewname
:
'Account
Usr2OptionView
'
,
viewname
:
'Account
Edit_Address
'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
...
...
app_BusinessCentral/src/uiservice/account/account-ui-service-base.ts
浏览文件 @
050a3347
...
...
@@ -79,20 +79,19 @@ export default class AccountUIServiceBase extends UIService {
* @memberof AccountUIServiceBase
*/
public
initViewMap
(){
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'edit_accountinfo'
,
srfappde
:
'accounts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'accountinfo'
,
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'
});
this
.
allViewMap
.
set
(
'EDITVIEW:'
,{
viewname
:
'editview'
,
srfappde
:
'accounts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'edit_address'
,
srfappde
:
'accounts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'introduction'
,
srfappde
:
'accounts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'address'
,
srfappde
:
'accounts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'optionview'
,
srfappde
:
'accounts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'distribution'
,
srfappde
:
'accounts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'contactsetting'
,
srfappde
:
'accounts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'
usr2optionview
'
,
srfappde
:
'accounts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'
edit_address
'
,
srfappde
:
'accounts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'pickupgridview'
,
srfappde
:
'accounts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'majorcontact'
,
srfappde
:
'accounts'
});
}
...
...
@@ -288,10 +287,10 @@ export default class AccountUIServiceBase extends UIService {
});
}
const
view
:
any
=
{
viewname
:
'account-
usr2-option-view
'
,
viewname
:
'account-
edit-account-info
'
,
height
:
0
,
width
:
450
,
title
:
actionContext
.
$t
(
'entities.account.views.
usr2optionview
.title'
),
title
:
actionContext
.
$t
(
'entities.account.views.
edit_accountinfo
.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
...
...
app_BusinessCentral/src/widgets/account/edit-address-form/edit-address-form-base.vue
浏览文件 @
050a3347
...
...
@@ -1183,7 +1183,7 @@ export default class Edit_AddressBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'Account
Usr2OptionView
视图表单loadAction参数未配置'
});
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'Account
Edit_Address
视图表单loadAction参数未配置'
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -1218,7 +1218,7 @@ export default class Edit_AddressBase extends Vue implements ControlInterface {
*/
public
loadDraft
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'Account
Usr2OptionView
视图表单loaddraftAction参数未配置'
});
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'Account
Edit_Address
视图表单loaddraftAction参数未配置'
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
@@ -1280,7 +1280,7 @@ export default class Edit_AddressBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'Account
Usr2OptionView
视图表单'
+
actionName
+
'参数未配置'
});
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'Account
Edit_Address
视图表单'
+
actionName
+
'参数未配置'
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1344,7 +1344,7 @@ export default class Edit_AddressBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'Account
Usr2OptionView
视图表单'
+
actionName
+
'参数未配置'
});
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'Account
Edit_Address
视图表单'
+
actionName
+
'参数未配置'
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1394,7 +1394,7 @@ export default class Edit_AddressBase extends Vue implements ControlInterface {
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'Account
Usr2OptionView
视图表单removeAction参数未配置'
});
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'Account
Edit_Address
视图表单removeAction参数未配置'
});
return
;
}
const
arg
:
any
=
opt
[
0
];
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录