Compare commits

..

No commits in common. "9e918d37e0131676ed24ea9ba92f8f800743fd15" and "d8b57bc6d21e8e5b32cb58e074cba074d7ed6e30" have entirely different histories.

7 changed files with 29 additions and 111 deletions

View File

@ -19,7 +19,6 @@ import ShowGpu from "@/views/product/productHome/capitalOnline/productItem/GpuPr
import ShowEip from "@/views/product/productHome/capitalOnline/Net/Eip/showEip/index.vue";
import CreateEip from "@/views/product/productHome/capitalOnline/Net/Eip/createEip/index.vue";
import { getHomePath } from '@/views/setting/tools'
import { h } from "vue";
Vue.use(Router);
// const originalPush = Router.prototype.push
@ -193,7 +192,7 @@ export const constantRoutes = [
meta: { title: "算力供需广场", fullPath: "/ncmatch/supplyAndDemandSquare" },
},
{
path: "search",
path: "search",
component: () => import("@/views/homePage/ncmatch/searchBox/index.vue"),
name: "search",
hidden: true,
@ -201,18 +200,18 @@ export const constantRoutes = [
},
{
path: "historyBox",
component: () => import("@/views/homePage/ncmatch/historyBox/index.vue"),
name: "historyBox",
hidden: true,
meta: { title: "浏览记录", fullPath: "/ncmatch/historyBox" },
},
{
path: "favoriteBox",
component: () => import("@/views/homePage/ncmatch/favoriteBox/index.vue"),
name: "favoriteBox",
hidden: true,
meta: { title: "我的关注", fullPath: "/ncmatch/favoriteBox" },
},
component: () => import("@/views/homePage/ncmatch/historyBox/index.vue"),
name: "historyBox",
hidden: true,
meta: { title: "浏览记录", fullPath: "/ncmatch/historyBox" },
},
{
path: "favoriteBox",
component: () => import("@/views/homePage/ncmatch/favoriteBox/index.vue"),
name: "favoriteBox",
hidden: true,
meta: { title: "我的关注", fullPath: "/ncmatch/favoriteBox" },
},
]
},
{
@ -370,13 +369,13 @@ export const asyncRoutes = [
path: "/consultingMangement",
name: 'ConsultingMangement',
component: Layout,
meta: { title: "咨询表单", fullPath: "/consultingMangement", noCache: true, icon: "el-icon-s-platform" },
meta: { title: "咨询表单", fullPath: "/consultingMangement", noCache: true,icon: "el-icon-s-platform" },
children: [
{
path: "index",
component: () => import('@/views/operation/consultingMangement/index.vue'),
name: 'ConsultingMangement',
meta: { title: "咨询表单", fullPath: "/consultingMangement/index", noCache: true, icon: "el-icon-s-platform" },
meta: { title: "咨询表单", fullPath: "/consultingMangement/index", noCache: true,icon: "el-icon-s-platform" },
}
]
},
@ -770,31 +769,6 @@ export const asyncRoutes = [
name: "WorkOrderManagement",
meta: { title: "工单管理", fullPath: "/customer/workOrderManagement" },
},
{
path: "unsubscribe",
// 不要写 component
component: () => import("@/views/customer/unsubscribe"),
name: "Unsubscribe",
meta: {
title: "退订管理",
alwaysShow: true
},
children: [
{
path: "BaiduNetdisk",
component: () => import("@/views/customer/unsubscribe/BaiduNetdisk.vue"),
name: "BaiduNetdisk",
meta: { title: "百度云" }
},
{
path: "JDNetdisk", // 可选:默认子路由
// component: () => import("@/views/customer/unsubscribe/JDNetdisk/index.vue"),
name: "JDNetdisk",
meta: { title: "其他" }
}
]
},
{
path: 'approve',
component: () => import('@/views/customer/ncApprove/index.vue'),
@ -917,7 +891,7 @@ export const asyncRoutes = [
},
{
path: "/qualificationReview",
component: Layout,
component:Layout,
name: "qualificationReview",
redirect: "/qualificationReview/index",
meta: { fullPath: "/qualificationReview", title: "资质审核", noCache: true, icon: 'el-icon-s-home' },
@ -939,7 +913,7 @@ export const asyncRoutes = [
},
{
path: "/approveMangement",
component: Layout,
component:Layout,
name: "approveMangement",
redirect: "/approveMangement/index",
meta: { fullPath: "/approveMangement", title: "供需审核", noCache: true, icon: 'el-icon-s-home' },
@ -961,7 +935,7 @@ export const asyncRoutes = [
},
{
path: "/productMangement",
component: Layout,
component:Layout,
name: "productMangement",
redirect: "/productMangement/index",
meta: { fullPath: "/productMangement", title: "商品管理", noCache: true, icon: 'el-icon-s-home' },
@ -982,7 +956,7 @@ export const asyncRoutes = [
},
{
path: "/menuMangement",
component: Layout,
component:Layout,
name: "menuMangement",
redirect: "/menuMangement/index",
meta: { fullPath: "/menuMangement", title: "菜单管理", noCache: true, icon: 'el-icon-s-home' },
@ -997,7 +971,7 @@ export const asyncRoutes = [
},
{
path: "/demandMangement",
component: Layout,
component:Layout,
name: "demandMangement",
redirect: "/demandMangement/index",
meta: { fullPath: "/demandMangement", title: "需求管理", noCache: true, icon: 'el-icon-s-home' },
@ -1016,7 +990,7 @@ export const asyncRoutes = [
},
]
},
{
path: "/sales", component: Layout,
@ -1054,8 +1028,7 @@ export const asyncRoutes = [
component: () => import("@/views/sales/floorPrice"),
name: "floorPrice",
meta: { title: "底价设置", fullPath: "/sales/floorPrice" },
},
{
}, {
path: "bdUserMangement",
component: () => import("@/views/sales/BdUserMangement"),
name: "floorPrice",
@ -1073,8 +1046,7 @@ export const asyncRoutes = [
title: "账单管理", fullPath: "/sales/BdUserMangement/billMangement",
},
},]
},
{
}, {
path: "customerManagement",
component: () => import("@/views/sales/customerManagement"),
name: "Customer",

View File

@ -4,7 +4,7 @@
<el-col :span="8" style="overflow-x: auto;min-width: 100px;" class="treeCard">
<el-card class="left" style="font-size: 14px;overflow-x: auto!important;padding: 0!important;min-width: 200px;">
<el-button type="primary" size="small" v-if="treeData.length==[]" @click="addDepartment()">请添加部门</el-button>
<Tree id="tree" style="overflow-x: auto!important; height: calc(100vh - 106px);" v-else ref="tree" node-key="id" :tree-data="treeData" :add-form-arr="addFormArr" :add-form="addForm" @treeDelChange="treeDelChange" :default-props="defaultProps" :default-expand-all="true" :is-add-del="true" @treeSubmitChange="treeSubmitChange" @treeUpdateChange="treeUpdateChange" @treeEditChange="treeEditChange"></Tree>
<Tree id="tree" style="overflow-x: auto!important; height: calc(100vh - 106px);!important;" v-else ref="tree" node-key="id" :tree-data="treeData" :add-form-arr="addFormArr" :add-form="addForm" @treeDelChange="treeDelChange" :default-props="defaultProps" :default-expand-all="true" :is-add-del="true" @treeSubmitChange="treeSubmitChange" @treeUpdateChange="treeUpdateChange" @treeEditChange="treeEditChange"></Tree>
</el-card>
</el-col>
<el-col :span="16">
@ -349,9 +349,6 @@ export default {
</script>
<style lang="scss" scoped>
.el-button{
margin-bottom: 10px;
}
.departmentManagement {
height: 85vh;
.left {
@ -379,3 +376,7 @@ padding: 0;
}
}
</style>
<style>
</style>

View File

@ -1,22 +0,0 @@
<template>
<div class="box">
<iframe src="https://console.vcp.baidu.com/billing/#/refund/list" frameborder="0" class="baidu-style"></iframe>
</div>
</template>
<script>
export default {
}
</script>
<style lang="less" scoped>
.box{
padding: 10px;
}
.baidu-style{
width: 100%;
height: calc(100vh - 100px);
}
</style>

View File

@ -1,15 +0,0 @@
<template>
<div>
京东云 测试menu
</div>
</template>
<script>
export default {
}
</script>
<style lang="less" scoped>
</style>

View File

@ -1,15 +0,0 @@
<template>
<div>
<router-view></router-view>
</div>
</template>
<script>
export default {
}
</script>
<style lang="less" scoped>
</style>

View File

@ -365,6 +365,6 @@ export default {
box-sizing: border-box;
}
.addbtn {
margin: 0px 10px 10px 10px;
margin: 0px 0px 10px 0px;
}
</style>

View File

@ -231,8 +231,6 @@ export default {
})
},
treeDelChange(obj) {
delPermissionAPI({ id: obj.data.id }).then(res => {
@ -253,7 +251,6 @@ export default {
})
},
treeUpdateChange(obj) {
console.log('obj.node:', obj.node);
this.isDisabled = false
this.form = JSON.parse(JSON.stringify(obj.node))
// console.log(obj);