From 6d7cc002dda87e08529673730277161a1fcadd87 Mon Sep 17 00:00:00 2001
From: significative <163999932+significative@users.noreply.github.com>
Date: Sun, 28 Jul 2024 14:58:56 +0800
Subject: [PATCH] =?UTF-8?q?=E4=B8=93=E5=AE=B6=E9=A6=96=E9=A1=B5=E7=B1=BB?=
=?UTF-8?q?=E5=9E=8B=E8=A1=A5=E5=85=85?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../workbench/components/chExpert/index.vue | 61 +++++++++++--------
1 file changed, 34 insertions(+), 27 deletions(-)
diff --git a/jeecgboot-vue3-master/src/views/depart/workbench/components/chExpert/index.vue b/jeecgboot-vue3-master/src/views/depart/workbench/components/chExpert/index.vue
index b5ae7182..3a9c9610 100644
--- a/jeecgboot-vue3-master/src/views/depart/workbench/components/chExpert/index.vue
+++ b/jeecgboot-vue3-master/src/views/depart/workbench/components/chExpert/index.vue
@@ -65,7 +65,7 @@
{{ o.ndbs }}
{{ o.ndbsxm }}
-
+
@@ -94,7 +94,7 @@
{{ o.ndbs }}
{{ o.ndbsxm }}
-
+
@@ -108,31 +108,38 @@ import { getZjsybsjs } from '/@/api/demo/depart';
import { Empty as AEmpty } from 'ant-design-vue';
import { ref } from 'vue'
-const data = ref({
- jxzndbsxmNumber: '',
- jxzndbsxmList: [
- {
- xh: '',
- ndbs: '',
- ndbsxm: ''
- }
- ],
- lsndbsxmNumber: '',
- lsndbsxmList: [
- {
- xh: '',
- ndbs: '',
- ndbsxm: ''
- }
- ],
- gjj: '',
- shengj: '',
- shij: '',
- xj: '',
- gjjls: '',
- shengjls: '',
- shijls: '',
- xjls: ''
+type o = {
+ xh: string,
+ ndbs: string,
+ ndbsxm: string
+}
+type ob = {
+ jxzndbsxmNumber: number;
+ jxzndbsxmList: o[] | [];
+ lsndbsxmNumber: number;
+ lsndbsxmList: o[] | [];
+ gjj: number;
+ shengj: number;
+ shij: number;
+ xj: number;
+ gjjls: number;
+ shengjls: number;
+ shijls: number;
+ xjls: number;
+}
+const data = ref({
+ jxzndbsxmNumber: 0,
+ jxzndbsxmList: [],
+ lsndbsxmNumber: 0,
+ lsndbsxmList: [],
+ gjj: 0,
+ shengj: 0,
+ shij: 0,
+ xj: 0,
+ gjjls: 0,
+ shengjls: 0,
+ shijls: 0,
+ xjls: 0
})
getZjsybsjs().then(res => {
Object.assign(data.value, res)