拆分图片修改
This commit is contained in:
@@ -363,6 +363,7 @@
|
||||
|
||||
<script>
|
||||
import Vue from 'vue'
|
||||
import {Base64} from 'js-base64'
|
||||
import uploadFile from '@/components/uploadFile/file'
|
||||
import Standardselection from '@/components/Standardselection/index'
|
||||
import PersonnelSelection from '@/components/PersonnelSelection/index'
|
||||
@@ -665,7 +666,7 @@
|
||||
},
|
||||
//编辑按钮
|
||||
splitEdit(index,item){
|
||||
console.log('item',item)
|
||||
// console.log('item',item)
|
||||
this.addIndex=index
|
||||
this.tableVisible=true
|
||||
this.isTableEdit=true
|
||||
@@ -846,8 +847,9 @@
|
||||
id:'',
|
||||
type:'IMG',
|
||||
itemContent:file.response.result.id,
|
||||
thumbUrl:file.response.result.url
|
||||
thumbUrl:window._CONFIG['domianURL']+'/sys/split/file/getImage?fileUrl='+Base64.encode(file.response.result.url)
|
||||
}
|
||||
// console.log('baseDecode',Base64.decode(this.contentList[this.addIndex].thumbUrl))
|
||||
|
||||
// let lengthImg=imgs.length
|
||||
// for(let i = this.contentList.length;i>this.addIndex;i--){
|
||||
@@ -993,7 +995,7 @@
|
||||
},
|
||||
/** 上传文件的回调 */
|
||||
uploadSuccess(data) {
|
||||
console.log('dataaaaa',data)
|
||||
// console.log('dataaaaa',data)
|
||||
let attIdList = []
|
||||
if (data && data.length > 0) {
|
||||
data.map(item => {
|
||||
@@ -1094,7 +1096,7 @@
|
||||
if (res.success) {
|
||||
this.dataList = res.result
|
||||
this.ruleList = res.result
|
||||
console.log('res',this.dataList)
|
||||
// console.log('res',this.dataList)
|
||||
this.IntegrateData()
|
||||
callBack && callBack()
|
||||
}
|
||||
|
||||
@@ -323,7 +323,7 @@
|
||||
|
||||
|
||||
this.infoId=this.$route.query.infoId
|
||||
// console.log('info',this.$route.query)
|
||||
console.log('info',this.$route.query)
|
||||
this.loadMenuData()
|
||||
// this.loadData()
|
||||
this.generateList(this.gData);
|
||||
|
||||
Reference in New Issue
Block a user