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 @@ - - - - - diff --git a/src/views/away/component/MultiExamineList.vue b/src/views/away/component/MultiExamineList.vue new file mode 100644 index 0000000..83161c3 --- /dev/null +++ b/src/views/away/component/MultiExamineList.vue @@ -0,0 +1,266 @@ + + + + + diff --git a/src/views/away/index.vue b/src/views/away/index.vue index c92b84c..fabf234 100644 --- a/src/views/away/index.vue +++ b/src/views/away/index.vue @@ -113,6 +113,13 @@ >批量确认 +
+ +
@@ -195,7 +202,7 @@