Merge branch 'master' of codeup.aliyun.com:6265f483e4166464dc2f9c14/boeu/portal into online

This commit is contained in:
dongruihua
2022-08-03 18:50:44 +08:00
3 changed files with 15 additions and 6 deletions

BIN
public/images/bgimg/wfl.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 KiB

View File

@@ -580,6 +580,9 @@ export default {
userIds.push(courseTeahcer.teacherIds[0]); userIds.push(courseTeahcer.teacherIds[0]);
item.authorInfo.aid = courseTeahcer.teacherIds[0]; item.authorInfo.aid = courseTeahcer.teacherIds[0];
item.authorInfo.name = courseTeahcer.names[0]; item.authorInfo.name = courseTeahcer.names[0];
if(item.authorInfo.name=='BOE教师'){
item.authorInfo.name='';
}
} }
return true; return true;
} else { } else {

View File

@@ -170,7 +170,7 @@
</div> </div>
</div> </div>
<div class="paper-box"> <div class="paper-box">
<div v-for="(item, idx) in paper.data" :key="idx"> <div v-if="paper.data.length>0" v-for="(item,idx) in paper.data" :key="idx">
<div v-if="item.type < 900"> <div v-if="item.type < 900">
<div style="display: flex;justify-content: space-between;background-color: #dcf1ff;padding: 5px;"> <div style="display: flex;justify-content: space-between;background-color: #dcf1ff;padding: 5px;">
<div> <div>
@@ -182,10 +182,8 @@
<!-- <span style="padding-left: 5px;">知识点[{{item.analysis}}]</span> --> <!-- <span style="padding-left: 5px;">知识点[{{item.analysis}}]</span> -->
</div> </div>
<div> <div>
<el-input style="width: 120px;" size="mini" v-model="item.defaultScore" placeholder="分数" @blur="paperCalculation()"> <el-input @input="changeInput($event)" v-model="item.defaultScore" style="width: 120px;" size="mini" placeholder="分数" @blur="paperCalculation()">
<template slot="append"> <template slot="append"></template>
</template>
</el-input> </el-input>
<el-button icon="el-icon-delete" @click="checkDelete(idx)" size="mini"></el-button> <el-button icon="el-icon-delete" @click="checkDelete(idx)" size="mini"></el-button>
</div> </div>
@@ -370,7 +368,7 @@ export default {
testName: '', testName: '',
remark: '', remark: '',
difficulty: '', difficulty: '',
data: [] data: []
}, },
showCompilerDialog: false, showCompilerDialog: false,
checkQuest: [], checkQuest: [],
@@ -413,6 +411,9 @@ export default {
// } // }
}, },
methods: { methods: {
changeInput(e){
this.$forceUpdate();
},
currentChange(val) { currentChange(val) {
this.qlib.pageIndex = val; this.qlib.pageIndex = val;
this.questionList(); this.questionList();
@@ -725,6 +726,11 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.el-input{
.el-input__inner{
padding: 0px 5px;
}
}
.test-input { .test-input {
width: 60px; width: 60px;
margin: 0 5px; margin: 0 5px;