api临时提交
parent
9e0537d3e9
commit
40aaa4db81
@ -0,0 +1,53 @@
|
||||
import { axios } from '@/utils/request'
|
||||
|
||||
/**
|
||||
* 查询品名台账
|
||||
*
|
||||
*/
|
||||
export function GetApiPage (parameter) {
|
||||
return axios({
|
||||
url: '/DjyApiAuth/page',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
export function SaveApi (parameter) {
|
||||
return axios({
|
||||
url: '/DjyApiAuth/save',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
export function DeleteApi (parameter) {
|
||||
return axios({
|
||||
url: '/DjyApiAuth/delete',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
export function GetApiDetail (parameter) {
|
||||
return axios({
|
||||
url: '/DjyApiAuth/detail',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
export function ResetApi (parameter) {
|
||||
return axios({
|
||||
url: '/DjyApiAuth/SecretReset',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
export function DisableApi (parameter) {
|
||||
return axios({
|
||||
url: '/DjyApiAuth/SetDisable',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
@ -1,11 +1,13 @@
|
||||
export default {
|
||||
columns: [
|
||||
{ type: 'seq', width: 60, noDraggable: true },
|
||||
{ field: 'goodsCategory', title: '品名分类', showHeaderOverflow: true, sortable: true },
|
||||
{ field: 'goodsCategoryName', title: '品名分类名称', showHeaderOverflow: true, sortable: true },
|
||||
{ field: 'createUserName', title: '创建者名称', showHeaderOverflow: true, sortable: true },
|
||||
{ field: 'createTime', title: '创建时间', showHeaderOverflow: true, sortable: true },
|
||||
{ field: 'updateTime', title: '更新时间', showHeaderOverflow: true, sortable: true },
|
||||
{ field: 'apiCode', title: '接口代码', showHeaderOverflow: true, sortable: true },
|
||||
{ field: 'apiName', title: '接口名称', showHeaderOverflow: true, sortable: true },
|
||||
{ field: 'isDisable', title: '是否禁用', showHeaderOverflow: true, sortable: true },
|
||||
{ field: 'tenantName', title: '租户名称', showHeaderOverflow: true, sortable: true },
|
||||
{ field: 'userCode', title: '用户代码', showHeaderOverflow: true, sortable: true },
|
||||
{ field: 'userName', title: '用户名', showHeaderOverflow: true, sortable: true },
|
||||
{ field: 'createdTime', title: '创建时间', showHeaderOverflow: true, sortable: true },
|
||||
{ field: 'operate', title: '操作', width: 150, noDraggable: true, slots: { default: 'operate' }, fixed: 'right', resizable: false }
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue