|
@@ -94,7 +94,7 @@
|
|
|
/>
|
|
|
</template>
|
|
|
|
|
|
-<script setup lang="ts">
|
|
|
+<script setup lang="ts" name="QuestionPanel">
|
|
|
import { computed, ref, watch } from "vue";
|
|
|
import { message } from "ant-design-vue";
|
|
|
import { SwapOutlined } from "@ant-design/icons-vue";
|
|
@@ -108,9 +108,9 @@ import { useDataCheckStore } from "@/store";
|
|
|
import { vEleClickOutsideDirective } from "@/directives/eleClickOutside";
|
|
|
import { getSliceFileUrl } from "@/utils/tool";
|
|
|
|
|
|
-defineOptions({
|
|
|
- name: "QuestionPanel",
|
|
|
-});
|
|
|
+// defineOptions({
|
|
|
+// name: "QuestionPanel",
|
|
|
+// });
|
|
|
|
|
|
const props = withDefaults(
|
|
|
defineProps<{
|
|
@@ -238,13 +238,13 @@ async function paperTypeModified(paperType: string) {
|
|
|
dataCheckStore.modifyPaperType({
|
|
|
paperIndex: curPage.value?.paperIndex as number,
|
|
|
pageIndex: curPage.value?.pageIndex as number,
|
|
|
- paperType,
|
|
|
+ paperType: paperType || "#",
|
|
|
});
|
|
|
await dataCheckStore.updateField({
|
|
|
field: "PAPER_TYPE",
|
|
|
value: JSON.stringify({
|
|
|
...dataCheckStore.curPage.paperType,
|
|
|
- result: paperType,
|
|
|
+ result: paperType || "#",
|
|
|
}),
|
|
|
});
|
|
|
dataCheckStore.curPage.paperType.result = paperType;
|