|  | @@ -4,9 +4,10 @@
 | 
											
												
													
														|  |        <avue-form :option="optionForm" v-model="query" class="form-mb">
 |  |        <avue-form :option="optionForm" v-model="query" class="form-mb">
 | 
											
												
													
														|  |          <tempalte slot="button" slot-scope="{ row }">
 |  |          <tempalte slot="button" slot-scope="{ row }">
 | 
											
												
													
														|  |            <span style="display: flex;justify-content: end;">
 |  |            <span style="display: flex;justify-content: end;">
 | 
											
												
													
														|  | -            <el-button icon="el-icon-arrow-down" size="small" @click="searchShow = true" v-if="!searchShow">展
 |  | 
 | 
											
												
													
														|  | 
 |  | +            <el-button icon="el-icon-arrow-down" size="small" @click="searchShow = true, showHight()" v-if="!searchShow">展
 | 
											
												
													
														|  |                开</el-button>
 |  |                开</el-button>
 | 
											
												
													
														|  | -            <el-button icon="el-icon-arrow-up" size="small" @click="searchShow = false" v-if="searchShow">收 缩</el-button>
 |  | 
 | 
											
												
													
														|  | 
 |  | +            <el-button icon="el-icon-arrow-up" size="small" @click="searchShow = false, showHight()" v-if="searchShow">收
 | 
											
												
													
														|  | 
 |  | +              缩</el-button>
 | 
											
												
													
														|  |              <el-button type="primary" size="small" plain @click="inItial">初始入账
 |  |              <el-button type="primary" size="small" plain @click="inItial">初始入账
 | 
											
												
													
														|  |              </el-button>
 |  |              </el-button>
 | 
											
												
													
														|  |              <el-button type="success" size="small" plain @click="outExport">导出
 |  |              <el-button type="success" size="small" plain @click="outExport">导出
 | 
											
										
											
												
													
														|  | @@ -31,7 +32,7 @@
 | 
											
												
													
														|  |          </span>
 |  |          </span>
 | 
											
												
													
														|  |        </div>
 |  |        </div>
 | 
											
												
													
														|  |      </basic-container>
 |  |      </basic-container>
 | 
											
												
													
														|  | -    <basic-container v-show="treeData.length > 0">
 |  | 
 | 
											
												
													
														|  | 
 |  | +    <basic-container v-show="treeData.length > 0"  >
 | 
											
												
													
														|  |        <el-row>
 |  |        <el-row>
 | 
											
												
													
														|  |          <el-col :span="4">
 |  |          <el-col :span="4">
 | 
											
												
													
														|  |            <avue-tree ref="tree" :class="searchShow ? 'treeStyle' : 'bigTreeStyle'" :option="treeOption" :data="treeData"
 |  |            <avue-tree ref="tree" :class="searchShow ? 'treeStyle' : 'bigTreeStyle'" :option="treeOption" :data="treeData"
 | 
											
										
											
												
													
														|  | @@ -56,7 +57,7 @@ import {
 | 
											
												
													
														|  |    fingenlegInitialization
 |  |    fingenlegInitialization
 | 
											
												
													
														|  |  } from "@/api/iosBasicData/fingenlegcalc";
 |  |  } from "@/api/iosBasicData/fingenlegcalc";
 | 
											
												
													
														|  |  import SearchQuery from "@/components/iosbasic-data/searchquery.vue";
 |  |  import SearchQuery from "@/components/iosbasic-data/searchquery.vue";
 | 
											
												
													
														|  | -import {dateFormat} from "@/util/date";
 |  | 
 | 
											
												
													
														|  | 
 |  | +import { dateFormat } from "@/util/date";
 | 
											
												
													
														|  |  import { getToken } from "@/util/auth";
 |  |  import { getToken } from "@/util/auth";
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  export default {
 |  |  export default {
 | 
											
										
											
												
													
														|  | @@ -89,7 +90,7 @@ export default {
 | 
											
												
													
														|  |          noAmountIncurred: 0,
 |  |          noAmountIncurred: 0,
 | 
											
												
													
														|  |          doNotDisplayYear: 0
 |  |          doNotDisplayYear: 0
 | 
											
												
													
														|  |        },
 |  |        },
 | 
											
												
													
														|  | -      outExportQuery:{},
 |  | 
 | 
											
												
													
														|  | 
 |  | +      outExportQuery: {},
 | 
											
												
													
														|  |        searchShow: true,
 |  |        searchShow: true,
 | 
											
												
													
														|  |        optionForm: {
 |  |        optionForm: {
 | 
											
												
													
														|  |          submitBtn: false,
 |  |          submitBtn: false,
 | 
											
										
											
												
													
														|  | @@ -411,26 +412,34 @@ export default {
 | 
											
												
													
														|  |        deep: false, // 深度监听
 |  |        deep: false, // 深度监听
 | 
											
												
													
														|  |        immediate: false  // 第一次改变就执行
 |  |        immediate: false  // 第一次改变就执行
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  | -    "searchShow": {
 |  | 
 | 
											
												
													
														|  | -      handler(newVla, oldVal) {
 |  | 
 | 
											
												
													
														|  | -        if (newVla) {
 |  | 
 | 
											
												
													
														|  | -          this.option.height = this.option.height - 149;
 |  | 
 | 
											
												
													
														|  | -        } else {
 |  | 
 | 
											
												
													
														|  | -          this.option.height = this.option.height + 149;
 |  | 
 | 
											
												
													
														|  | -        }
 |  | 
 | 
											
												
													
														|  | -        this.$refs.crud.getTableHeight();
 |  | 
 | 
											
												
													
														|  | -      },
 |  | 
 | 
											
												
													
														|  | -      deep: false, // 深度监听
 |  | 
 | 
											
												
													
														|  | -      immediate: false  // 第一次改变就执行
 |  | 
 | 
											
												
													
														|  | -    },
 |  | 
 | 
											
												
													
														|  | 
 |  | +    // "searchShow": {
 | 
											
												
													
														|  | 
 |  | +    //   handler(newVla, oldVal) {
 | 
											
												
													
														|  | 
 |  | +    //     // if (newVla) {
 | 
											
												
													
														|  | 
 |  | +    //     //   this.option.height = this.option.height - 30;
 | 
											
												
													
														|  | 
 |  | +    //     // } else {
 | 
											
												
													
														|  | 
 |  | +    //     //   this.option.height = this.option.height + 30;
 | 
											
												
													
														|  | 
 |  | +    //     // }
 | 
											
												
													
														|  | 
 |  | +    //     this.$refs.crud.getTableHeight();
 | 
											
												
													
														|  | 
 |  | +    //   },
 | 
											
												
													
														|  | 
 |  | +    //   deep: false, // 深度监听
 | 
											
												
													
														|  | 
 |  | +    //   immediate: false  // 第一次改变就执行
 | 
											
												
													
														|  | 
 |  | +    // },
 | 
											
												
													
														|  |    },
 |  |    },
 | 
											
												
													
														|  |    created() {
 |  |    created() {
 | 
											
												
													
														|  | -    this.option.height = window.innerHeight - 337;
 |  | 
 | 
											
												
													
														|  | 
 |  | +    this.option.height = window.innerHeight - 190;
 | 
											
												
													
														|  |      getAllList({ type: this.query.type }).then(res => {
 |  |      getAllList({ type: this.query.type }).then(res => {
 | 
											
												
													
														|  |        this.corpDic = res.data.data
 |  |        this.corpDic = res.data.data
 | 
											
												
													
														|  |      })
 |  |      })
 | 
											
												
													
														|  |    },
 |  |    },
 | 
											
												
													
														|  |    methods: {
 |  |    methods: {
 | 
											
												
													
														|  | 
 |  | +    showHight() {
 | 
											
												
													
														|  | 
 |  | +      if (this.searchShow) {
 | 
											
												
													
														|  | 
 |  | +        this.option.height = this.option.height - 115;
 | 
											
												
													
														|  | 
 |  | +      } else {
 | 
											
												
													
														|  | 
 |  | +        this.option.height = this.option.height + 115;
 | 
											
												
													
														|  | 
 |  | +      }
 | 
											
												
													
														|  | 
 |  | +      this.$refs.crud.getTableHeight();
 | 
											
												
													
														|  | 
 |  | +    },
 | 
											
												
													
														|  |      nodeClick(data) {
 |  |      nodeClick(data) {
 | 
											
												
													
														|  |        this.getList(data)
 |  |        this.getList(data)
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
										
											
												
													
														|  | @@ -512,7 +521,7 @@ export default {
 | 
											
												
													
														|  |          corpIds: data.id,
 |  |          corpIds: data.id,
 | 
											
												
													
														|  |          accType: data.type,
 |  |          accType: data.type,
 | 
											
												
													
														|  |        }
 |  |        }
 | 
											
												
													
														|  | -      this.outExportQuery=obj
 |  | 
 | 
											
												
													
														|  | 
 |  | +      this.outExportQuery = obj
 | 
											
												
													
														|  |        const loading = this.$loading({
 |  |        const loading = this.$loading({
 | 
											
												
													
														|  |          lock: true,
 |  |          lock: true,
 | 
											
												
													
														|  |          text: '加载中',
 |  |          text: '加载中',
 | 
											
										
											
												
													
														|  | @@ -581,11 +590,11 @@ export default {
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  .treeStyle {
 |  |  .treeStyle {
 | 
											
												
													
														|  | -  height: 60vh;
 |  | 
 | 
											
												
													
														|  | 
 |  | +  height: 61vh;
 | 
											
												
													
														|  |    /* overflow-y: scroll; */
 |  |    /* overflow-y: scroll; */
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  .bigTreeStyle {
 |  |  .bigTreeStyle {
 | 
											
												
													
														|  | -  height: 76vh;
 |  | 
 | 
											
												
													
														|  | 
 |  | +  height: 74vh;
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  </style>
 |  |  </style>
 |