|
|
@@ -1,33 +1,32 @@
|
|
|
<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"
|
|
|
- v-if="!isCapitalLeft"
|
|
|
- @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"
|
|
|
+ v-if="!isCapitalLeft"
|
|
|
+ @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';
|
|
|
@@ -77,7 +76,7 @@ export default defineComponent({
|
|
|
// 控制资金面板是否显示在左边
|
|
|
const isCapitalLeft = ref<boolean>(true);
|
|
|
initData(() => {
|
|
|
- if (isOemByEnum(OemType.wrspot)) {
|
|
|
+ if (isOemByEnum(OemType.wrspot) || isOemByEnum(OemType.tian_jing_mai_dun)) {
|
|
|
isCapitalLeft.value = false;
|
|
|
}
|
|
|
});
|