From 86f32d22fa13f156be93d8746260034de0caf5b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=88=98=E7=BF=94=E5=AE=87-=E6=97=85=E7=AE=A1=E5=AE=B6?=
<153298343@qq.com>
Date: Thu, 30 Mar 2023 11:35:02 +0800
Subject: [PATCH] up
---
.env.production | 4 ++--
src/views/system/role.vue | 23 +++++++++++++++++++----
2 files changed, 21 insertions(+), 6 deletions(-)
diff --git a/.env.production b/.env.production
index 80bba44..ab0119b 100644
--- a/.env.production
+++ b/.env.production
@@ -2,5 +2,5 @@
ENV = 'production'
# base api
-VUE_APP_BASE_API = https://starter.ali251.langye.net
-VUE_APP_UPLOAD_API =https://starter.ali251.langye.net/api/admin/upload-file
\ No newline at end of file
+VUE_APP_BASE_API = https://bd-fangke.ali251.langye.net
+VUE_APP_UPLOAD_API = https://bd-fangke.ali251.langye.net/api/admin/upload-file
\ No newline at end of file
diff --git a/src/views/system/role.vue b/src/views/system/role.vue
index cc44457..60b2696 100644
--- a/src/views/system/role.vue
+++ b/src/views/system/role.vue
@@ -21,6 +21,13 @@
+
+
+ 所有
+ 部门
+ 私有
+
+
@@ -37,8 +44,15 @@
+
+
+
+
+ 所有
+ 部门
+ 私有
+
-
@@ -103,7 +117,8 @@
form: {
name: "",
id: "",
- sortnumber: "0"
+ sortnumber: "0",
+ allow_level:0
},
userdata: [],
filterMethod(query, item) {
@@ -125,7 +140,7 @@
setForm: {
name: "",
ids: [],
- role_id:""
+ role_id: ""
}
}
},
@@ -160,7 +175,7 @@
this.setForm.role_id = "";
this.setForm.ids = [];
this.setForm.name = obj.name;
- this.setForm.role_id=obj.id;
+ this.setForm.role_id = obj.id;
if (obj.admin) {
for (var m of obj.admin) {
this.setForm.ids.push(m.id);