feat: 模板编辑,添加选择系统/内部考试,更新公告,阶段任务方法添加

This commit is contained in:
王熙东
2022-11-16 10:43:34 +08:00
parent efcfb3efe6
commit 96544ab02b
4 changed files with 289 additions and 25 deletions

View File

@@ -15,6 +15,13 @@
@click="closeDrawer"
/>
</div>
<div style="display: flex; flex-direction: row">
<a-button style="width:100px;"
@click="()=>{isOuter = 1}"
:class="[isOuter == 1? 'outer' : '' ]">系统考试</a-button>
<a-button style="width:100px;" @click="()=>{isOuter = 2}"
:class="[isOuter == 2? 'outer' : '' ]" >外部考试</a-button>
</div>
<a-form
ref="formRef"
name="custom-validation"
@@ -270,6 +277,7 @@ export default {
});
const state = reactive({
addLoading: false,
isOuter:1, // 是否为外部考试
})
const formRef = ref();
let checkExaminationName = async (_rule, value) => {