1f6d99f8 by renchao@pashanhoo.com

style:信息备案

1 parent 8c5084d2
/*
* @Description: 企业银行接口
* @Autor: renchao
* @LastEditTime: 2023-10-31 10:45:35
* @LastEditTime: 2023-11-01 08:41:46
*/
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
......@@ -69,9 +69,9 @@ export function uploadBatch (data) {
* @param {*} data
* @author: renchao
*/
export function uploadSjClmx (data) {
export function uploadSjClmx (data, bsmMaterial) {
return request({
url: SERVER.SERVERAPI + '/rest/sys/company/uploadSjClmx',
url: SERVER.SERVERAPI + '/rest/sys/company/uploadSjClmx/' + bsmMaterial,
method: 'post',
headers: {
'Content-Type': 'multipart/form-data'
......@@ -81,7 +81,6 @@ export function uploadSjClmx (data) {
}
/**
* @description: 删除上传材料目录
* @param {*} bsmFile
......
......@@ -199,7 +199,7 @@
formData.append("bsmMaterial ", this.previewImg.bsmMaterial);
formData.append("bsmSlsq", this.previewImg.bsmSlsq);
if (this.previewImg.imgList.length > 0) {
formData.append("ssBsmMaterial", this.previewImg.imgList[this.previewImg.index].bsmMaterial);
formData.append("index", this.previewImg.imgList[this.previewImg.index].sxh);
}
uploadSjClmx(formData).then((res) => {
if (res.code == 200) {
......