From e2fbe725ed1ccc3d4dfdf1f86de6e5f2995f0fa4 Mon Sep 17 00:00:00 2001
From: dzc <2388224167@qq.com>
Date: Tue, 25 Aug 2026 13:06:51 +0800
Subject: [PATCH] 11
---
src/views/hard/hard-spu-repertory/index.vue | 28 +++++++++++++++++--
.../wallet/components/code-use-table.vue | 24 ++++++++++++++--
2 files changed, 47 insertions(+), 5 deletions(-)
diff --git a/src/views/hard/hard-spu-repertory/index.vue b/src/views/hard/hard-spu-repertory/index.vue
index 9ac924b8..a5c8fa2a 100644
--- a/src/views/hard/hard-spu-repertory/index.vue
+++ b/src/views/hard/hard-spu-repertory/index.vue
@@ -26,6 +26,19 @@
>
+
+
+
+
+
+
+
+
-
+
- {{ row.username }}
+
+
+
+
@@ -111,6 +127,7 @@ import { BasicTableProps, useTable } from "/@/hooks/table"
import * as hardSpuRepertory from "/@/api/hard/hard-spu-repertory"
import { useMessage, useMessageBox } from "/@/hooks/message"
import { useDict } from "/@/hooks/dict"
+import { createEmptyUserIdentityStudentQuery, createEmptyUserIdentityTeacherQuery } from "/@/components/UserIdentityQuery/types"
// 引入组件
const FormDialog = defineAsyncComponent(() => import("./form.vue"))
@@ -126,7 +143,12 @@ const selectObjs = ref([]) as any
const multiple = ref(true)
const state: BasicTableProps = reactive({
- queryForm: {},
+ queryForm: {
+ identityTypes: [],
+ studentInfo: createEmptyUserIdentityStudentQuery(),
+ teacherInfo: createEmptyUserIdentityTeacherQuery(),
+ hasFace: "",
+ },
pageList: hardSpuRepertory.pageJoin,
})
diff --git a/src/views/wallet/components/code-use-table.vue b/src/views/wallet/components/code-use-table.vue
index 9086677d..cee12d6a 100644
--- a/src/views/wallet/components/code-use-table.vue
+++ b/src/views/wallet/components/code-use-table.vue
@@ -9,9 +9,18 @@
@search="getDataList"
@reset="resetQuery"
>
+
+
+
+
+
+
-
+
+
+
+
+
+
@@ -48,13 +62,19 @@
import { BasicTableProps, useTable } from "/@/hooks/table"
import { codeList } from "/@/api/wallet/wallet-code-use"
import { useDict } from "/@/hooks/dict"
+import { createEmptyUserIdentityStudentQuery, createEmptyUserIdentityTeacherQuery } from "/@/components/UserIdentityQuery/types"
// 定义变量内容
const visible = ref(false)
const queryRef = ref()
// 定义查询字典
const { yes_no_type } = useDict("check_status", "yes_no_type")
const state: BasicTableProps = reactive({
- queryForm: {},
+ queryForm: {
+ identityTypes: [],
+ studentInfo: createEmptyUserIdentityStudentQuery(),
+ teacherInfo: createEmptyUserIdentityTeacherQuery(),
+ hasFace: "",
+ },
pageList: codeList,
})
// table hook