This commit is contained in:
wangshiming
2022-04-28 20:26:30 +08:00
parent 6cc12ff451
commit 2aeaa09e14
112 changed files with 339 additions and 339 deletions

View File

@ -85,10 +85,10 @@ export class SystemLogsComponent implements OnInit {
requestOptions.body.operateType = '1';
if (this.sf) {
Object.assign(requestOptions.body, {
...this.sf.value,
...this.sf?.value,
operateType: '1',
endTime: this.sf.value.time?.[1] || null,
startTime: this.sf.value.time?.[0] || null
endTime: this.sf?.value.time?.[1] || null,
startTime: this.sf?.value.time?.[0] || null
});
}
return requestOptions;

View File

@ -64,10 +64,10 @@ export class SystemSupplyLogsComponent implements OnInit {
requestOptions.body.operateType = '4'
if (this.sf) {
Object.assign(requestOptions.body, {
...this.sf.value,
...this.sf?.value,
operateType: '4',
endTime: this.sf.value.time?.[1] || null,
startTime: this.sf.value.time?.[0] || null
endTime: this.sf?.value.time?.[1] || null,
startTime: this.sf?.value.time?.[0] || null
});
}
return requestOptions;

View File

@ -63,10 +63,10 @@ export class SystemWaybillLogsComponent implements OnInit {
requestOptions.body.operateType = '3'
if (this.sf) {
Object.assign(requestOptions.body, {
...this.sf.value,
...this.sf?.value,
operateType: '3',
endTime: this.sf.value.time?.[1] || null,
startTime: this.sf.value.time?.[0] || null
endTime: this.sf?.value.time?.[1] || null,
startTime: this.sf?.value.time?.[0] || null
});
}
return requestOptions;

View File

@ -93,10 +93,10 @@ export class UserLogsComponent implements OnInit {
beforeReq = (requestOptions: STRequestOptions) => {
if (this.sf) {
Object.assign(requestOptions.body, {
...this.sf.value,
...this.sf?.value,
time: {
start: this.sf.value.time?.[0] || null,
end: this.sf.value.time?.[1] || null
start: this.sf?.value.time?.[0] || null,
end: this.sf?.value.time?.[1] || null
}
});
}

View File

@ -94,10 +94,10 @@ export class VersionLogsComponent implements OnInit {
beforeReq = (requestOptions: STRequestOptions) => {
if (this.sf) {
Object.assign(requestOptions.body, {
...this.sf.value,
...this.sf?.value,
publishTime: {
start: this.sf.value.time?.[0] || null,
end: this.sf.value.time?.[1] || null
start: this.sf?.value.time?.[0] || null,
end: this.sf?.value.time?.[1] || null
}
});
}