|
|
@ -32,7 +32,7 @@
|
|
|
|
style="display: inline-block;">
|
|
|
|
style="display: inline-block;">
|
|
|
|
<div style="width: 200px;height:200px;line-height: 200px;">
|
|
|
|
<div style="width: 200px;height:200px;line-height: 200px;">
|
|
|
|
<span v-if="!formValidate.logo">请上传图片</span>
|
|
|
|
<span v-if="!formValidate.logo">请上传图片</span>
|
|
|
|
<img v-if="formValidate.logo" :src="formValidate.logo" alt="" style="width: 100%; height: auto">
|
|
|
|
<img v-if="formValidate.logo" :src="`/kiisoo-ic` + formValidate.logo" alt="" style="width: 100%; height: auto">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</Upload>
|
|
|
|
</Upload>
|
|
|
|
</FormItem>
|
|
|
|
</FormItem>
|
|
|
@ -176,11 +176,11 @@ export default {
|
|
|
|
'Content-Type': 'multipart/form-data'
|
|
|
|
'Content-Type': 'multipart/form-data'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}).then(function (res) {
|
|
|
|
}).then(function (res) {
|
|
|
|
console.log(res);
|
|
|
|
|
|
|
|
if (res.data.success) {
|
|
|
|
if (res.data.success) {
|
|
|
|
me.formValidate.logo = res.data.results;
|
|
|
|
me.formValidate.logo = res.data.results;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
});
|
|
|
|
|
|
|
|
return false;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
next() {
|
|
|
|
next() {
|
|
|
|
let that = this
|
|
|
|
let that = this
|
|
|
@ -200,7 +200,7 @@ export default {
|
|
|
|
// param = JSON.stringify(param)
|
|
|
|
// param = JSON.stringify(param)
|
|
|
|
let data = {
|
|
|
|
let data = {
|
|
|
|
appId: that.formValidate.appId,
|
|
|
|
appId: that.formValidate.appId,
|
|
|
|
image: that.imageName,
|
|
|
|
logo: that.formValidate.logo,
|
|
|
|
name: that.formValidate.activityName,
|
|
|
|
name: that.formValidate.activityName,
|
|
|
|
uri: that.formValidate.uri,
|
|
|
|
uri: that.formValidate.uri,
|
|
|
|
params: param,
|
|
|
|
params: param,
|
|
|
|