浏览代码

fix:修复

seimin 9 月之前
父节点
当前提交
ce9c995986

+ 0 - 3
src/app/views/assets-info/assets-info.component.ts

@@ -185,9 +185,6 @@ export class AssetsInfoComponent implements OnInit {
185 185
       idx: 0,
186 186
       sum: 20,
187 187
     };
188
-    if(type === 'add'){
189
-      postData.department.bussType = 'inspection';
190
-    }
191 188
     this.mainService
192 189
       .getFetchDataList("data", "department", postData)
193 190
       .subscribe((data) => {

+ 1 - 0
src/app/views/configuration-center/configuration-center.component.ts

@@ -660,6 +660,7 @@ export class ConfigurationCenterComponent implements OnInit, AfterViewInit {
660 660
         type: this.hospitalConfig === 1 ? 'duty': 'hospital',
661 661
         category: this.currentCategory,
662 662
       };
663
+      postData.category.dutyIds = this.hospitalConfig === 1 ? this.currentHospital.id.toString() : undefined;
663 664
       this.mainService
664 665
         .incidentPost("copyIncidentCategoryConfig", postData)
665 666
         .subscribe((data) => {

+ 2 - 0
src/app/views/tripartite-company/tripartite-company.component.ts

@@ -149,6 +149,7 @@ export class TripartiteCompanyComponent implements OnInit {
149 149
       //增加
150 150
       postData = {
151 151
         company: {
152
+          hosId: this.currentHospital.id,
152 153
           name: this.validateForm.value.name,
153 154
           nickName: this.validateForm.value.nickName,
154 155
           companyTypeIds: companyList.map(v => v.value).toString(),
@@ -163,6 +164,7 @@ export class TripartiteCompanyComponent implements OnInit {
163 164
         company:{
164 165
           ...this.coopData,
165 166
           ...{
167
+            hosId: this.currentHospital.id,
166 168
             name: this.validateForm.value.name,
167 169
             nickName: this.validateForm.value.nickName,
168 170
             companyTypeIds: this.validateForm.value.companyTypeIds.filter(v => v.checked).map(v => v.value).toString(),