@@ -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'
diff --git a/jero-web/src/views/documentManage/splitting/modules/SplitDetail.vue b/jero-web/src/views/documentManage/splitting/modules/SplitDetail.vue
index 0b5098d7a..3bbf0d64c 100644
--- a/jero-web/src/views/documentManage/splitting/modules/SplitDetail.vue
+++ b/jero-web/src/views/documentManage/splitting/modules/SplitDetail.vue
@@ -559,7 +559,7 @@
onOk:
async () => {
axios({
- url: '/jero-boot/split/sarFileSplitMenu/copyMenuNotChildrenall',
+ url: '/jero-boot/split/sarFileSplitItems/batchCopyItems',
method: 'get',
params: params,
// transformRequest: [function (data) {