Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
fd26d041
提交
fd26d041
编写于
7月 08, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
62c36465
变更
9
显示空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
116 行增加
和
3 行删除
+116
-3
en-US.ts
app_CRM/src/locale/lang/en-US.ts
+5
-0
zh-CN.ts
app_CRM/src/locale/lang/zh-CN.ts
+5
-0
central-appmenu.ts
app_CRM/src/mock/app/central-appmenu/central-appmenu.ts
+20
-0
page-register.ts
app_CRM/src/pages/ungroup/central/page-register.ts
+1
-0
router.ts
app_CRM/src/pages/ungroup/central/router.ts
+13
-0
state.ts
app_CRM/src/store/modules/view-action/state.ts
+11
-0
central-appmenu-base.tsx
.../src/widgets/app/central-appmenu/central-appmenu-base.tsx
+24
-0
central-appmenu-model.ts
.../src/widgets/app/central-appmenu/central-appmenu-model.ts
+36
-2
systemResource.json
...al-core/src/main/resources/permission/systemResource.json
+1
-1
未找到文件。
app_CRM/src/locale/lang/en-US.ts
浏览文件 @
fd26d041
...
@@ -110,6 +110,10 @@ export default {
...
@@ -110,6 +110,10 @@ export default {
caption
:
"企业中心"
,
caption
:
"企业中心"
,
title
:
"企业中心"
,
title
:
"企业中心"
,
},
},
setting
:
{
caption
:
"设置"
,
title
:
"设置"
,
},
},
},
utilview
:{
utilview
:{
importview
:
"Import Data"
,
importview
:
"Import Data"
,
...
@@ -121,6 +125,7 @@ export default {
...
@@ -121,6 +125,7 @@ export default {
user_menus
:
"用户菜单"
,
user_menus
:
"用户菜单"
,
top_menus
:
"顶部菜单"
,
top_menus
:
"顶部菜单"
,
menuitem3
:
"设置"
,
menuitem3
:
"设置"
,
menuitem4
:
"链接角色"
,
menuitem34
:
"消息通知"
,
menuitem34
:
"消息通知"
,
menuitem35
:
"帮助"
,
menuitem35
:
"帮助"
,
left_exp
:
"左侧菜单"
,
left_exp
:
"左侧菜单"
,
...
...
app_CRM/src/locale/lang/zh-CN.ts
浏览文件 @
fd26d041
...
@@ -110,6 +110,10 @@ export default {
...
@@ -110,6 +110,10 @@ export default {
caption
:
"企业中心"
,
caption
:
"企业中心"
,
title
:
"企业中心"
,
title
:
"企业中心"
,
},
},
setting
:
{
caption
:
"设置"
,
title
:
"设置"
,
},
},
},
utilview
:{
utilview
:{
importview
:
"导入数据"
,
importview
:
"导入数据"
,
...
@@ -121,6 +125,7 @@ export default {
...
@@ -121,6 +125,7 @@ export default {
user_menus
:
"用户菜单"
,
user_menus
:
"用户菜单"
,
top_menus
:
"顶部菜单"
,
top_menus
:
"顶部菜单"
,
menuitem3
:
"设置"
,
menuitem3
:
"设置"
,
menuitem4
:
"链接角色"
,
menuitem34
:
"消息通知"
,
menuitem34
:
"消息通知"
,
menuitem35
:
"帮助"
,
menuitem35
:
"帮助"
,
left_exp
:
"左侧菜单"
,
left_exp
:
"左侧菜单"
,
...
...
app_CRM/src/mock/app/central-appmenu/central-appmenu.ts
浏览文件 @
fd26d041
...
@@ -61,8 +61,28 @@ mock.onGet('v7/centralappmenu').reply((config: any) => {
...
@@ -61,8 +61,28 @@ mock.onGet('v7/centralappmenu').reply((config: any) => {
iconcls
:
'fa fa-certificate'
,
iconcls
:
'fa fa-certificate'
,
icon
:
''
,
icon
:
''
,
textcls
:
''
,
textcls
:
''
,
appfunctag
:
'_4'
,
resourcetag
:
''
,
items
:
[
{
id
:
'4935CE28-DCC3-4BF9-A0F9-8761DF54578C'
,
name
:
'menuitem4'
,
text
:
'链接角色'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'链接角色'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
'fa fa-mars-stroke-v'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'_5'
,
appfunctag
:
'_5'
,
resourcetag
:
''
,
resourcetag
:
''
,
},
],
},
},
{
{
id
:
'5EC4881D-09C3-4536-A609-333F7A6A6012'
,
id
:
'5EC4881D-09C3-4536-A609-333F7A6A6012'
,
...
...
app_CRM/src/pages/ungroup/central/page-register.ts
浏览文件 @
fd26d041
...
@@ -103,6 +103,7 @@ export const PageComponents = {
...
@@ -103,6 +103,7 @@ export const PageComponents = {
Vue
.
component
(
'product-info-pro-info'
,
()
=>
import
(
'@pages/product/product-info-pro-info/product-info-pro-info.vue'
));
Vue
.
component
(
'product-info-pro-info'
,
()
=>
import
(
'@pages/product/product-info-pro-info/product-info-pro-info.vue'
));
Vue
.
component
(
'sales-literature-summary-view'
,
()
=>
import
(
'@pages/sales/sales-literature-summary-view/sales-literature-summary-view.vue'
));
Vue
.
component
(
'sales-literature-summary-view'
,
()
=>
import
(
'@pages/sales/sales-literature-summary-view/sales-literature-summary-view.vue'
));
Vue
.
component
(
'lead-pickup-view'
,
()
=>
import
(
'@pages/sales/lead-pickup-view/lead-pickup-view.vue'
));
Vue
.
component
(
'lead-pickup-view'
,
()
=>
import
(
'@pages/sales/lead-pickup-view/lead-pickup-view.vue'
));
Vue
.
component
(
'setting'
,
()
=>
import
(
'@pages/ungroup/setting/setting.vue'
));
Vue
.
component
(
'invoice-quick-create-view'
,
()
=>
import
(
'@pages/finance/invoice-quick-create-view/invoice-quick-create-view.vue'
));
Vue
.
component
(
'invoice-quick-create-view'
,
()
=>
import
(
'@pages/finance/invoice-quick-create-view/invoice-quick-create-view.vue'
));
Vue
.
component
(
'campaign-info-schedule'
,
()
=>
import
(
'@pages/marketing/campaign-info-schedule/campaign-info-schedule.vue'
));
Vue
.
component
(
'campaign-info-schedule'
,
()
=>
import
(
'@pages/marketing/campaign-info-schedule/campaign-info-schedule.vue'
));
Vue
.
component
(
'lead-con-lead-grid-view'
,
()
=>
import
(
'@pages/sales/lead-con-lead-grid-view/lead-con-lead-grid-view.vue'
));
Vue
.
component
(
'lead-con-lead-grid-view'
,
()
=>
import
(
'@pages/sales/lead-con-lead-grid-view/lead-con-lead-grid-view.vue'
));
...
...
app_CRM/src/pages/ungroup/central/router.ts
浏览文件 @
fd26d041
...
@@ -3460,6 +3460,19 @@ const router = new Router({
...
@@ -3460,6 +3460,19 @@ const router = new Router({
},
},
component
:
()
=>
import
(
'@pages/sales/lead-pickup-view/lead-pickup-view.vue'
),
component
:
()
=>
import
(
'@pages/sales/lead-pickup-view/lead-pickup-view.vue'
),
},
},
{
path
:
'setting/:setting?'
,
meta
:
{
caption
:
'app.views.setting.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'setting'
,
parameterName
:
'setting'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/ungroup/setting/setting.vue'
),
},
{
{
path
:
'invoices/:invoice?/quickcreateview/:quickcreateview?'
,
path
:
'invoices/:invoice?/quickcreateview/:quickcreateview?'
,
meta
:
{
meta
:
{
...
...
app_CRM/src/store/modules/view-action/state.ts
浏览文件 @
fd26d041
...
@@ -1281,6 +1281,7 @@ export const viewstate: any = {
...
@@ -1281,6 +1281,7 @@ export const viewstate: any = {
'90b48a107932f432e0dde42791a51887'
,
'90b48a107932f432e0dde42791a51887'
,
'9af073dea1ea05903d52e8bdc5a03dd5'
,
'9af073dea1ea05903d52e8bdc5a03dd5'
,
'45fdc8ee4d1401d2d625e80177395ddc'
,
'45fdc8ee4d1401d2d625e80177395ddc'
,
'9AE386A9-53DE-4F99-BCCA-747AEFE666A4'
,
'3cac572b3a6905293a0e22e3f3fa3c04'
,
'3cac572b3a6905293a0e22e3f3fa3c04'
,
'7FCD2E75-E34A-493C-922E-8AE47BCE08CA'
,
'7FCD2E75-E34A-493C-922E-8AE47BCE08CA'
,
'd1c35f3c52010e1428d7dc1a6bc82f63'
,
'd1c35f3c52010e1428d7dc1a6bc82f63'
,
...
@@ -1470,6 +1471,16 @@ export const viewstate: any = {
...
@@ -1470,6 +1471,16 @@ export const viewstate: any = {
'6debde861c6e6f91eeb442cb869e9737'
,
'6debde861c6e6f91eeb442cb869e9737'
,
],
],
},
},
{
viewtag
:
'9AE386A9-53DE-4F99-BCCA-747AEFE666A4'
,
viewmodule
:
'Ungroup'
,
viewname
:
'Setting'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'3cac572b3a6905293a0e22e3f3fa3c04'
,
],
},
{
{
viewtag
:
'9af073dea1ea05903d52e8bdc5a03dd5'
,
viewtag
:
'9af073dea1ea05903d52e8bdc5a03dd5'
,
viewmodule
:
'Base'
,
viewmodule
:
'Base'
,
...
...
app_CRM/src/widgets/app/central-appmenu/central-appmenu-base.tsx
浏览文件 @
fd26d041
...
@@ -40,6 +40,8 @@ export class CentralBase extends Vue {
...
@@ -40,6 +40,8 @@ export class CentralBase extends Vue {
this
.
click_5
(
item
);
break
;
this
.
click_5
(
item
);
break
;
case
'Auto14'
:
case
'Auto14'
:
this
.
clickAuto14
(
item
);
break
;
this
.
clickAuto14
(
item
);
break
;
case
'_4'
:
this
.
click_4
(
item
);
break
;
case
'Auto10'
:
case
'Auto10'
:
this
.
clickAuto10
(
item
);
break
;
this
.
clickAuto10
(
item
);
break
;
case
'Auto16'
:
case
'Auto16'
:
...
@@ -340,6 +342,28 @@ export class CentralBase extends Vue {
...
@@ -340,6 +342,28 @@ export class CentralBase extends Vue {
})
})
}
}
/**
* 设置
*
* @param {*} [item={}]
* @memberof Central
*/
public
click_4
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'setting'
,
parameterName
:
'setting'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
if
(
Object
.
is
(
this
.
$route
.
fullPath
,
path
)){
return
;
}
this
.
$nextTick
(
function
(){
this
.
$router
.
push
(
path
);
})
}
/**
/**
* 商机管理
* 商机管理
*
*
...
...
app_CRM/src/widgets/app/central-appmenu/central-appmenu-model.ts
浏览文件 @
fd26d041
...
@@ -66,11 +66,34 @@ export default class CentralModel {
...
@@ -66,11 +66,34 @@ export default class CentralModel {
iconcls
:
'fa fa-certificate'
,
iconcls
:
'fa fa-certificate'
,
icon
:
''
,
icon
:
''
,
textcls
:
''
,
textcls
:
''
,
appfunctag
:
'_4'
,
appfuncyype
:
'APPVIEW'
,
viewname
:
'setting'
,
resourcetag
:
''
,
items
:
[
{
id
:
'4935CE28-DCC3-4BF9-A0F9-8761DF54578C'
,
name
:
'menuitem4'
,
text
:
'链接角色'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'链接角色'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
'fa fa-mars-stroke-v'
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'_5'
,
appfunctag
:
'_5'
,
appfuncyype
:
'APPVIEW'
,
appfuncyype
:
'APPVIEW'
,
viewname
:
'connection-role-grid-view'
,
viewname
:
'connection-role-grid-view'
,
resourcetag
:
''
,
resourcetag
:
''
,
}
}
,
],
}
,
,
{
{
id
:
'5EC4881D-09C3-4536-A609-333F7A6A6012'
,
id
:
'5EC4881D-09C3-4536-A609-333F7A6A6012'
,
...
@@ -965,6 +988,17 @@ export default class CentralModel {
...
@@ -965,6 +988,17 @@ export default class CentralModel {
{
pathName
:
'statustabview'
,
parameterName
:
'statustabview'
},
{
pathName
:
'statustabview'
,
parameterName
:
'statustabview'
},
],
],
},
},
{
appfunctag
:
'_4'
,
appfuncyype
:
'APPVIEW'
,
openmode
:
''
,
codename
:
'setting'
,
deResParameters
:
[],
routepath
:
'/central/:central?/setting/:setting?'
,
parameters
:
[
{
pathName
:
'setting'
,
parameterName
:
'setting'
},
],
},
{
{
appfunctag
:
'Auto10'
,
appfunctag
:
'Auto10'
,
appfuncyype
:
'APPVIEW'
,
appfuncyype
:
'APPVIEW'
,
...
...
businesscentral-core/src/main/resources/permission/systemResource.json
浏览文件 @
fd26d041
...
@@ -481,7 +481,7 @@
...
@@ -481,7 +481,7 @@
{
{
"appid"
:
"CRM"
,
"appid"
:
"CRM"
,
"appname"
:
"客户管理"
,
"appname"
:
"客户管理"
,
"appmenu"
:[{
"menuid"
:
"Central"
,
"menuname"
:
"Central"
,
"menuitem"
:[{
"id"
:
"user_menus"
,
"name"
:
"用户菜单"
},{
"id"
:
"top_menus"
,
"name"
:
"顶部菜单"
,
"items"
:[{
"id"
:
"menuitem3"
,
"name"
:
"设置"
},{
"id"
:
"menuitem34"
,
"name"
:
"消息通知"
},{
"id"
:
"menuitem35"
,
"name"
:
"帮助"
}]},{
"id"
:
"left_exp"
,
"name"
:
"左侧菜单"
,
"items"
:[{
"id"
:
"menuitem17"
,
"name"
:
"主页"
},{
"id"
:
"menuitem18"
,
"name"
:
"最近"
},{
"id"
:
"menuitem19"
,
"name"
:
"固定"
},{
"id"
:
"menuitem16"
,
"name"
:
"我的工作"
,
"items"
:[{
"id"
:
"menuitem1"
,
"name"
:
"仪表盘"
},{
"id"
:
"menuitem2"
,
"name"
:
"活动"
}]},{
"id"
:
"menuitem20"
,
"name"
:
"客户"
,
"items"
:[{
"id"
:
"menuitem5"
,
"name"
:
"客户"
},{
"id"
:
"menuitem7"
,
"name"
:
"联系人"
}]},{
"id"
:
"menuitem21"
,
"name"
:
"销售"
,
"items"
:[{
"id"
:
"menuitem8"
,
"name"
:
"潜在客户"
},{
"id"
:
"menuitem9"
,
"name"
:
"商机"
},{
"id"
:
"menuitem10"
,
"name"
:
"竞争对手"
}]},{
"id"
:
"menuitem22"
,
"name"
:
"宣传资料"
,
"items"
:[{
"id"
:
"menuitem11"
,
"name"
:
"报价单"
},{
"id"
:
"menuitem12"
,
"name"
:
"订单"
},{
"id"
:
"menuitem13"
,
"name"
:
"发票"
},{
"id"
:
"menuitem6"
,
"name"
:
"产品"
},{
"id"
:
"menuitem14"
,
"name"
:
"销售宣传资料"
}]},{
"id"
:
"menuitem23"
,
"name"
:
"市场营销"
,
"items"
:[{
"id"
:
"menuitem30"
,
"name"
:
"市场活动"
},{
"id"
:
"menuitem15"
,
"name"
:
"市场营销列表"
},{
"id"
:
"menuitem29"
,
"name"
:
"快速市场活动"
}]},{
"id"
:
"menuitem24"
,
"name"
:
"绩效"
,
"items"
:[{
"id"
:
"menuitem25"
,
"name"
:
"目标"
},{
"id"
:
"menuitem31"
,
"name"
:
"目标度量"
}]},{
"id"
:
"menuitem27"
,
"name"
:
"服务"
,
"items"
:[{
"id"
:
"menuitem28"
,
"name"
:
"服务案例"
},{
"id"
:
"menuitem32"
,
"name"
:
"知识文章"
}]}]},{
"id"
:
"bottom_exp"
,
"name"
:
"底部内容"
},{
"id"
:
"footer_left"
,
"name"
:
"底部左侧"
},{
"id"
:
"footer_center"
,
"name"
:
"底部中间"
},{
"id"
:
"footer_right"
,
"name"
:
"底部右侧"
}]
},{
"menuid"
:
"Setting"
,
"menuname"
:
"Setting"
,
"menuitem"
:[{
"id"
:
"menuitem1"
,
"name"
:
"链接角色"
}]
}]
"appmenu"
:[{
"menuid"
:
"Central"
,
"menuname"
:
"Central"
,
"menuitem"
:[{
"id"
:
"user_menus"
,
"name"
:
"用户菜单"
},{
"id"
:
"top_menus"
,
"name"
:
"顶部菜单"
,
"items"
:[{
"id"
:
"menuitem3"
,
"name"
:
"设置"
,
"items"
:[{
"id"
:
"menuitem4"
,
"name"
:
"链接角色"
}]
},{
"id"
:
"menuitem34"
,
"name"
:
"消息通知"
},{
"id"
:
"menuitem35"
,
"name"
:
"帮助"
}]},{
"id"
:
"left_exp"
,
"name"
:
"左侧菜单"
,
"items"
:[{
"id"
:
"menuitem17"
,
"name"
:
"主页"
},{
"id"
:
"menuitem18"
,
"name"
:
"最近"
},{
"id"
:
"menuitem19"
,
"name"
:
"固定"
},{
"id"
:
"menuitem16"
,
"name"
:
"我的工作"
,
"items"
:[{
"id"
:
"menuitem1"
,
"name"
:
"仪表盘"
},{
"id"
:
"menuitem2"
,
"name"
:
"活动"
}]},{
"id"
:
"menuitem20"
,
"name"
:
"客户"
,
"items"
:[{
"id"
:
"menuitem5"
,
"name"
:
"客户"
},{
"id"
:
"menuitem7"
,
"name"
:
"联系人"
}]},{
"id"
:
"menuitem21"
,
"name"
:
"销售"
,
"items"
:[{
"id"
:
"menuitem8"
,
"name"
:
"潜在客户"
},{
"id"
:
"menuitem9"
,
"name"
:
"商机"
},{
"id"
:
"menuitem10"
,
"name"
:
"竞争对手"
}]},{
"id"
:
"menuitem22"
,
"name"
:
"宣传资料"
,
"items"
:[{
"id"
:
"menuitem11"
,
"name"
:
"报价单"
},{
"id"
:
"menuitem12"
,
"name"
:
"订单"
},{
"id"
:
"menuitem13"
,
"name"
:
"发票"
},{
"id"
:
"menuitem6"
,
"name"
:
"产品"
},{
"id"
:
"menuitem14"
,
"name"
:
"销售宣传资料"
}]},{
"id"
:
"menuitem23"
,
"name"
:
"市场营销"
,
"items"
:[{
"id"
:
"menuitem30"
,
"name"
:
"市场活动"
},{
"id"
:
"menuitem15"
,
"name"
:
"市场营销列表"
},{
"id"
:
"menuitem29"
,
"name"
:
"快速市场活动"
}]},{
"id"
:
"menuitem24"
,
"name"
:
"绩效"
,
"items"
:[{
"id"
:
"menuitem25"
,
"name"
:
"目标"
},{
"id"
:
"menuitem31"
,
"name"
:
"目标度量"
}]},{
"id"
:
"menuitem27"
,
"name"
:
"服务"
,
"items"
:[{
"id"
:
"menuitem28"
,
"name"
:
"服务案例"
},{
"id"
:
"menuitem32"
,
"name"
:
"知识文章"
}]}]},{
"id"
:
"bottom_exp"
,
"name"
:
"底部内容"
},{
"id"
:
"footer_left"
,
"name"
:
"底部左侧"
},{
"id"
:
"footer_center"
,
"name"
:
"底部中间"
},{
"id"
:
"footer_right"
,
"name"
:
"底部右侧"
}]
},{
"menuid"
:
"Setting"
,
"menuname"
:
"Setting"
,
"menuitem"
:[{
"id"
:
"menuitem1"
,
"name"
:
"链接角色"
}]
}]
}
}
,
,
{
{
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录