From c477dcc0ab4fe679f682f342d1ac8725fcb4d852 Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期二, 10 九月 2024 13:37:50 +0800
Subject: [PATCH] #
---
zy-asrs-admin/src/views/system/host/index.vue | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/zy-asrs-admin/src/views/system/host/index.vue b/zy-asrs-admin/src/views/system/host/index.vue
index 034d9ad..6c0f732 100644
--- a/zy-asrs-admin/src/views/system/host/index.vue
+++ b/zy-asrs-admin/src/views/system/host/index.vue
@@ -6,6 +6,7 @@
import { logout } from '@/config.js';
import EditView from './edit.vue'
import { formatMessage } from '@/utils/localeUtils.js';
+import useTableSearch from '@/utils/tableUtils.jsx';
const context = getCurrentInstance()?.appContext.config.globalProperties;
const router = useRouter();
@@ -19,31 +20,40 @@
let tableData = ref([]);
getPage();
+const {
+ getColumnSearchProps,
+} = useTableSearch();
+
const columns = [
{
title: formatMessage('db.sys_host.name', '鍚嶇О'),
dataIndex: 'name',
width: 140,
+ ...getColumnSearchProps('name'),
},
{
title: formatMessage('db.sys_host.status', '鐘舵��'),
dataIndex: 'status$',
width: 140,
+ ...getColumnSearchProps('status$'),
},
{
title: formatMessage('db.sys_host.create_time', '娣诲姞鏃堕棿'),
dataIndex: 'createTime$',
width: 140,
+ ...getColumnSearchProps('createTime$'),
},
{
title: formatMessage('db.sys_host.update_time', '淇敼鏃堕棿'),
dataIndex: 'updateTime$',
width: 140,
+ ...getColumnSearchProps('updateTime$'),
},
{
title: formatMessage('db.sys_host.memo', '澶囨敞'),
dataIndex: 'memo',
width: 140,
+ ...getColumnSearchProps('memo'),
},
{
@@ -144,6 +154,7 @@
function handleTableReload(value) {
getPage()
+ window.location.reload();
}
</script>
--
Gitblit v1.9.1