Browse Source

优化导出数据

dev
刘向辉 3 years ago
parent
commit
bc9e69afcf
  1. 2
      src/app/babylon/controller/mode-manager.ts
  2. 3
      src/app/babylon/model/data/institution/building/export-data.ts

2
src/app/babylon/controller/mode-manager.ts

@ -28,7 +28,7 @@ export class ModeManager {
/** /**
* *
*/ */
public static isDebug = true; public static isDebug = false;

3
src/app/babylon/model/data/institution/building/export-data.ts

@ -36,9 +36,12 @@ export class ExportData {
} }
let type = facilityByTypes[i].facilityType; let type = facilityByTypes[i].facilityType;
if (TsTool.stringContain(type, "XF_")) { if (TsTool.stringContain(type, "XF_")) {
if (facilityByTypes[i].facilities.length > 0) {
this..push(new ExportData_XFSB(facilityByTypes[i])); this..push(new ExportData_XFSB(facilityByTypes[i]));
} }
}
for (let j = 0; j < facilities.length; j++) { for (let j = 0; j < facilities.length; j++) {
switch (type) { switch (type) {

Loading…
Cancel
Save