|
@@ -154,6 +154,7 @@ export default {
|
|
|
if (self.id.length == 0) {
|
|
|
self.$message.error("没有传递ID");
|
|
|
} else {
|
|
|
+ var formData = new FormData();
|
|
|
formData.append("policyId", self.policyId);
|
|
|
return approvalApi.insureDetail(formData);
|
|
|
}
|
|
@@ -255,7 +256,7 @@ export default {
|
|
|
handleUploadFileSuccess(response, file, fileList) {
|
|
|
console.log(response);
|
|
|
|
|
|
- if(!!response.result){
|
|
|
+ if(response.result){
|
|
|
this.fileUrl = response.data;
|
|
|
}
|
|
|
else{
|