焊接日报上传附件

This commit is contained in:
2026-06-24 16:50:38 +08:00
parent d99af327fd
commit 41623ecb32
8 changed files with 486 additions and 225 deletions
+6 -6
View File
@@ -9,12 +9,12 @@ export const parseScanResult = (str) => {
if (!str) return null
// 焊接接头二维码:https://sggl.sedin.com.cn/StaticPage/HJGL/index.html?id=xxx&weldjoint=1
// if (str.includes('weldjoint')) {
// const id = getUrlParam(str, 'id')
// if (id) {
// return { path: '/scanpages/hj/material_sampling', query: `id=${id}` }
// }
// }
if (str.includes('weldjoint')) {
const id = getUrlParam(str, 'id')
if (id) {
return { path: '/scanpages/hj/daily_paper', query: `id=${id}` }
}
}
// 后续可在此扩展其他扫码类型...