Commit 43fa3d45 authored by shiwr's avatar shiwr

bug

parent 52304b50
......@@ -495,7 +495,7 @@
,
//获取任务列表
getAlarmList(fn)
getAlarmList()
{
this.loading = true;
let vm = this;
......@@ -505,14 +505,10 @@
data: vm.formLine
};
console.log(newdata)
console.log(222)
axios.post('${SITE_URL}search_alarm/', newdata).then(res => {
vm.total = res.results.count;
vm.taskData = res.results.results;
vm.loading = false;
if (!!fn) {
fn()
}
}, err => {
vm.loading = false;
vm.$message(
......@@ -522,7 +518,7 @@
}
)
},
storage = this.formLine.priority)
this.storage = this.formLine.priority)
}
,
......@@ -609,13 +605,8 @@
handleCurrentChange(val)
{
console.log("当前页" + val);
if (this.currentPage != val) {
this.currentPage = val;
this.getTaskList(() => {
this.handleCurPageChange()
})
}
this.currentPage = val
this.getAlarmList()
},
......
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