From 663c14f763869b13a9d46238b7172c1007849324 Mon Sep 17 00:00:00 2001
From: wang-liang0615 <dhuwl0615@163.com>
Date: Tue, 26 Sep 2023 16:26:25 +0800
Subject: [PATCH] =?UTF-8?q?feat:=E6=96=B0=E5=A2=9Eapi&=E9=80=82=E9=85=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 cmdb-ui/src/api/employee.js                | 8 ++++++++
 cmdb-ui/src/views/setting/person/index.vue | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/cmdb-ui/src/api/employee.js b/cmdb-ui/src/api/employee.js
index ff695c1..2f2f940 100644
--- a/cmdb-ui/src/api/employee.js
+++ b/cmdb-ui/src/api/employee.js
@@ -117,3 +117,11 @@ export function getEmployeeListByFilter(data) {
     data
   })
 }
+
+export function getNoticeByEmployeeIds(data) {
+  return axios({
+    url: '/common-setting/v1/employee/get_notice_by_ids',
+    method: 'post',
+    data
+  })
+}
\ No newline at end of file
diff --git a/cmdb-ui/src/views/setting/person/index.vue b/cmdb-ui/src/views/setting/person/index.vue
index e99feea..6c79c63 100644
--- a/cmdb-ui/src/views/setting/person/index.vue
+++ b/cmdb-ui/src/views/setting/person/index.vue
@@ -94,7 +94,7 @@
                 <ops-icon type="ops-setting-notice-wx" />
               </div>
               <div @click="handleBindWx" class="setting-person-bind-button">
-                {{ form.wx_id ? '重新绑定' : '绑定' }}
+                {{ form.notice_info.wechatApp ? '重新绑定' : '绑定' }}
               </div>
             </a-space>
           </a-form-model-item>