|
|
@ -116,6 +116,7 @@ import * as MoldMaintainOrderMainApi from '@/api/eam/mold/moldMaintainOrderMain' |
|
|
|
import * as MoldMaintenanceMainApi from '@/api/eam/mold/moldMaintenanceMain' |
|
|
|
import * as moldMaintenanceDetailApi from '@/api/eam/mold/moldMaintenanceDetail' |
|
|
|
import * as MoldMilestoneApi from '@/api/eam/basic/moldMilestone' |
|
|
|
import { getAccessToken } from '@/utils/auth' |
|
|
|
|
|
|
|
import { |
|
|
|
MoldMaintainOrderMain, |
|
|
@ -149,7 +150,7 @@ const dialogAllSchemas = ref() |
|
|
|
const dialogAllSchemasRules = ref() |
|
|
|
const milestone = ref("milestone") |
|
|
|
const BASE_URL = import.meta.env.VITE_JMREPORT_BASE_URL |
|
|
|
const src = ref(BASE_URL + '/jmreport/view/924818618605031424?token=' + getAccessToken()) |
|
|
|
const src = ref(BASE_URL + '/jmreport/view/924987924638945280?token=' + getAccessToken()) |
|
|
|
|
|
|
|
// 查询页面返回 |
|
|
|
const searchTableSuccess = (formField, searchField, val, formRef) => { |
|
|
@ -229,9 +230,6 @@ const buttonTableClick = async (val, row) => { |
|
|
|
if (val == 'edit') { |
|
|
|
// 编辑 |
|
|
|
openForm('update', row) |
|
|
|
} else if (val == 'qrCode') { |
|
|
|
// 二维码 |
|
|
|
openQrCode(row.number) |
|
|
|
} else if (val == 'qrCode') { |
|
|
|
window.open(src.value + "&number='" + row.number + "'") |
|
|
|
} else if (val == 'selectItem') { |
|
|
@ -494,4 +492,9 @@ const getDeviceItemList = async () => { |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const qrCodeBatch = async (val,item) => { |
|
|
|
const qrCodeList = tableObject.tableList.map(item => `'${item?.number}'`).join(', ') |
|
|
|
window.open(src.value + "&number=" + qrCodeList) |
|
|
|
} |
|
|
|
|
|
|
|
</script> |
|
|
|