融资需求池 页面完成

This commit is contained in:
aixianling
2022-02-23 09:24:55 +08:00
parent f47e6c9acb
commit be19bc7005
3 changed files with 209 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
<template>
<section class="AppFinancingNeeds">
<component :is="currentComponent" :instance="instance" :dict="dict" :permissions="permissions"/>
</section>
</template>
<script>
import NeedsDetail from "./needsDetail";
import NeedsList from "./needsList";
export default {
name: "AppFinancingNeeds",
components: {NeedsList, NeedsDetail},
label: "融资需求",
props: {
instance: Function,
dict: Object,
permissions: Function
},
computed: {
currentComponent() {
return !!this.$route.query.id ? NeedsDetail : NeedsList
}
},
data() {
return {}
},
created() {
this.dict.load("enterpriseName")
}
}
</script>
<style lang="scss" scoped>
.AppFinancingNeeds {
}
</style>