From b6d70fd9329b1c5fee415713e7ca5d9dcab66526 Mon Sep 17 00:00:00 2001
From: liuyg <liuyg@qq.com>
Date: Wed, 02 Mar 2022 09:01:06 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/zhba_enterprises
---
src/views/talk/talk.vue | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/views/talk/talk.vue b/src/views/talk/talk.vue
index ae084b1..3624ea2 100644
--- a/src/views/talk/talk.vue
+++ b/src/views/talk/talk.vue
@@ -322,8 +322,12 @@
this.onLoad(this.page, this.query);
},
onLoad(page, params = {}) {
+ if(this.userInfo.role_name == "公安管理员" || this.userInfo.role_name == "民警" || this.userInfo.role_name == "administrator"){
+ params["jurisdiction"] = this.userInfo.jurisdiction;
+ }else{
+ params["deptid"] = this.userInfo.dept_id;
+ }
this.loading = true;
- // console.log(1);
getList(
page.currentPage,
page.pageSize,
--
Gitblit v1.9.3