|
@@ -323,7 +323,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="filebox">
|
|
|
- <div class="file" v-for="(f, fileIndex) in file" :key="fileIndex">
|
|
|
+ <div class="file" v-for="(f, fileIndex) in file" :key="fileIndex" @click="downFile(fileIndex)">
|
|
|
<img :src="require('../assets/file.png')" alt="" />
|
|
|
<div>{{ f.name }}</div>
|
|
|
</div>
|
|
@@ -658,35 +658,6 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <!-- <div class="marginT">
|
|
|
- <div>附件上传</div>
|
|
|
- <div
|
|
|
- class="chapter_add"
|
|
|
- v-if="studyJuri[0].upFile.length == 0"
|
|
|
- @click="addImg($event)"
|
|
|
- >
|
|
|
- <div class="up_photo">
|
|
|
- <el-button
|
|
|
- type="small"
|
|
|
- style="background: rgb(60, 102, 189); color: #fff"
|
|
|
- >点击上传</el-button
|
|
|
- >
|
|
|
- </div>
|
|
|
- <input
|
|
|
- type="file"
|
|
|
- accept="application/pdf,.ppt,.pptx,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document"
|
|
|
- style="display: none"
|
|
|
- @change="beforeUpload2($event, 3)"
|
|
|
- />
|
|
|
- </div>
|
|
|
- <div class="chapter_add" v-else>
|
|
|
- <img :src="require('../assets/file.png')" alt="" />
|
|
|
- <span>{{ studyJuri[0].upFile[0].name }}</span>
|
|
|
- <div class="deleteWord" @click="clean(3)">
|
|
|
- <img src="../assets/icon/delete.png" alt="" />
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div> -->
|
|
|
<div class="upload_send" @click="addWork">提交</div>
|
|
|
</el-dialog>
|
|
|
</div>
|