From 3024b24145372c38f071aa3d81820bb803f820bc Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Fri, 05 Nov 2021 13:55:20 +0800
Subject: [PATCH] +
---
src/views/licenseApproval/securityPermit.vue | 17 ++++++++++++++++-
1 files changed, 16 insertions(+), 1 deletions(-)
diff --git a/src/views/licenseApproval/securityPermit.vue b/src/views/licenseApproval/securityPermit.vue
index 2e16383..4727f12 100644
--- a/src/views/licenseApproval/securityPermit.vue
+++ b/src/views/licenseApproval/securityPermit.vue
@@ -483,9 +483,24 @@
onLoad(page, params = {}) {
this.loading = true;
params["ptype"] = 0;
+ var gonganj = "";
+ if (this.userInfo.role_name == "公安管理员") {
+ let test = /派出所$/g;
+ if (test.test(this.userInfo.list.name)) {
+ gonganj = "派出所管理员";
+ }
+ test = /分局|公安局$/g;
+ if (test.test(this.userInfo.list.name)) {
+ gonganj = "县局管理员";
+ }
+ test = /市公安局$/g;
+ if (test.test(this.userInfo.list.name)) {
+ gonganj = "市局管理员";
+ }
+ }
params = {
...params,
- ...this.getFenji(this.userInfo.role_name),
+ ...this.getFenji(gonganj),
};
getList(
page.currentPage,
--
Gitblit v1.9.3