mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 11:26:45 +08:00
-- 考试bug
This commit is contained in:
@@ -382,7 +382,18 @@ export default {
|
|||||||
},
|
},
|
||||||
setup(props, ctx) {
|
setup(props, ctx) {
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
test: {},
|
test: {
|
||||||
|
examinationName: '',
|
||||||
|
chooseTime: '',
|
||||||
|
examinationDuration: '',
|
||||||
|
passLine: '',
|
||||||
|
examinationExplain: null,
|
||||||
|
examinationLimit: null,
|
||||||
|
showAnswers: 1,
|
||||||
|
showAnalysis: 1,
|
||||||
|
scoringModel: 2,
|
||||||
|
questionArrangement: 4,
|
||||||
|
},
|
||||||
|
|
||||||
addLoading: false,
|
addLoading: false,
|
||||||
isOuter: 1, // 是否为外部考试
|
isOuter: 1, // 是否为外部考试
|
||||||
@@ -406,12 +417,19 @@ export default {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
state.test.showAnswers = 1;
|
|
||||||
state.test.showAnalysis = 1;
|
|
||||||
state.test.scoringModel = 2;
|
|
||||||
state.test.questionArrangement = 4;
|
|
||||||
const clearAll = () => {
|
const clearAll = () => {
|
||||||
state.test = {};
|
state.test = {
|
||||||
|
examinationName: '',
|
||||||
|
chooseTime: '',
|
||||||
|
examinationDuration: '',
|
||||||
|
passLine: '',
|
||||||
|
examinationExplain: null,
|
||||||
|
examinationLimit: null,
|
||||||
|
showAnswers: 1,
|
||||||
|
showAnalysis: 1,
|
||||||
|
scoringModel: 2,
|
||||||
|
questionArrangement: 4,
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
const closeDrawer = () => {
|
const closeDrawer = () => {
|
||||||
@@ -655,7 +673,8 @@ export default {
|
|||||||
const changeOuter = (value) => {
|
const changeOuter = (value) => {
|
||||||
state.isOuter = value;
|
state.isOuter = value;
|
||||||
};
|
};
|
||||||
const chooseTest = () => {};
|
const chooseTest = () => {
|
||||||
|
};
|
||||||
const closeTag = (removedTag) => {
|
const closeTag = (removedTag) => {
|
||||||
const tags = state.choosedTestList.filter(
|
const tags = state.choosedTestList.filter(
|
||||||
(item) => item.key != removedTag
|
(item) => item.key != removedTag
|
||||||
|
|||||||
@@ -316,7 +316,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="itcon">
|
<div class="itcon">
|
||||||
<div class="img" @click="showDrawerAddTest">
|
<div class="img" @click="()=>showDrawerAddTest()">
|
||||||
<img src="../../assets/images/leveladd/kao.png" />
|
<img src="../../assets/images/leveladd/kao.png" />
|
||||||
</div>
|
</div>
|
||||||
<div class="text">考试</div>
|
<div class="text">考试</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user