Handy_Cao 1 gadu atpakaļ
vecāks
revīzija
11f8fd7078
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3 3
      src/packages/nhgj/views/mine/Index.vue

+ 3 - 3
src/packages/nhgj/views/mine/Index.vue

@@ -151,7 +151,7 @@ import { useLoginStore, useAccountStore, useUserStore } from '@/stores'
 import eventBus from '@/services/bus'
 import Iconfont from '@/components/base/iconfont/index.vue'
 import { getMemberUserId } from '@/services/methods/user'
-import { queryMdUserSwapProtocol } from '@/services/api/swap'
+import { queryTencentUsereSignRecords } from '@/services/api/account'
 
 const { router, routerTo } = useNavigation()
 const loginStore = useLoginStore()
@@ -238,13 +238,13 @@ onActivated(() => {
     }
 
     /// 查询数据
-    queryMdUserSwapProtocol({
+    queryTencentUsereSignRecords({
         data: {
             userId: loginStore.userId
         }
     }).then((res) => {
         /// 判断是否能签约
-        canBankSign.value = res.data.some(e => e.protocolstatus === 4)
+        canBankSign.value = res.data.some(e => e.recordstatus === 3)
     })
 })
 </script>