From 7abb43c29afc85d9ac29430348cf57f7378e211c Mon Sep 17 00:00:00 2001
From: linlihong <747682928@qq.com>
Date: Mon, 9 Sep 2024 09:44:56 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A5=E5=8F=A3=E8=B7=AF?=
=?UTF-8?q?=E5=BE=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/cet/cet-student-query.vue | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
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 {