c1c1b732 by renchao@pashanhoo.com

style:企业银行信息备案

1 parent 1f6d99f8
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-10-31 10:57:34 4 * @LastEditTime: 2023-11-01 08:47:49
5 --> 5 -->
6 <template> 6 <template>
7 <div class="rlPopup"> 7 <div class="rlPopup">
...@@ -196,14 +196,12 @@ ...@@ -196,14 +196,12 @@
196 let file = blobToFile(blob); 196 let file = blobToFile(blob);
197 var formData = new FormData(); 197 var formData = new FormData();
198 formData.append('file', file) 198 formData.append('file', file)
199 formData.append("bsmMaterial ", this.previewImg.bsmMaterial);
200 formData.append("bsmSlsq", this.previewImg.bsmSlsq);
201 if (this.previewImg.imgList.length > 0) { 199 if (this.previewImg.imgList.length > 0) {
202 formData.append("index", this.previewImg.imgList[this.previewImg.index].sxh); 200 formData.append("index", this.previewImg.imgList[this.previewImg.index].sxh);
203 } 201 }
204 uploadSjClmx(formData).then((res) => { 202 uploadSjClmx(formData, this.previewImg.bsmMaterial).then((res) => {
205 if (res.code == 200) { 203 if (res.code == 200) {
206 this.$emit('updateList', res.result) 204 this.$emit('updateList', { children: res.result, bsmMaterial: this.previewImg.bsmMaterial })
207 this.$message({ 205 this.$message({
208 message: '上传成功!', 206 message: '上传成功!',
209 type: 'success' 207 type: 'success'
......