提交 fd26d041 编写于 作者: ibizdev's avatar ibizdev

xignzi006 发布系统代码

上级 62c36465
......@@ -110,6 +110,10 @@ export default {
caption: "企业中心",
title: "企业中心",
},
setting: {
caption: "设置",
title: "设置",
},
},
utilview:{
importview:"Import Data",
......@@ -121,6 +125,7 @@ export default {
user_menus: "用户菜单",
top_menus: "顶部菜单",
menuitem3: "设置",
menuitem4: "链接角色",
menuitem34: "消息通知",
menuitem35: "帮助",
left_exp: "左侧菜单",
......
......@@ -110,6 +110,10 @@ export default {
caption: "企业中心",
title: "企业中心",
},
setting: {
caption: "设置",
title: "设置",
},
},
utilview:{
importview:"导入数据",
......@@ -121,6 +125,7 @@ export default {
user_menus: "用户菜单",
top_menus: "顶部菜单",
menuitem3: "设置",
menuitem4: "链接角色",
menuitem34: "消息通知",
menuitem35: "帮助",
left_exp: "左侧菜单",
......
......@@ -61,8 +61,28 @@ mock.onGet('v7/centralappmenu').reply((config: any) => {
iconcls: 'fa fa-certificate',
icon: '',
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',
resourcetag: '',
},
],
},
{
id: '5EC4881D-09C3-4536-A609-333F7A6A6012',
......
......@@ -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('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('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('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'));
......
......@@ -3460,6 +3460,19 @@ const router = new Router({
},
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?',
meta: {
......
......@@ -1281,6 +1281,7 @@ export const viewstate: any = {
'90b48a107932f432e0dde42791a51887',
'9af073dea1ea05903d52e8bdc5a03dd5',
'45fdc8ee4d1401d2d625e80177395ddc',
'9AE386A9-53DE-4F99-BCCA-747AEFE666A4',
'3cac572b3a6905293a0e22e3f3fa3c04',
'7FCD2E75-E34A-493C-922E-8AE47BCE08CA',
'd1c35f3c52010e1428d7dc1a6bc82f63',
......@@ -1470,6 +1471,16 @@ export const viewstate: any = {
'6debde861c6e6f91eeb442cb869e9737',
],
},
{
viewtag: '9AE386A9-53DE-4F99-BCCA-747AEFE666A4',
viewmodule: 'Ungroup',
viewname: 'Setting',
viewaction: '',
viewdatachange: false,
refviews: [
'3cac572b3a6905293a0e22e3f3fa3c04',
],
},
{
viewtag: '9af073dea1ea05903d52e8bdc5a03dd5',
viewmodule: 'Base',
......
......@@ -40,6 +40,8 @@ export class CentralBase extends Vue {
this.click_5(item); break;
case 'Auto14':
this.clickAuto14(item); break;
case '_4':
this.click_4(item); break;
case 'Auto10':
this.clickAuto10(item); break;
case 'Auto16':
......@@ -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);
})
}
/**
* 商机管理
*
......
......@@ -66,10 +66,33 @@ export default class CentralModel {
iconcls: 'fa fa-certificate',
icon: '',
textcls: '',
appfunctag: '_5',
appfunctag: '_4',
appfuncyype: 'APPVIEW',
viewname: 'connection-role-grid-view',
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',
appfuncyype: 'APPVIEW',
viewname: 'connection-role-grid-view',
resourcetag: '',
}
,
],
}
,
{
......@@ -965,6 +988,17 @@ export default class CentralModel {
{ pathName: 'statustabview', parameterName: 'statustabview' },
],
},
{
appfunctag: '_4',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'setting',
deResParameters: [],
routepath: '/central/:central?/setting/:setting?',
parameters: [
{ pathName: 'setting', parameterName: 'setting' },
],
},
{
appfunctag: 'Auto10',
appfuncyype: 'APPVIEW',
......
......@@ -481,7 +481,7 @@
{
"appid":"CRM",
"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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册