【修改】上传缴费凭证修改
This commit is contained in:
@@ -59,12 +59,13 @@ export default {
|
||||
},
|
||||
},
|
||||
url: {
|
||||
add: '111'
|
||||
add: '/paymentInfo/uploadPaymentRecord'
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
open(record) {
|
||||
this.form.resetFields()
|
||||
this.model = Object.assign({}, record)
|
||||
this.visible = true
|
||||
},
|
||||
@@ -73,8 +74,9 @@ export default {
|
||||
if (!err) {
|
||||
this.confirmLoading = true
|
||||
const formData = Object.assign({}, values)
|
||||
formData.id = this.model.id
|
||||
let url = this.url.add
|
||||
httpAction(url, formData, 'post').then(res => {
|
||||
httpAction(url, formData, 'put').then(res => {
|
||||
if (res.success) {
|
||||
this.$emit('ok')
|
||||
this.$message.success(res.message)
|
||||
|
||||
Reference in New Issue
Block a user