|
|
@@ -1,48 +1,49 @@
|
|
|
<template>
|
|
|
- <section :class="['layout-bottom', isShowBottom ? 'layout-bottom-all' : 'layout-bottom-hidden']">
|
|
|
- <CapitalInfo class="capital-info-container"
|
|
|
- v-if="isCapitalLeft"></CapitalInfo>
|
|
|
- <main :class="[isCapitalLeft ? 'main-some' : 'main-all']">
|
|
|
- <firstMenu :list="orderList"
|
|
|
- :value="'title'"
|
|
|
- @selectMenu="selectMenu">
|
|
|
- <div class="right-menu-content">
|
|
|
- <!-- 资金信息 -->
|
|
|
- <a-select class="capitalSelect"
|
|
|
- style="width: 180px"
|
|
|
- @change="accountChange"
|
|
|
- v-model:value="selectedAccountId">
|
|
|
- <a-select-option v-for="item in getAllTaAccount()"
|
|
|
- :value="item.accountid"
|
|
|
- :key="item.accountid">{{item.accountid}}</a-select-option>
|
|
|
- </a-select>
|
|
|
- <div class="conditionIcon icon iconfont icon-shouqi"
|
|
|
- @click="handleShowBottom"></div>
|
|
|
- </div>
|
|
|
- </firstMenu>
|
|
|
- <div v-show="isShowBottom">
|
|
|
- <component :is="componentId"
|
|
|
- v-if="componentId"></component>
|
|
|
- </div>
|
|
|
- </main>
|
|
|
- </section>
|
|
|
+ <section
|
|
|
+ :class="['layout-bottom', isShowBottom ? 'layout-bottom-all' : 'layout-bottom-hidden']"
|
|
|
+ >
|
|
|
+ <CapitalInfo class="capital-info-container" v-if="isCapitalLeft"></CapitalInfo>
|
|
|
+ <main :class="[isCapitalLeft ? 'main-some' : 'main-all']">
|
|
|
+ <firstMenu :list="orderList" :value="'title'" @selectMenu="selectMenu">
|
|
|
+ <div class="right-menu-content">
|
|
|
+ <!-- 资金信息 -->
|
|
|
+ <a-select
|
|
|
+ class="capitalSelect"
|
|
|
+ style="width: 180px"
|
|
|
+ @change="accountChange"
|
|
|
+ v-model:value="selectedAccountId"
|
|
|
+ >
|
|
|
+ <a-select-option
|
|
|
+ v-for="item in getAllTaAccount()"
|
|
|
+ :value="item.accountid"
|
|
|
+ :key="item.accountid"
|
|
|
+ >{{ item.accountid }}</a-select-option>
|
|
|
+ </a-select>
|
|
|
+ <div class="conditionIcon icon iconfont icon-shouqi" @click="handleShowBottom"></div>
|
|
|
+ </div>
|
|
|
+ </firstMenu>
|
|
|
+ <div v-show="isShowBottom">
|
|
|
+ <component :is="componentId" v-if="componentId"></component>
|
|
|
+ </div>
|
|
|
+ </main>
|
|
|
+ </section>
|
|
|
</template>
|
|
|
<script lang="ts">
|
|
|
-import { defineAsyncComponent, defineComponent, reactive, ref } from 'vue';
|
|
|
import CapitalInfo from '@/common/components/capitalInfo/index.vue';
|
|
|
import firstMenu from '@/common/components/firstMenu/index.vue';
|
|
|
-import thirdMenu from '@/common/components/thirdMenu/index.vue';
|
|
|
import quoteTable from '@/common/components/quoteTable/index.vue';
|
|
|
-import { OperationTabMenu } from '@/services/go/commonService/interface';
|
|
|
-import { handleOrderData } from '@/common/setup/order/orderData';
|
|
|
+import thirdMenu from '@/common/components/thirdMenu/index.vue';
|
|
|
+import { getShowBottomValue, handleShowBottom } from '@/common/config/constrolBottom';
|
|
|
+import { isOemByEnum, OemType } from '@/common/config/projectName';
|
|
|
import { enumOrderComponents } from '@/common/constants/enumOrderComponents';
|
|
|
-import { handleShowBottom, getShowBottomValue } from '@/common/config/constrolBottom';
|
|
|
-import { getAllTaAccount, getCanUseMoney, getFreeze, getSelectedAccount, setSelectedAccount } from '@/services/bus/account';
|
|
|
+import { initData } from '@/common/methods';
|
|
|
+import { handleOrderData } from '@/common/setup/order/orderData';
|
|
|
+import { getAllTaAccount, getSelectedAccount, setSelectedAccount } from '@/services/bus/account';
|
|
|
import { AccountListItem } from '@/services/dataCenter/interafce/account';
|
|
|
+import { OperationTabMenu } from '@/services/go/commonService/interface';
|
|
|
import { getTaAccount } from '@/services/go/TaAccount';
|
|
|
import Bus from '@/utils/eventBus/index';
|
|
|
-import { isOemByEnum, OemType } from '@/common/config/projectName';
|
|
|
-import { initData } from '@/common/methods';
|
|
|
+import { defineAsyncComponent, defineComponent, ref } from 'vue';
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: 'layout-top',
|
|
|
@@ -89,7 +90,6 @@ export default defineComponent({
|
|
|
componentId,
|
|
|
orderList,
|
|
|
isShowBottom: getShowBottomValue(),
|
|
|
- getShowBottomValue,
|
|
|
handleShowBottom,
|
|
|
getAllTaAccount,
|
|
|
selectedAccountId,
|