This commit is contained in:
姜棚 2022-01-07 17:44:38 +08:00
parent 97c1c9c97e
commit 2c8188aa88
2 changed files with 6 additions and 6 deletions

View File

@ -847,7 +847,7 @@ export const delSystemTemplate= (id) => {
//key码列表
export const getkeyDetailList= (id,data) => {
return req('get', "http://192.168.6.98:8000" + "/key/"+id,data)
return req('get', baseurl + "/key/"+id,data)
}
@ -873,20 +873,20 @@ export const getApprovalsStatus= (id,data) => {
//作废
export const keyBatchCancel= (data) => {
return req('put', "http://192.168.6.98:8000" + "/key/batch_cancel",data)
return req('put', baseurl + "/key/batch_cancel",data)
}
//作废
export const keyCancel= (data) => {
return req('put', "http://192.168.6.98:8000" + "/key/cancel",data)
return req('put', baseurl + "/key/cancel",data)
}
//标记使用
export const keyBatchUsage= (data) => {
return req('put', "http://192.168.6.98:8000" + "/key/usage",data)
return req('put', baseurl + "/key/usage",data)
}
//获取日志
export const getKeyLog= (data) => {
return req('get', "http://192.168.6.98:8000" + "/key/log/list",data)
return req('get', baseurl + "/key/log/list",data)
}

View File

@ -331,7 +331,7 @@ export default class acclist extends React.Component{
prop:'status',
name: 'status',
width:'auto',
type: "normal",
type: "slot",
},
{
title: '操作',