Commit d1d4c725 authored by cat's avatar cat

重置bug修改

parent fa925fdb
...@@ -295,6 +295,10 @@ export default { ...@@ -295,6 +295,10 @@ export default {
/** 重置按钮操作 */ /** 重置按钮操作 */
resetQuery() { resetQuery() {
this.queryParams = { this.queryParams = {
page: 1,
rows: 10,
beginTime: '',
endTime: '',
entity: { entity: {
// TODO: 设备编码 // TODO: 设备编码
pn: '', pn: '',
...@@ -305,16 +309,6 @@ export default { ...@@ -305,16 +309,6 @@ export default {
status: '' status: ''
} }
} }
this.queryParams = {
page: 1,
rows: 10,
beginTime: '',
endTime: ''
// ptype: 1,
// pstatus: 0,
// pn: '',
// lot: ''
}
this.dateRange = [] this.dateRange = []
this.resetForm('queryForm') this.resetForm('queryForm')
this.handleQuery() this.handleQuery()
......
...@@ -882,22 +882,15 @@ export default { ...@@ -882,22 +882,15 @@ export default {
/** 重置按钮操作 */ /** 重置按钮操作 */
resetQuery() { resetQuery() {
this.queryParams = { this.queryParams = {
page: 1,
rows: 10,
beginTime: '',
endTime: '',
entity: { entity: {
// TODO: lot // TODO: lot
lot: '' lot: ''
} }
} }
this.queryParams = {
page: 1,
rows: 10,
beginTime: '',
endTime: ''
// ptype: 1,
// pstatus: 0,
// pn: '',
// lot: ''
}
this.dateRange = [] this.dateRange = []
this.handleQuery() this.handleQuery()
}, },
......
...@@ -282,6 +282,10 @@ export default { ...@@ -282,6 +282,10 @@ export default {
/** 重置按钮操作 */ /** 重置按钮操作 */
resetQuery() { resetQuery() {
this.queryParams = { this.queryParams = {
page: 1,
rows: 10,
beginTime: '',
endTime: '',
entity: { entity: {
// TODO: 设备编码 // TODO: 设备编码
pn: '', pn: '',
...@@ -292,16 +296,6 @@ export default { ...@@ -292,16 +296,6 @@ export default {
status: '' status: ''
} }
} }
this.queryParams = {
page: 1,
rows: 10,
beginTime: '',
endTime: ''
// ptype: 1,
// pstatus: 0,
// pn: '',
// lot: ''
}
this.dateRange = [] this.dateRange = []
this.resetForm('queryForm') this.resetForm('queryForm')
this.handleQuery() this.handleQuery()
......
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