Commit 8f09ee14 by 王志慧

commit

1 parent 2dfb25d0
......@@ -137,17 +137,17 @@ export const routerName = {
activePath: "/orderList"
},
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 @@
</el-table-column>
<el-table-column label="操作" align="center" fixed="right">
<template slot-scope="scope">
<auth-button :data="scope" />
<auth-button slot="auth-button"
:show-btn-ids="['9040102']"
:data="scope.scope" />
</template>
</el-table-column>
</el-table>
......
......@@ -19,11 +19,13 @@
<script>
import Order from "./order.vue"
import CrowdFunding from "./crowdfunding.vue"
import carDamage from "./carDamage.vue"
export default {
name: "OrderList",
components: {
Order,
CrowdFunding
CrowdFunding,
carDamage
},
data() {
return {
......@@ -36,6 +38,10 @@ export default {
{
label: "众筹订单",
name: "2"
},
{
label: "2.0车损升级",
name: "3"
}
],
tabName: "Order"
......@@ -51,7 +57,8 @@ export default {
handleClick() {
let arr = {
1: "order",
2: "crowd-funding"
2: "crowd-funding",
3: "carDamage"
}
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!