活动列表
parent
a13c34f7da
commit
3c46fdefc5
|
|
@ -3,8 +3,8 @@ VUE_APP_SYSTEM_NAME=standard
|
||||||
VUE_APP_PRODUCT_MODEL=standard
|
VUE_APP_PRODUCT_MODEL=standard
|
||||||
# VUE_APP_BASE_API=https://ecshopx-shop.ex-sandbox.com/api
|
# VUE_APP_BASE_API=https://ecshopx-shop.ex-sandbox.com/api
|
||||||
VUE_APP_BASE_API=/api
|
VUE_APP_BASE_API=/api
|
||||||
VUE_APP_PROXY_API=http://47.103.169.154:8080/api
|
# VUE_APP_PROXY_API=http://47.103.169.154:8080/api
|
||||||
# VUE_APP_PROXY_API=https://slb.birkenstock.net.cn/api
|
VUE_APP_PROXY_API=https://test.birkenstock.net.cn/api
|
||||||
# VUE_APP_PUBLIC_PATH=https://ecshopx-vshop.oss-cn-hangzhou.aliyuncs.com/ecshopx-admin
|
# VUE_APP_PUBLIC_PATH=https://ecshopx-vshop.oss-cn-hangzhou.aliyuncs.com/ecshopx-admin
|
||||||
VUE_APP_PUBLIC_PATH=/
|
VUE_APP_PUBLIC_PATH=/
|
||||||
VUE_APP_WXIMG_URL=
|
VUE_APP_WXIMG_URL=
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,10 @@ VUE_APP_IS_SAAS=false
|
||||||
VUE_APP_SYSTEM_NAME=standard
|
VUE_APP_SYSTEM_NAME=standard
|
||||||
VUE_APP_PRODUCT_MODEL=standard
|
VUE_APP_PRODUCT_MODEL=standard
|
||||||
# VUE_APP_BASE_API=https://ecshopx-shop.ex-sandbox.com/api
|
# VUE_APP_BASE_API=https://ecshopx-shop.ex-sandbox.com/api
|
||||||
VUE_APP_BASE_API=https://test.birkenstock.net.cn/api
|
# VUE_APP_BASE_API=https://test.birkenstock.net.cn/api
|
||||||
|
VUE_APP_BASE_API=http://101.133.172.2:18080/api
|
||||||
# VUE_APP_PROXY_API=http://47.103.169.154:8080/api
|
# VUE_APP_PROXY_API=http://47.103.169.154:8080/api
|
||||||
|
# VUE_APP_PROXY_API=http://101.133.172.2:18080/api
|
||||||
# VUE_APP_PUBLIC_PATH=https://ecshopx-vshop.oss-cn-hangzhou.aliyuncs.com/ecshopx-admin
|
# VUE_APP_PUBLIC_PATH=https://ecshopx-vshop.oss-cn-hangzhou.aliyuncs.com/ecshopx-admin
|
||||||
VUE_APP_PUBLIC_PATH=/
|
VUE_APP_PUBLIC_PATH=/
|
||||||
VUE_APP_WXIMG_URL=
|
VUE_APP_WXIMG_URL=
|
||||||
|
|
|
||||||
BIN
dist-04-12.zip
BIN
dist-04-12.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -153,6 +153,7 @@ export default {
|
||||||
multiple: this.max > 1,
|
multiple: this.max > 1,
|
||||||
num: this.max > 1 ? this.max - this.localValue.length : 1
|
num: this.max > 1 ? this.max - this.localValue.length : 1
|
||||||
})
|
})
|
||||||
|
console.log('🚀 ~ file: index.vue:156 ~ data:', data)
|
||||||
if (isString(this.localValue)) {
|
if (isString(this.localValue)) {
|
||||||
this.updateValue(data.url)
|
this.updateValue(data.url)
|
||||||
} else if (isObject(this.localValue)) {
|
} else if (isObject(this.localValue)) {
|
||||||
|
|
|
||||||
|
|
@ -62,6 +62,26 @@
|
||||||
/> -->
|
/> -->
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item
|
||||||
|
label="活动主图"
|
||||||
|
prop="pics2"
|
||||||
|
:rules="[{ required: true, message: '请上传活动主图', trigger: 'change' }]"
|
||||||
|
>
|
||||||
|
<div :span="20">
|
||||||
|
<SpImagePicker id="pics2" v-model="form.pics2" drag />
|
||||||
|
<div class="frm-tips">只能上传jpg/png文件,且不超过2M,建议尺寸长宽比为 1:1</div>
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item
|
||||||
|
label="活动分享图"
|
||||||
|
prop="pics3"
|
||||||
|
:rules="[{ required: true, message: '请上传活动分享图', trigger: 'change' }]"
|
||||||
|
>
|
||||||
|
<div :span="20">
|
||||||
|
<SpImagePicker id="pics3" v-model="form.pics3" />
|
||||||
|
<div class="frm-tips">只能上传jpg/png文件,且不超过2M,建议尺寸长宽比为 5:4</div>
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item
|
<el-form-item
|
||||||
label="选择报名问卷模板"
|
label="选择报名问卷模板"
|
||||||
|
|
@ -316,7 +336,9 @@ export default {
|
||||||
join_limit: '1',
|
join_limit: '1',
|
||||||
address: '',
|
address: '',
|
||||||
pics: [],
|
pics: [],
|
||||||
intro: ''
|
intro: '',
|
||||||
|
pics2: '',
|
||||||
|
pics3: ''
|
||||||
},
|
},
|
||||||
templateParams: {
|
templateParams: {
|
||||||
page: 1,
|
page: 1,
|
||||||
|
|
@ -346,7 +368,10 @@ export default {
|
||||||
this.activity_id = this.$route.query.id
|
this.activity_id = this.$route.query.id
|
||||||
let filter = { activity_id: this.$route.query.id }
|
let filter = { activity_id: this.$route.query.id }
|
||||||
regActivityGet(filter).then((res) => {
|
regActivityGet(filter).then((res) => {
|
||||||
this.form = res.data.data
|
const { data } = res.data
|
||||||
|
this.form = data
|
||||||
|
if (!data.pics2) this.form.pics2 = ''
|
||||||
|
if (!data.pics3) this.form.pics3 = ''
|
||||||
this.activity_date = [this.form.start_time * 1000, this.form.end_time * 1000]
|
this.activity_date = [this.form.start_time * 1000, this.form.end_time * 1000]
|
||||||
})
|
})
|
||||||
this.fetchList()
|
this.fetchList()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue