Commit e7d02082 by chenwq

订单管理,新增/编辑众筹

1 parent b0c70e6a
......@@ -453,6 +453,7 @@ export default {
.glsx-combi-form .muti-imgs {
display: inline-block;
position: relative;
margin: 10px 8px 0 0;
}
.activity-img .add {
......
......@@ -528,6 +528,11 @@ export default {
}
},
{
label: '其他信息',
prop: 'otherInformation',
width: '280'
},
{
label: '微信名称',
prop: 'weChatName',
addHtml: 'weChatName',
......@@ -600,12 +605,6 @@ export default {
}
},
{
label: '其他信息',
prop: 'otherInformation',
width: '280',
line: 1
},
{
label: '活动名称',
prop: 'activityName',
width: '120'
......
......@@ -640,9 +640,15 @@ export default {
handleUpload: (e, file, targetItem, formObj) => {
const imgFile = e.target.result
const base64 = file.name.split('.')[file.name.split('.').length - 1] + '@' + imgFile.split(',')[1]
this.$apis.common.uploadImgApi({ file: base64, fileType: 'image' }).then(res => {
this.editForm.activityExperienceDTOs[formObj.idx][targetItem.name].push(res)
})
this.loading = true
this.$apis.common
.uploadImgApi({ file: base64, fileType: 'image' })
.then(res => {
this.editForm.activityExperienceDTOs[formObj.idx][targetItem.name].push(res)
})
.finally(() => {
this.loading = false
})
}
}
],
......@@ -826,10 +832,16 @@ export default {
handleUpload: (e, file, targetItem) => {
const imgFile = e.target.result
const base64 = file.name.split('.')[file.name.split('.').length - 1] + '@' + imgFile.split(',')[1]
this.$apis.common.uploadImgApi({ file: base64, fileType: 'image' }).then(res => {
this.editForm[targetItem.name] = res
this.$refs.configEditFormRef.$refs[this.editChildRef].validateField(targetItem.name)
})
this.loading = true
this.$apis.common
.uploadImgApi({ file: base64, fileType: 'image' })
.then(res => {
this.editForm[targetItem.name] = res
this.$refs.configEditFormRef.$refs[this.editChildRef].validateField(targetItem.name)
})
.finally(() => {
this.loading = false
})
}
},
{
......@@ -1815,7 +1827,7 @@ export default {
cursor: pointer;
}
.form-open {
max-height: 1600px;
max-height: 2500px;
transition: max-height 0.5s ease;
}
.form-close {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!