test ws
This commit is contained in:
parent
cfcf63b9aa
commit
fa073242b8
4 changed files with 56 additions and 5 deletions
|
|
@ -31,6 +31,7 @@ import { Profile } from "../entities/Profile";
|
|||
import { viewRegistryOfficer } from "../entities/view/viewRegistryOfficer";
|
||||
import { viewRegistryEmployee } from "../entities/view/viewRegistryEmployee";
|
||||
import { EmployeeTempPosMaster } from "../entities/EmployeeTempPosMaster";
|
||||
import { sendWebSocket } from "../services/webSocket";
|
||||
|
||||
@Route("api/v1/org/report")
|
||||
@Tags("Report")
|
||||
|
|
@ -1369,6 +1370,7 @@ export class ReportController extends Controller {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
return new HttpSuccess({ template: "report1", reportName: "report1", data: { data } });
|
||||
}
|
||||
|
||||
|
|
@ -3537,8 +3539,10 @@ export class ReportController extends Controller {
|
|||
}
|
||||
}
|
||||
}
|
||||
const metaData = { template: "report2", reportName: "report2", data: { data } };
|
||||
sendWebSocket(metaData)
|
||||
|
||||
return new HttpSuccess({ template: "report2", reportName: "report2", data: { data } });
|
||||
// return new HttpSuccess({ template: "report2", reportName: "report2", data: { data } });
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue