mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-05 02:20:12 +08:00
新增运营商详情页面
This commit is contained in:
28
jsowell-ui/src/views/pile/merchant/detail.vue
Normal file
28
jsowell-ui/src/views/pile/merchant/detail.vue
Normal file
@@ -0,0 +1,28 @@
|
||||
<template>
|
||||
<el-tabs v-model="activeName" type="border-card" @tab-click="handleClick">
|
||||
<el-tab-pane label="用户管理" name="first">用户管理</el-tab-pane>
|
||||
<el-tab-pane label="配置管理" name="second">配置管理</el-tab-pane>
|
||||
<el-tab-pane label="角色管理" name="third">角色管理</el-tab-pane>
|
||||
<el-tab-pane label="定时任务补偿" name="fourth">定时任务补偿</el-tab-pane>
|
||||
</el-tabs>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
activeName: 'first',
|
||||
merchantId:this.$route.params.id
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
handleClick(tab, event) {
|
||||
console.log(tab, event);
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
||||
@@ -90,7 +90,16 @@
|
||||
>
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<!--<el-table-column label="" align="center" prop="id" />-->
|
||||
<el-table-column label="运营商名称" align="center" prop="merchantName" />
|
||||
<el-table-column label="运营商名称" align="center" prop="merchantName" >
|
||||
<template slot-scope="scope">
|
||||
<router-link
|
||||
:to="'/merchant/detail/index/'+scope.row.id"
|
||||
class="link-type"
|
||||
>
|
||||
<span>{{ scope.row.merchantName }}</span>
|
||||
</router-link>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="地址" align="center" prop="address" />
|
||||
<el-table-column label="状态" align="center" prop="status" />
|
||||
<el-table-column
|
||||
|
||||
Reference in New Issue
Block a user