fix: 安全日志查询类型
This commit is contained in:
@@ -17,7 +17,7 @@ export async function listSecurityLog(query: Record<string, any>) {
|
||||
querySQL += ` and account_name like '%${query.accountName}%' `;
|
||||
}
|
||||
if (query.opType) {
|
||||
querySQL += ` and op_type = ${query.opType} `;
|
||||
querySQL += ` and op_type = '${query.opType}' `;
|
||||
}
|
||||
if (query.beginTime) {
|
||||
querySQL += ` and op_time >= '${query.beginTime}' `;
|
||||
|
||||
@@ -184,8 +184,8 @@ function fnGetList() {
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
// 初始字典数据
|
||||
Promise.allSettled([getDict('security_log_type')]).then(resArr => {
|
||||
// 初始字典数据
|
||||
Promise.allSettled([getDict('security_log_type')]).then(resArr => {
|
||||
if (resArr[0].status === 'fulfilled') {
|
||||
dict.securityLogType = resArr[0].value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user