融资统计

This commit is contained in:
liuye
2022-04-08 21:09:38 +08:00
parent 5c309c0321
commit db814b24de
2 changed files with 111 additions and 71 deletions

View File

@@ -8,7 +8,7 @@
<el-tabs class="tabs-page" v-model="currIndex">
<el-tab-pane v-for="(tab,i) in tabs" :key="i" :label="tab.label" :name="String(i)">
<component :is="tab.comp" v-if="currIndex==i" :ref="currIndex" :instance="instance" :dict="dict"
:permissions="permissions" :listType="tab.value" @goPage="goPage"/>
:permissions="permissions" :listType="tab.value" @goPage="goPage" :areaId="areaId"/>
</el-tab-pane>
</el-tabs>
</template>
@@ -19,7 +19,7 @@
</template>
<script>
import {mapState} from "vuex";
import NeedsDetail from "./needsDetail";
import NeedsList from "./needsList";
import NeedsStatistics from "./needsStatistics";
@@ -48,6 +48,7 @@ export default {
}
},
computed: {
...mapState(['user']),
tabs() {
return [
{
@@ -65,7 +66,9 @@ export default {
}
},
created() {
console.log(this.user)
this.dict.load("productRepaymentTimeline", "financialFundPurpose","financingDemandApplyType", "enterpriseType", "dishonestPersonSituation", "administrativeSanctionType")
this.areaId = this.user.info.areaId || ''
},
methods: {
goPage(obj) {