Commit b42d12f0 authored by houjn@hikoon.cn's avatar houjn@hikoon.cn
parents 3559ca1b f6fbe7e4
...@@ -290,8 +290,7 @@ export default { ...@@ -290,8 +290,7 @@ export default {
}; };
}, },
activated(){ activated(){
console.log(11) this.getList();
this.handleQuery()
}, },
created() { created() {
let that = this; let that = this;
......
...@@ -259,7 +259,7 @@ export default { ...@@ -259,7 +259,7 @@ export default {
}; };
}, },
activated(){ activated(){
this.handleQuery() this.getList();
}, },
created() { created() {
let that = this; let that = this;
...@@ -271,7 +271,7 @@ export default { ...@@ -271,7 +271,7 @@ export default {
getList() { getList() {
this.loading = true; this.loading = true;
// 处理查询参数 // 处理查询参数
let params = { ...this.params }; let params = { ...this.queryParams };
this.addBeginAndEndTime(params, this.dateRangeCreateTime, "createTime"); this.addBeginAndEndTime(params, this.dateRangeCreateTime, "createTime");
// 执行查询 // 执行查询
getReceiptList(params).then((response) => { getReceiptList(params).then((response) => {
...@@ -331,7 +331,7 @@ export default { ...@@ -331,7 +331,7 @@ export default {
this.queryParams.endCreateTime = '' this.queryParams.endCreateTime = ''
} }
this.queryParams.pageNo = 1; this.queryParams.page = 1;
for(var key in this.queryParams){ for(var key in this.queryParams){
if(this.queryParams[key]){ if(this.queryParams[key]){
this.params[key] = this.queryParams[key] this.params[key] = this.queryParams[key]
......
...@@ -235,7 +235,7 @@ export default { ...@@ -235,7 +235,7 @@ export default {
}; };
}, },
activated(){ activated(){
this.handleQuery() this.getList();
}, },
created() { created() {
this.getList(); this.getList();
......
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