🔱: [client] sync upgrade with 3 commits [trident-sync]

perf: dict.getNodesByValues 修改为单例模式也可以运行,无需配置prototype,优化性能
chore: 各ui支持table-select
pull/14/head
GitHub Actions Bot 2023-09-09 19:24:09 +00:00
parent 9788aefcc1
commit 8701303012
98 changed files with 322 additions and 99 deletions

View File

@ -39,6 +39,17 @@ function findById(id: any, list: any) {
} }
} }
} }
function findByIds(ids: any[], list: any) {
const res = [];
for (const id of ids) {
const item = findById(id, list);
if (item != null) {
res.push(item);
}
}
console.log("findbyids", res, ids);
return res;
}
const mockUtil: any = { const mockUtil: any = {
findById, findById,
buildMock(options: any) { buildMock(options: any) {
@ -173,13 +184,7 @@ const mockUtil: any = {
handle(req: any) { handle(req: any) {
let id = req.params.id; let id = req.params.id;
id = parseInt(id); id = parseInt(id);
let current = null; const current = findById(req.body.id, list);
for (const item of list) {
if (item.id === id) {
current = item;
break;
}
}
return { return {
code: 0, code: 0,
msg: "success", msg: "success",
@ -187,6 +192,19 @@ const mockUtil: any = {
}; };
} }
}, },
{
path: "/mock/" + name + "/byIds",
method: "post",
handle(req: any) {
const ids = req.body.ids;
const res = findByIds(ids, list);
return {
code: 0,
msg: "success",
data: res
};
}
},
{ {
path: "/mock/" + name + "/add", path: "/mock/" + name + "/add",
method: "post", method: "post",

View File

@ -192,6 +192,12 @@ export const crudResources = [
path: "/crud/component/select", path: "/crud/component/select",
component: "/crud/component/select/index.vue" component: "/crud/component/select/index.vue"
}, },
{
title: "表格选择(table-select)",
name: "ComponentTableSelect",
path: "/crud/component/table-select",
component: "/crud/component/table-select/index.vue"
},
{ {
title: "级联(cascader)", title: "级联(cascader)",
name: "ComponentCascader", name: "ComponentCascader",

View File

@ -36,7 +36,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -0,0 +1,42 @@
import { requestForMock } from "/src/api/service";
const request = requestForMock;
const apiPrefix = "/mock/ComponentTableSelect";
export function GetList(query: any) {
return request({
url: apiPrefix + "/page",
method: "get",
data: query
});
}
export function AddObj(obj: any) {
return request({
url: apiPrefix + "/add",
method: "post",
data: obj
});
}
export function UpdateObj(obj: any) {
return request({
url: apiPrefix + "/update",
method: "post",
data: obj
});
}
export function DelObj(id: any) {
return request({
url: apiPrefix + "/delete",
method: "post",
params: { id }
});
}
export function GetObj(id: any) {
return request({
url: apiPrefix + "/get",
method: "get",
params: { id }
});
}

View File

@ -0,0 +1,99 @@
import * as api from "./api";
import * as textTableApi from "../text/api";
import { AddReq, CreateCrudOptionsProps, CreateCrudOptionsRet, DelReq, dict, EditReq, UserPageQuery, UserPageRes } from "@fast-crud/fast-crud";
import createCrudOptionsText from "../text/crud";
export default function ({ crudExpose }: CreateCrudOptionsProps): CreateCrudOptionsRet {
const pageRequest = async (query: UserPageQuery): Promise<UserPageRes> => {
return await api.GetList(query);
};
const editRequest = async ({ form, row }: EditReq) => {
form.id = row.id;
return await api.UpdateObj(form);
};
const delRequest = async ({ row }: DelReq) => {
return await api.DelObj(row.id);
};
const addRequest = async ({ form }: AddReq) => {
return await api.AddObj(form);
};
return {
crudOptions: {
request: {
pageRequest,
addRequest,
editRequest,
delRequest
},
columns: {
id: {
title: "ID",
key: "id",
type: "number",
column: {
width: 50
},
form: {
show: false
}
},
single: {
title: "单选",
search: { show: true },
type: "table-select",
dict: dict({
value: "id",
label: "name",
getNodesByValues: async (values: any[]) => {
return await textTableApi.GetByIds(values);
}
}),
form: {
component: {
createCrudOptions: createCrudOptionsText,
crudOptionsOverride: {
table: {
scroll: {
x: 2000
}
},
rowHandle: {
fixed: "right"
}
}
}
}
},
multi: {
title: "多选",
search: { show: true },
type: "table-select",
dict: dict({
value: "id",
label: "name",
getNodesByValues: async (values: any[]) => {
return await textTableApi.GetByIds(values);
}
}),
form: {
component: {
multiple: true,
createCrudOptions: createCrudOptionsText,
crudOptionsOverride: {
table: {
scroll: {
x: 2000
}
},
rowHandle: {
fixed: "right"
}
}
}
}
}
}
}
};
}

View File

@ -0,0 +1,30 @@
<template>
<fs-page>
<fs-crud ref="crudRef" v-bind="crudBinding" />
</fs-page>
</template>
<script lang="ts">
import { defineComponent, onMounted, ref } from "vue";
import createCrudOptions from "./crud.js";
import { useFs } from "@fast-crud/fast-crud";
export default defineComponent({
name: "ComponentTableSelect",
setup() {
const { crudBinding, crudRef, crudExpose } = useFs({ createCrudOptions });
//
onMounted(() => {
crudExpose.doRefresh();
});
const value = ref(null);
return {
crudBinding,
crudRef,
value
};
}
});
</script>

View File

@ -0,0 +1,21 @@
import mockUtil from "/src/mock/base";
const options: any = {
name: "ComponentTableSelect",
idGenerator: 0
};
const list = [
{
single: 1,
multi: [1, 2]
},
{
single: 3,
multi: [1, 2, 3]
},
{
single: 2
}
];
options.list = list;
const mock = mockUtil.buildMock(options);
export default mock;

View File

@ -35,8 +35,15 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });
} }
export function GetByIds(ids: any) {
return request({
url: apiPrefix + "/byIds",
method: "post",
data: { ids }
});
}

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -37,7 +37,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: number) {
export function GetObj(id: number) { export function GetObj(id: number) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -43,7 +43,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });

View File

@ -35,7 +35,7 @@ export function DelObj(id: any) {
export function GetObj(id: any) { export function GetObj(id: any) {
return request({ return request({
url: apiPrefix + "/info", url: apiPrefix + "/get",
method: "get", method: "get",
params: { id } params: { id }
}); });