|
@@ -32,6 +32,7 @@
|
|
|
:columns="columns"
|
|
|
:data="tableData"
|
|
|
:count="count"
|
|
|
+ parentComponent="FinancingMain"
|
|
|
/>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -40,6 +41,7 @@
|
|
|
import { mapGetters } from 'vuex'
|
|
|
import { getList } from '@/api/myFinancing'
|
|
|
export default {
|
|
|
+ name: 'FinancingMain',
|
|
|
data() {
|
|
|
return {
|
|
|
count: 0,
|
|
@@ -172,10 +174,10 @@ export default {
|
|
|
this.$store.dispatch('getConstant', ['projectInitiationStatus'])
|
|
|
},
|
|
|
mounted() {
|
|
|
- this.featchData()
|
|
|
+ this.fetchData()
|
|
|
},
|
|
|
methods: {
|
|
|
- featchData(type) {
|
|
|
+ fetchData(type) {
|
|
|
if (type === 'search') {
|
|
|
this.page = 1
|
|
|
this.size = 10
|