diff --git a/src/api/system/log.ts b/src/api/system/log.ts index fb4a0e7..c42a358 100644 --- a/src/api/system/log.ts +++ b/src/api/system/log.ts @@ -4,7 +4,7 @@ import request from '../index' const prefix = 'sys' // 操作日志查询 -export function getBizLogList(params) { +export function getBizLogList(params: object) { return request({ url: `${prefix}/log/biz/list`, method: 'get', @@ -19,7 +19,7 @@ }) } // 异常日志查询 -export function getErrorLogList(params) { +export function getErrorLogList(params: object) { return request({ url: `${prefix}/log/error/list`, method: 'get', @@ -58,7 +58,7 @@ } // 登录日志查询 -export function getLoginLogList(params) { +export function getLoginLogList(params: object) { return request({ url: `${prefix}/loginLog/list`, method: 'get', diff --git a/src/api/system/log.ts b/src/api/system/log.ts index fb4a0e7..c42a358 100644 --- a/src/api/system/log.ts +++ b/src/api/system/log.ts @@ -4,7 +4,7 @@ import request from '../index' const prefix = 'sys' // 操作日志查询 -export function getBizLogList(params) { +export function getBizLogList(params: object) { return request({ url: `${prefix}/log/biz/list`, method: 'get', @@ -19,7 +19,7 @@ }) } // 异常日志查询 -export function getErrorLogList(params) { +export function getErrorLogList(params: object) { return request({ url: `${prefix}/log/error/list`, method: 'get', @@ -58,7 +58,7 @@ } // 登录日志查询 -export function getLoginLogList(params) { +export function getLoginLogList(params: object) { return request({ url: `${prefix}/loginLog/list`, method: 'get', diff --git a/src/components/NormalTable/index.vue b/src/components/NormalTable/index.vue index 8f42da1..f947a47 100644 --- a/src/components/NormalTable/index.vue +++ b/src/components/NormalTable/index.vue @@ -1,5 +1,6 @@ @@ -109,21 +115,19 @@ - + diff --git a/src/api/system/log.ts b/src/api/system/log.ts index fb4a0e7..c42a358 100644 --- a/src/api/system/log.ts +++ b/src/api/system/log.ts @@ -4,7 +4,7 @@ import request from '../index' const prefix = 'sys' // 操作日志查询 -export function getBizLogList(params) { +export function getBizLogList(params: object) { return request({ url: `${prefix}/log/biz/list`, method: 'get', @@ -19,7 +19,7 @@ }) } // 异常日志查询 -export function getErrorLogList(params) { +export function getErrorLogList(params: object) { return request({ url: `${prefix}/log/error/list`, method: 'get', @@ -58,7 +58,7 @@ } // 登录日志查询 -export function getLoginLogList(params) { +export function getLoginLogList(params: object) { return request({ url: `${prefix}/loginLog/list`, method: 'get', diff --git a/src/components/NormalTable/index.vue b/src/components/NormalTable/index.vue index 8f42da1..f947a47 100644 --- a/src/components/NormalTable/index.vue +++ b/src/components/NormalTable/index.vue @@ -1,5 +1,6 @@ @@ -109,21 +115,19 @@ - + diff --git a/src/views/system/tenant/tenant_interface.ts b/src/views/system/tenant/tenant_interface.ts index d13898d..2450883 100644 --- a/src/views/system/tenant/tenant_interface.ts +++ b/src/views/system/tenant/tenant_interface.ts @@ -5,11 +5,12 @@ order: string } export interface IdeviceForm { - id: string // 主键 + id?: string // 主键 tenantCode: string // 项目编码 tenantName: string // 项目名称 linkPerson: string // 联系人 tel: string // 联系电话 clearday: string // 清除时间 + deptName?: string }