เพิ่ม id คำสั่งลงประวัติตำแหน่ง #665
This commit is contained in:
parent
2e2dc56f87
commit
cb04b7a4b9
1 changed files with 4 additions and 0 deletions
|
|
@ -1050,6 +1050,7 @@ export class ReportController extends Controller {
|
||||||
refId: string
|
refId: string
|
||||||
commandAffectDate: Date | null
|
commandAffectDate: Date | null
|
||||||
commandNo: string | null
|
commandNo: string | null
|
||||||
|
commandId: string | null
|
||||||
commandYear: number
|
commandYear: number
|
||||||
templateDoc: string | null
|
templateDoc: string | null
|
||||||
amount: Double | null
|
amount: Double | null
|
||||||
|
|
@ -1062,6 +1063,7 @@ export class ReportController extends Controller {
|
||||||
.PostData(request, "/org/command/excexute/salary-probation", {
|
.PostData(request, "/org/command/excexute/salary-probation", {
|
||||||
data: body.refIds.map(v => ({
|
data: body.refIds.map(v => ({
|
||||||
profileId: v.refId,
|
profileId: v.refId,
|
||||||
|
commandId: v.commandId,
|
||||||
date: v.commandAffectDate,
|
date: v.commandAffectDate,
|
||||||
refCommandNo: `${v.commandNo}/${Extension.ToThaiYear(v.commandYear)}`,
|
refCommandNo: `${v.commandNo}/${Extension.ToThaiYear(v.commandYear)}`,
|
||||||
salaryRef: v.templateDoc,
|
salaryRef: v.templateDoc,
|
||||||
|
|
@ -1131,6 +1133,7 @@ export class ReportController extends Controller {
|
||||||
refId: string
|
refId: string
|
||||||
commandAffectDate: Date | null
|
commandAffectDate: Date | null
|
||||||
commandNo: string | null
|
commandNo: string | null
|
||||||
|
commandId: string | null
|
||||||
commandYear: number
|
commandYear: number
|
||||||
templateDoc: string | null
|
templateDoc: string | null
|
||||||
amount: Double | null
|
amount: Double | null
|
||||||
|
|
@ -1143,6 +1146,7 @@ export class ReportController extends Controller {
|
||||||
.PostData(request, "/org/command/excexute/salary-probation-leave", {
|
.PostData(request, "/org/command/excexute/salary-probation-leave", {
|
||||||
data: body.refIds.map(v => ({
|
data: body.refIds.map(v => ({
|
||||||
profileId: v.refId,
|
profileId: v.refId,
|
||||||
|
commandId: v.commandId,
|
||||||
date: v.commandAffectDate,
|
date: v.commandAffectDate,
|
||||||
refCommandNo: `${v.commandNo}/${Extension.ToThaiYear(v.commandYear)}`,
|
refCommandNo: `${v.commandNo}/${Extension.ToThaiYear(v.commandYear)}`,
|
||||||
salaryRef: v.templateDoc,
|
salaryRef: v.templateDoc,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue