From 53b185536adcf9c23214b3ad967ef14aa578429e Mon Sep 17 00:00:00 2001 From: liujun Date: Thu, 21 Mar 2024 13:35:58 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=91=E7=AE=A1=E7=AB=AF=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E4=BB=A3=E5=8A=9E=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/login/index.vue | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/views/login/index.vue b/src/views/login/index.vue index ad74c43..97eb2a5 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -327,6 +327,7 @@ export default { this.$router.push({ path: '/BI' }) this.loading = false this.flag = false + this.getWorkTask(data.USER_ID) } else { if (data.msg) { this.$message.error(data.msg) @@ -411,6 +412,22 @@ export default { }) } + }, + getWorkTask(id) { + requestFN( + '/xgf/user/getWorkTask', { USER_ID: id } + ).then((data) => { + if (data.list && data.list.length > 0) { + setTimeout(() => { + this.$notify.info({ + title: '消息', + message: '您有【' + data.list.length + '】条相关方人员数据待审核' + }) + }, 3000) + } + }).catch((e) => { + console.log(e) + }) } // afterQRScan() { // if (e.key === 'x-admin-oauth-code') {