From 1d3624b054a22e7c4b0ca549d9c5d880e1ee4d5e Mon Sep 17 00:00:00 2001 From: 刘淇 <290219706@qq.com> Date: Mon, 13 Jul 2026 13:40:59 +0800 Subject: [PATCH] 首页。养护任务 --- api/index/index.js | 18 ++++++++++++++++++ common/config/env.js | 3 ++- pages-sub/data/tree-archive/addTree.vue | 180 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------- pages-sub/data/tree-archive/editTree.vue | 58 ++++++++++++++++++++++++++++++++++++++++++---------------- pages-sub/data/tree-archive/logDetail.vue | 15 ++++++++++++--- pages-sub/data/tree-archive/treeRecord.vue | 12 ++++++------ pages.json | 3 ++- pages/index/index.vue | 727 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 8 files changed, 660 insertions(+), 356 deletions(-) diff --git a/api/index/index.js b/api/index/index.js index 542906d..fa65633 100644 --- a/api/index/index.js +++ b/api/index/index.js @@ -30,5 +30,23 @@ export const iWorkOrderSummary = (params) => { return post('/app-api/homePage/summary/iWorkOrderSummary', params); }; +/** + * 距离待办已办 + * @param {Object} params {mobile, password, code} + * @returns {Promise} + */ +export const taskDetailsWithDistance = (params) => { + return post('/app-api/homePage/summary/taskDetailsWithDistance', params); +}; + +/** + * 效率待办已办 + * @param {Object} params {mobile, password, code} + * @returns {Promise} + */ +export const taskDetailsWithSmartSort = (params) => { + return post('/app-api/homePage/summary/taskDetailsWithSmartSort', params); +}; + diff --git a/common/config/env.js b/common/config/env.js index f5adff5..999e2b2 100644 --- a/common/config/env.js +++ b/common/config/env.js @@ -4,7 +4,8 @@ const env = { development: { baseUrl: 'https://test.jichengshanshui.com.cn:28302', // https://test.jichengshanshui.com.cn:28302 - // http://h95ce3aa.natappfree.cc + + // baseUrl: 'http://192.168.1.186:48081', uploadUrl: 'https://test.jichengshanshui.com.cn:28302', // baseApi:'admin-api', diff --git a/pages-sub/data/tree-archive/addTree.vue b/pages-sub/data/tree-archive/addTree.vue index 0fba291..7c3c58f 100644 --- a/pages-sub/data/tree-archive/addTree.vue +++ b/pages-sub/data/tree-archive/addTree.vue @@ -5,11 +5,22 @@ + + + - + @@ -17,7 +28,7 @@ -