Merge branch 'pingcode-1104' into dev0515

This commit is contained in:
zhangsir
2024-11-08 19:13:53 +08:00

View File

@@ -59,7 +59,7 @@
</div>
<div v-else style="text-align: center;">
<div style="padding: 20px;">{{courseFile.fileName}} <span style="color: green;">上传成功</span></div>
<div><el-button @click="chooseCourseFile(courseFile)" type="primary" size="mini">确定</el-button></div>
<div><el-button @click="chooseCourseFile(courseFile,true)" type="primary" size="mini">确定</el-button></div>
</div>
</el-tab-pane>
</el-tabs>
@@ -255,8 +255,8 @@
})
},
chooseCourseFile(ccfile){
if(ccfile.resType == 10){
chooseCourseFile(ccfile,val=false){
if(ccfile.resType == 10&&val){
apiCourseFile.saveUpload(this.successParams).then(rs=>{
if(rs.status==200){
this.$emit('choose', rs.result);