Commit 3ad18164 authored by 黄奎's avatar 黄奎

yem xiug

parent 8c2b3711
......@@ -19,7 +19,7 @@
<div class="row wrap">
<div class="col-6 q-pb-lg">
<q-uploader :style="{backgroundImage:'url(' + objOption.CoverImg + ')'}" flat hide-upload-btn max-files="1"
label="课程封面" :max-file-size="512*1024" accept=".jpg, image/*" :factory="uploadFile" auto-upload>
label="课程封面" accept=".jpg, image/*" :factory="uploadFile" auto-upload>
</q-uploader>
</div>
<div class="col-6 q-pr-lg q-pb-lg">
......
......@@ -8,7 +8,7 @@
<div class="text-caption q-mb-lg q-px-md text-grey-6">教案信息</div>
<div class="row wrap">
<q-uploader style="display: inline-block;max-height: 320px;max-width: 100%; background-repeat:no-repeat"
max-files="1" hide-upload-btn label="教案" :max-file-size="10*1024*1024"
max-files="1" hide-upload-btn label="教案"
accept=".doc,.docx,.ppt,.pptx,.xls,.xlsx,.pdf" auto-upload :factory="uploadFile" no-thumbnails>
</q-uploader>
</div>
......
......@@ -23,7 +23,7 @@
<div class="col-6 q-pb-lg">
<q-uploader style="display: inline-block;max-height: 320px;max-width: 100%; background-repeat:no-repeat"
:style="{'background-image':'url(' + objOption.AssistIcon + ')'}" max-files="1" hide-upload-btn
@rejected="onRejected" label="助教头像" :max-file-size="512*1024" accept=".jpg, image/*" auto-upload
@rejected="onRejected" label="助教头像" accept=".jpg, image/*" auto-upload
:factory="uploadFile" no-thumbnails>
</q-uploader>
</div>
......
......@@ -128,8 +128,8 @@
<q-banner v-if="isShowDepPop">
<div style="width:300px;padding-bottom:20px;">
<div style="margin:10px 0 15px 0;">调部门</div>
<q-radio v-model="deptObj.schoolType" :val="0" label="本校区" />
<q-radio v-model="deptObj.schoolType" :val="1" label="其他校区" />
<q-radio v-model="deptObj.schoolType" @input="getDepartList()" :val="0" label="本校区" />
<q-radio v-model="deptObj.schoolType" @input="getDepartList()" :val="1" label="其他校区" />
<br />
<template v-if="deptObj.schoolType==1">
<q-select filled stack-label @input="getDepartList()" option-value="SId" option-label="SName"
......
......@@ -112,8 +112,8 @@
</div>
<div class="row" style="margin-top:20px;">
<div class="col-6">
<q-radio v-model="deptObj.schoolType" :val="0" label="本校区" />
<q-radio v-model="deptObj.schoolType" :val="1" label="其他校区" />
<q-radio v-model="deptObj.schoolType" @input="getDepartList()" :val="0" label="本校区" />
<q-radio v-model="deptObj.schoolType" @input="getDepartList()" :val="1" label="其他校区" />
</div>
</div>
<div class="row" style="margin-top:20px;" v-if="deptObj.schoolType==1">
......
......@@ -73,7 +73,7 @@
<div class="col-6 q-pb-lg" style="margin-top:20px;">
<q-uploader style="display: inline-block;max-height: 320px;max-width: 100%; background-repeat:no-repeat"
:style="{'background-image':'url(' + objOption.UserIcon + ')'}" max-files="1" hide-upload-btn
@rejected="onRejected" label="头像" :max-file-size="10240*1024" accept=".jpg, image/*" auto-upload
@rejected="onRejected" label="头像" accept=".jpg, image/*" auto-upload
:factory="uploadFile" no-thumbnails>
</q-uploader>
</div>
......
......@@ -18,7 +18,7 @@
<div class="col-6 q-pb-lg">
<q-uploader style="display: inline-block;max-height: 320px;max-width: 100%; background-repeat:no-repeat"
:style="{'background-image':'url(' + objOption.StuIcon + ')'}" max-files="1" hide-upload-btn
@rejected="onRejected" label="学员头像" :max-file-size="512*1024" accept=".jpg, image/*" auto-upload
@rejected="onRejected" label="学员头像" accept=".jpg, image/*" auto-upload
:factory="uploadFile" no-thumbnails>
</q-uploader>
</div>
......
......@@ -31,14 +31,14 @@
<div class="col-6 q-pr-lg q-pb-lg">
<q-uploader style="display: inline-block;height: 320px;max-width: 100%; background-repeat:no-repeat"
:style="{'background-image':'url(' + objOption.TeacherHead + ')'}" max-files="1" hide-upload-btn
@rejected="onRejected" label="教师头像" :max-file-size="512*1024" accept=".jpg, image/*" auto-upload
@rejected="onRejected" label="教师头像" accept=".jpg, image/*" auto-upload
:factory="uploadFile" no-thumbnails @added="getType(1)">
</q-uploader>
</div>
<div class="col-6 q-pb-lg">
<q-uploader style="display: inline-block;height:320px; max-width: 100%;background-repeat:no-repeat"
:style="{'background-image':'url(' + objOption.TeacherIcon + ')'}" max-files="1" hide-upload-btn
@rejected="onRejected" label="教师形象照" :max-file-size="512*1024" accept=".jpg, image/*" auto-upload
@rejected="onRejected" label="教师形象照" accept=".jpg, image/*" auto-upload
:factory="uploadFile" no-thumbnails @added="getType(2)">
</q-uploader>
</div>
......
......@@ -90,7 +90,7 @@
<div class="col-2 q-pr-lg q-pb-lg">
<q-uploader style="display: inline-block;max-height: 320px;max-width: 100%; background-repeat:no-repeat"
:style="{'background-image':'url(' + NoticeBaseInfo.Image + ')'}" max-files="1" hide-upload-btn
@rejected="onRejected" label="公文抬头图片" :max-file-size="512*1024" accept=".jpg, image/*" auto-upload
@rejected="onRejected" label="公文抬头图片" accept=".jpg, image/*" auto-upload
:factory="uploadFile" no-thumbnails>
</q-uploader>
</div>
......
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