新增运营商详情页面

This commit is contained in:
JS-LM
2023-06-01 16:09:16 +08:00
parent b654081c07
commit 23fa716c5c
3 changed files with 51 additions and 1 deletions

View 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>

View File

@@ -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