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 @@
-
- +
+
-
+
+