UNPKG

zhu-jiang-yi-yuan-bigscreen

Version:

南方医科大学珠江医院大屏端

307 lines (272 loc) 9.5 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ScreenDataRequest = void 0; var _nsnService = require("nsn-service"); function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } var ctx = 'screen/zjyy'; var ScreenDataRequest = { appointment_rate: function () { var _appointment_rate = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(params) { return regeneratorRuntime.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: return _context.abrupt("return", (0, _nsnService.request)({ ctx: ctx, ignoreToken: true, uri: '/getDPFactMZVistNumber', options: { params: params } })); case 1: case "end": return _context.stop(); } } }, _callee); })); function appointment_rate(_x) { return _appointment_rate.apply(this, arguments); } return appointment_rate; }(), that_day_info: function () { var _that_day_info = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(params) { return regeneratorRuntime.wrap(function _callee2$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: return _context2.abrupt("return", (0, _nsnService.request)({ ctx: ctx, ignoreToken: true, uri: '/getDpFactTodaynumber', options: { params: params } })); case 1: case "end": return _context2.stop(); } } }, _callee2); })); function that_day_info(_x2) { return _that_day_info.apply(this, arguments); } return that_day_info; }(), surgical_quantity: function () { var _surgical_quantity = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(params) { return regeneratorRuntime.wrap(function _callee3$(_context3) { while (1) { switch (_context3.prev = _context3.next) { case 0: return _context3.abrupt("return", (0, _nsnService.request)({ ctx: ctx, ignoreToken: true, uri: '/getFactOperationMaster', options: { params: params } })); case 1: case "end": return _context3.stop(); } } }, _callee3); })); function surgical_quantity(_x3) { return _surgical_quantity.apply(this, arguments); } return surgical_quantity; }(), income_year: function () { var _income_year = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4(params) { return regeneratorRuntime.wrap(function _callee4$(_context4) { while (1) { switch (_context4.prev = _context4.next) { case 0: return _context4.abrupt("return", (0, _nsnService.request)({ ctx: ctx, ignoreToken: true, uri: '/getIncomeYear', options: { params: params } })); case 1: case "end": return _context4.stop(); } } }, _callee4); })); function income_year(_x4) { return _income_year.apply(this, arguments); } return income_year; }(), leave_hospital_trend: function () { var _leave_hospital_trend = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee5(params) { return regeneratorRuntime.wrap(function _callee5$(_context5) { while (1) { switch (_context5.prev = _context5.next) { case 0: return _context5.abrupt("return", (0, _nsnService.request)({ ctx: ctx, ignoreToken: true, uri: '/getLeaveHospitalTrendDto', options: { params: params } })); case 1: case "end": return _context5.stop(); } } }, _callee5); })); function leave_hospital_trend(_x5) { return _leave_hospital_trend.apply(this, arguments); } return leave_hospital_trend; }(), monthly_hospital: function () { var _monthly_hospital = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee6(params) { return regeneratorRuntime.wrap(function _callee6$(_context6) { while (1) { switch (_context6.prev = _context6.next) { case 0: return _context6.abrupt("return", (0, _nsnService.request)({ ctx: ctx, ignoreToken: true, uri: '/getMonthlyHospitalDto', options: { params: params } })); case 1: case "end": return _context6.stop(); } } }, _callee6); })); function monthly_hospital(_x6) { return _monthly_hospital.apply(this, arguments); } return monthly_hospital; }(), monthly_outpatient: function () { var _monthly_outpatient = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee7(params) { return regeneratorRuntime.wrap(function _callee7$(_context7) { while (1) { switch (_context7.prev = _context7.next) { case 0: return _context7.abrupt("return", (0, _nsnService.request)({ ctx: ctx, ignoreToken: true, uri: '/getMonthlyOutpatientDto', options: { params: params } })); case 1: case "end": return _context7.stop(); } } }, _callee7); })); function monthly_outpatient(_x7) { return _monthly_outpatient.apply(this, arguments); } return monthly_outpatient; }(), outpatient_trend: function () { var _outpatient_trend = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee8(params) { return regeneratorRuntime.wrap(function _callee8$(_context8) { while (1) { switch (_context8.prev = _context8.next) { case 0: return _context8.abrupt("return", (0, _nsnService.request)({ ctx: ctx, ignoreToken: true, uri: '/getOutpatientTrend', options: { params: params } })); case 1: case "end": return _context8.stop(); } } }, _callee8); })); function outpatient_trend(_x8) { return _outpatient_trend.apply(this, arguments); } return outpatient_trend; }(), yearly_hospital: function () { var _yearly_hospital = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee9(params) { return regeneratorRuntime.wrap(function _callee9$(_context9) { while (1) { switch (_context9.prev = _context9.next) { case 0: return _context9.abrupt("return", (0, _nsnService.request)({ ctx: ctx, ignoreToken: true, uri: '/getYearlyHospitalDto', options: { params: params } })); case 1: case "end": return _context9.stop(); } } }, _callee9); })); function yearly_hospital(_x9) { return _yearly_hospital.apply(this, arguments); } return yearly_hospital; }(), yearly_outpatient: function () { var _yearly_outpatient = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee10(params) { return regeneratorRuntime.wrap(function _callee10$(_context10) { while (1) { switch (_context10.prev = _context10.next) { case 0: return _context10.abrupt("return", (0, _nsnService.request)({ ctx: ctx, ignoreToken: true, uri: '/getYearlyOutpatientDto', options: { params: params } })); case 1: case "end": return _context10.stop(); } } }, _callee10); })); function yearly_outpatient(_x10) { return _yearly_outpatient.apply(this, arguments); } return yearly_outpatient; }() }; exports.ScreenDataRequest = ScreenDataRequest;