เลือกหน่วยงานที่รับบรรจุ
This commit is contained in:
parent
6fa7bb94e1
commit
a2ff9264ee
5 changed files with 119 additions and 38 deletions
|
|
@ -4,6 +4,10 @@ import { ref } from "vue";
|
|||
import type { PositionMaim } from "@/modules/05_placement/interface/response/SelectOrg";
|
||||
import type { DataPositionNo } from "@/modules/05_placement/interface/index/SelectOrg";
|
||||
export const useSelectOrgStore = defineStore("selectorg", () => {
|
||||
// const node = ref<number>(0);
|
||||
// const nodeId = ref<string>("");
|
||||
// const posmasterId = ref<string>();
|
||||
|
||||
function fetchPosNo(data: PositionMaim[]) {
|
||||
const listPosNo: DataPositionNo[] = data.map((e: PositionMaim) => ({
|
||||
id: e.id,
|
||||
|
|
@ -23,6 +27,7 @@ export const useSelectOrgStore = defineStore("selectorg", () => {
|
|||
|
||||
return listPosNo;
|
||||
}
|
||||
|
||||
return {
|
||||
fetchPosNo,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue