From 551026f4e45d1355926a4c998f81842217ec1812 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 14 一月 2026 17:50:24 +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