|
@@ -29,14 +29,8 @@ export class ConfigurationHospitalComponent implements OnInit {
|
29
|
29
|
btnLoading: boolean = false; //提交按钮loading状态
|
30
|
30
|
submitMessageForm(): void {
|
31
|
31
|
this.btnLoading = true;
|
32
|
|
- let postData:any = {
|
33
|
|
- hosId: this.currentHospital.id,
|
34
|
|
- // workdayClassId: this.dataInfo.workdayClassId,
|
35
|
|
- // holidayClassId: this.dataInfo.holidayClassId,
|
36
|
|
- };
|
37
|
|
- // postData = { ...this.dataInfo, ...postData };
|
38
|
32
|
this.mainService
|
39
|
|
- .simplePost("addData", "hospitalConfig", postData)
|
|
33
|
+ .simplePost("addListData", "hospitalConfig", this.hospitalList)
|
40
|
34
|
.subscribe((result) => {
|
41
|
35
|
this.btnLoading = false;
|
42
|
36
|
let msg = "保存";
|