|
@@ -1,16 +1,16 @@
|
|
|
-import { ChangeDetectorRef, Component, Inject, Injector, OnChanges, OnInit, SimpleChanges, ViewChild } from '@angular/core';
|
|
|
+import { ChangeDetectorRef, Component, Inject, Injector, OnInit, ViewChild } from '@angular/core';
|
|
|
import { FormSchemaService, GeneralHttpService, GeneralUtilsService, I18NService } from '@core';
|
|
|
import * as icConstant from '@core';
|
|
|
import { CacheService } from '@delon/cache';
|
|
|
import { SFComponent, SFSchema } from '@delon/form';
|
|
|
import { ALAIN_I18N_TOKEN, ModalHelper } from '@delon/theme';
|
|
|
-import { icDeepCopy } from '@shared';
|
|
|
import { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
|
import { NzNotificationService } from 'ng-zorro-antd/notification';
|
|
|
import { NzFormatEmitEvent, NzTreeComponent, NzTreeNode } from 'ng-zorro-antd/tree';
|
|
|
import { forkJoin } from 'rxjs';
|
|
|
|
|
|
import { PopupSelectPanelComponent } from '../../../../shared/component/popup-select/popup-select-panel';
|
|
|
+
|
|
|
@Component({
|
|
|
selector: 'app-sys-rw-org-list',
|
|
|
styleUrls: ['./list.component.less'],
|
|
@@ -76,6 +76,7 @@ export class SysRwOrgListComponent implements OnInit {
|
|
|
private injector: Injector,
|
|
|
public srv: CacheService
|
|
|
) {}
|
|
|
+
|
|
|
private get formSchema(): FormSchemaService {
|
|
|
return this.injector.get(FormSchemaService);
|
|
|
}
|
|
@@ -197,7 +198,7 @@ export class SysRwOrgListComponent implements OnInit {
|
|
|
if (data.orgtype == '10') {
|
|
|
const updateSql = `update ZHCX_SUBCONTRACTOR_MANAGE_UNIT
|
|
|
set WORKSHOP_NAME = '${pData.fullname}/${data.fullname}',
|
|
|
- WORKSHOP_SHORT_NAME = '${data.shortname}'
|
|
|
+ WORKSHOP_SHORT_NAME = '${data.shortname}',WORKSHOP_NAME_EN = '${data.remark}'
|
|
|
WHERE WORKSHOP_ID = '${data.id}'`;
|
|
|
const updateRectifyDeptSql = `update ZHCX_PROJECT_RECTIFY_MACHINE
|
|
|
set DEPTNAME = '${data.shortname}'
|