Commit 8f09ee14 by 王志慧

commit

1 parent 2dfb25d0
...@@ -137,17 +137,17 @@ export const routerName = { ...@@ -137,17 +137,17 @@ export const routerName = {
activePath: "/orderList" activePath: "/orderList"
}, },
component: _import("orderManage/orderSupplement") component: _import("orderManage/orderSupplement")
},
90404: {
path: "/crowdfundDetail",
name: "crowdfundDetail",
meta: {
title: "查看订单",
authId: "90404",
parentId: "90401",
cache: false,
activePath: "/orderList"
},
component: _import("orderManage/crowdfundDetail")
} }
// 90404: {
// path: "/crowdfundDetail",
// name: "crowdfundDetail",
// meta: {
// title: "查看订单",
// authId: "90404",
// parentId: "90401",
// cache: false,
// activePath: "/orderList"
// },
// component: _import("orderManage/crowdfundDetail")
// }
} }
...@@ -237,7 +237,9 @@ ...@@ -237,7 +237,9 @@
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" fixed="right"> <el-table-column label="操作" align="center" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<auth-button :data="scope" /> <auth-button slot="auth-button"
:show-btn-ids="['9040102']"
:data="scope.scope" />
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
......
...@@ -19,11 +19,13 @@ ...@@ -19,11 +19,13 @@
<script> <script>
import Order from "./order.vue" import Order from "./order.vue"
import CrowdFunding from "./crowdfunding.vue" import CrowdFunding from "./crowdfunding.vue"
import carDamage from "./carDamage.vue"
export default { export default {
name: "OrderList", name: "OrderList",
components: { components: {
Order, Order,
CrowdFunding CrowdFunding,
carDamage
}, },
data() { data() {
return { return {
...@@ -36,6 +38,10 @@ export default { ...@@ -36,6 +38,10 @@ export default {
{ {
label: "众筹订单", label: "众筹订单",
name: "2" name: "2"
},
{
label: "2.0车损升级",
name: "3"
} }
], ],
tabName: "Order" tabName: "Order"
...@@ -51,7 +57,8 @@ export default { ...@@ -51,7 +57,8 @@ export default {
handleClick() { handleClick() {
let arr = { let arr = {
1: "order", 1: "order",
2: "crowd-funding" 2: "crowd-funding",
3: "carDamage"
} }
this.tabName = arr[+this.activeName] this.tabName = arr[+this.activeName]
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!