updata
This commit is contained in:
parent
8f94f97555
commit
4b258baf41
@ -19,6 +19,7 @@ import ShowGpu from "@/views/product/productHome/capitalOnline/productItem/GpuPr
|
|||||||
import ShowEip from "@/views/product/productHome/capitalOnline/Net/Eip/showEip/index.vue";
|
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 CreateEip from "@/views/product/productHome/capitalOnline/Net/Eip/createEip/index.vue";
|
||||||
import { getHomePath } from '@/views/setting/tools'
|
import { getHomePath } from '@/views/setting/tools'
|
||||||
|
import { h } from "vue";
|
||||||
Vue.use(Router);
|
Vue.use(Router);
|
||||||
|
|
||||||
// const originalPush = Router.prototype.push
|
// const originalPush = Router.prototype.push
|
||||||
@ -192,7 +193,7 @@ export const constantRoutes = [
|
|||||||
meta: { title: "算力供需广场", fullPath: "/ncmatch/supplyAndDemandSquare" },
|
meta: { title: "算力供需广场", fullPath: "/ncmatch/supplyAndDemandSquare" },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "search",
|
path: "search",
|
||||||
component: () => import("@/views/homePage/ncmatch/searchBox/index.vue"),
|
component: () => import("@/views/homePage/ncmatch/searchBox/index.vue"),
|
||||||
name: "search",
|
name: "search",
|
||||||
hidden: true,
|
hidden: true,
|
||||||
@ -200,18 +201,18 @@ export const constantRoutes = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "historyBox",
|
path: "historyBox",
|
||||||
component: () => import("@/views/homePage/ncmatch/historyBox/index.vue"),
|
component: () => import("@/views/homePage/ncmatch/historyBox/index.vue"),
|
||||||
name: "historyBox",
|
name: "historyBox",
|
||||||
hidden: true,
|
hidden: true,
|
||||||
meta: { title: "浏览记录", fullPath: "/ncmatch/historyBox" },
|
meta: { title: "浏览记录", fullPath: "/ncmatch/historyBox" },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "favoriteBox",
|
path: "favoriteBox",
|
||||||
component: () => import("@/views/homePage/ncmatch/favoriteBox/index.vue"),
|
component: () => import("@/views/homePage/ncmatch/favoriteBox/index.vue"),
|
||||||
name: "favoriteBox",
|
name: "favoriteBox",
|
||||||
hidden: true,
|
hidden: true,
|
||||||
meta: { title: "我的关注", fullPath: "/ncmatch/favoriteBox" },
|
meta: { title: "我的关注", fullPath: "/ncmatch/favoriteBox" },
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -369,13 +370,13 @@ export const asyncRoutes = [
|
|||||||
path: "/consultingMangement",
|
path: "/consultingMangement",
|
||||||
name: 'ConsultingMangement',
|
name: 'ConsultingMangement',
|
||||||
component: Layout,
|
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: [
|
children: [
|
||||||
{
|
{
|
||||||
path: "index",
|
path: "index",
|
||||||
component: () => import('@/views/operation/consultingMangement/index.vue'),
|
component: () => import('@/views/operation/consultingMangement/index.vue'),
|
||||||
name: 'ConsultingMangement',
|
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" },
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -769,6 +770,31 @@ export const asyncRoutes = [
|
|||||||
name: "WorkOrderManagement",
|
name: "WorkOrderManagement",
|
||||||
meta: { title: "工单管理", fullPath: "/customer/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',
|
path: 'approve',
|
||||||
component: () => import('@/views/customer/ncApprove/index.vue'),
|
component: () => import('@/views/customer/ncApprove/index.vue'),
|
||||||
@ -891,7 +917,7 @@ export const asyncRoutes = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "/qualificationReview",
|
path: "/qualificationReview",
|
||||||
component:Layout,
|
component: Layout,
|
||||||
name: "qualificationReview",
|
name: "qualificationReview",
|
||||||
redirect: "/qualificationReview/index",
|
redirect: "/qualificationReview/index",
|
||||||
meta: { fullPath: "/qualificationReview", title: "资质审核", noCache: true, icon: 'el-icon-s-home' },
|
meta: { fullPath: "/qualificationReview", title: "资质审核", noCache: true, icon: 'el-icon-s-home' },
|
||||||
@ -913,7 +939,7 @@ export const asyncRoutes = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "/approveMangement",
|
path: "/approveMangement",
|
||||||
component:Layout,
|
component: Layout,
|
||||||
name: "approveMangement",
|
name: "approveMangement",
|
||||||
redirect: "/approveMangement/index",
|
redirect: "/approveMangement/index",
|
||||||
meta: { fullPath: "/approveMangement", title: "供需审核", noCache: true, icon: 'el-icon-s-home' },
|
meta: { fullPath: "/approveMangement", title: "供需审核", noCache: true, icon: 'el-icon-s-home' },
|
||||||
@ -935,7 +961,7 @@ export const asyncRoutes = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "/productMangement",
|
path: "/productMangement",
|
||||||
component:Layout,
|
component: Layout,
|
||||||
name: "productMangement",
|
name: "productMangement",
|
||||||
redirect: "/productMangement/index",
|
redirect: "/productMangement/index",
|
||||||
meta: { fullPath: "/productMangement", title: "商品管理", noCache: true, icon: 'el-icon-s-home' },
|
meta: { fullPath: "/productMangement", title: "商品管理", noCache: true, icon: 'el-icon-s-home' },
|
||||||
@ -956,7 +982,7 @@ export const asyncRoutes = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "/menuMangement",
|
path: "/menuMangement",
|
||||||
component:Layout,
|
component: Layout,
|
||||||
name: "menuMangement",
|
name: "menuMangement",
|
||||||
redirect: "/menuMangement/index",
|
redirect: "/menuMangement/index",
|
||||||
meta: { fullPath: "/menuMangement", title: "菜单管理", noCache: true, icon: 'el-icon-s-home' },
|
meta: { fullPath: "/menuMangement", title: "菜单管理", noCache: true, icon: 'el-icon-s-home' },
|
||||||
@ -971,7 +997,7 @@ export const asyncRoutes = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "/demandMangement",
|
path: "/demandMangement",
|
||||||
component:Layout,
|
component: Layout,
|
||||||
name: "demandMangement",
|
name: "demandMangement",
|
||||||
redirect: "/demandMangement/index",
|
redirect: "/demandMangement/index",
|
||||||
meta: { fullPath: "/demandMangement", title: "需求管理", noCache: true, icon: 'el-icon-s-home' },
|
meta: { fullPath: "/demandMangement", title: "需求管理", noCache: true, icon: 'el-icon-s-home' },
|
||||||
@ -1028,7 +1054,8 @@ export const asyncRoutes = [
|
|||||||
component: () => import("@/views/sales/floorPrice"),
|
component: () => import("@/views/sales/floorPrice"),
|
||||||
name: "floorPrice",
|
name: "floorPrice",
|
||||||
meta: { title: "底价设置", fullPath: "/sales/floorPrice" },
|
meta: { title: "底价设置", fullPath: "/sales/floorPrice" },
|
||||||
}, {
|
},
|
||||||
|
{
|
||||||
path: "bdUserMangement",
|
path: "bdUserMangement",
|
||||||
component: () => import("@/views/sales/BdUserMangement"),
|
component: () => import("@/views/sales/BdUserMangement"),
|
||||||
name: "floorPrice",
|
name: "floorPrice",
|
||||||
@ -1046,7 +1073,8 @@ export const asyncRoutes = [
|
|||||||
title: "账单管理", fullPath: "/sales/BdUserMangement/billMangement",
|
title: "账单管理", fullPath: "/sales/BdUserMangement/billMangement",
|
||||||
},
|
},
|
||||||
},]
|
},]
|
||||||
}, {
|
},
|
||||||
|
{
|
||||||
path: "customerManagement",
|
path: "customerManagement",
|
||||||
component: () => import("@/views/sales/customerManagement"),
|
component: () => import("@/views/sales/customerManagement"),
|
||||||
name: "Customer",
|
name: "Customer",
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
<el-col :span="8" style="overflow-x: auto;min-width: 100px;" class="treeCard">
|
<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-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>
|
<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);!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>
|
<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>
|
||||||
</el-card>
|
</el-card>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="16">
|
<el-col :span="16">
|
||||||
@ -349,6 +349,9 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
.el-button{
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
.departmentManagement {
|
.departmentManagement {
|
||||||
height: 85vh;
|
height: 85vh;
|
||||||
.left {
|
.left {
|
||||||
@ -376,7 +379,3 @@ padding: 0;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<style>
|
|
||||||
|
|
||||||
|
|
||||||
</style>
|
|
||||||
|
|||||||
@ -0,0 +1,22 @@
|
|||||||
|
<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>
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
京东云 (测试menu)
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less" scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
15
f/web-kboss/src/views/customer/unsubscribe/index.vue
Normal file
15
f/web-kboss/src/views/customer/unsubscribe/index.vue
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<router-view></router-view>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less" scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
@ -231,6 +231,8 @@ export default {
|
|||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
treeDelChange(obj) {
|
treeDelChange(obj) {
|
||||||
delPermissionAPI({ id: obj.data.id }).then(res => {
|
delPermissionAPI({ id: obj.data.id }).then(res => {
|
||||||
@ -251,6 +253,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
treeUpdateChange(obj) {
|
treeUpdateChange(obj) {
|
||||||
|
console.log('obj.node:', obj.node);
|
||||||
this.isDisabled = false
|
this.isDisabled = false
|
||||||
this.form = JSON.parse(JSON.stringify(obj.node))
|
this.form = JSON.parse(JSON.stringify(obj.node))
|
||||||
// console.log(obj);
|
// console.log(obj);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user