diff --git a/src/assets/api.js b/src/assets/api.js index 9c572173..fd00796c 100644 --- a/src/assets/api.js +++ b/src/assets/api.js @@ -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) } diff --git a/src/pages/plan/key/detail/list.js b/src/pages/plan/key/detail/list.js index cf5c0b1a..3fe63d72 100644 --- a/src/pages/plan/key/detail/list.js +++ b/src/pages/plan/key/detail/list.js @@ -331,7 +331,7 @@ export default class acclist extends React.Component{ prop:'status', name: 'status', width:'auto', - type: "normal", + type: "slot", }, { title: '操作',