Browse Source

Merge pull request 'zq-0828-newMenu' (#119) from zq-0828-newMenu into master

Reviewed-on: #119
pull/120/head
zhangqi 5 days ago
parent
commit
5253481206
  1. 1
      src/assets/menu/dashboards.svg
  2. 1
      src/assets/menu/finance.svg
  3. 1
      src/assets/menu/manualSubmission.svg
  4. 1
      src/assets/menu/operatingTools.svg
  5. 1
      src/assets/menu/privateBrand.svg
  6. 1
      src/assets/menu/safetyProtection.svg
  7. 1
      src/assets/menu/setCenter.svg
  8. 1
      src/assets/menu/support.svg
  9. 4
      src/components/SliderMenu.vue
  10. 2
      src/main.js
  11. 286
      src/store/index.js

1
src/assets/menu/dashboards.svg

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="16" height="16" viewBox="0 0 16 16"><defs><clipPath id="master_svg0_854_028139"><rect x="0" y="0" width="16" height="16" rx="0"/></clipPath></defs><g clip-path="url(#master_svg0_854_028139)"><g><g><path d="M3.0513277,3.7542002L1.21527863,3.7542007Q0.58245233,3.7542,0.13497873999999999,4.2016685Q-0.31249994000000003,4.649141999999999,-0.31249994000000003,5.2819777L-0.3125,10.6596498Q-0.31249994000000003,11.292485,0.13497822999999998,11.739959Q0.5824523,12.187428,1.21527779,12.187428L3.0476639,12.187428Q3.5471158,12.965614,4.2781403000000005,13.735233Q6.1918702,15.749999,8.2152772,15.749999Q8.2891455,15.749998,8.361594199999999,15.735587Q8.4340434,15.721176,8.5022888,15.692907Q8.5705347,15.664639,8.6319542,15.623599Q8.6933746,15.58256,8.7456074,15.530327Q8.7978401,15.478094,8.8388796,15.416675Q8.8799191,15.355255,8.9081869,15.28701Q8.9364548,15.218764,8.9508657,15.146316Q8.9652767,15.073866,8.9652777,14.999999L8.9652777,1Q8.9652767,0.926131465,8.9508657,0.8536822900000001Q8.9364548,0.7812331299999999,8.908186,0.71298748Q8.8799181,0.6447418300000001,8.8388786,0.58332238Q8.7978401,0.52190292,8.7456074,0.46966993999999995Q8.6933746,0.41743702000000005,8.6319542,0.37639785000000003Q8.5705357,0.33535862000000005,8.5022898,0.30709034Q8.434043899999999,0.27882206,8.361594700000001,0.26441097Q8.2891455,0.24999987999999995,8.2152772,0.24999981999999998Q6.195529,0.25000005999999997,4.2824218,2.2311102Q3.5512307,2.9882921,3.0513277,3.7542002ZM3.4702501,5.2541995Q3.5689964,5.254199,3.6643779,5.2286401Q3.7597589,5.2030811,3.845274,5.1537046Q3.930789,5.1043282,4.000609600000001,5.0345001Q4.070429799999999,4.9646723,4.1197968,4.879152100000001Q4.5794473,4.0828784,5.3614397,3.2730896Q6.436821,2.159483,7.4652772,1.86008942L7.4652772,14.137605Q6.4397311,13.832908,5.3657198,12.702193Q4.5828819,11.878026,4.1224501,11.067111Q4.0733581,10.9806499,4.0034339,10.9099665Q3.9335101,10.839283,3.8475845,10.7892618Q3.7616587,10.7392397,3.6656673,10.7133341Q3.5696759,10.6874285,3.4702501,10.6874285L1.21527779,10.6874285Q1.1874998799999998,10.6874285,1.1874998799999998,10.6596498L1.18749994,5.2819777Q1.18749994,5.2542005,1.21527696,5.2542005L3.4702501,5.2541995Z" fill-rule="evenodd" fill="#626573" fill-opacity="1"/></g><g><path d="M11.838089230883789,3.9405791199999998Q12.262389720883789,4.31946817,12.599128830883789,4.78051341Q13.10074153088379,5.46730965,13.36802553088379,6.2760181Q13.644096630883789,7.1113126,13.644096630883789,7.999999799999999Q13.644096630883789,8.881012,13.37265613088379,9.709876099999999Q13.10984423088379,10.5123916,12.61613033088379,11.1960812Q12.273219410883788,11.6708593,11.838090600883788,12.0594196Q11.735003590883789,12.151474,11.605875370883789,12.200737Q11.476747170883788,12.25,11.338541030883789,12.25Q11.26467248788379,12.249999500000001,11.192223310883788,12.2355886Q11.119774150883789,12.2211771,11.05152851088379,12.1929088Q10.983282860883788,12.1646404,10.92186341088379,12.1236019Q10.86044395088379,12.0825624,10.808210970883788,12.0303297Q10.755978050883789,11.9780965,10.714938880883789,11.916677Q10.67389971088379,11.8552575,10.645631430883789,11.7870121Q10.617363150883788,11.718766200000001,10.602952120883788,11.6463175Q10.588541030883789,11.5738683,10.588541030883789,11.5Q10.588541030883789,11.3397751,10.654011370883788,11.1935377Q10.719481590883788,11.047299899999999,10.838991880883789,10.9405799L10.839974040883789,10.939703Q11.15299347088379,10.659993199999999,11.40013090188379,10.317818599999999Q12.14409649088379,9.2875829,12.14409649088379,7.999999799999999Q12.144096610883789,6.7007101,11.387809607883788,5.6652199Q11.144817920883789,5.33252895,10.839069630883788,5.05948925L10.83899304088379,5.05942088Q10.71948242088379,4.95270336,10.65401173088379,4.80646509Q10.588541030883789,4.66022685,10.588541030883789,4.5Q10.588541030883789,4.426131457,10.602952120883788,4.35368228Q10.617363150883788,4.28123312,10.645631430883789,4.21298748Q10.67389971088379,4.14474183,10.714938880883789,4.08332238Q10.755978050883789,4.02190292,10.808210970883788,3.96966994Q10.86044395088379,3.91743702,10.92186341088379,3.87639785Q10.983282860883788,3.83535868,11.05152851088379,3.8070904Q11.119774150883789,3.77882212,11.192223310883788,3.76441109Q11.26467248788379,3.75,11.338541030883789,3.75Q11.476746680883789,3.75,11.60587454088379,3.7992626400000002Q11.73500237088379,3.84852529,11.838089230883789,3.9405791199999998Z" fill-rule="evenodd" fill="#626573" fill-opacity="1"/></g></g></g></svg>

After

Width:  |  Height:  |  Size: 4.5 KiB

1
src/assets/menu/finance.svg

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.1 KiB

1
src/assets/menu/manualSubmission.svg

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 7.1 KiB

1
src/assets/menu/operatingTools.svg

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.3 KiB

1
src/assets/menu/privateBrand.svg

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="16" height="16" viewBox="0 0 16 16"><defs><clipPath id="master_svg0_854_028550"><rect x="0" y="0" width="16" height="16" rx="0"/></clipPath></defs><g clip-path="url(#master_svg0_854_028550)"><g><g><path d="M8.0062494,12.948874L2.75071341,15.666217Q2.68509674,15.700143,2.61412215,15.720616Q2.54314755,15.741089,2.469542503,15.747323Q2.395937461,15.753557,2.322530568,15.745312Q2.24912368,15.737066,2.17873591,15.714658Q2.1083481600000002,15.692249,2.04368451,15.65654Q1.9790208599999999,15.620831,1.92256629,15.573192Q1.86611176,15.525553,1.82003582,15.467815Q1.77395982,15.410079,1.7400330899999998,15.344463Q1.65625,15.182421,1.65625,15L1.65625,1.6999999300000002Q1.65625,1.09939003,2.08094507,0.6746950700000001Q2.50564003,0.25000012000000005,3.10624981,0.25000012000000005L12.90625,0.25Q13.506868,0.25,13.931562,0.6746982Q14.356249,1.099389844,14.356249,1.6999999300000002L14.356249,15Q14.356249,15.073868,14.341839,15.146317Q14.327427,15.218765,14.299158,15.287011Q14.270889,15.355257,14.229851,15.416676Q14.18881,15.478096,14.136578,15.530329Q14.084345,15.582561,14.022924,15.6236Q13.961506,15.664639,13.89326,15.692908Q13.825014,15.721176,13.752565,15.735588Q13.680117,15.749999,13.606249,15.75Q13.423828,15.75,13.261786,15.666217L8.0062494,12.948874ZM8.3507128,11.438337Q8.2708549,11.397047,8.1835022,11.3758Q8.096149,11.354554,8.0062494,11.354554Q7.9163494,11.354554,7.8289962,11.3758Q7.741643,11.397047,7.6617861,11.438337L3.15625,13.767898L3.15625,1.75000006L12.856249,1.75L12.856249,13.767898L8.3507128,11.438337Z" fill-rule="evenodd" fill="#626573" fill-opacity="1"/></g><g><path d="M5.1875,5.1484375L10.787500399999999,5.1484375Q10.861369100000001,5.1484375,10.933817900000001,5.16284859Q11.0062666,5.17725962,11.0745125,5.2055279Q11.1427579,5.23379618,11.2041769,5.27483535Q11.2655969,5.31587452,11.3178301,5.36810744Q11.3700628,5.42034042,11.4111023,5.48175988Q11.452141300000001,5.54317933,11.4804096,5.61142498Q11.5086784,5.67967062,11.5230894,5.75211978Q11.537500399999999,5.824568957,11.537500399999999,5.8984375Q11.537500399999999,5.972306043,11.5230894,6.04475522Q11.5086784,6.11720438,11.4804096,6.18545002Q11.452141300000001,6.25369567,11.4111023,6.31511512Q11.3700628,6.37653458,11.3178301,6.42876756Q11.2655969,6.48100048,11.2041769,6.52203965Q11.1427579,6.56307882,11.0745125,6.5913471Q11.0062666,6.61961538,10.933817900000001,6.63402641Q10.861369100000001,6.6484375,10.787500399999999,6.6484375L5.1875,6.6484375Q5.113631457,6.6484375,5.04118228,6.63402641Q4.96873312,6.61961538,4.90048748,6.5913471Q4.83224183,6.56307882,4.77082238,6.52203965Q4.70940292,6.48100048,4.65716994,6.42876756Q4.60493702,6.37653458,4.56389785,6.31511512Q4.52285868,6.25369567,4.4945904,6.18545002Q4.46632212,6.11720438,4.45191109,6.04475522Q4.4375,5.972306043,4.4375,5.8984375Q4.4375,5.824568957,4.45191109,5.75211978Q4.46632212,5.67967062,4.4945904,5.61142498Q4.52285868,5.54317933,4.56389785,5.48175988Q4.60493702,5.42034042,4.65716994,5.36810744Q4.70940292,5.31587452,4.77082238,5.27483535Q4.83224183,5.23379618,4.90048748,5.2055279Q4.96873312,5.17725962,5.04118228,5.16284859Q5.113631457,5.1484375,5.1875,5.1484375Z" fill-rule="evenodd" fill="#626573" fill-opacity="1"/></g></g></g></svg>

After

Width:  |  Height:  |  Size: 3.2 KiB

1
src/assets/menu/safetyProtection.svg

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 10 KiB

1
src/assets/menu/setCenter.svg

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 7.4 KiB

1
src/assets/menu/support.svg

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 7.0 KiB

4
src/components/SliderMenu.vue

@ -164,8 +164,8 @@ export default {
if (menuItem.path && this.$route.path !== menuItem.path) {
//menu external: true,
if(menuItem.external){
// location.href= menuItem.path
window.open(menuItem.path, '_blank')
location.href= this.$routerBaseApi + menuItem.path
// window.open(menuItem.path, '_blank')
return
}
this.$router.push(menuItem.path);

2
src/main.js

@ -46,7 +46,7 @@ function filterByPermission(data, targetPermission) {
return newItem;
});
}
Vue.prototype.$routerBaseApi = 'http://admin.pengda.checkcopy.com/';
// 复制
Vue.prototype.$copy = modernCopyToClipboard;
Vue.prototype.$filterByPermission = filterByPermission;

286
src/store/index.js

@ -107,50 +107,298 @@ export default new Vuex.Store({
},
{
index: '2',
title: '自有品牌',
icon: 'privateBrand',
children: [{
index: '2-1',
title: '站点配置',
path: '/service/oem_site',
external: true,//是否跳转外部链接
},
{
index: '2-2',
title: '用户充值',
path: '/service/user_recharge',
external: true,//是否跳转外部链接
},
{
index: '2-3',
title: '自有品牌',
path: '/service/oem_free',
external: true,//是否跳转外部链接
},
]
},
{
index: '3',
title: '订单列表',
icon: 'orderList',
children: [{
index: '2-1',
index: '3-1',
title: '查重订单',
path: '/agent/checkOrderList'
},
{
index: '2-2',
index: '3-2',
title: 'AI写作订单',
path: '/agent/aiOrderList'
},
{
index: '2-3',
index: '3-3',
title: 'OCPC订单',
path: '/agent/ocpcList'
},
{
index: '3-4',
title: '电商废弃平台',
path: '/service/void_order',
external: true,//是否跳转外部链接
},
]
},
{
index: '3',
title: '销售渠道',
index: '4',
title: '销售平台',
icon: 'channel',
children: [{
index: '3-1',
title: '站点列表',
path: '/agent/siteList'
}, ]
children: [
{
index: '4-1',
title: '站点管理',
path: '/agent/siteList'
},
{
index: '4-2',
title: '微信h5',
path: '/service/ser_value_added',
external: true,//是否跳转外部链接
},
{
index: '4-3',
title: '小程序',
path: '/service/xcx/tab/1',
external: true,//是否跳转外部链接
},
]
},
{
index: '4',
title: '财务',
icon: 'Totalprofit',
index: '5',
title: '手工提交',
icon: 'manualSubmission',
children: [
{
index: '5-1',
title: '单篇查重',
path: '/service/check_new',
external: true,//是否跳转外部链接
},
{
index: '5-2',
title: '批量查重',
path: '/service/multiple_check',
external: true,//是否跳转外部链接
},
{
index: '5-3',
title: 'AI范文',
path: '/service/modelessay',
external: true,//是否跳转外部链接
},
{
index: '5-4',
title: 'AI降重',
path: '/service/reduce',
external: true,//是否跳转外部链接
},
{
index: '5-5',
title: '原文标红',
path: '/service/sign',
external: true,//是否跳转外部链接
},
{
index: '5-6',
title: '论文排版',
path: '/service/format',
external: true,//是否跳转外部链接
},
]
},
{
index: '6',
title: '运营工具',
icon: 'operatingTools',
children: [
{
index: '6-1',
title: '检测卡',
path: '/card/check_card_list',
external: true,//是否跳转外部链接
},
{
index: '6-2',
title: '微信代金券',
path: '/service/coupon_stocks',
external: true,//是否跳转外部链接
},
{
index: '6-3',
title: '公众号发券',
path: '/service/free_coupon_list',
external: true,//是否跳转外部链接
},
{
index: '6-4',
title: '卡密自提',
path: '/cardsecret/card_secret_type',
external: true,//是否跳转外部链接
},
{
index: '6-5',
title: '悬浮广告',
path: '/service/active_list',
external: true,//是否跳转外部链接
},
{
index: '6-6',
title: '报告插页',
path: '/ad/ad_list_page',
external: true,//是否跳转外部链接
},
{
index: '6-7',
title: '报告秘籍',
path: '/service/miji',
external: true,//是否跳转外部链接
},
{
index: '6-8',
title: '三级分销',
path: '/service/fx_tertiary',
external: true,//是否跳转外部链接
},
{
index: '6-9',
title: '裂变分销',
path: '/service/fx_fission',
external: true,//是否跳转外部链接
},
{
index: '6-10',
title: '合伙人',
path: '/partner/platform_info',
external: true,//是否跳转外部链接
},
]
},
{
index: '7',
title: '通知中心',
icon: 'dashboards',
children: [{
index: '4-1',
title: '收款方式',
path: '/agent/payList'
index: '7-1',
title: '检测通知',
path: '/service/check_notice',
external: true,//是否跳转外部链接
},{
index: '4-2',
title: '代收款结算',
path:'http://admin.pengda.checkcopy.com/pay/payoff_list?tab=info',
index: '7-2',
title: '消息通知',
path:'/service/news_notice',
external: true,//是否跳转外部链接
}
]
},
{
index: '8',
title: '财务',
icon: 'finance',
children: [
{
index: '8-1',
title: '收款方式',
path: '/agent/payList'
},
{
index: '8-2',
title: '充值管理',
path: '/service/repay',
external: true,//是否跳转外部链接
},
{
index: '8-3',
title: '代收款结算',
path:'/pay/payoff_list?tab=info',
external: true,//是否跳转外部链接
},
{
index: '8-4',
title: '收支统计',
path:'/stats',
external: true,//是否跳转外部链接
}
]
},
{
index: '9',
title: '安全防护',
icon: 'safetyProtection',
children: [
{
index: '9-1',
title: 'IP黑名单',
path: '/safe/ipblacklist',
external: true,//是否跳转外部链接
},
{
index: '9-2',
title: '访问限制',
path: '/safe/limited_access',
external: true,//是否跳转外部链接
},
]
},
{
index: '10',
title: '设置中心',
icon: 'setCenter',
children: [
{
index: '10-1',
title: '基本设置',
path: '/service/base_set',
external: true,//是否跳转外部链接
},
{
index: '10-2',
title: '子账号',
path: '/service/login_user_list',
external: true,//是否跳转外部链接
},
{
index: '10-3',
title: '服务公告',
path: '/service/agent_notice',
external: true,//是否跳转外部链接
},
{
index: '10-4',
title: '上传文档格式',
path: '/service/check_submit_setting',
external: true,//是否跳转外部链接
},
]
},
{
index: '11',
title: '支持',
icon: 'support',
children: [
{
index: '11-1',
title: '开放平台',
path: '/service/open_api',
external: true,//是否跳转外部链接
}
]
}
],
siteSettingData1: [{

Loading…
Cancel
Save