From 60868d98a9f9fb0bb903019b7a94eec7359d855f Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Tue, 20 Jul 2021 11:46:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=94=E7=94=A8=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/customer/Permission.vue | 3 ++- src/views/customer/customer.vue | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/views/customer/Permission.vue b/src/views/customer/Permission.vue index 0ac5b8c..52168be 100644 --- a/src/views/customer/Permission.vue +++ b/src/views/customer/Permission.vue @@ -6,7 +6,7 @@
返回 - 南京大学应用权限 + {{customerName}}
@@ -164,6 +164,7 @@ export default { data (){ return { + customerName: this.$route.query.name, permissionData: [{ id: 1, age: '小额贷系统', diff --git a/src/views/customer/customer.vue b/src/views/customer/customer.vue index e0f57f3..da8daec 100644 --- a/src/views/customer/customer.vue +++ b/src/views/customer/customer.vue @@ -84,7 +84,7 @@ 查看 编辑 删除 - 应用权限 + 应用权限 @@ -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')