Commit 9a983b15 authored by huai.li's avatar huai.li

修改参数

parent fa5cd42b
......@@ -144,6 +144,7 @@ export default {
mounted () {
this.init()
this.getScheduleList()
},
methods: {
......@@ -152,10 +153,11 @@ export default {
},
paramsFormat (param) {
this.setParams({
let ret = this.setParams({
...this.form,
page: this.pagenation.thispage
}, param)
this.getScheduleList(ret)
},
searchKeyword (search) {
......@@ -163,19 +165,19 @@ export default {
},
updateForm (search) {
this.setParams({
let ret = this.setParams({
...this.form,
page: this.pagenation.thispage
}, search)
this.getScheduleList()
this.getScheduleList(ret)
},
updatePage (pager) {
this.setParams({
let ret = this.setParams({
...this.form,
page: this.pagenation.thispage
}, pager)
this.getScheduleList()
this.getScheduleList(ret)
},
getFilter () {
......@@ -221,13 +223,9 @@ export default {
})
},
getScheduleList () {
getScheduleList (ret) {
// 查询条件
requestAPI(api.getScheduleList, {
...this.form,
page: this.pagenation.thispage
}).then((res) => {
requestAPI(api.getScheduleList, ret).then((res) => {
const {
list = [],
pagenation = {},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment