Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
c04bb35b
提交
c04bb35b
编写于
6月 16, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
2cfd58ea
变更
12
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
12 个修改的文件
包含
664 行增加
和
26 行删除
+664
-26
view-config.json
app_BusinessCentral/public/assets/json/view-config.json
+10
-0
account_en_US.ts
...ntral/src/locale/lanres/entities/account/account_en_US.ts
+6
-2
account_zh_CN.ts
...ntral/src/locale/lanres/entities/account/account_zh_CN.ts
+6
-2
viewconfig.ts
app_BusinessCentral/src/mock/viewconfig/viewconfig.ts
+8
-0
account-usr2-option-view-base.vue
...ccount-usr2-option-view/account-usr2-option-view-base.vue
+554
-0
account-usr2-option-view.less
...se/account-usr2-option-view/account-usr2-option-view.less
+9
-0
account-usr2-option-view.vue
...ase/account-usr2-option-view/account-usr2-option-view.vue
+19
-0
page-register.ts
...usinessCentral/src/pages/ungroup/central/page-register.ts
+1
-0
router.ts
app_BusinessCentral/src/pages/ungroup/central/router.ts
+27
-14
state.ts
app_BusinessCentral/src/store/modules/view-action/state.ts
+10
-1
account-ui-service-base.ts
...sCentral/src/uiservice/account/account-ui-service-base.ts
+9
-2
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
浏览文件 @
c04bb35b
...
...
@@ -609,6 +609,16 @@
"viewtag"
:
"e404dc93e70d6284d4e1a083017625ed"
,
"memo"
:
""
},
"accountusr2optionview"
:
{
"title"
:
"客户选项操作视图"
,
"caption"
:
"11"
,
"viewtype"
:
"DEOPTVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"AccountUsr2OptionView"
,
"viewfilename"
:
"account-usr2-option-view"
,
"viewtag"
:
"e4335da0a7c14a65376eecaabb771fd7"
,
"memo"
:
""
},
"accountpickupgridview"
:
{
"title"
:
"account选择表格视图"
,
"caption"
:
"客户"
,
...
...
app_BusinessCentral/src/locale/lanres/entities/account/account_en_US.ts
浏览文件 @
c04bb35b
...
...
@@ -216,6 +216,10 @@ export default {
contactsetting
:
{
caption
:
"客户"
,
title
:
'account编辑视图'
,
},
usr2optionview
:
{
caption
:
"11"
,
title
:
'客户选项操作视图'
,
},
pickupgridview
:
{
caption
:
"客户"
,
...
...
@@ -278,7 +282,7 @@ export default {
uiactions
:
{
},
},
address_form
:
{
edit_
address_form
:
{
details
:
{
group1
:
"客户基本信息"
,
formpage1
:
"基本信息"
,
...
...
@@ -302,7 +306,7 @@ export default {
uiactions
:
{
},
},
edit_
address_form
:
{
address_form
:
{
details
:
{
group1
:
"客户基本信息"
,
formpage1
:
"基本信息"
,
...
...
app_BusinessCentral/src/locale/lanres/entities/account/account_zh_CN.ts
浏览文件 @
c04bb35b
...
...
@@ -215,6 +215,10 @@ export default {
contactsetting
:
{
caption
:
'客户'
,
title
:
'account编辑视图'
,
},
usr2optionview
:
{
caption
:
'11'
,
title
:
'客户选项操作视图'
,
},
pickupgridview
:
{
caption
:
'客户'
,
...
...
@@ -277,7 +281,7 @@ export default {
uiactions
:
{
},
},
address_form
:
{
edit_
address_form
:
{
details
:
{
group1
:
'客户基本信息'
,
formpage1
:
'基本信息'
,
...
...
@@ -301,7 +305,7 @@ export default {
uiactions
:
{
},
},
edit_
address_form
:
{
address_form
:
{
details
:
{
group1
:
'客户基本信息'
,
formpage1
:
'基本信息'
,
...
...
app_BusinessCentral/src/mock/viewconfig/viewconfig.ts
浏览文件 @
c04bb35b
...
...
@@ -495,6 +495,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"ContactOptionView"
,
"viewtag"
:
"e404dc93e70d6284d4e1a083017625ed"
},
"accountusr2optionview"
:
{
"title"
:
"客户选项操作视图"
,
"caption"
:
"11"
,
"viewtype"
:
"DEOPTVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"AccountUsr2OptionView"
,
"viewtag"
:
"e4335da0a7c14a65376eecaabb771fd7"
},
"accountpickupgridview"
:
{
"title"
:
"account选择表格视图"
,
"caption"
:
"客户"
,
...
...
app_BusinessCentral/src/pages/base/account-usr2-option-view/account-usr2-option-view-base.vue
0 → 100644
浏览文件 @
c04bb35b
此差异已折叠。
点击以展开。
app_BusinessCentral/src/pages/base/account-usr2-option-view/account-usr2-option-view.less
0 → 100644
浏览文件 @
c04bb35b
.option-view {
--option-view: 0;
}
// 避免空文件,后台不让空文件过
.account-usr2-option-view {
--account-usr2-option-view: 0;
}
app_BusinessCentral/src/pages/base/account-usr2-option-view/account-usr2-option-view.vue
0 → 100644
浏览文件 @
c04bb35b
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
AccountUsr2OptionViewBase
from
'./account-usr2-option-view-base.vue'
;
import
view_form
from
'@widgets/account/edit-address-form/edit-address-form.vue'
;
@
Component
({
components
:
{
view_form
,
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
route
:
to
,
viewtag
:
vm
.
viewtag
});
});
},
})
export
default
class
AccountUsr2OptionView
extends
AccountUsr2OptionViewBase
{
}
</
script
>
\ No newline at end of file
app_BusinessCentral/src/pages/ungroup/central/page-register.ts
浏览文件 @
c04bb35b
...
...
@@ -60,5 +60,6 @@ export const PageComponents = {
Vue
.
component
(
'account-edit-address'
,
()
=>
import
(
'@pages/base/account-edit-address/account-edit-address.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'
));
}
};
\ No newline at end of file
app_BusinessCentral/src/pages/ungroup/central/router.ts
浏览文件 @
c04bb35b
...
...
@@ -230,6 +230,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/ungroup/centeral-portal/centeral-portal.vue'
),
},
{
path
:
'accounts/:account?/usr2optionview/:usr2optionview?'
,
meta
:
{
caption
:
'entities.account.views.usr2optionview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'usr2optionview'
,
parameterName
:
'usr2optionview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/account-usr2-option-view/account-usr2-option-view.vue'
),
},
{
path
:
'products/:product?/editview/:editview?'
,
meta
:
{
...
...
@@ -622,20 +636,6 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/marketing/ibiz-list-grid-view/ibiz-list-grid-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
:
'products/:product?/gridview/:gridview?'
,
meta
:
{
...
...
@@ -1591,6 +1591,19 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/base/contact-option-view/contact-option-view.vue'
),
},
{
path
:
'/accounts/:account?/usr2optionview/:usr2optionview?'
,
meta
:
{
caption
:
'entities.account.views.usr2optionview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'usr2optionview'
,
parameterName
:
'usr2optionview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/account-usr2-option-view/account-usr2-option-view.vue'
),
},
{
path
:
'/accounts/:account?/pickupgridview/:pickupgridview?'
,
meta
:
{
...
...
app_BusinessCentral/src/store/modules/view-action/state.ts
浏览文件 @
c04bb35b
...
...
@@ -120,8 +120,8 @@ export const viewstate: any = {
'aa79d35850f36fbc1a5085353ecd5af5'
,
'e38e7b53a449e0f112cb545d2c5d4b85'
,
'fb06f2c1cea1ac2a5a70c20f4a277ae5'
,
'0d25ba75b06acd9c995642d0a45fcd2c'
,
'73bb9f7e653384ca09f8bbbfd580d892'
,
'e4335da0a7c14a65376eecaabb771fd7'
,
'c607e5bc2c07ab2aca084e275ce677b7'
,
'a95d7d9111bc13a8b73a11ee1e4ff92a'
,
'893e62d6fbdc4580de7e3e802aec9108'
,
...
...
@@ -583,6 +583,15 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'e4335da0a7c14a65376eecaabb771fd7'
,
viewmodule
:
'Base'
,
viewname
:
'AccountUsr2OptionView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'ef9fea872a6a21e7566033fafcc0ccb5'
,
viewmodule
:
'Base'
,
...
...
app_BusinessCentral/src/uiservice/account/account-ui-service-base.ts
浏览文件 @
c04bb35b
...
...
@@ -92,6 +92,7 @@ export default class AccountUIServiceBase extends UIService {
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
:
'pickupgridview'
,
srfappde
:
'accounts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'majorcontact'
,
srfappde
:
'accounts'
});
}
...
...
@@ -210,6 +211,9 @@ export default class AccountUIServiceBase extends UIService {
return
;
}
const
_this
:
any
=
actionContext
;
if
(
xData
&&
xData
.
refresh
&&
xData
.
refresh
instanceof
Function
)
{
xData
.
refresh
(
args
);
}
if
(
window
.
opener
){
window
.
opener
.
postMessage
({
status
:
'OK'
,
identification
:
'WF'
},
Environment
.
uniteAddress
);
window
.
close
();
...
...
@@ -273,6 +277,9 @@ export default class AccountUIServiceBase extends UIService {
return
;
}
const
_this
:
any
=
actionContext
;
if
(
xData
&&
xData
.
refresh
&&
xData
.
refresh
instanceof
Function
)
{
xData
.
refresh
(
args
);
}
if
(
window
.
opener
){
window
.
opener
.
postMessage
({
status
:
'OK'
,
identification
:
'WF'
},
Environment
.
uniteAddress
);
window
.
close
();
...
...
@@ -281,10 +288,10 @@ export default class AccountUIServiceBase extends UIService {
});
}
const
view
:
any
=
{
viewname
:
'account-
edit-account-info
'
,
viewname
:
'account-
usr2-option-view
'
,
height
:
0
,
width
:
450
,
title
:
actionContext
.
$t
(
'entities.account.views.
edit_accountinfo
.title'
),
title
:
actionContext
.
$t
(
'entities.account.views.
usr2optionview
.title'
),
placement
:
'DRAWER_RIGHT'
,
};
openDrawer
(
view
,
data
);
...
...
app_BusinessCentral/src/widgets/account/edit-address-form/edit-address-form-base.vue
浏览文件 @
c04bb35b
...
...
@@ -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
Edit_Address
视图表单loadAction参数未配置'
});
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'Account
Usr2OptionView
视图表单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
Edit_Address
视图表单loaddraftAction参数未配置'
});
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'Account
Usr2OptionView
视图表单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
Edit_Address
视图表单'
+
actionName
+
'参数未配置'
});
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'Account
Usr2OptionView
视图表单'
+
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
Edit_Address
视图表单'
+
actionName
+
'参数未配置'
});
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'Account
Usr2OptionView
视图表单'
+
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
Edit_Address
视图表单removeAction参数未配置'
});
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'Account
Usr2OptionView
视图表单removeAction参数未配置'
});
return
;
}
const
arg
:
any
=
opt
[
0
];
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录