Commit 4e71853d authored by zhengke's avatar zhengke

修改

parent 08e69854
......@@ -74,7 +74,7 @@
v-model="addMsg.GuestSource" :options="OFList" emit-value map-options label="客人来源" />
<q-input clearable filled class="col-6 q-pb-lg q-pr-lg" v-model="addMsg.ContactAddress" label="现居住地址" />
<div class="col-6 q-pr-lg q-pb-lg">
<q-uploader style="display: inline-block;height: 150px;max-width: 100%; background-repeat:no-repeat"
<q-uploader style="min-height:268px;max-width: 300px; background-repeat:no-repeat;background-position: 50% 50%;background-size: cover;"
:style="{'background-image':'url(' + addMsg.StuIcon + ')'}" max-files="1" hide-upload-btn
@rejected="onRejected" label="学生头像" :max-file-size="5*1024*1024" accept=".jpg, image/*" auto-upload
:factory="uploadFile" no-thumbnails>
......@@ -505,8 +505,9 @@
this.addMsg.VolunteerMajor = item.VolunteerMajor;
this.addMsg.Price = item.Price;
this.addMsg.StudyRemark = item.StudyRemark;
this.addMsg.BirthDate = item.BirthDate;
if(item.BirthDate){
this.addMsg.BirthDate = item.BirthDate;
}
this.addMsg.TotalHours = item.TotalHours;
this.addMsg.StuIcon = item.StuIcon;
this.persistent = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment