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