| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203 |
- /*
- * @Author: wanglj
- * @Date: 2022-04-25 10:38:19
- * @LastEditors: wanglj
- * @LastEditTime: 2025-01-09 15:19:14
- * @Description: file content
- * @FilePath: \labsop_website\src\api\introduce.js
- */
- import request from "@/utils/micro_request";
- const insrtPath = $GlobalConfig.VUE_APP_INSTR_PATH;
- const financePath = $GlobalConfig.VUE_APP_FINANCE_PATH;
- const basePath = $GlobalConfig.VUE_APP_AdminPath;
- // 获取仪器列表
- export function getInstrList(data) {
- return request.postRequestWithClientInfo(
- insrtPath,
- "JiangSuUniversity",
- "GetList",
- data
- );
- }
- // 获取仪器详情
- export function getInstrDetails(data) {
- return request.postRequestWithClientInfo(
- insrtPath,
- "JiangSuUniversity",
- "GetEntityById",
- data
- );
- }
- // 获取附件列表
- export function getFileTable(data) {
- return request.postRequestWithClientInfo(
- insrtPath,
- "JiangSuUniversity",
- "GetDocumentListByInst",
- data
- );
- }
- // 获取公告列表
- export function getNoticeTable(data) {
- return request.postRequestWithClientInfo(
- insrtPath,
- "JiangSuUniversity",
- "GetNoticeListByInst",
- data
- );
- }
- // 获取型号数量
- export function getInstNameEnCount(data) {
- return request.postRequestWithClientInfo(
- insrtPath,
- "JiangSuUniversity",
- "GetInstNameEnCount",
- data
- );
- }
- // 获取计费信息
- export function getChargeCfg(data) {
- return request.postRequestWithClientInfo(
- insrtPath,
- "JiangSuUniversity",
- "ChargeCfg",
- data
- );
- }
- // 获取送样信息
- export function getSampleOption(data) {
- return request.postRequestWithClientInfo(
- insrtPath,
- "JiangSuUniversity",
- "SampleOption",
- data
- );
- }
- // 获取预约信息
- export function getAppointListByInst(data) {
- return request.postRequestWithClientInfo(
- insrtPath,
- "JiangSuUniversity",
- "GetListByInst",
- data
- );
- }
- // 获取仪器预约设置详情
- export function getSettingDetail(data) {
- return request.postRequestWithClientInfo(
- insrtPath,
- "TusInstrument",
- "GetConfig",
- data
- );
- }
- // 获取全部预约情况
- export function getAppointInfo(data) {
- return request.postRequestWithClientInfo(
- insrtPath,
- "TusInstrumentAppointment",
- "AppointInfo",
- data
- );
- }
- // 是否在黑名单中
- export function checkInBlacklist(data) {
- return request.postRequestWithClientInfo(
- insrtPath,
- "TusBlacklist",
- "IsBlocked",
- data
- );
- }
- // 获取通知列表
- export function getNoticelist(data) {
- return request.postRequestWithClientInfo(
- insrtPath,
- "TusInstrumentNotice",
- "GetList",
- data
- );
- }
- // 获取技术服务列表
- export function getTechList(data) {
- return request.postRequestWithClientInfo(
- insrtPath,
- "TechTechnicalService",
- "GetList",
- data
- );
- }
- // 获取设备预约情况
- export function getInstrAppointInfo(data) {
- return request.postRequestWithClientInfo(
- insrtPath,
- "TusInstrumentAppointment",
- "GetEntityById",
- data
- );
- }
- // 预约新增
- export function appointAdd(data) {
- return request.postRequestWithClientInfo(
- insrtPath,
- "TusInstrumentAppointment",
- "Create",
- data
- );
- }
- // 预约编辑
- export function appointUpdate(data) {
- return request.postRequestWithClientInfo(
- insrtPath,
- "TusInstrumentAppointment",
- "UpdateById",
- data
- );
- }
- // 获取用户列表
- export function getUserList(data) {
- return request.postRequestWithClientInfo(basePath, "User", "GetList", data);
- }
- // 列表
- export function getFinanceAccountList(data) {
- return request.postRequestWithClientInfo(
- financePath,
- "Finance",
- "GetFinanceAccountList",
- data
- );
- }
- // 当前用户课题详情
- export function getMySelfProjectGroup(data) {
- return request.postRequestWithClientInfo(
- basePath,
- "ProjectGroup",
- "GetProjectGroupByUser",
- data
- );
- }
- export function getInstrListByUser(data) {
- return request.postRequestWithClientInfo(
- insrtPath,
- "TusInstrumentAppointment",
- "GetListByUser",
- data
- );
- }
- // 使用人取消送样预约
- export function userCancelAppoint(query) {
- return request.postRequest(insrtPath, 'TusInstrumentSampleDelivery', 'UserCancel', query);
- }
- // 取消送样预约
- export function cancelAppoint(query) {
- return request.postRequest(insrtPath, 'TusInstrumentSampleDelivery', 'AdminCancel', query);
- }
|