|
@@ -22,7 +22,7 @@
|
|
|
</BasicTable>
|
|
|
</template>
|
|
|
<script lang="ts" name="monitor-log" setup>
|
|
|
-import { ref } from 'vue';
|
|
|
+import { ref,reactive } from 'vue';
|
|
|
import { BasicTable, useTable, TableAction } from '/@/components/Table';
|
|
|
import { getLogList, getUserLoginStats } from './log.api';
|
|
|
import { columns, searchFormSchema, searchFormSchema1, operationLogColumn, browserColumn, loginTjColumn } from './log.data';
|
|
@@ -33,7 +33,7 @@ const logColumns = ref<any>(columns);
|
|
|
const logApi = ref<any>(getLogList)
|
|
|
const logSchemas = ref<any[]>(searchFormSchema)
|
|
|
const paramTime = ref<any[]>(['createTime_begin', 'createTime_end'])
|
|
|
-const searchInfo = { logType: '1' };
|
|
|
+let searchInfo =reactive( { logType: '1' });
|
|
|
// 列表页面公共参数、方法
|
|
|
const { prefixCls, tableContext } = useListPage({
|
|
|
designScope: 'user-list',
|
|
@@ -81,6 +81,7 @@ function tabChange(key) {
|
|
|
logSchemas.value = searchFormSchema1
|
|
|
paramTime.value = [['fieldTime', ['dayStart', 'dayEnd'], 'YYYY-MM-DD']]
|
|
|
logApi.value = getUserLoginStats
|
|
|
+ searchInfo={}
|
|
|
break;
|
|
|
}
|
|
|
//update-end---author:wangshuai ---date:20220506 for:[VUEN-943]vue3日志管理列表翻译不对--------------
|