|
|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <div class="app-footer" v-if="accountComputedList.length">
|
|
|
+ <div class="app-footer" v-if="accountList.length">
|
|
|
<div class="app-footer__left" v-if="false">
|
|
|
<div>{{ currentAccount.accountid }}</div>
|
|
|
<table>
|
|
|
@@ -36,7 +36,7 @@
|
|
|
<app-auth-component code="bottom">
|
|
|
<el-select placeholder="请选择资金账户" :disabled="loading" v-model="currentAccountId" @change="onAccountChange"
|
|
|
v-if="false">
|
|
|
- <el-option :label="item.accountid" :value="item.accountid" v-for="(item, index) in accountComputedList"
|
|
|
+ <el-option :label="item.accountid" :value="item.accountid" v-for="(item, index) in accountList"
|
|
|
:key="index" />
|
|
|
</el-select>
|
|
|
</app-auth-component>
|
|
|
@@ -52,7 +52,7 @@ import { useAccountStore } from '@/stores'
|
|
|
import AppAuthComponent from '@pc/components/modules/auth-component/index.vue'
|
|
|
import AppListing from '@pc/components/modules/listing/index.vue'
|
|
|
|
|
|
-const { accountComputedList, currentAccount, currentAccountId, loading, getAccountPositionList } = useAccountStore()
|
|
|
+const { accountList, currentAccount, currentAccountId, loading, getAccountPositionList } = useAccountStore()
|
|
|
|
|
|
// 切换资金账户
|
|
|
const onAccountChange = () => {
|