From e25d898feda66492eafd3e025674843fa513e2ef Mon Sep 17 00:00:00 2001
From: lion <120344285@qq.com>
Date: Wed, 16 Apr 2025 20:16:29 +0800
Subject: [PATCH] =?UTF-8?q?=E6=89=B9=E9=87=8F=E5=AE=A1=E6=89=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/away/index.js | 42 ++
src/components/PlanPicker/index.vue | 2 +
src/views/away/component/MultiExamine.vue | 484 +++++++++++++-----
src/views/away/component/MultiExamineList.vue | 266 ++++++++++
src/views/away/index.vue | 34 +-
src/views/contract/contractList.vue | 3 +
6 files changed, 696 insertions(+), 135 deletions(-)
create mode 100644 src/views/away/component/MultiExamineList.vue
diff --git a/src/api/away/index.js b/src/api/away/index.js
index 1d3a146..079a4e4 100644
--- a/src/api/away/index.js
+++ b/src/api/away/index.js
@@ -60,3 +60,45 @@ export function destroy(params,noloading=false) {
noloading
})
}
+
+export function getAwayDetails(params,noloading=false) {
+ return request({
+ method: "get",
+ url: "/api/oa/flow/get-away-details",
+ params,
+ noloading
+ })
+}
+
+export function updateAwayDetails (data,noloading=false) {
+ return request({
+ method: "post",
+ url: "/api/oa/flow/update-away-details",
+ data,
+ noloading
+ })
+}
+
+export function planSave (data,noloading=false) {
+ return request({
+ method: "post",
+ url: "/api/ht/away-plan/save",
+ data,
+ noloading
+ })
+}
+
+export function awayIndex(params,noloading=false) {
+ return request({
+ method: "get",
+ url: "/api/oa/flow/get-away-list",
+ params,
+ noloading,
+ paramsSerializer: customParamsSerializer
+ })
+}
+
+
+
+
+
diff --git a/src/components/PlanPicker/index.vue b/src/components/PlanPicker/index.vue
index 67eba00..87aaf70 100644
--- a/src/components/PlanPicker/index.vue
+++ b/src/components/PlanPicker/index.vue
@@ -267,7 +267,9 @@ export default {
}
}
}
+ console.log("selections",selections)
resolve(selections.map((i) => ({
+ // my_plan_id:i.
plan_id: i.id,
plan_title: i.title,
plan_year: i.year,
diff --git a/src/views/away/component/MultiExamine.vue b/src/views/away/component/MultiExamine.vue
index 7fa3951..4ba5456 100644
--- a/src/views/away/component/MultiExamine.vue
+++ b/src/views/away/component/MultiExamine.vue
@@ -1,131 +1,355 @@
-
-