File tree Expand file tree Collapse file tree 6 files changed +12
-6
lines changed
dashboard/admin/components Expand file tree Collapse file tree 6 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 37
37
<script lang="ts">
38
38
import { Component , Vue } from ' vue-property-decorator'
39
39
import { getTransactions } from ' @/api/transactions'
40
+ import { ITransactionData } from ' @/api/types'
40
41
41
42
@Component ({
42
43
name: ' TransactionTable' ,
@@ -56,7 +57,7 @@ import { getTransactions } from '@/api/transactions'
56
57
}
57
58
})
58
59
export default class extends Vue {
59
- private list: any [] = []
60
+ private list: ITransactionData [] = []
60
61
61
62
created() {
62
63
this .fetchData ()
Original file line number Diff line number Diff line change 110
110
<script lang="ts">
111
111
import { Component , Vue } from ' vue-property-decorator'
112
112
import { getArticles } from ' @/api/articles'
113
+ import { IArticleData } from ' @/api/types'
113
114
import Pagination from ' @/components/Pagination/index.vue'
114
115
115
116
@Component ({
@@ -120,7 +121,7 @@ import Pagination from '@/components/Pagination/index.vue'
120
121
})
121
122
export default class extends Vue {
122
123
private total = 0
123
- private list: any [] = []
124
+ private list: IArticleData [] = []
124
125
private listLoading = true
125
126
private listQuery = {
126
127
page: 1 ,
Original file line number Diff line number Diff line change 79
79
<script lang="ts">
80
80
import { Component , Vue } from ' vue-property-decorator'
81
81
import { getArticles } from ' @/api/articles'
82
+ import { IArticleData } from ' @/api/types'
82
83
import { formatJson } from ' @/utils'
83
84
import { exportJson2Excel } from ' @/utils/excel'
84
85
import FilenameOption from ' ./components/FilenameOption.vue'
@@ -94,7 +95,7 @@ import BookTypeOption from './components/BookTypeOption.vue'
94
95
}
95
96
})
96
97
export default class extends Vue {
97
- private list: any [] = []
98
+ private list: IArticleData [] = []
98
99
private listLoading = true
99
100
private downloadLoading = false
100
101
private filename = ' '
Original file line number Diff line number Diff line change 73
73
<script lang="ts">
74
74
import { Component , Vue } from ' vue-property-decorator'
75
75
import { getArticles } from ' @/api/articles'
76
+ import { IArticleData } from ' @/api/types'
76
77
import { formatJson } from ' @/utils'
77
78
import { exportJson2Excel } from ' @/utils/excel'
78
79
79
80
@Component ({
80
81
name: ' MergeHeader'
81
82
})
82
83
export default class extends Vue {
83
- private list: any [] = []
84
+ private list: IArticleData [] = []
84
85
private listLoading = true
85
86
private downloadLoading = false
86
87
Original file line number Diff line number Diff line change 85
85
<script lang="ts">
86
86
import { Component , Vue } from ' vue-property-decorator'
87
87
import { getArticles } from ' @/api/articles'
88
+ import { IArticleData } from ' @/api/types'
88
89
import { formatJson } from ' @/utils'
89
90
import { exportJson2Excel } from ' @/utils/excel'
90
91
import { Table } from ' element-ui'
@@ -93,7 +94,7 @@ import { Table } from 'element-ui'
93
94
name: ' SelectExcel'
94
95
})
95
96
export default class extends Vue {
96
- private list: any [] = []
97
+ private list: IArticleData [] = []
97
98
private listLoading = true
98
99
private multipleSelection = []
99
100
private downloadLoading = false
Original file line number Diff line number Diff line change 72
72
<script lang="ts">
73
73
import { Component , Vue } from ' vue-property-decorator'
74
74
import { getArticles } from ' @/api/articles'
75
+ import { IArticleData } from ' @/api/types'
75
76
import { formatJson } from ' @/utils'
76
77
import { exportTxt2Zip } from ' @/utils/zip'
77
78
78
79
@Component ({
79
80
name: ' ExportZip'
80
81
})
81
82
export default class extends Vue {
82
- private list: any [] = []
83
+ private list: IArticleData [] = []
83
84
private listLoading = true
84
85
private downloadLoading = false
85
86
private filename = ' '
You can’t perform that action at this time.
0 commit comments