123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- import request from "@/utils/request";
- // 查询无纸化办公(申请)列表
- export const listApply = async (query: any) => {
- return await request({
- url: "/demo/apply/list",
- method: "get",
- params: query,
- });
- };
- // 查询无纸化办公(申请)详细
- export const getApply = async (query: any) => {
- return await request({
- url: "/demo/apply/getinfo",
- method: "get",
- params: query,
- });
- };
- // 新增无纸化办公(申请)
- export const addApply = async (data: any) => {
- return await request({
- url: "/demo/apply/add",
- method: "post",
- data: data,
- });
- };
- // 修改无纸化办公(申请)
- export const updateApply = async (data: any) => {
- return await request({
- url: "/demo/apply/edit",
- method: "put",
- data: data,
- });
- };
- // 删除无纸化办公(申请)
- export const delApply = async (id: string) => {
- return await request({
- url: "/demo/apply/" + id,
- method: "delete",
- });
- };
- // 查询无纸化办公(申请)详细
- export const getApplyByTask = async (query: any) => {
- return await request({
- url: "/demo/apply/getInfoByTask",
- method: "get",
- params: query,
- });
- };
|