feat:合并

This commit is contained in:
lixg
2022-12-03 08:30:43 +08:00
parent 20d58c0ee4
commit ce4cc38247
5 changed files with 57 additions and 35 deletions

View File

@@ -15,16 +15,16 @@
@click="closeDrawer"
/>
</div>
<div style="display: flex; flex-direction: row; padding-top: 32px">
<button
<!-- 2022-11-30注释 后面放开 修改div的padding-topL:32 -->
<div style="display: flex; flex-direction: row; padding-top: 0px">
<!-- <button
style="width: 100px"
@click="changeOuter(1)"
:class="[isOuter == 1 ? 'outer' : 'notOuter']"
>
系统考试
</button>
<!-- 2022-11-30注释 后面放开 -->
</button> -->
<!-- <button
style="width: 100px"
@click="changeOuter(2)"
@@ -666,7 +666,7 @@ export default {
state.paperName = "";
};
const queryTest = () => {
state.addLoading = true;
state.addLoading = true;
queryExaminationDetailById({ examinationId: props.EditTestId })
.then((res) => {
formState.examinationName = res.data.data.examinationName;
@@ -727,7 +727,7 @@ export default {
if (props.edit) {
// 编辑任务
updateExamination(obj)
.then(async(res) => {
.then(async (res) => {
await updateTask(res);
closeDrawer();
})
@@ -737,7 +737,7 @@ export default {
} else {
// 创建任务
createExamination(obj)
.then(async(res) => {
.then(async (res) => {
await updateTask(res);
closeDrawer();
})