|
@@ -1,7 +1,9 @@
|
|
<template>
|
|
<template>
|
|
<div class="">
|
|
<div class="">
|
|
<div class="">
|
|
<div class="">
|
|
- <el-button type="primary" class="addBtn" @click="addAddr">新建地址</el-button>
|
|
|
|
|
|
+ <auth auths="musicGroupShippingAddress/add">
|
|
|
|
+ <el-button type="primary" class="addBtn" @click="addAddr">新建地址</el-button></auth>
|
|
|
|
+
|
|
<div class="tableWrap">
|
|
<div class="tableWrap">
|
|
<el-table
|
|
<el-table
|
|
:header-cell-style="{ background: '#EDEEF0', color: '#444' }"
|
|
:header-cell-style="{ background: '#EDEEF0', color: '#444' }"
|
|
@@ -13,18 +15,22 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column label="操作" prop="sn" width="100px" align="center">
|
|
<el-table-column label="操作" prop="sn" width="100px" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
|
+ <auth auths="musicGroupShippingAddress/update">
|
|
<el-button
|
|
<el-button
|
|
@click="resetAddr(scope.row)"
|
|
@click="resetAddr(scope.row)"
|
|
|
|
|
|
type="text"
|
|
type="text"
|
|
>修改</el-button
|
|
>修改</el-button
|
|
>
|
|
>
|
|
|
|
+ </auth>
|
|
|
|
+ <auth auths="musicGroupShippingAddress/delete">
|
|
<el-button
|
|
<el-button
|
|
@click="deleteAddr(scope.row)"
|
|
@click="deleteAddr(scope.row)"
|
|
|
|
|
|
type="text"
|
|
type="text"
|
|
>删除</el-button
|
|
>删除</el-button
|
|
>
|
|
>
|
|
|
|
+ </auth>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|