应用权限

dev
yujialong 3 years ago
parent 9444b70ab0
commit 60868d98a9
  1. 3
      src/views/customer/Permission.vue
  2. 7
      src/views/customer/customer.vue

@ -6,7 +6,7 @@
<div class="per_title" v-preventReClick @click="goback()">
<i class="el-icon-arrow-left"></i>
<span class="per_back">返回</span>
<span class="per_school">南京大学应用权限</span>
<span class="per_school">{{customerName}}</span>
</div>
</el-card>
@ -164,6 +164,7 @@
export default {
data (){
return {
customerName: this.$route.query.name,
permissionData: [{
id: 1,
age: '小额贷系统',

@ -84,7 +84,7 @@
<el-button type="text" @click="show(scope.row)">查看</el-button>
<el-button type="text" @click="edit(scope.row)">编辑</el-button>
<el-button type="text" @click="handleDelete(scope.row)">删除</el-button>
<el-button type="text" @click="permission">应用权限</el-button>
<el-button type="text" @click="permission(scope.row)">应用权限</el-button>
</template>
</el-table-column>
</el-table>
@ -132,6 +132,7 @@ export default {
},
},
mounted() {
console.log(111,localStorage.getItem('token'))
this.getData()
this.getProvince()
},
@ -176,8 +177,8 @@ export default {
this.cityList = res.list
}).catch(res => {})
},
permission(){
this.$router.push('/permission')
permission(row){
this.$router.push(`/permission?name=${row.customerName}`)
},
addcustomer(){
this.$router.push('addcustomer')

Loading…
Cancel
Save