|
@@ -55,12 +55,11 @@
|
|
</div> -->
|
|
</div> -->
|
|
|
|
|
|
<qm-button
|
|
<qm-button
|
|
- v-if="canAllSelective"
|
|
|
|
|
|
+ v-if="canAllSelective && !disabledArbitrateType"
|
|
type="primary"
|
|
type="primary"
|
|
shape="round"
|
|
shape="round"
|
|
size="middle"
|
|
size="middle"
|
|
style="height: 76px; border-radius: 10px; padding: 12px"
|
|
style="height: 76px; border-radius: 10px; padding: 12px"
|
|
- :disabled="disabledArbitrateType"
|
|
|
|
@click="setAllUnselective"
|
|
@click="setAllUnselective"
|
|
>
|
|
>
|
|
未选做
|
|
未选做
|
|
@@ -70,7 +69,6 @@
|
|
shape="round"
|
|
shape="round"
|
|
size="middle"
|
|
size="middle"
|
|
style="height: 76px; border-radius: 10px; padding: 12px"
|
|
style="height: 76px; border-radius: 10px; padding: 12px"
|
|
- :disabled="disabledArbitrateType"
|
|
|
|
@click="submit"
|
|
@click="submit"
|
|
>
|
|
>
|
|
提交
|
|
提交
|
|
@@ -317,10 +315,7 @@ import { message, Modal } from "ant-design-vue";
|
|
const route = useRoute();
|
|
const route = useRoute();
|
|
// const curQuestionIndex = ref<number>(0);
|
|
// const curQuestionIndex = ref<number>(0);
|
|
const disabledArbitrateType = computed(() => {
|
|
const disabledArbitrateType = computed(() => {
|
|
- return (
|
|
|
|
- route.path === "/admin/exam/arbitrate/start" &&
|
|
|
|
- store.setting?.arbitrateType === "QUESTION"
|
|
|
|
- );
|
|
|
|
|
|
+ return route.path === "/admin/exam/arbitrate/start";
|
|
});
|
|
});
|
|
const canAllSelective = computed(() => {
|
|
const canAllSelective = computed(() => {
|
|
return (
|
|
return (
|