diff --git a/src/views/eam/device/deviceAccounts/index.vue b/src/views/eam/device/deviceAccounts/index.vue index 2a83fb9..2d3f30a 100644 --- a/src/views/eam/device/deviceAccounts/index.vue +++ b/src/views/eam/device/deviceAccounts/index.vue @@ -219,6 +219,7 @@ const butttondata = [ // 列表-操作按钮事件 const buttonTableClick = async (val, row) => { + debugger if (val == 'edit') { // 编辑 openForm('update', row) @@ -228,6 +229,7 @@ const buttonTableClick = async (val, row) => { } else if (val == 'selectItem') { openItem(row.number) } else if (val == 'qrCode') { + debugger window.open(src.value + "&number='" + row.number + "'") } else { // 其他按钮 diff --git a/src/views/eam/device/deviceSpotInspectionRecordMain/deviceSpotInspectionRecordMain.data.ts b/src/views/eam/device/deviceSpotInspectionRecordMain/deviceSpotInspectionRecordMain.data.ts index dc28025..ebeff46 100644 --- a/src/views/eam/device/deviceSpotInspectionRecordMain/deviceSpotInspectionRecordMain.data.ts +++ b/src/views/eam/device/deviceSpotInspectionRecordMain/deviceSpotInspectionRecordMain.data.ts @@ -97,7 +97,7 @@ export const DeviceSpotInspectionRecordMain = useCrudSchemas(reactive { return deviceMoldTypeList.find((account) => account.value == cellValue)?.label @@ -182,7 +182,7 @@ export const DeviceSpotInspectionRecordDetail = useCrudSchemas(reactive { } +const qrCodeBatch = async (val,item) => { + const qrCodeList = tableObject.tableList.map(item => `'${item?.number}'`).join(', ') + window.open(src.value + "&number=" + qrCodeList) +} +