Commit 9ef7cde0 authored by wdy's avatar wdy

Merge remote-tracking branch 'origin/project1' into project1

parents ef106d52 6cce4175
......@@ -430,6 +430,11 @@ export default {
next()
},
created() {
if (this.$store.getters.searchParams[this.$route.path]) {
const { searchParams } = this.$store.getters; const { path } = this.$route
const param = JSON.parse(searchParams[path]) // 保留着的查询条件
this.queryParams = { ...param }
}
this.getList()
},
mounted() {
......@@ -483,6 +488,7 @@ export default {
/** TODO: 重置按钮操作 */
resetQuery() {
this.queryEntity = {
tableSortMark: 0,
entity: {
pn: '',
lot: '',
......
......@@ -389,6 +389,7 @@ export default {
/** TODO: 重置按钮操作 */
resetQuery() {
this.queryEntity = {
tableSortMark: 0,
entity: {
pn: '',
lot: '',
......
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