From d6b1363a1dfe12de9a1a2f2e8d6f3a88d558e13c Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Fri, 25 Feb 2022 15:39:50 +0800
Subject: [PATCH] 通知通告页面,保安公司4个页面,心理咨询,成绩查询,培训报名列表修改

---
 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