Commit d153c171 by wangweidong

证书编制修改

parent f1028aa3
...@@ -199,16 +199,28 @@ export default { ...@@ -199,16 +199,28 @@ export default {
this.$Modal.confirm({ this.$Modal.confirm({
title: '提示', title: '提示',
content: '确定要把这 ' + ids.length + ' 条记录提交到' + cont + '?', content: '确定要把这 ' + ids.length + ' 条记录提交到' + cont + '?',
onOk: async () => { // onOk: async () => {
const result = meterSample.submitReportToIssue(ids) // const result = meterSample.submitReportToIssue(ids)
if (result) { // if (result) {
this.$Message.success('提交成功!') // this.$Message.success('提交成功!')
await this._page() // await this._page()
} // }
// }
onOk: () => {
this._subTo(ids)
} }
}) })
} }
}, },
_subTo: async function(ids) {
const result = await meterSample.submitReportToIssue(ids)
if (result) {
this.$Message.success('提交成功!')
await this._page()
}
},
_create() { _create() {
const selectData = JSON.parse(JSON.stringify(this.selectData)) const selectData = JSON.parse(JSON.stringify(this.selectData))
console.log(selectData) console.log(selectData)
......
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