style:信息备案
Showing
2 changed files
with
4 additions
and
5 deletions
| 1 | /* | 1 | /* |
| 2 | * @Description: 企业银行接口 | 2 | * @Description: 企业银行接口 |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-10-31 10:45:35 | 4 | * @LastEditTime: 2023-11-01 08:41:46 |
| 5 | */ | 5 | */ |
| 6 | import request from '@/utils/request' | 6 | import request from '@/utils/request' |
| 7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | 7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
| ... | @@ -69,9 +69,9 @@ export function uploadBatch (data) { | ... | @@ -69,9 +69,9 @@ export function uploadBatch (data) { |
| 69 | * @param {*} data | 69 | * @param {*} data |
| 70 | * @author: renchao | 70 | * @author: renchao |
| 71 | */ | 71 | */ |
| 72 | export function uploadSjClmx (data) { | 72 | export function uploadSjClmx (data, bsmMaterial) { |
| 73 | return request({ | 73 | return request({ |
| 74 | url: SERVER.SERVERAPI + '/rest/sys/company/uploadSjClmx', | 74 | url: SERVER.SERVERAPI + '/rest/sys/company/uploadSjClmx/' + bsmMaterial, |
| 75 | method: 'post', | 75 | method: 'post', |
| 76 | headers: { | 76 | headers: { |
| 77 | 'Content-Type': 'multipart/form-data' | 77 | 'Content-Type': 'multipart/form-data' |
| ... | @@ -81,7 +81,6 @@ export function uploadSjClmx (data) { | ... | @@ -81,7 +81,6 @@ export function uploadSjClmx (data) { |
| 81 | } | 81 | } |
| 82 | 82 | ||
| 83 | 83 | ||
| 84 | |||
| 85 | /** | 84 | /** |
| 86 | * @description: 删除上传材料目录 | 85 | * @description: 删除上传材料目录 |
| 87 | * @param {*} bsmFile | 86 | * @param {*} bsmFile | ... | ... |
| ... | @@ -199,7 +199,7 @@ | ... | @@ -199,7 +199,7 @@ |
| 199 | formData.append("bsmMaterial ", this.previewImg.bsmMaterial); | 199 | formData.append("bsmMaterial ", this.previewImg.bsmMaterial); |
| 200 | formData.append("bsmSlsq", this.previewImg.bsmSlsq); | 200 | formData.append("bsmSlsq", this.previewImg.bsmSlsq); |
| 201 | if (this.previewImg.imgList.length > 0) { | 201 | if (this.previewImg.imgList.length > 0) { |
| 202 | formData.append("ssBsmMaterial", this.previewImg.imgList[this.previewImg.index].bsmMaterial); | 202 | formData.append("index", this.previewImg.imgList[this.previewImg.index].sxh); |
| 203 | } | 203 | } |
| 204 | uploadSjClmx(formData).then((res) => { | 204 | uploadSjClmx(formData).then((res) => { |
| 205 | if (res.code == 200) { | 205 | if (res.code == 200) { | ... | ... |
-
Please register or sign in to post a comment