From 3701b8bb09c7232b54e82f7f2d563988e5e73294 Mon Sep 17 00:00:00 2001
From: huliyong <2783385703@qq.com>
Date: Tue, 10 Dec 2024 21:37:24 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E6=8E=A5=E5=8F=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/api.js | 16 +++
pages.json | 7 +
pages/index/center.vue | 72 +++++++---
pages/subPack/projectManage/projectManage.vue | 182 ++++++++++++++++++++++++++
uni.scss | 25 +++-
5 files changed, 283 insertions(+), 19 deletions(-)
create mode 100644 pages/subPack/projectManage/projectManage.vue
diff --git a/api/api.js b/api/api.js
index 2f41c6b..da4c185 100644
--- a/api/api.js
+++ b/api/api.js
@@ -115,6 +115,22 @@ const config = {
showLoading : true,
debounce : 400,
},
+
+
+
+ // 项目列表分页
+ clockProjectList: {
+ url: '/clock/project/list',
+ method: 'GET',
+ auth : true,
+ },
+ // 设置项目经纬度
+ clockProjectLocation: {
+ url: '/clock/project/location',
+ method: 'POST',
+ auth : true,
+ showLoading : true,
+ },
}
diff --git a/pages.json b/pages.json
index 05d3380..75942a6 100644
--- a/pages.json
+++ b/pages.json
@@ -62,6 +62,13 @@
"style": {
"navigationBarTitleText": "选择工程"
}
+ },
+ {
+ "path" : "projectManage/projectManage",
+ "style" :
+ {
+ "navigationBarTitleText" : "项目管理"
+ }
}
]
}],
diff --git a/pages/index/center.vue b/pages/index/center.vue
index da808f0..e3dda60 100644
--- a/pages/index/center.vue
+++ b/pages/index/center.vue
@@ -7,14 +7,14 @@