From 57fe929080179d4c90f30e36651a6f87ff21939e Mon Sep 17 00:00:00 2001 From: liyuanchao <438964165@qq.com> Date: Fri, 12 Sep 2025 09:24:59 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=B7=E5=81=87=20=E5=B7=A1=E6=A3=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 65 +-- common/config.js | 2 +- common/http.interceptor.js | 1 + components/CommonCalendar.vue | 56 ++- components/SelectCalendarDialog.vue | 140 ++++++ components/punchInfo.vue | 115 +++++ pages.json | 6 + pages/sys/user/myRecord/cardReplacement.vue | 420 ++++++++++++++++++ pages/sys/user/myRecord/myRecord.vue | 361 +++------------ pages/sys/workbench/inspection/inspection.vue | 2 +- .../inspection/inspectionProcess.vue | 6 +- pages/sys/workbench/leave/leave.vue | 285 ++++++------ pages/sys/workbench/workbench.vue | 10 +- store/index.js | 3 +- 14 files changed, 973 insertions(+), 499 deletions(-) create mode 100644 components/SelectCalendarDialog.vue create mode 100644 components/punchInfo.vue create mode 100644 pages/sys/user/myRecord/cardReplacement.vue diff --git a/App.vue b/App.vue index c3407a1..a42b0c1 100644 --- a/App.vue +++ b/App.vue @@ -1,34 +1,49 @@ \ No newline at end of file diff --git a/common/config.js b/common/config.js index 204ac8b..d32a67b 100644 --- a/common/config.js +++ b/common/config.js @@ -30,5 +30,5 @@ const config = { config.baseUrl = 'http://183.230.235.66:11010/api'; -// config.baseUrl = 'http://5b35f15d.r28.cpolar.top'; +// config.baseUrl = 'http://3efb1a71.r28.cpolar.top'; export default config; diff --git a/common/http.interceptor.js b/common/http.interceptor.js index 2971a0c..0b12c37 100644 --- a/common/http.interceptor.js +++ b/common/http.interceptor.js @@ -26,6 +26,7 @@ const install = (Vue, vm) => { } req.header["source"] = "uniapp"; req.header["clientId"] = "dab457a1ea14411787c240db05bb0832" + req.header["pushClientId"] = vm.vuex_push_clientId // 默认指定返回 JSON 数据 if (!req.header[ajaxHeader]){ req.header[ajaxHeader] = 'json'; diff --git a/components/CommonCalendar.vue b/components/CommonCalendar.vue index a14e355..2ae6f29 100644 --- a/components/CommonCalendar.vue +++ b/components/CommonCalendar.vue @@ -1,12 +1,12 @@