| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- /*
- * @Author: liuzhenlin 461480418@qq.ocm
- * @Date: 2023-01-19 14:06:58
- * @LastEditors: liuzhenlin
- * @LastEditTime: 2023-02-15 18:45:00
- * @Description: file content
- * @FilePath: \oms\api\system\user.js
- */
- import micro_request from "../../utils/micro_request";
- // console.log(process.uniEnv.VITE_INSTR_ADMIN);
- const instPath = process.uniEnv.VITE_INSTR_ADMIN;
- export default {
- // 获取照片
- getPhoto(query) {
- return micro_request.postRequest(
- instPath,
- "TusInstrumentPad",
- "Photo",
- query
- );
- },
- // 仪器信息
- getInstrInfo(query) {
- return micro_request.postRequest(
- instPath,
- "TusInstrumentPad",
- "IndexInfo",
- query
- );
- },
- // 上机
- getOn(query) {
- return micro_request.postRequest(
- instPath,
- "TusInstrumentPad",
- "Geton",
- query
- );
- },
- // 获取上机中的信息
- getOnInfo(query) {
- return micro_request.postRequest(
- instPath,
- "TusInstrumentPad",
- "Current",
- query
- );
- },
- // 获取预约信息
- getAppointInfo(query) {
- return micro_request.postRequest(
- instPath,
- "TusInstrumentPad",
- "AppointmentList",
- query
- );
- },
- // 下机
- geOff(query) {
- return micro_request.postRequest(
- instPath,
- "TusInstrumentPad",
- "Getoff",
- query
- );
- },
- // 获取公告信息
- getNoticeInfo(query) {
- return micro_request.postRequest(
- instPath,
- "TusInstrumentPad",
- "NoticeList",
- query
- );
- },
- // 获取公告信息
- switch(query) {
- return micro_request.postRequest(
- instPath,
- "TusInstrumentPad",
- "Switch",
- query
- );
- },
- };
|