Handy_Cao 1 год назад
Родитель
Сommit
11f8fd7078
1 измененных файлов с 3 добавлено и 3 удалено
  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 eventBus from '@/services/bus'
 import Iconfont from '@/components/base/iconfont/index.vue'
 import Iconfont from '@/components/base/iconfont/index.vue'
 import { getMemberUserId } from '@/services/methods/user'
 import { getMemberUserId } from '@/services/methods/user'
-import { queryMdUserSwapProtocol } from '@/services/api/swap'
+import { queryTencentUsereSignRecords } from '@/services/api/account'
 
 
 const { router, routerTo } = useNavigation()
 const { router, routerTo } = useNavigation()
 const loginStore = useLoginStore()
 const loginStore = useLoginStore()
@@ -238,13 +238,13 @@ onActivated(() => {
     }
     }
 
 
     /// 查询数据
     /// 查询数据
-    queryMdUserSwapProtocol({
+    queryTencentUsereSignRecords({
         data: {
         data: {
             userId: loginStore.userId
             userId: loginStore.userId
         }
         }
     }).then((res) => {
     }).then((res) => {
         /// 判断是否能签约
         /// 判断是否能签约
-        canBankSign.value = res.data.some(e => e.protocolstatus === 4)
+        canBankSign.value = res.data.some(e => e.recordstatus === 3)
     })
     })
 })
 })
 </script>
 </script>