From b8dfc98b089e47fdb3e269941bbd2de3f7fb7de1 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Mon, 13 Sep 2021 17:14:57 +0800
Subject: [PATCH] Merge branch 'master' of http://s16s652780.51mypc.cn:49896/r/zhba_enterprises

---
 src/views/securityUnitChild/social.vue |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/views/securityUnitChild/social.vue b/src/views/securityUnitChild/social.vue
index 6448fab..d13c4a8 100644
--- a/src/views/securityUnitChild/social.vue
+++ b/src/views/securityUnitChild/social.vue
@@ -76,9 +76,12 @@
   props: ["deptid"],
   data() {
     var deptid = this.deptid;
-
+    if (this.deptid == undefined) {
+      // deptid = this.userInfo
+      // console.log(this.$store.getters.userInfo.dept_id);
+      deptid = this.$store.getters.userInfo.dept_id;
+    }
     return {
-      do: 0,
       form: { cardid: "" },
 
       query: {},
@@ -398,8 +401,7 @@
   },
   methods: {
     changes(val) {
-      this.do++;
-      if (this.do >= 2) {
+      if (val.value != "") {
         getuseList(val.value).then((res) => {
           // console.log(res);
           var d = res.data.data;

--
Gitblit v1.9.3