From 01b53033db11aa30ed6d408f6b5c8f27cd851b17 Mon Sep 17 00:00:00 2001
From: yaowanxin <3588231647@qq.com>
Date: 星期五, 09 一月 2026 11:42:03 +0800
Subject: [PATCH] 1.基础数据-供应商黑名单,添加资质管理字段,可上传资质文件 2.采购管理-收货管理-添加入库数量输入和合格状态选择功能,实现采购异常记录的添加和更新接口 3.客户档案-分类功能,零售客户和进销商客户 4.添加采购审批页面,显示台账审批状态 5.固定资产核算界面,库存核算统计页面-移至军泰伟业

---
 src/views/tideLogin.vue |   26 +++++++++-----------------
 1 files changed, 9 insertions(+), 17 deletions(-)

diff --git a/src/views/tideLogin.vue b/src/views/tideLogin.vue
index a96165e..e4a82f7 100644
--- a/src/views/tideLogin.vue
+++ b/src/views/tideLogin.vue
@@ -1,23 +1,15 @@
 <template>
   <div></div>
 </template>
-<script>
-import store from "@/store";
-export default {
-  data() {
-    return {}
-  },
-  created() {
-    this.goLogin()
-  },
-  computed: {},
-  methods: {
-     goLogin() {
-      store.dispatch('TideLogin', {code : this.$route.query.code}).then(() => {
-        this.$router.push({ path: this.redirect || "/" }).catch(() => { });
-      })
-    }
-  }
+<script setup>
+import useUserStore from '@/store/modules/user'
+const userStore = useUserStore()
+let { proxy } = getCurrentInstance()
+function goLogin() {
+  userStore.TideLogin({code : proxy.$route.query.code}).then(() => {
+    proxy.$router.push({ path: redirect || "/" }).catch(() => { });
+  })
 }
+goLogin()
 </script>
 <style scoped></style>

--
Gitblit v1.9.3