提交 cedd3660 编写于 作者: 钟一霄's avatar 钟一霄

场地管理、场地类型管理。未完成

上级 ec6c4156
流水线 #23384 已通过 ,包含阶段
in 1 minute 和 11 second
此差异已折叠。
/**
* 获取新增物资id和code
* /api/Commodity/GetCommodityIdAndCode
*/
export declare function getApiCommodityGetCommodityIdAndCode(params: GetApiCommodityGetCommodityIdAndCodeParams): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: number;
}>;
interface GetApiCommodityGetCommodityIdAndCodeParams {
/** 父级id */
parent_id: string;
}
export {};
import request from "@/plugins/request";
/**
* 获取新增物资id和code
* /api/Commodity/GetCommodityIdAndCode
*/
export function getApiCommodityGetCommodityIdAndCode(params) {
const paramsInput = {
parent_id: params.parent_id,
};
return request.get(`/api/Commodity/GetCommodityIdAndCode`, {
params: paramsInput,
});
}
/**
* 获取物资列表
* /api/Commodity/GetCommodityList
*/
export declare function getApiCommodityGetCommodityList(params: GetApiCommodityGetCommodityListParams): import("axios").AxiosPromise<{
pageIndex: number;
pageSize: number;
pageCount: number;
dataCount: number;
title: {
field_id: string;
show_name: string;
show_type: number;
width: number;
order_by_flag: number;
default_hide_flag: number;
fixed_flag: number;
code: string;
option: {
label: string;
value: string;
}[];
children: any[];
}[];
data: {
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
id: string;
commodity_code: string;
commodity_name: string;
parent_id: string;
place_type_id: string;
place_type_name: string;
file_id: string;
is_enable: number;
is_del: number;
createby: string;
createtime: string;
modifyby: string;
modify_time: string;
children: any[];
};
}[];
query: {
[x: string]: any;
};
}>;
interface GetApiCommodityGetCommodityListParams {
id: string;
code_name?: string;
page_index?: number;
page_size?: number;
}
export {};
import request from "@/plugins/request";
/**
* 获取物资列表
* /api/Commodity/GetCommodityList
*/
export function getApiCommodityGetCommodityList(params) {
const paramsInput = {
id: params.id,
code_name: params.code_name,
page_index: params.page_index,
page_size: params.page_size,
};
return request.get(`/api/Commodity/GetCommodityList`, {
params: paramsInput,
});
}
/**
* 获取物资树
* /api/Commodity/GetCommodityTree
*/
export declare function getApiCommodityGetCommodityTree(params: GetApiCommodityGetCommodityTreeParams): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
id: string;
commodity_code: string;
commodity_name: string;
parent_id: string;
place_type_id: string;
place_type_name: string;
file_id: string;
is_enable: number;
is_del: number;
createby: string;
createtime: string;
modifyby: string;
modify_time: string;
children: any[];
}[];
}>;
interface GetApiCommodityGetCommodityTreeParams {
place_type_id?: string;
}
export {};
import request from "@/plugins/request";
/**
* 获取物资树
* /api/Commodity/GetCommodityTree
*/
export function getApiCommodityGetCommodityTree(params) {
const paramsInput = {
place_type_id: params.place_type_id,
};
return request.get(`/api/Commodity/GetCommodityTree`, {
params: paramsInput,
});
}
/**
* 获取物资树--PC用
* /api/Commodity/GetCommodityTreeByPC
*/
export declare function getApiCommodityGetCommodityTreeByPc(): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
id: string;
commodity_code: string;
commodity_name: string;
parent_id: string;
place_type_id: string;
place_type_name: string;
file_id: string;
is_enable: number;
is_del: number;
createby: string;
createtime: string;
modifyby: string;
modify_time: string;
children: any[];
}[];
}>;
import request from "@/plugins/request";
/**
* 获取物资树--PC用
* /api/Commodity/GetCommodityTreeByPC
*/
export function getApiCommodityGetCommodityTreeByPc() {
return request.get(`/api/Commodity/GetCommodityTreeByPC`);
}
export * from "./getApiCommodityGetCommodityTree";
export * from "./getApiCommodityGetCommodityTreeByPc";
export * from "./getApiCommodityGetCommodityList";
export * from "./getApiCommodityGetCommodityIdAndCode";
export * from "./getApiCommodityGetCommodityTree";
export * from "./getApiCommodityGetCommodityTreeByPc";
export * from "./getApiCommodityGetCommodityList";
export * from "./getApiCommodityGetCommodityIdAndCode";
/**
* 根据活动获取钥匙列表
* /api/Common/GetKeyByActivityList
*/
export declare function getApiCommonGetKeyByActivityList(params: GetApiCommonGetKeyByActivityListParams): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
key_id: string;
key_code: string;
key_name: string;
place_name: string;
state: number;
}[];
}>;
interface GetApiCommonGetKeyByActivityListParams {
activity_id?: string;
}
export {};
import request from "@/plugins/request";
/**
* 根据活动获取钥匙列表
* /api/Common/GetKeyByActivityList
*/
export function getApiCommonGetKeyByActivityList(params) {
const paramsInput = {
activity_id: params.activity_id,
};
return request.get(`/api/Common/GetKeyByActivityList`, {
params: paramsInput,
});
}
/**
* 场地类型带出场地下拉框
* /api/Common/GetPlaceSelect
*/
export declare function getApiCommonGetPlaceSelect(params: GetApiCommonGetPlaceSelectParams): import("axios").AxiosPromise<{
name: string;
id: string;
}[]>;
interface GetApiCommonGetPlaceSelectParams {
id?: string;
}
export {};
import request from "@/plugins/request";
/**
* 场地类型带出场地下拉框
* /api/Common/GetPlaceSelect
*/
export function getApiCommonGetPlaceSelect(params) {
const paramsInput = {
id: params.id,
};
return request.get(`/api/Common/GetPlaceSelect`, {
params: paramsInput,
});
}
/**
* 获取场地类型下拉框
* /api/Common/GetPlaceTypeSelect
*/
export declare function getApiCommonGetPlaceTypeSelect(): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
name: string;
id: string;
}[];
}>;
import request from "@/plugins/request";
/**
* 获取场地类型下拉框
* /api/Common/GetPlaceTypeSelect
*/
export function getApiCommonGetPlaceTypeSelect() {
return request.get(`/api/Common/GetPlaceTypeSelect`);
}
/**
* 获取性别
* /api/Common/GetSexSelect
*/
export declare function getApiCommonGetSexSelect(): import("axios").AxiosPromise<{
name: string;
id: string;
}[]>;
import request from "@/plugins/request";
/**
* 获取性别
* /api/Common/GetSexSelect
*/
export function getApiCommonGetSexSelect() {
return request.get(`/api/Common/GetSexSelect`);
}
export * from "./postApiCommonFileUpload";
export * from "./getApiCommonGetCommentContentSelect";
export * from "./getApiCommonGetPersonByCondiction";
export * from "./getApiCommonGetRoleSelect";
export * from "./getApiCommonGetPlaceTypeSelect";
export * from "./getApiCommonGetPlaceSelect";
export * from "./getApiCommonGetKeyByActivityList";
export * from "./getApiCommonGetSexSelect";
export * from "./postApiCommonFileUpload";
export * from "./getApiCommonGetCommentContentSelect";
export * from "./getApiCommonGetPersonByCondiction";
export * from "./getApiCommonGetRoleSelect";
export * from "./getApiCommonGetPlaceTypeSelect";
export * from "./getApiCommonGetPlaceSelect";
export * from "./getApiCommonGetKeyByActivityList";
export * from "./getApiCommonGetSexSelect";
/**
* 附件上传
* /api/Common/FileUpload
*/
export declare function postApiCommonFileUpload(input?: PostApiCommonFileUploadInput): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
id: string;
createby: string;
createtime: string;
path: string;
suffix: string;
size: string;
file_name: string;
};
}>;
export interface PostApiCommonFileUploadInput {
file: File;
}
import request from "@/plugins/request";
/**
* 附件上传
* /api/Common/FileUpload
*/
export function postApiCommonFileUpload(input) {
return request.post(`/api/Common/FileUpload`, input);
}
/**
* 获取钥匙详情
* /api/Key/GetKeyInfo
*/
export declare function getApiKeyGetKeyInfo(params: GetApiKeyGetKeyInfoParams): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
id: string;
key_code: string;
key_name: string;
place_id: string;
place_name: string;
state: number;
is_enable: number;
is_del: number;
createby: string;
createtime: string;
modifyby: string;
modify_time: string;
file_list: {
id: string;
createby: string;
createtime: string;
path: string;
suffix: string;
size: string;
file_name: string;
}[];
};
}>;
interface GetApiKeyGetKeyInfoParams {
id?: string;
}
export {};
import request from "@/plugins/request";
/**
* 获取钥匙详情
* /api/Key/GetKeyInfo
*/
export function getApiKeyGetKeyInfo(params) {
const paramsInput = {
id: params.id,
};
return request.get(`/api/Key/GetKeyInfo`, {
params: paramsInput,
});
}
/**
* 获取钥匙借还记录详情
* /api/Key/GetKeyTrackInfo
*/
export declare function getApiKeyGetKeyTrackInfo(params: GetApiKeyGetKeyTrackInfoParams): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
id: string;
activity_id: string;
card: string;
name: string;
key_id: string;
key_code: string;
key_name: string;
borrow_card: string;
borrow_name: string;
borrow_time: string;
borrow_operate_card: string;
return_card: string;
return_name: string;
return_time: string;
return_operate_card: string;
state: number;
createby: string;
createtime: string;
borrow_userid: string;
return_userid: string;
};
}>;
interface GetApiKeyGetKeyTrackInfoParams {
id?: string;
}
export {};
import request from "@/plugins/request";
/**
* 获取钥匙借还记录详情
* /api/Key/GetKeyTrackInfo
*/
export function getApiKeyGetKeyTrackInfo(params) {
const paramsInput = {
id: params.id,
};
return request.get(`/api/Key/GetKeyTrackInfo`, {
params: paramsInput,
});
}
/**
* 获取钥匙借还记录详情--根据活动
* /api/Key/GetKeyTrackInfoByActivity
*/
export declare function getApiKeyGetKeyTrackInfoByActivity(params: GetApiKeyGetKeyTrackInfoByActivityParams): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
id: string;
activity_id: string;
card: string;
name: string;
key_id: string;
key_code: string;
key_name: string;
borrow_card: string;
borrow_name: string;
borrow_time: string;
borrow_operate_card: string;
return_card: string;
return_name: string;
return_time: string;
return_operate_card: string;
state: number;
createby: string;
createtime: string;
borrow_userid: string;
return_userid: string;
};
}>;
interface GetApiKeyGetKeyTrackInfoByActivityParams {
activity_id?: string;
}
export {};
import request from "@/plugins/request";
/**
* 获取钥匙借还记录详情--根据活动
* /api/Key/GetKeyTrackInfoByActivity
*/
export function getApiKeyGetKeyTrackInfoByActivity(params) {
const paramsInput = {
activity_id: params.activity_id,
};
return request.get(`/api/Key/GetKeyTrackInfoByActivity`, {
params: paramsInput,
});
}
/**
* 删除钥匙
* /api/Key/KeyDel
*/
export declare function getApiKeyKeyDel(params: GetApiKeyKeyDelParams): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: string;
}>;
interface GetApiKeyKeyDelParams {
id?: string;
is_del?: number;
}
export {};
import request from "@/plugins/request";
/**
* 删除钥匙
* /api/Key/KeyDel
*/
export function getApiKeyKeyDel(params) {
const paramsInput = {
id: params.id,
is_del: params.is_del,
};
return request.get(`/api/Key/KeyDel`, {
params: paramsInput,
});
}
/**
* 启用/禁用钥匙
* /api/Key/KeyEnable
*/
export declare function getApiKeyKeyEnable(params: GetApiKeyKeyEnableParams): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: string;
}>;
interface GetApiKeyKeyEnableParams {
id?: string;
is_enable?: number;
}
export {};
import request from "@/plugins/request";
/**
* 启用/禁用钥匙
* /api/Key/KeyEnable
*/
export function getApiKeyKeyEnable(params) {
const paramsInput = {
id: params.id,
is_enable: params.is_enable,
};
return request.get(`/api/Key/KeyEnable`, {
params: paramsInput,
});
}
export * from "./postApiKeyGetKeyList";
export * from "./getApiKeyGetKeyInfo";
export * from "./postApiKeyKeySave";
export * from "./getApiKeyKeyDel";
export * from "./getApiKeyKeyEnable";
export * from "./postApiKeyKeyLendOrReturn";
export * from "./postApiKeyGetKeyTrackList";
export * from "./getApiKeyGetKeyTrackInfo";
export * from "./getApiKeyGetKeyTrackInfoByActivity";
export * from "./postApiKeyGetKeyList";
export * from "./getApiKeyGetKeyInfo";
export * from "./postApiKeyKeySave";
export * from "./getApiKeyKeyDel";
export * from "./getApiKeyKeyEnable";
export * from "./postApiKeyKeyLendOrReturn";
export * from "./postApiKeyGetKeyTrackList";
export * from "./getApiKeyGetKeyTrackInfo";
export * from "./getApiKeyGetKeyTrackInfoByActivity";
import { type KeySearchRequest } from "../../interface";
/**
* 获取钥匙列表
* /api/Key/GetKeyList
*/
export declare function postApiKeyGetKeyList(input?: KeySearchRequest): import("axios").AxiosPromise<{
pageIndex: number;
pageSize: number;
pageCount: number;
dataCount: number;
title: {
field_id: string;
show_name: string;
show_type: number;
width: number;
order_by_flag: number;
default_hide_flag: number;
fixed_flag: number;
code: string;
option: {
label: string;
value: string;
}[];
children: any[];
}[];
data: {
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
id: string;
key_code: string;
key_name: string;
place_id: string;
place_name: string;
state: number;
is_enable: number;
is_del: number;
createby: string;
createtime: string;
modifyby: string;
modify_time: string;
file_id: string;
};
}[];
query: {
[x: string]: any;
};
}>;
import request from "@/plugins/request";
/**
* 获取钥匙列表
* /api/Key/GetKeyList
*/
export function postApiKeyGetKeyList(input) {
return request.post(`/api/Key/GetKeyList`, input);
}
import { type KeyTrackSearchRequest } from "../../interface";
/**
* 获取钥匙借还记录列表
* /api/Key/GetKeyTrackList
*/
export declare function postApiKeyGetKeyTrackList(input?: KeyTrackSearchRequest): import("axios").AxiosPromise<{
pageIndex: number;
pageSize: number;
pageCount: number;
dataCount: number;
title: {
field_id: string;
show_name: string;
show_type: number;
width: number;
order_by_flag: number;
default_hide_flag: number;
fixed_flag: number;
code: string;
option: {
label: string;
value: string;
}[];
children: any[];
}[];
data: {
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
id: string;
activity_id: string;
card: string;
name: string;
key_id: string;
key_code: string;
key_name: string;
borrow_card: string;
borrow_name: string;
borrow_time: string;
borrow_operate_card: string;
return_card: string;
return_name: string;
return_time: string;
return_operate_card: string;
state: number;
createby: string;
createtime: string;
borrow_userid: string;
return_userid: string;
};
}[];
query: {
[x: string]: any;
};
}>;
import request from "@/plugins/request";
/**
* 获取钥匙借还记录列表
* /api/Key/GetKeyTrackList
*/
export function postApiKeyGetKeyTrackList(input) {
return request.post(`/api/Key/GetKeyTrackList`, input);
}
import { type KeyOperateRequest } from "../../interface";
/**
* 钥匙借出或归还操作
* /api/Key/KeyLendOrReturn
*/
export declare function postApiKeyKeyLendOrReturn(input?: KeyOperateRequest): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: string;
}>;
import request from "@/plugins/request";
/**
* 钥匙借出或归还操作
* /api/Key/KeyLendOrReturn
*/
export function postApiKeyKeyLendOrReturn(input) {
return request.post(`/api/Key/KeyLendOrReturn`, input);
}
import { type KeyViewModel } from "../../interface";
/**
* 保存钥匙
* /api/Key/KeySave
*/
export declare function postApiKeyKeySave(input?: KeyViewModel): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: string;
}>;
import request from "@/plugins/request";
/**
* 保存钥匙
* /api/Key/KeySave
*/
export function postApiKeyKeySave(input) {
return request.post(`/api/Key/KeySave`, input);
}
......@@ -8,6 +8,7 @@ export declare function getApiGetTokenInfo(): import("axios").AxiosPromise<{
msg: string;
msg_detail: string;
response: {
userid: string;
cardNumber: string;
name: string;
type: any;
......
import { type UserType } from "../../interface";
/**
* WX单点
* /api/sso/wx
......@@ -20,9 +19,6 @@ export declare function getApiSsoWx(params: GetApiSsoWxParams): import("axios").
};
}>;
interface GetApiSsoWxParams {
userType: UserType;
code: string;
sign: string;
timestamp: string;
token: string;
}
export {};
......@@ -5,10 +5,7 @@ import request from "@/plugins/request";
*/
export function getApiSsoWx(params) {
const paramsInput = {
...params.userType,
code: params.code,
sign: params.sign,
timestamp: params.timestamp,
token: params.token,
};
return request.get(`/api/sso/wx`, {
params: paramsInput,
......
/**
* WX单点 --三个参数
* /api/sso/wxsan
*/
export declare function getApiSsoWxsan(params: GetApiSsoWxsanParams): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
accessToken: {
tokenContent: string;
expires: string;
};
refreshToken: {
tokenContent: string;
expires: string;
};
};
}>;
interface GetApiSsoWxsanParams {
code: string;
sign: string;
timestamp: string;
}
export {};
import request from "@/plugins/request";
/**
* WX单点 --三个参数
* /api/sso/wxsan
*/
export function getApiSsoWxsan(params) {
const paramsInput = {
code: params.code,
sign: params.sign,
timestamp: params.timestamp,
};
return request.get(`/api/sso/wxsan`, {
params: paramsInput,
});
}
export * from "./getApiLoginCheckLoginTest";
export * from "./getApiSsoPc";
export * from "./getApiSsoWx";
export * from "./getApiSsoWxsan";
export * from "./getApiGetTokenInfo";
export * from "./getApiRefreshToken";
export * from "./getApiLoginCheckLoginTest";
export * from "./getApiSsoPc";
export * from "./getApiSsoWx";
export * from "./getApiSsoWxsan";
export * from "./getApiGetTokenInfo";
export * from "./getApiRefreshToken";
/**
* 获取场地时间段
* /api/Place/GetPlaceHourList
*/
export declare function getApiPlaceGetPlaceHourList(params: GetApiPlaceGetPlaceHourListParams): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
place_id: string;
place_code: string;
place_name: string;
card: string;
name: string;
begin_time: string;
end_time: string;
time_section: string;
occupy_flag: number;
occupy_name: string;
}[];
}>;
interface GetApiPlaceGetPlaceHourListParams {
place_id: string;
day: string;
}
export {};
import request from "@/plugins/request";
/**
* 获取场地时间段
* /api/Place/GetPlaceHourList
*/
export function getApiPlaceGetPlaceHourList(params) {
const paramsInput = {
place_id: params.place_id,
day: params.day,
};
return request.get(`/api/Place/GetPlaceHourList`, {
params: paramsInput,
});
}
/**
* 获取场地详情
* /api/Place/GetPlaceInfo
*/
export declare function getApiPlaceGetPlaceInfo(params: GetApiPlaceGetPlaceInfoParams): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
id: string;
place_code: string;
place_name: string;
place_type_id: string;
place_type_name: string;
place_address: string;
building: string;
floor: string;
room: string;
acreage: number;
capacity: number;
threshold: number;
sex: string;
key_num: number;
key_lend_num: number;
key_loanable_num: number;
description: string;
file_id: string;
is_enable: number;
is_del: number;
createby: string;
createtime: string;
modifyby: string;
modify_time: string;
file_list: {
id: string;
createby: string;
createtime: string;
path: string;
suffix: string;
size: string;
file_name: string;
}[];
};
}>;
interface GetApiPlaceGetPlaceInfoParams {
id?: string;
}
export {};
import request from "@/plugins/request";
/**
* 获取场地详情
* /api/Place/GetPlaceInfo
*/
export function getApiPlaceGetPlaceInfo(params) {
const paramsInput = {
id: params.id,
};
return request.get(`/api/Place/GetPlaceInfo`, {
params: paramsInput,
});
}
/**
* 场地带出字段
* /api/Place/PlaceDataOut
*/
export declare function getApiPlacePlaceDataOut(params: GetApiPlacePlaceDataOutParams): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
place_id: string;
place_name: string;
place_code: string;
sex: string;
place_address: string;
capacity: string;
threshold: string;
};
}>;
interface GetApiPlacePlaceDataOutParams {
id?: string;
}
export {};
import request from "@/plugins/request";
/**
* 场地带出字段
* /api/Place/PlaceDataOut
*/
export function getApiPlacePlaceDataOut(params) {
const paramsInput = {
id: params.id,
};
return request.get(`/api/Place/PlaceDataOut`, {
params: paramsInput,
});
}
/**
* 删除场地
* /api/Place/PlaceDel
*/
export declare function getApiPlacePlaceDel(params: GetApiPlacePlaceDelParams): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: string;
}>;
interface GetApiPlacePlaceDelParams {
id?: string;
is_del?: number;
}
export {};
import request from "@/plugins/request";
/**
* 删除场地
* /api/Place/PlaceDel
*/
export function getApiPlacePlaceDel(params) {
const paramsInput = {
id: params.id,
is_del: params.is_del,
};
return request.get(`/api/Place/PlaceDel`, {
params: paramsInput,
});
}
/**
* 启用/禁用场地
* /api/Place/PlaceEnable
*/
export declare function getApiPlacePlaceEnable(params: GetApiPlacePlaceEnableParams): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: string;
}>;
interface GetApiPlacePlaceEnableParams {
id?: string;
is_enable?: number;
}
export {};
import request from "@/plugins/request";
/**
* 启用/禁用场地
* /api/Place/PlaceEnable
*/
export function getApiPlacePlaceEnable(params) {
const paramsInput = {
id: params.id,
is_enable: params.is_enable,
};
return request.get(`/api/Place/PlaceEnable`, {
params: paramsInput,
});
}
export * from "./postApiPlaceGetPlaceList";
export * from "./getApiPlaceGetPlaceInfo";
export * from "./postApiPlacePlaceSave";
export * from "./getApiPlacePlaceDel";
export * from "./getApiPlacePlaceEnable";
export * from "./getApiPlaceGetPlaceHourList";
export * from "./getApiPlacePlaceDataOut";
export * from "./postApiPlaceGetPlaceList";
export * from "./getApiPlaceGetPlaceInfo";
export * from "./postApiPlacePlaceSave";
export * from "./getApiPlacePlaceDel";
export * from "./getApiPlacePlaceEnable";
export * from "./getApiPlaceGetPlaceHourList";
export * from "./getApiPlacePlaceDataOut";
import { type PlaceSearchRequest } from "../../interface";
/**
* 获取场地列表
* /api/Place/GetPlaceList
*/
export declare function postApiPlaceGetPlaceList(input?: PlaceSearchRequest): import("axios").AxiosPromise<{
pageIndex: number;
pageSize: number;
pageCount: number;
dataCount: number;
title: {
field_id: string;
show_name: string;
show_type: number;
width: number;
order_by_flag: number;
default_hide_flag: number;
fixed_flag: number;
code: string;
option: {
label: string;
value: string;
}[];
children: any[];
}[];
data: {
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
id: string;
place_code: string;
place_name: string;
place_type_id: string;
place_type_name: string;
place_address: string;
building: string;
floor: string;
room: string;
acreage: number;
capacity: number;
threshold: number;
sex: string;
key_num: number;
key_lend_num: number;
key_loanable_num: number;
description: string;
file_id: string;
is_enable: number;
is_del: number;
createby: string;
createtime: string;
modifyby: string;
modify_time: string;
};
}[];
query: {
[x: string]: any;
};
}>;
import request from "@/plugins/request";
/**
* 获取场地列表
* /api/Place/GetPlaceList
*/
export function postApiPlaceGetPlaceList(input) {
return request.post(`/api/Place/GetPlaceList`, input);
}
import { type PlaceRequest } from "../../interface";
/**
* 保存场地
* /api/Place/PlaceSave
*/
export declare function postApiPlacePlaceSave(input?: PlaceRequest): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: string;
}>;
import request from "@/plugins/request";
/**
* 保存场地
* /api/Place/PlaceSave
*/
export function postApiPlacePlaceSave(input) {
return request.post(`/api/Place/PlaceSave`, input);
}
......@@ -3,18 +3,24 @@
* /api/PlaceType/GetPlaceTypeInfo
*/
export declare function getApiPlaceTypeGetPlaceTypeInfo(params: GetApiPlaceTypeGetPlaceTypeInfoParams): import("axios").AxiosPromise<{
id: string;
place_type_name: string;
time_split: number;
service_interval_time: string;
instructions: string;
read_time: string;
is_enable: number;
is_del: number;
createby: string;
createtime: string;
modifyby: string;
modify_time: string;
code: number;
status: string;
msg: string;
msg_detail: string;
response: {
id: string;
place_type_name: string;
time_split: number;
service_interval_time: string;
instructions: string;
read_time: number;
is_enable: number;
is_del: number;
createby: string;
createtime: string;
modifyby: string;
modify_time: string;
};
}>;
interface GetApiPlaceTypeGetPlaceTypeInfoParams {
id?: string;
......
......@@ -33,7 +33,7 @@ export declare function getApiPlaceTypeGetPlaceTypeList(params: GetApiPlaceTypeG
time_split: number;
service_interval_time: string;
instructions: string;
read_time: string;
read_time: number;
is_enable: number;
is_del: number;
createby: string;
......
/**
* 删除场地类型
* /api/PlaceType/PlaceTypeDel
*/
export declare function getApiPlaceTypePlaceTypeDel(params: GetApiPlaceTypePlaceTypeDelParams): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: string;
}>;
interface GetApiPlaceTypePlaceTypeDelParams {
id?: string;
is_del?: number;
}
export {};
import request from "@/plugins/request";
/**
* 删除场地类型
* /api/PlaceType/PlaceTypeDel
*/
export function getApiPlaceTypePlaceTypeDel(params) {
const paramsInput = {
id: params.id,
is_del: params.is_del,
};
return request.get(`/api/PlaceType/PlaceTypeDel`, {
params: paramsInput,
});
}
/**
* 启用/禁用场地类型
* /api/PlaceType/PlaceTypeEnable
*/
export declare function getApiPlaceTypePlaceTypeEnable(params: GetApiPlaceTypePlaceTypeEnableParams): import("axios").AxiosPromise<{
code: number;
status: string;
msg: string;
msg_detail: string;
response: string;
}>;
interface GetApiPlaceTypePlaceTypeEnableParams {
id?: string;
is_enable?: number;
}
export {};
import request from "@/plugins/request";
/**
* 启用/禁用场地类型
* /api/PlaceType/PlaceTypeEnable
*/
export function getApiPlaceTypePlaceTypeEnable(params) {
const paramsInput = {
id: params.id,
is_enable: params.is_enable,
};
return request.get(`/api/PlaceType/PlaceTypeEnable`, {
params: paramsInput,
});
}
export * from "./getApiPlaceTypeGetPlaceTypeList";
export * from "./getApiPlaceTypeGetPlaceTypeInfo";
export * from "./postApiPlaceTypePlaceTypeSave";
export * from "./getApiPlaceTypePlaceTypeDel";
export * from "./getApiPlaceTypePlaceTypeEnable";
export * from "./getApiPlaceTypeGetPlaceTypeList";
export * from "./getApiPlaceTypeGetPlaceTypeInfo";
export * from "./postApiPlaceTypePlaceTypeSave";
export * from "./getApiPlaceTypePlaceTypeDel";
export * from "./getApiPlaceTypePlaceTypeEnable";
export * from "./Commodity";
export * from "./Common";
export * from "./Key";
export * from "./Login";
export * from "./Place";
export * from "./PlaceType";
export * from "./Role";
export * from "./SysConfig";
export * from "./Commodity";
export * from "./Common";
export * from "./Key";
export * from "./Login";
export * from "./Place";
export * from "./PlaceType";
export * from "./Role";
export * from "./SysConfig";
export interface Commodity {
id?: string;
commodity_code?: string;
commodity_name?: string;
parent_id?: string;
place_type_id?: string;
place_type_name?: string;
file_id?: string;
is_enable?: number;
is_del?: number;
createby?: string;
createtime?: string;
modifyby?: string;
modify_time?: string;
children?: Commodity[];
}
import { type Commodity } from "../../interface";
export interface CommodityListMessageModel {
code?: number;
status?: string;
msg?: string;
msg_detail?: string;
response?: Commodity[];
}
import { type Commodity } from "../../interface";
export interface CommodityMessageModel {
code?: number;
status?: string;
msg?: string;
msg_detail?: string;
response?: Commodity;
}
import { type TableTitle, type CommodityMessageModel } from "../../interface";
export interface CommodityMessageModelPageModel {
pageIndex?: number;
pageSize?: number;
pageCount?: number;
dataCount?: number;
title?: TableTitle[];
data?: CommodityMessageModel[];
query?: CommodityMessageModelPageModelQuery;
}
export interface CommodityMessageModelPageModelQuery {
[key: string]: any;
}
export interface Int64MessageModel {
code?: number;
status?: string;
msg?: string;
msg_detail?: string;
response?: number;
}
export interface Key {
id?: string;
key_code?: string;
key_name?: string;
place_id?: string;
place_name?: string;
state?: number;
is_enable?: number;
is_del?: number;
createby?: string;
createtime?: string;
modifyby?: string;
modify_time?: string;
file_id?: string;
}
import { type Key } from "../../interface";
export interface KeyMessageModel {
code?: number;
status?: string;
msg?: string;
msg_detail?: string;
response?: Key;
}
import { type TableTitle, type KeyMessageModel } from "../../interface";
export interface KeyMessageModelPageModel {
pageIndex?: number;
pageSize?: number;
pageCount?: number;
dataCount?: number;
title?: TableTitle[];
data?: KeyMessageModel[];
query?: KeyMessageModelPageModelQuery;
}
export interface KeyMessageModelPageModelQuery {
[key: string]: any;
}
export interface KeyOperateRequest {
/** 借出记录表id */
key_track_id?: string;
/** 钥匙id */
key_id?: string;
/** 用户id */
userid?: string;
/** 状态1-借用,2-归还 */
state?: number;
}
export interface KeyResponse {
key_id?: string;
key_code?: string;
key_name?: string;
place_name?: string;
state?: number;
}
import { type KeyResponse } from "../../interface";
export interface KeyResponseListMessageModel {
code?: number;
status?: string;
msg?: string;
msg_detail?: string;
response?: KeyResponse[];
}
export interface KeySearchRequest {
code_name?: string;
place_id?: string;
state?: string;
page_index?: number;
page_size?: number;
}
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或