😎增加流水号列表双击行事件
This commit is contained in:
parent
3e5bd94937
commit
c9131bd260
@ -2,7 +2,7 @@
|
|||||||
"name": "admin.net.pro",
|
"name": "admin.net.pro",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "2.4.33",
|
"version": "2.4.33",
|
||||||
"lastBuildTime": "2025.08.12",
|
"lastBuildTime": "2025.08.13",
|
||||||
"description": "Admin.NET 站在巨人肩膀上的 .NET 通用权限开发框架",
|
"description": "Admin.NET 站在巨人肩膀上的 .NET 通用权限开发框架",
|
||||||
"author": "zuohuaijun",
|
"author": "zuohuaijun",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@ -79,8 +79,8 @@
|
|||||||
"vue-router": "^4.5.1",
|
"vue-router": "^4.5.1",
|
||||||
"vue-signature-pad": "^3.0.2",
|
"vue-signature-pad": "^3.0.2",
|
||||||
"vue3-tree-org": "^4.2.2",
|
"vue3-tree-org": "^4.2.2",
|
||||||
"vxe-pc-ui": "^4.8.13",
|
"vxe-pc-ui": "^4.8.14",
|
||||||
"vxe-table": "^4.15.6",
|
"vxe-table": "^4.15.7",
|
||||||
"xe-utils": "^3.7.8",
|
"xe-utils": "^3.7.8",
|
||||||
"xlsx-js-style": "^1.2.0"
|
"xlsx-js-style": "^1.2.0"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -66,6 +66,7 @@ import { useVxeTable } from '/@/hooks/useVxeTableOptionsHook';
|
|||||||
import commonFunction from '/@/utils/commonFunction';
|
import commonFunction from '/@/utils/commonFunction';
|
||||||
import { Local } from '/@/utils/storage';
|
import { Local } from '/@/utils/storage';
|
||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
|
import { auth } from '/@/utils/authFunction';
|
||||||
|
|
||||||
import ModifyRecord from '/@/components/table/modifyRecord.vue';
|
import ModifyRecord from '/@/components/table/modifyRecord.vue';
|
||||||
import EditSerial from './component/editSerial.vue';
|
import EditSerial from './component/editSerial.vue';
|
||||||
@ -193,6 +194,10 @@ const gridEvents: VxeGridListeners<PageSerialOutput> = {
|
|||||||
state.localPageParam.defaultSort = { field: field, order: order!, descStr: 'desc' };
|
state.localPageParam.defaultSort = { field: field, order: order!, descStr: 'desc' };
|
||||||
Local.set(localPageParamKey, state.localPageParam);
|
Local.set(localPageParamKey, state.localPageParam);
|
||||||
},
|
},
|
||||||
|
// 双击行事件
|
||||||
|
async cellDblclick({ row }) {
|
||||||
|
if (auth('sysSerial/update')) await handleEdit(row);
|
||||||
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user