|
@ -116,6 +116,7 @@ import * as MoldMaintainOrderMainApi from '@/api/eam/mold/moldMaintainOrderMain' |
|
|
import * as MoldMaintenanceMainApi from '@/api/eam/mold/moldMaintenanceMain' |
|
|
import * as MoldMaintenanceMainApi from '@/api/eam/mold/moldMaintenanceMain' |
|
|
import * as moldMaintenanceDetailApi from '@/api/eam/mold/moldMaintenanceDetail' |
|
|
import * as moldMaintenanceDetailApi from '@/api/eam/mold/moldMaintenanceDetail' |
|
|
import * as MoldMilestoneApi from '@/api/eam/basic/moldMilestone' |
|
|
import * as MoldMilestoneApi from '@/api/eam/basic/moldMilestone' |
|
|
|
|
|
import { getAccessToken } from '@/utils/auth' |
|
|
|
|
|
|
|
|
import { |
|
|
import { |
|
|
MoldMaintainOrderMain, |
|
|
MoldMaintainOrderMain, |
|
@ -149,7 +150,7 @@ const dialogAllSchemas = ref() |
|
|
const dialogAllSchemasRules = ref() |
|
|
const dialogAllSchemasRules = ref() |
|
|
const milestone = ref("milestone") |
|
|
const milestone = ref("milestone") |
|
|
const BASE_URL = import.meta.env.VITE_JMREPORT_BASE_URL |
|
|
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) => { |
|
|
const searchTableSuccess = (formField, searchField, val, formRef) => { |
|
@ -229,12 +230,9 @@ const buttonTableClick = async (val, row) => { |
|
|
if (val == 'edit') { |
|
|
if (val == 'edit') { |
|
|
// 编辑 |
|
|
// 编辑 |
|
|
openForm('update', row) |
|
|
openForm('update', row) |
|
|
} else if (val == 'qrCode') { |
|
|
|
|
|
// 二维码 |
|
|
|
|
|
openQrCode(row.number) |
|
|
|
|
|
} else if (val == 'qrCode') { |
|
|
} else if (val == 'qrCode') { |
|
|
window.open(src.value + "&number='" + row.number + "'") |
|
|
window.open(src.value + "&number='" + row.number + "'") |
|
|
} else if (val == 'selectItem') { |
|
|
} else if (val == 'selectItem') { |
|
|
openItem(row.number) |
|
|
openItem(row.number) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@ -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> |
|
|
</script> |
|
|