Browse Source

去除部分打印

dev
刘向辉 3 years ago
parent
commit
36d418af94
  1. 8
      src/app/babylon/controller/serve-manager.ts
  2. 2
      src/app/babylon/view/mark-window/mark-window.ts
  3. 2
      src/app/babylon/view/toolbar-window/toobar-window.ts

8
src/app/babylon/controller/serve-manager.ts

@ -54,10 +54,10 @@ export class ServeManager {
) => void, onError?: (key: string, error: string) => void) { ) => void, onError?: (key: string, error: string) => void) {
let l_data = classToPlain(institutionData); let l_data = classToPlain(institutionData);
console.log("保存单位", l_data); // console.log("保存单位", l_data);
this.buildingBISrv.postBuildingBasicInfos(key, institutionID, l_data) this.buildingBISrv.postBuildingBasicInfos(key, institutionID, l_data)
.subscribe(data => { .subscribe(data => {
console.log("保存单位成功:" + key, l_data); // console.log("保存单位成功:" + key, l_data);
if (onSuccess) { if (onSuccess) {
onSuccess(key, data.result); onSuccess(key, data.result);
} }
@ -168,7 +168,7 @@ export class ServeManager {
getAllMarkTemplate(onSuccess?: (data: string) => void) { getAllMarkTemplate(onSuccess?: (data: string) => void) {
this.buildingBISrv.getAllSandBoxTemplate() this.buildingBISrv.getAllSandBoxTemplate()
.subscribe(data => { .subscribe(data => {
console.log("得到所有模板", data); // console.log("得到所有模板", data);
if (onSuccess) { if (onSuccess) {
onSuccess((data as any).result.items); onSuccess((data as any).result.items);
} }
@ -237,7 +237,7 @@ export class ServeManager {
saveGasStationExcelData(exportData: ExportData) { saveGasStationExcelData(exportData: ExportData) {
this.buildingBISrv.postGasStationExcelData(DataManager.institutionData_simple.name, DataManager.institutionData_simple.id, exportData) this.buildingBISrv.postGasStationExcelData(DataManager.institutionData_simple.name, DataManager.institutionData_simple.id, exportData)
.subscribe(data => { .subscribe(data => {
console.log("保存导出信息成功:" + DataManager.institutionData_simple.id, `'${JSON.stringify(exportData)}'`); // console.log("保存导出信息成功:" + DataManager.institutionData_simple.id, `'${JSON.stringify(exportData)}'`);
}, (error) => { }, (error) => {
console.log("保存导出信息失败:" + DataManager.institutionData_simple.id, error); console.log("保存导出信息失败:" + DataManager.institutionData_simple.id, error);
}); });

2
src/app/babylon/view/mark-window/mark-window.ts

@ -1604,7 +1604,7 @@ export class MarkWindow extends UIBase {
instance.allSandBoxTemplate = []; instance.allSandBoxTemplate = [];
} }
else { else {
console.log("getAllSandBoxTemplate", data); // console.log("getAllSandBoxTemplate", data);
instance.allSandBoxTemplate = data; instance.allSandBoxTemplate = data;
} }
}); });

2
src/app/babylon/view/toolbar-window/toobar-window.ts

@ -53,7 +53,7 @@ export class ToolbarWindow extends UIBase {
ModeManager.log("保存成功" + DataManager.institutionData_simple.key); ModeManager.log("保存成功" + DataManager.institutionData_simple.key);
}); });
console.log("导出数据"); // console.log("导出数据");
//保存导出数据 //保存导出数据
DataManager.saveExportData(data); DataManager.saveExportData(data);

Loading…
Cancel
Save