File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 55
55
</template >
56
56
57
57
<script >
58
- import { getList } from ' @/api/api_param'
58
+ import { getListParam } from ' @/api/api_param'
59
59
import { postEdit , edit } from ' @/api/api_excel'
60
60
import { getToken } from ' @/utils/auth'
61
61
@@ -111,7 +111,7 @@ export default {
111
111
this .$emit (' getItem' , this .form .apiParam )
112
112
},
113
113
init () {
114
- getList ({ perPage: 20 }).then (response => {
114
+ getListParam ({ perPage: 20 }).then (response => {
115
115
this .apiParam = response .data .data
116
116
})
117
117
},
Original file line number Diff line number Diff line change 82
82
</template >
83
83
84
84
<script >
85
- import { getList , deleteAct , search } from ' @/api/api_param'
85
+ import { getListParam , deleteAct , search } from ' @/api/api_param'
86
86
87
87
export default {
88
88
filters: {
@@ -116,7 +116,7 @@ export default {
116
116
fetchData () {
117
117
this .listLoading = true
118
118
const params = Object .assign ({ ' page' : this .listQuery .page }, { ' perPage' : this .perpage })
119
- getList (params).then (response => {
119
+ getListParam (params).then (response => {
120
120
this .list = response .data .data
121
121
this .listLoading = false
122
122
this .total = response .data .total
You can’t perform that action at this time.
0 commit comments