|
|
@ -606,14 +606,13 @@ export default { |
|
|
|
params.companyId = this.detailId; |
|
|
|
params.attachmentUrls = this.fileList; |
|
|
|
} |
|
|
|
console.log(params); |
|
|
|
// const { data, code, msg } = await requestPost(url, params); |
|
|
|
// if (code === 0) { |
|
|
|
// this.$message.success('操作成功'); |
|
|
|
// this.handleCancle(); |
|
|
|
// } else if (code >= 8000) { |
|
|
|
// this.$message.error(msg); |
|
|
|
// } |
|
|
|
const { data, code, msg } = await requestPost(url, params); |
|
|
|
if (code === 0) { |
|
|
|
this.$message.success('操作成功'); |
|
|
|
this.handleCancle(); |
|
|
|
} else if (code >= 8000) { |
|
|
|
this.$message.error(msg); |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
handleCancle() { |
|
|
|