From 2c8188aa8843e0e6f5e7cb430a18e3a4560a232c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9C=E6=A3=9A?= <849005670@qq.com> Date: Fri, 7 Jan 2022 17:44:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/api.js | 10 +++++----- src/pages/plan/key/detail/list.js | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) 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: '操作',