diff --git a/src/api/05_placement/api.placement.ts b/src/api/05_placement/api.placement.ts index 6be4c2dde..94259b628 100644 --- a/src/api/05_placement/api.placement.ts +++ b/src/api/05_placement/api.placement.ts @@ -1,6 +1,7 @@ import env from "../index"; const placement = `${env.API_PLACEMENT_URI}/placement`; const orgTree = `${env.API_URI_ORG_TREE}`; +const order = `${env.API_PLACEMENT_URI}`; export default { MainDetail: (year: number) => `${placement}/exam/${year}`, @@ -47,7 +48,16 @@ export default { // position placementPosition: () => `${placement}/position/use`, // putPositiom - putPosition: (id:any) => `${placement}/position/${id}`, + putPosition: (id: any) => `${placement}/position/${id}`, // clear Position - clearPosition: (personalId:string) => `${placement}/position/clear/${personalId}` + clearPosition: (personalId: string) => `${placement}/position/clear/${personalId}`, + + // order + yearOptionsOrder: () => `${order}/order/fiscal-year`, + createOrder: () => `${order}/order/detail`, + listOrder: () => `${order}/order`, + detailOrder:(orderId:string) => `${order}/order/detail/${orderId}`, + deleteOrder:(orderId:string) => `${order}/order/${orderId}`, + typeOrder: () => `${order}/order/order-type`, + examroundOrder: () => `${order}/order/detail/exam-round`, }; diff --git a/src/components/information/Image.vue b/src/components/information/Image.vue index 30efcc2a7..5291f27b8 100644 --- a/src/components/information/Image.vue +++ b/src/components/information/Image.vue @@ -66,9 +66,9 @@
- {{ props.fullName }} + {{ fullname }}
-
{{ props.position }}
+
{{ position }}
@@ -164,22 +164,14 @@ diff --git a/src/modules/07_insignia/components/4_Allocate/addDetail.vue b/src/modules/07_insignia/components/4_Allocate/addDetail.vue new file mode 100644 index 000000000..7095a5a26 --- /dev/null +++ b/src/modules/07_insignia/components/4_Allocate/addDetail.vue @@ -0,0 +1,678 @@ + + + + + diff --git a/src/modules/07_insignia/components/4_Allocate/allocateAdd.vue b/src/modules/07_insignia/components/4_Allocate/allocateAdd.vue new file mode 100644 index 000000000..9b3597e6a --- /dev/null +++ b/src/modules/07_insignia/components/4_Allocate/allocateAdd.vue @@ -0,0 +1,77 @@ + + diff --git a/src/modules/07_insignia/components/4_Allocate/detail.vue b/src/modules/07_insignia/components/4_Allocate/detail.vue new file mode 100644 index 000000000..514c8d7b9 --- /dev/null +++ b/src/modules/07_insignia/components/4_Allocate/detail.vue @@ -0,0 +1,353 @@ + + + + + diff --git a/src/modules/07_insignia/components/4_Allocate/listAllocate.vue b/src/modules/07_insignia/components/4_Allocate/listAllocate.vue new file mode 100644 index 000000000..d7834ae25 --- /dev/null +++ b/src/modules/07_insignia/components/4_Allocate/listAllocate.vue @@ -0,0 +1,359 @@ + + + + + diff --git a/src/modules/07_insignia/components/DialogHeader.vue b/src/modules/07_insignia/components/DialogHeader.vue new file mode 100644 index 000000000..8aa03351d --- /dev/null +++ b/src/modules/07_insignia/components/DialogHeader.vue @@ -0,0 +1,27 @@ + + diff --git a/src/modules/07_insignia/components/RecordInsignia.vue b/src/modules/07_insignia/components/RecordInsignia.vue index 5cae3b3c6..25d261701 100644 --- a/src/modules/07_insignia/components/RecordInsignia.vue +++ b/src/modules/07_insignia/components/RecordInsignia.vue @@ -22,10 +22,11 @@ > +
-
+
+ +
+ + + +
+
+ + + +
-
- -
-
- -
-
- -
-
- -
-
- - - -
-
- - - +
+
diff --git a/src/modules/07_insignia/router.ts b/src/modules/07_insignia/router.ts index 81ae5c6da..5eb982863 100644 --- a/src/modules/07_insignia/router.ts +++ b/src/modules/07_insignia/router.ts @@ -14,7 +14,16 @@ const insigniaProposals = () => import("@/modules/07_insignia/components/1_Proposals/listProposals.vue"); const roundAdd = () => import("@/modules/07_insignia/components/1_Proposals/addProposals.vue"); - +const listMange = () => + import("@/modules/07_insignia/components/2_Manage/listManage.vue"); +const listAllocate = () => + import("@/modules/07_insignia/components/4_Allocate/listAllocate.vue"); +const allocateAdd = () => + import("@/modules/07_insignia/components/4_Allocate/allocateAdd.vue"); +const allocateDetail = () => + import("@/modules/07_insignia/components/4_Allocate/detail.vue"); +const allocateDetailAdd = () => + import("@/modules/07_insignia/components/4_Allocate/addDetail.vue"); export default [ { path: "/insignia", @@ -87,4 +96,54 @@ export default [ Role: "insignia", }, }, + { + path: "/insignia/manage/list-manage", + name: "insigniaManage", + component: listMange, + meta: { + Auth: true, + Key: [8.6], + Role: "insignia", + }, + }, + { + path: "/insignia/allocate/list-allocate", + name: "insigniaAllocate", + component: listAllocate, + meta: { + Auth: true, + Key: [8.7], + Role: "insignia", + }, + }, + { + path: "/insignia/allocate/allocate-add", + name: "allocateAdd", + component: allocateAdd, + meta: { + Auth: true, + Key: [8.8], + Role: "insignia", + }, + }, + { + path: "/insignia/allocate/detail", + name: "allocateDetail", + component: allocateDetail, + meta: { + Auth: true, + Key: [8.9], + Role: "insignia", + }, + }, + { + path: "/insignia/allocate/detail-add", + name: "allocateDetailAdd", + component: allocateDetailAdd, + meta: { + Auth: true, + Key: [8.9], + Role: "insignia", + }, + }, ]; diff --git a/src/modules/08_registryEmployee/request/Main.ts b/src/modules/08_registryEmployee/request/Main.ts index ed0a008b2..78ad46293 100644 --- a/src/modules/08_registryEmployee/request/Main.ts +++ b/src/modules/08_registryEmployee/request/Main.ts @@ -16,10 +16,14 @@ interface FormRegistryEmployee { dateAppoint: String | null; dateStart: String | null; createdAt: String | null; -// salaryDate: String | null; + // salaryDate: String | null; isLeave: String; -// leaveReason: string; + // leaveReason: string; leaveDateOrder: String | null; + draftPositionEmployee: String | null; + draftOrganizationOrganization: String | null; + newAgency: String | null; + currentAgency: String | null; } interface ResponseEmployeeTemp { id: string; @@ -43,5 +47,7 @@ interface ResponseEmployeeTemp { isLeave: boolean; leaveReason: string; leaveDateOrder: Date | null; + draftPositionEmployee: String | null; + draftOrganizationOrganization: String | null; } export type { ResponseEmployeeTemp, FormRegistryEmployee }; diff --git a/src/modules/08_registryEmployee/views/Main.vue b/src/modules/08_registryEmployee/views/Main.vue index 4e5908aea..36e9e8553 100644 --- a/src/modules/08_registryEmployee/views/Main.vue +++ b/src/modules/08_registryEmployee/views/Main.vue @@ -56,18 +56,12 @@
- - - +
@@ -416,18 +445,6 @@ - @@ -439,7 +456,7 @@ - +