From 25d9e60dc5a2773b32e79943e6090d53c48ff5ec Mon Sep 17 00:00:00 2001 From: ihzero Date: Wed, 4 Jan 2023 16:35:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=A4=A7=E5=B1=8F=E7=9B=91?= =?UTF-8?q?=E6=8E=A7=E6=98=BE=E7=A4=BA=E6=95=B0=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- src/layouts/default/header/index.vue | 4 ++++ src/views/base/base-data/BaseDrawer.vue | 4 ++-- src/views/base/base-data/base.data.ts | 16 +++++++++++++- src/views/visualization/components/JK.vue | 27 ++++++++++++++--------- 5 files changed, 38 insertions(+), 15 deletions(-) diff --git a/.env.development b/.env.development index 75b92971..c4218e07 100644 --- a/.env.development +++ b/.env.development @@ -6,7 +6,7 @@ VITE_PUBLIC_PATH = / # Cross-domain proxy, you can configure multiple # Please note that no line breaks -VITE_PROXY = [["/api","http://lcny-api.peidikeji.cn"],["/upload","http://lcny-api.peidikeji.cn/api/web/upload"]] +VITE_PROXY = [["/api","http://36.133.205.221:81"],["/upload","http://36.133.205.221:81/api/web/upload"]] # Delete console VITE_DROP_CONSOLE = false diff --git a/src/layouts/default/header/index.vue b/src/layouts/default/header/index.vue index 541080a8..66ec5da6 100644 --- a/src/layouts/default/header/index.vue +++ b/src/layouts/default/header/index.vue @@ -39,6 +39,10 @@ +
+ 数据看板 +
+ + /> diff --git a/src/views/base/base-data/base.data.ts b/src/views/base/base-data/base.data.ts index 9a9cee13..04d60a76 100644 --- a/src/views/base/base-data/base.data.ts +++ b/src/views/base/base-data/base.data.ts @@ -6,6 +6,10 @@ export const columns: BasicColumn[] = [ title: '基地名称', dataIndex: 'name', }, + { + title: '排序', + dataIndex: 'sort', + }, { title: '基地负责人', dataIndex: 'person', @@ -74,7 +78,17 @@ export const accountFormSchema: FormSchema[] = [ required: true, component: 'Input', }, - + { + field: 'sort', + label: '排序', + required: true, + component: 'InputNumber', + componentProps: { + min: 0, + precision: 0, + }, + defaultValue: 0, + }, { field: 'person', label: '基地负责人', diff --git a/src/views/visualization/components/JK.vue b/src/views/visualization/components/JK.vue index 481558e7..d70137e6 100644 --- a/src/views/visualization/components/JK.vue +++ b/src/views/visualization/components/JK.vue @@ -33,24 +33,24 @@
-
- +
+
-
+
+