diff --git a/src/views/cet/cet-student-query.vue b/src/views/cet/cet-student-query.vue
index da6a43a..3b48cd9 100644
--- a/src/views/cet/cet-student-query.vue
+++ b/src/views/cet/cet-student-query.vue
@@ -34,7 +34,7 @@
@@ -54,7 +54,7 @@ const search: UnwrapRef = reactive({
id: '',
});
const isShow = ref(false);
-const loadding = ref(false);
+const loading = ref(false);
const tableData = ref([]);
const tableLabel = ref([
{
@@ -99,16 +99,17 @@ const rules: Record = {
],
};
const url = ref({
- getData: 'cet/getData',
+ getData: 'cet/getDataByStudent',
});
const formRef = ref();
const handleSearch = () => {
formRef.value.validate().then(async () => {
+ loading.value = true;
tableData.value = await defHttp.post({
url: url.value.getData,
params: search,
});
- console.log(1231);
+ loading.value = false;
if (tableData.value.length > 0) {
isShow.value = true;
} else {