You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
912 B

3 years ago
import request from "@/utils/request";
export function index(params,isLoading = false) {
return request({
method: "get",
url: "/api/admin/custom-form/index",
params,
isLoading
})
}
3 years ago
export function show(params,isLoading = true) {
3 years ago
return request({
method: "get",
url: "/api/admin/custom-form/show",
3 years ago
params,
isLoading
3 years ago
})
}
export function save(data) {
return request({
method: "post",
url: "/api/admin/custom-form/save",
data
})
}
export function destroy(params) {
return request({
method: "get",
url: "/api/admin/custom-form/destroy",
params
})
}
export function update(params) {
return request({
method: "get",
url: "/api/admin/custom-form/update-table",
params,
isLoading:false
})
}
3 years ago
export function realTableIndex() {
return request({
method: "get",
url: '/api/admin/custom-form/real-table-index'
})
}