From ef46e4b78e81418a831d4f7f21eb24d2fd4d35e1 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Sat, 25 Dec 2021 15:08:54 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/zhba_enterprises
---
src/views/securityEquipment/gun.vue | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/views/securityEquipment/gun.vue b/src/views/securityEquipment/gun.vue
index a22acae..e0bc7f7 100644
--- a/src/views/securityEquipment/gun.vue
+++ b/src/views/securityEquipment/gun.vue
@@ -139,9 +139,11 @@
},
created() {
var that = this;
+ this.deptIds = this.userInfo.dept_id;
if (
this.userInfo.role_name == "装备管理员" ||
- this.userInfo.role_name == "保安公司管理员"
+ this.userInfo.role_name == "保安公司管理员" ||
+ this.userInfo.role_name == "分公司管理员"
) {
this.useifid = this.userInfo.dept_id;
}
@@ -154,6 +156,9 @@
that.option.column[5].dicUrl =
"/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697";
}
+ },
+ mounted(){
+ this.deptIds = this.userInfo.dept_id;
},
methods: {
handleImport() {
@@ -311,12 +316,13 @@
} else {
this.openDep("deptId");
}
+
//公安局进入
if (this.userInfo.role_name == "公安管理员") {
params["jurisdiction"] = that.userInfo.jurisdiction;
}
//保安公司进入
- if (this.userInfo.role_name == "保安公司管理员") {
+ if (this.userInfo.role_name == "保安公司管理员" || this.userInfo.role_name == "分公司管理员") {
params["deptId"] = that.userInfo.dept_id;
//导入action 修改
const importColumn = that.findObject(
--
Gitblit v1.9.3