Commit 36cdecaa by lichengming

修改了证书编制翻页

parent 21ce9f9b
...@@ -80,7 +80,7 @@ export default { ...@@ -80,7 +80,7 @@ export default {
], ],
formObj: { formObj: {
// id: '', // id: '',
title: '' title: undefined
// businessTypeList: 0 // businessTypeList: 0
}, },
again: false, again: false,
...@@ -124,7 +124,7 @@ export default { ...@@ -124,7 +124,7 @@ export default {
if (result !== undefined) { if (result !== undefined) {
this.formObj.id = result.id this.formObj.id = result.id
} else { } else {
this.formObj.id = '' this.formObj.id = undefined
} }
this._search() this._search()
}, },
...@@ -153,15 +153,18 @@ export default { ...@@ -153,15 +153,18 @@ export default {
this._hideLoading() this._hideLoading()
count = 0 count = 0
}, },
_page: async function(data) { _page: async function() {
const result = await meterPrint.pageSampleTemplate(data) Object.assign(this.formObj, this.$refs.pageTable._searchParams())
console.log('this.formObj', this.formObj)
const result = await meterPrint.pageSampleTemplate(this.formObj)
if (result) { if (result) {
this.getPage = result this.getPage = result
this.$refs.pageTable._hideLoading()
} }
}, },
_search() { _search() {
// this.$refs.pageTable._pageChange(1) this.$refs.pageTable._pageChange(1)
this._page(this.formObj) // this._page(this.formObj)
}, },
_tableResultChange(msg, data) { _tableResultChange(msg, data) {
switch (msg) { switch (msg) {
......
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