应用权限

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

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

Loading…
Cancel
Save