diff --git a/jero-web/src/views/documentManage/splitting/modules/SplitAddForm.vue b/jero-web/src/views/documentManage/splitting/modules/SplitAddForm.vue index 6b4c1831a..920666d18 100644 --- a/jero-web/src/views/documentManage/splitting/modules/SplitAddForm.vue +++ b/jero-web/src/views/documentManage/splitting/modules/SplitAddForm.vue @@ -252,7 +252,7 @@
- +
@@ -747,23 +747,23 @@ for(let i = this.contentList.length;i>this.addIndex;i--){ this.contentList[i+lengthImg-1]=this.contentList[i-1] } - if(data && data.length > 0){ - data.forEach(item => { + if(imgs && imgs.length > 0){ + imgs.forEach(item => { this.contentList[++this.addIndex]={ id:'', type:'IMG', - itemContent:item.id, + itemContent:item.response.result.id, thumbUrl:item.thumbUrl } }) } // this.$refs.uploadFile2.visible=false this.splitVisible=false - // console.log('conteend',this.contentList) + console.log('conteend',data,this.contentList) }, //点击图片预览 preImg(item){ - this.itemSrc=item.itemContent + this.itemSrc=item.thumbUrl?item.thumbUrl:item.itemContent this.preImgVisible=true }, //关闭预览图片 @@ -806,7 +806,7 @@ if(this.rowCount>0&&this.colCount>0){ let tableList=[] let tableStr='' - tableStr='' + tableStr='
' for(let r=0;r { axios({ - url: '/jero-boot/split/sarFileSplitMenu/copyMenuNotChildrenall', + url: '/jero-boot/split/sarFileSplitItems/batchCopyItems', method: 'get', params: params, // transformRequest: [function (data) {