mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 22:06:45 +08:00
fix:上传文件函数修改
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
</div>
|
||||
<div class="btnbox" style="flex-direction: column; align-items: flex-start">
|
||||
<a-upload v-model:file-list="fileList" name="file" style="width: 200px" list-type="picture-card"
|
||||
class="avatar-uploader" :show-upload-list="false" @change="handleChange" :before-upload="beforeUpload">
|
||||
class="avatar-uploader" :show-upload-list="false" :before-upload="beforeUpload">
|
||||
<img v-if="imageUrl" :src="imageUrl" alt="avatar" />
|
||||
<div v-else>
|
||||
<loading-outlined v-if="loading"></loading-outlined>
|
||||
@@ -82,22 +82,22 @@
|
||||
<img src="@/assets/images/coursewareManage/asterisk.png" alt="" />
|
||||
</div>
|
||||
<span style="
|
||||
margin-right: 3px;
|
||||
font-size: 16px;
|
||||
color: #333;
|
||||
font-size: 14px;
|
||||
">设置获得条件</span>
|
||||
margin-right: 3px;
|
||||
font-size: 16px;
|
||||
color: #333;
|
||||
font-size: 14px;
|
||||
">设置获得条件</span>
|
||||
</div>
|
||||
<div class="btnbox"></div>
|
||||
</div>
|
||||
|
||||
<div class="main_item" style="
|
||||
border: 1px solid rgba(0, 0, 0, 0.1);
|
||||
width: ;
|
||||
margin-left: 35px;
|
||||
padding-top: 30px;
|
||||
margin-top: 0px;
|
||||
">
|
||||
border: 1px solid rgba(0, 0, 0, 0.1);
|
||||
width: ;
|
||||
margin-left: 35px;
|
||||
padding-top: 30px;
|
||||
margin-top: 0px;
|
||||
">
|
||||
<div class="signbox" style="width: 30px">
|
||||
<span style="margin-right: 3px; font-size: 16px; color: #333"></span>
|
||||
</div>
|
||||
@@ -117,11 +117,11 @@
|
||||
|
||||
<br />
|
||||
<div style="
|
||||
height: 60px;
|
||||
margin-left: 24px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
">
|
||||
height: 60px;
|
||||
margin-left: 24px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
">
|
||||
<a-radio-group v-model:value="large" size="small" @change="selectlarge" :disabled="condition !== 1">
|
||||
<a-radio-button value="1">全部任务</a-radio-button>
|
||||
<a-radio-button value="2">完成必修任务</a-radio-button>
|
||||
@@ -132,11 +132,11 @@
|
||||
</a-radio>
|
||||
<br />
|
||||
<div style="
|
||||
height: 60px;
|
||||
margin-left: 24px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
">
|
||||
height: 60px;
|
||||
margin-left: 24px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
">
|
||||
<a-select ref="select" size="small" placeholder="请选择阶段" v-model:value="selectStageName"
|
||||
style="width: 120px" @focus="focus" @change="selectStage" :options="stageList" :fieldNames="{
|
||||
key: 'id',
|
||||
@@ -150,11 +150,11 @@
|
||||
</a-radio>
|
||||
<br />
|
||||
<div style="
|
||||
height: 60px;
|
||||
margin-left: 24px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
">
|
||||
height: 60px;
|
||||
margin-left: 24px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
">
|
||||
<a-select ref="select" size="small" placeholder="请选择任务" v-model:value="selectTaskName"
|
||||
style="width: 120px" @focus="focus" @change="selectTask" :options="taskList" :fieldNames="{
|
||||
key: 'id',
|
||||
@@ -168,11 +168,11 @@
|
||||
</a-radio>
|
||||
<br />
|
||||
<div style="
|
||||
height: 60px;
|
||||
margin-left: 24px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
">
|
||||
height: 60px;
|
||||
margin-left: 24px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
">
|
||||
<a-select ref="select" size="small" placeholder="请选择考试" v-model:value="selectExamName"
|
||||
style="width: 120px" @focus="focus" @change="selectExam" :options="examList" :fieldNames="{
|
||||
key: 'id',
|
||||
@@ -186,29 +186,29 @@
|
||||
</a-radio>
|
||||
<br />
|
||||
<div style="
|
||||
height: 60px;
|
||||
margin-left: 24px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
">
|
||||
height: 60px;
|
||||
margin-left: 24px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
">
|
||||
<div style="
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: #333333;
|
||||
line-height: 20px;
|
||||
margin-right: 5px;
|
||||
">
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: #333333;
|
||||
line-height: 20px;
|
||||
margin-right: 5px;
|
||||
">
|
||||
高于
|
||||
</div>
|
||||
<a-input-number id="inputNumber" v-model:value="score" :min="1" :max="projectPoints" style="width: 70px"
|
||||
:disabled="condition !== 5" />
|
||||
<div style="
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: #333333;
|
||||
line-height: 20px;
|
||||
margin-left: 5px;
|
||||
">
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: #333333;
|
||||
line-height: 20px;
|
||||
margin-left: 5px;
|
||||
">
|
||||
分可获得,当前项目积分为 {{ projectPoints }} 分
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user