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

xignzi006 发布系统代码

上级 085461a9
......@@ -125,6 +125,7 @@ export default {
user_menus: "用户菜单",
top_menus: "顶部菜单",
menuitem3: "设置",
menuitem4: "链接角色",
menuitem34: "消息通知",
menuitem35: "帮助",
left_exp: "左侧菜单",
......
......@@ -125,6 +125,7 @@ export default {
user_menus: "用户菜单",
top_menus: "顶部菜单",
menuitem3: "设置",
menuitem4: "链接角色",
menuitem34: "消息通知",
menuitem35: "帮助",
left_exp: "左侧菜单",
......
......@@ -63,6 +63,26 @@ mock.onGet('v7/centralappmenu').reply((config: any) => {
textcls: '',
appfunctag: '_4',
resourcetag: '',
items: [
{
id: '214745B6-68CB-4548-B138-81E07338033C',
name: 'menuitem4',
text: '链接角色',
type: 'MENUITEM',
counterid: '',
tooltip: '链接角色',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: '_5',
resourcetag: '',
},
],
},
{
id: '5EC4881D-09C3-4536-A609-333F7A6A6012',
......
......@@ -1282,6 +1282,7 @@ export const viewstate: any = {
'9af073dea1ea05903d52e8bdc5a03dd5',
'45fdc8ee4d1401d2d625e80177395ddc',
'9AE386A9-53DE-4F99-BCCA-747AEFE666A4',
'3cac572b3a6905293a0e22e3f3fa3c04',
'7FCD2E75-E34A-493C-922E-8AE47BCE08CA',
'd1c35f3c52010e1428d7dc1a6bc82f63',
'e0aef8c0d1f1ae28f628a0541b118961',
......
......@@ -36,6 +36,8 @@ export class CentralBase extends Vue {
this.clickAuto15(item); break;
case 'Auto11':
this.clickAuto11(item); break;
case '_5':
this.click_5(item); break;
case 'Auto14':
this.clickAuto14(item); break;
case '_4':
......@@ -294,6 +296,29 @@ export class CentralBase extends Vue {
})
}
/**
* 链接角色
*
* @param {*} [item={}]
* @memberof Central
*/
public click_5(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'connectionroles', parameterName: 'connectionrole' },
{ pathName: 'gridview', parameterName: 'gridview' },
];
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);
})
}
/**
* 潜在客户管理
*
......
......@@ -70,6 +70,29 @@ export default class CentralModel {
appfuncyype: 'APPVIEW',
viewname: 'setting',
resourcetag: '',
items: [
{
id: '214745B6-68CB-4548-B138-81E07338033C',
name: 'menuitem4',
text: '链接角色',
type: 'MENUITEM',
counterid: '',
tooltip: '链接角色',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: '_5',
appfuncyype: 'APPVIEW',
viewname: 'connection-role-grid-view',
resourcetag: '',
}
,
],
}
,
{
......@@ -941,6 +964,18 @@ export default class CentralModel {
{ pathName: 'gridview', parameterName: 'gridview' },
],
},
{
appfunctag: '_5',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'connectionrolegridview',
deResParameters: [],
routepath: '/central/:central?/connectionroles/:connectionrole?/gridview/:gridview?',
parameters: [
{ pathName: 'connectionroles', parameterName: 'connectionrole' },
{ pathName: 'gridview', parameterName: 'gridview' },
],
},
{
appfunctag: 'Auto14',
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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册