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

Loading…
Cancel
Save