From ac10b507705aef9b384d355dcad613aad3dd3972 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 14 五月 2026 18:04:01 +0800
Subject: [PATCH] 进销存pro 1.财务凭证页面上传附件和预览下载修改 2.部分页面不要导入导出 3.用印管理添加上传附件功能 4.设备保养、设备维修添加具体指定人员 5.员工台账添加转正提醒 6.续签合同功能挪到合同管理页面

---
 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