cf215e5f by renchao@pashanhoo.com

Merge branch 'dev'

2 parents a4657559 7f993893
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-10-31 10:48:04 4 * @LastEditTime: 2023-11-01 08:55:44
5 --> 5 -->
6 <template> 6 <template>
7 <div class="rlPopup"> 7 <div class="rlPopup">
...@@ -193,13 +193,12 @@ ...@@ -193,13 +193,12 @@
193 var formData = new FormData(); 193 var formData = new FormData();
194 formData.append('file', file) 194 formData.append('file', file)
195 formData.append("bsmSj", this.previewImg.bsmSj); 195 formData.append("bsmSj", this.previewImg.bsmSj);
196 formData.append("bsmSlsq", this.previewImg.bsmSlsq);
197 if (this.previewImg.imgList.length > 0) { 196 if (this.previewImg.imgList.length > 0) {
198 formData.append("index", this.previewImg.imgList[this.previewImg.index].sxh); 197 formData.append("index", this.previewImg.imgList[this.previewImg.index].sxh);
199 } 198 }
200 uploadSjClmx(formData).then((res) => { 199 uploadSjClmx(formData).then((res) => {
201 if (res.code == 200) { 200 if (res.code == 200) {
202 this.$emit('updateList', res.result) 201 this.$emit('updateList', { children: res.result, bsmSj: this.previewImg.bsmSj })
203 this.$message({ 202 this.$message({
204 message: '上传成功!', 203 message: '上传成功!',
205 type: 'success' 204 type: 'success'
......