更改jsx运行不报错

This commit is contained in:
NiSen
2023-06-14 19:29:32 +08:00
parent 0fcb106f2d
commit d7404acd6e
47 changed files with 47 additions and 47 deletions

View File

@@ -282,7 +282,7 @@
<!-- 二维码弹窗 -->
</template>
<script>
<script lang="jsx">
import { toRefs, reactive } from "vue";
import SignQR from "./SignQR.vue";
import TwoDimensionalCode from "../../components/TwoDimensionalCode";

View File

@@ -40,7 +40,7 @@
</div>
</a-drawer>
</template>
<script setup>
<script setup lang="jsx">
import {computed, defineEmits, defineProps, ref, watch} from "vue";
import {message} from "ant-design-vue";
import CreateOnline from "@/components/drawers/CreateOnline.vue";

View File

@@ -366,7 +366,7 @@
</a-modal>
</a-drawer>
</template>
<script setup>
<script setup lang="jsx">
import {defineProps, ref, nextTick} from "vue";
import {Form, message} from "ant-design-vue";
import FJUpload from "@/components/common/FJUpload";

View File

@@ -178,7 +178,7 @@
</a-modal>
</a-drawer>
</template>
<script setup>
<script setup lang="jsx">
import { computed, defineEmits, defineProps, ref, watch } from "vue";
import { message } from "ant-design-vue";
// import { useRouter } from "vue-router";

View File

@@ -48,7 +48,7 @@
/>
</div>
</template>
<script setup>
<script setup lang="jsx">
import { computed, defineEmits, defineProps, ref, watch } from "vue";
// import { useRouter } from "vue-router";
import { useRowsPage } from "@/api/request";

View File

@@ -129,7 +129,7 @@
<CQue v-model:CQvisible="CQvisible"/>
</template>
<script>
<script lang="jsx">
import { toRefs, reactive } from "vue";
import { message } from 'ant-design-vue';
import ASOver from "./AllStuOver.vue";

View File

@@ -71,7 +71,7 @@
@visibleClose="visibleClose"
/>
</template>
<script setup>
<script setup lang="jsx">
import { computed, defineEmits, defineProps, ref, watch } from "vue";
import { list } from "@/api/indexCourse";
import CourseModal from "../../views/courselibrary/courseModal.vue";

View File

@@ -186,7 +186,7 @@
</a-drawer>
</template>
<script>
<script lang="jsx">
import { toRefs, reactive, watch } from "vue";
// import StuAdd from "./StuAdd.vue";
// import { getProjStu } from "../../api/indexProjStu";

View File

@@ -569,7 +569,7 @@
<!-- 确认添加部门弹窗 -->
</a-drawer>
</template>
<script>
<script lang="jsx">
import {reactive, toRefs, onMounted, onUnmounted, computed} from "vue";
import elementResizeDetectorMaker from "element-resize-detector";
import {message} from "ant-design-vue";

View File

@@ -130,7 +130,7 @@
</a-drawer>
</template>
<script>
<script lang="jsx">
import { toRefs, reactive } from "vue";
import * as api from "../../api/index1";
import { message } from "ant-design-vue";

View File

@@ -284,7 +284,7 @@
/>
</template>
<script>
<script lang="jsx">
import StuScoreDetail from "../../components/drawers/StuScoreDetail";
import { reactive, toRefs, onMounted } from "vue";
import * as api from "../../api/index1";

View File

@@ -122,7 +122,7 @@
</a-drawer>
</template>
<script>
<script lang="jsx">
import { toRefs, reactive } from "vue";
import { message } from 'ant-design-vue';
import * as api from "../../api/indexExam";

View File

@@ -100,7 +100,7 @@
</a-drawer>
</template>
<script>
<script lang="jsx">
import { toRefs, reactive, onMounted, onUnmounted } from "vue";
import { message } from 'ant-design-vue';
import CVote from "./CheckVote.vue"

View File

@@ -110,7 +110,7 @@
</a-drawer>
</template>
<script>
<script lang="jsx">
import { toRefs, reactive } from "vue";
import { message } from 'ant-design-vue';
import EHWork from "./ExportHWork.vue"

View File

@@ -114,7 +114,7 @@
</a-drawer>
</template>
<script>
<script lang="jsx">
import { toRefs, reactive, onMounted, onUnmounted } from "vue";
import { message } from "ant-design-vue";
// import * as api from "../../../api/index";

View File

@@ -120,7 +120,7 @@
<CheckAnsware v-model:CAvisible="CAvisible" :datasource="datasource1"/>
</template>
<script>
<script lang="jsx">
import { toRefs, reactive } from "vue";
import { message } from "ant-design-vue";
import EScore from "../ExportScore.vue";

View File

@@ -126,7 +126,7 @@
</a-drawer>
</template>
<script>
<script lang="jsx">
import { toRefs, reactive } from "vue";
import { message } from "ant-design-vue";
import ExportAchievement from "../ExportAchievement.vue";

View File

@@ -133,7 +133,7 @@
:downloadUrl="downloadUrl"
/>
</template>
<script setup>
<script setup lang="jsx">
import {computed, defineEmits, ref, watch} from "vue";
import * as api from "@/api/index1";
import BaseTable from "@/components/common/BaseTable";

View File

@@ -158,7 +158,7 @@
/>
</template>
<script>
<script lang="jsx">
import { toRefs, reactive } from "vue";
import { message } from "ant-design-vue";
import CKWork from "../CheckWork.vue";

View File

@@ -132,7 +132,7 @@
:basicdata="datasource.info" />
</template>
<script>
<script lang="jsx">
import { toRefs, reactive, onMounted, onUnmounted } from "vue";
import { message } from "ant-design-vue";
// import * as api from "../../../api/index";

View File

@@ -119,7 +119,7 @@
/>
</template>
<script>
<script lang="jsx">
import { toRefs, reactive, onMounted, onUnmounted } from "vue";
import { message } from "ant-design-vue";
// import * as api from "../../../api/index";

View File

@@ -132,7 +132,7 @@
:basicdata="datasource.info" />
</template>
<script>
<script lang="jsx">
import { toRefs, reactive, onMounted, onUnmounted } from "vue";
import { message } from "ant-design-vue";
import ViewAssess from "../ViewAssess";

View File

@@ -112,7 +112,7 @@
</a-drawer>
</template>
<script>
<script lang="jsx">
import { toRefs, reactive, onMounted, onUnmounted } from "vue";
import { message } from "ant-design-vue";
// import * as api from "../../../api/index";

View File

@@ -125,7 +125,7 @@
</a-drawer>
</template>
<script>
<script lang="jsx">
import { toRefs, reactive } from "vue";
import { message } from "ant-design-vue";
import ExportAchievement from "../ExportAchievement.vue";

View File

@@ -82,7 +82,7 @@
<CheckAnsware v-model:CAvisible="CAvisible" :datasource="datasource1" />
</template>
<script>
<script lang="jsx">
import { toRefs, reactive } from "vue";
import { message } from "ant-design-vue";
import EScore from "../ExportScore.vue";

View File

@@ -150,7 +150,7 @@
</a-drawer>
</template>
<script setup>
<script setup lang="jsx">
import {computed, defineEmits, ref, watch} from "vue";
import * as api from "@/api/index1";
import BaseTable from "@/components/common/BaseTable";

View File

@@ -101,7 +101,7 @@
<ExportHomeWork v-model:exportHomeWorkV="exportHomeWorkV" :downloadUrl="downloadUrl" />
</template>
<script>
<script lang="jsx">
import { toRefs, reactive } from "vue";
import { message } from "ant-design-vue";
import CKWork from "../CheckWork.vue";

View File

@@ -120,7 +120,7 @@
/>
</template>
<script>
<script lang="jsx">
import { toRefs, reactive, onMounted, onUnmounted } from "vue";
import { message } from "ant-design-vue";
import SeeStu from "@/components/drawers/SeeStu";

View File

@@ -119,7 +119,7 @@
/>
</template>
<script>
<script lang="jsx">
import { toRefs, reactive, onMounted, onUnmounted } from "vue";
import { message } from "ant-design-vue";
// import * as api from "../../../api/index";

View File

@@ -88,7 +88,7 @@
</div>
</div>
</template>
<script>
<script lang="jsx">
import { reactive, toRefs } from "vue";
import * as api from "@/api/index1";
import OrgClass from "@/components/project/OrgClass";

View File

@@ -390,7 +390,7 @@
</div>
</a-modal>
</template>
<script setup>
<script setup lang="jsx">
import {computed, defineProps, onMounted, ref, watch} from "vue";
import {delStudentList, getStuPage, batchUpdateStatus, auditStudentBatch} from "@/api/index1";
import ChangeGroupModal from "@/components/student/ChangeGroupModal.vue";

View File

@@ -1216,7 +1216,7 @@
:type="codeType == 1 ? '课程二维码' : codeType == 2 ? '签到二维码' : ''" />
<!-- 二维码弹窗 -->
</template>
<script>
<script lang="jsx">
import {
reactive,
toRefs,

View File

@@ -531,7 +531,7 @@
</div>
<div class="mbl_items">
<div class="item_nam">
<span style="margin-right: 14px">内容标签</span>
<span style="margin-right: 14px">关键字</span>
</div>
<div class="item_inp">
<!-- <a-select

View File

@@ -116,7 +116,7 @@
</a-modal>
</div>
</template>
<script>
<script lang="jsx">
import {reactive, toRefs, onMounted, computed} from "vue";
import { courseListView } from "../../api/indexAudit";
import {useStore} from "vuex";

View File

@@ -249,7 +249,7 @@
</a-modal>
</div>
</template>
<script>
<script lang="jsx">
import {reactive, toRefs, onMounted, ref, computed} from "vue";
import { list, courseAuditView, courseDetail, inviteAudit } from "../../api/indexAudit";
import { message } from "ant-design-vue";

View File

@@ -101,7 +101,7 @@
</a-modal>
</div>
</template>
<script>
<script lang="jsx">
import { onMounted, reactive, toRefs } from "vue";
import { auditedlist } from "../../api/indexAudit";
import * as moment from "moment";

View File

@@ -77,7 +77,7 @@
v-model:chooseCreateId="chooseCreateId" v-model:chooseCreater="chooseCreater" v-model:finishdFun="getProjList" />
</div>
</template>
<script>
<script lang="jsx">
import { onMounted, reactive, toRefs } from "vue";
import ProjectAudit from "../../components/drawers/ProjectAudit";
import { auditlist } from "../../api/indexAudit";

View File

@@ -1380,7 +1380,7 @@
/>
</div>
</template>
<script>
<script lang="jsx">
import { ref, reactive, toRefs, onMounted, createVNode, watch } from "vue";
import { ExclamationCircleOutlined } from "@ant-design/icons-vue";
import { message, Modal } from "ant-design-vue";

View File

@@ -937,7 +937,7 @@
/>
</div>
</template>
<script>
<script lang="jsx">
import { reactive, toRefs, ref, watch } from "vue";
import { message } from "ant-design-vue";
import { useRouter } from "vue-router";

View File

@@ -2268,7 +2268,7 @@
<!-- 换组弹窗 -->
</div>
</template>
<script>
<script lang="jsx">
import { reactive, toRefs, onMounted, watch, computed } from "vue";
import { useRoute } from "vue-router";
import { useRouter } from "vue-router";

View File

@@ -63,7 +63,7 @@
</div>
</div>
</template>
<script>
<script lang="jsx">
import {reactive, defineComponent, toRefs, onMounted} from "vue";
import {message} from "ant-design-vue";
import {useRouter} from "vue-router";

View File

@@ -135,7 +135,7 @@
</div>
</div>
</template>
<script>
<script lang="jsx">
import { ref, toRefs, reactive, onMounted } from "vue";
import * as api from "../../api/indexProject";
// import dayjs from "dayjs";

View File

@@ -114,7 +114,7 @@
</div>
</div>
</template>
<script>
<script lang="jsx">
import { ref, toRefs, reactive, onMounted } from "vue";
import * as api from "../../api/indexOvervoew";
import { message } from "ant-design-vue";

View File

@@ -126,7 +126,7 @@
</div>
</div>
</template>
<script>
<script lang="jsx">
import { message } from "ant-design-vue";
import * as api from "../../api/indexOvervoew";
// import * as api from "../../api/indexWay";

View File

@@ -110,7 +110,7 @@
</div>
</div>
</template>
<script>
<script lang="jsx">
import { ref, toRefs, reactive, onMounted } from "vue";
import * as api from "../../api/indexProject";
// import dayjs from "dayjs";

View File

@@ -163,7 +163,7 @@
</div>
</div>
</template>
<script>
<script lang="jsx">
import { ref, toRefs, reactive, onMounted } from "vue";
import * as api from "../../api/indexProject";
import dayjs from "dayjs";

View File

@@ -78,7 +78,7 @@
:basicdata="basicInfo" />
</template>
<script>
<script lang="jsx">
import ViewAssess from "../../components/drawers/ViewAssess";
import { reactive, toRefs } from "vue";
import { queryAssessmentDetailList } from "@/api/indexResearch";