talk_appAmin/api/signln/SignTa/SignTa.js

69 lines
1.1 KiB
JavaScript

import request from '@/utils/request'
// 查询签到详情列表
export function listSignTa(query) {
return request({
url: '/SignTa/SignTa/list',
method: 'get',
params: query
})
}
export function GetListid() {
return request({
url: '/SignDetail/Sign/list/id',
method: 'get'
})
}
export function listSignTaUser(query) {
return request({
url: '/SignTa/SignTa/list/userid',
method: 'get',
params: query
})
}
// 查询签到详情详细
export function getSignTa(id) {
return request({
url: '/SignTa/SignTa/' + id,
method: 'get'
})
}
// 新增签到详情
export function addSignTa(data) {
return request({
url: '/SignTa/SignTa',
method: 'post',
data: data
})
}
// 修改签到详情
export function updateSignTa(data) {
return request({
url: '/SignTa/SignTa',
method: 'put',
data: data
})
}
// 删除签到详情
export function delSignTa(id) {
return request({
url: '/SignTa/SignTa/' + id,
method: 'delete'
})
}
//
export function newtableone(tablename){
return request({
url:"/SignDetail/Sign/newtableone?tablename="+tablename,
method: 'POST'
})
}