Commit 36cdecaa by lichengming

修改了证书编制翻页

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