Commit b5a1bfbe authored by Marcus's avatar Marcus

优惠申请详情

parent e1b31a28
......@@ -273,7 +273,14 @@ export const constantRoutes = [
props: true,
name: 'offer',
meta: {title: '特价申请', icon: '', activeMenu: '/offer/special'}
}
},
{
path: 'discount/:id(\\d+)',
component: (resolve) => import('@/views/ecw/offer/specialDiscount'),
props: true,
name: 'offer',
meta: {title: '优惠申请', icon: '', activeMenu: '/offer/discount'}
},
]
}
]
......
......@@ -48,9 +48,11 @@
<el-table-column
prop="address"
label="操作">
<el-button size="mini" type="text" v-hasPermi="['ecw:offer:update']">优惠申请</el-button>
<template v-slot="{row}">
<el-button size="mini" type="text" v-hasPermi="['ecw:offer:update']" @click="$router.push('/offer/discount/' + row.lineId)">优惠申请</el-button>
<el-button size="mini" type="text" v-hasPermi="['ecw:offer:update']">佣金规则</el-button>
<el-button size="mini" type="text" v-hasPermi="['ecw:offer:update']">管理折扣</el-button>
</template>
</el-table-column>
</el-table>
......
<template>
<div>
<h3>优惠申请</h3>
{{ id }}
</div>
</template>
<script>
export default {
name: "specialDiscount",
props: {
id: String
}
}
</script>
<style scoped>
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment