😎增加流水号列表双击行事件

This commit is contained in:
zuohuaijun 2025-08-13 16:20:05 +08:00
parent 3e5bd94937
commit c9131bd260
2 changed files with 8 additions and 3 deletions

View File

@ -2,7 +2,7 @@
"name": "admin.net.pro",
"type": "module",
"version": "2.4.33",
"lastBuildTime": "2025.08.12",
"lastBuildTime": "2025.08.13",
"description": "Admin.NET 站在巨人肩膀上的 .NET 通用权限开发框架",
"author": "zuohuaijun",
"license": "MIT",
@ -79,8 +79,8 @@
"vue-router": "^4.5.1",
"vue-signature-pad": "^3.0.2",
"vue3-tree-org": "^4.2.2",
"vxe-pc-ui": "^4.8.13",
"vxe-table": "^4.15.6",
"vxe-pc-ui": "^4.8.14",
"vxe-table": "^4.15.7",
"xe-utils": "^3.7.8",
"xlsx-js-style": "^1.2.0"
},

View File

@ -66,6 +66,7 @@ import { useVxeTable } from '/@/hooks/useVxeTableOptionsHook';
import commonFunction from '/@/utils/commonFunction';
import { Local } from '/@/utils/storage';
import { useI18n } from 'vue-i18n';
import { auth } from '/@/utils/authFunction';
import ModifyRecord from '/@/components/table/modifyRecord.vue';
import EditSerial from './component/editSerial.vue';
@ -193,6 +194,10 @@ const gridEvents: VxeGridListeners<PageSerialOutput> = {
state.localPageParam.defaultSort = { field: field, order: order!, descStr: 'desc' };
Local.set(localPageParamKey, state.localPageParam);
},
//
async cellDblclick({ row }) {
if (auth('sysSerial/update')) await handleEdit(row);
},
};
</script>