apf.js 909 Bytes
Newer Older
fukai committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
import Api from "~/service/Api"

export function queryByPage(data) {
    return Api.post("/manager/apf/queryByPage", data)
}

export function queryById(data) {
    return Api.post(`/manager/apf/queryById`, data)
}

export function add(data) {
    return Api.post("/manager/apf/add", data)
}

export function edit(data) {
    return Api.post("/manager/apf/edit", data)
}

export function deleteById(data) {
    return Api.post(`/manager/apf/deleteById`, data)
}

export function checkTyp(data) {
    return Api.post("/manager/apf/checkTyp", data)
}

export function checkPri(data) {
    return Api.post("/manager/apf/checkPri", data)
}

export function checkEditTyp(data) {
    return Api.post("/manager/apf/checkEditTyp", data)
}

export function checkEditPri(data) {
    return Api.post("/manager/apf/checkEditPri", data)
}

export function getDsc(data) {
    return Api.post("/manager/apf/getDsc", data)
}