|
@@ -86,8 +86,8 @@ export class HolidaysManagementComponent implements OnInit {
|
86
|
console.log(this.coopBtns);
|
86
|
console.log(this.coopBtns);
|
87
|
}
|
87
|
}
|
88
|
//设置自动同步国家法定节假日
|
88
|
//设置自动同步国家法定节假日
|
89
|
- setSyncWorkDay() {
|
|
|
90
|
- this.syncWorkDayObj.syncWorkDay = this.syncWorkDay;
|
|
|
|
|
89
|
+ setSyncWorkDay(e) {
|
|
|
90
|
+ this.syncWorkDayObj.syncWorkDay = e;
|
91
|
let postData = { syncWorkDay: this.syncWorkDayObj };
|
91
|
let postData = { syncWorkDay: this.syncWorkDayObj };
|
92
|
this.mainService.syncWorkDay(postData).subscribe((result) => {
|
92
|
this.mainService.syncWorkDay(postData).subscribe((result) => {
|
93
|
if (result["status"] == 200) {
|
93
|
if (result["status"] == 200) {
|