diff --git a/src/components/setting/History.vue b/src/components/setting/History.vue
index e65932d..082f598 100644
--- a/src/components/setting/History.vue
+++ b/src/components/setting/History.vue
@@ -46,6 +46,18 @@ const showDetail = (historyItem: Setting.History) => {
visible.value = true
})
}
+const printDetail = (historyItem: Setting.History) => {
+ const detailParams = {
+ className: 'DisinfectionLogsService',
+ fnName: 'printRecord',
+ params: {
+ logName: historyItem.name,
+ },
+ }
+ syncSendCmd(detailParams).then(() => {
+ visible.value = true
+ })
+}
const onDelHistory = () => {
if (!selectedRecords.value.length) {
FtMessage.warning('请选择要删除的数据')
@@ -115,12 +127,13 @@ const deleteBtnVisible = computed(() => {
-
+
查看
+ 打印
@@ -135,6 +148,10 @@ const deleteBtnVisible = computed(() => {