CRM_26-08-05#story#9126,车辆管理、服务商管理系统需求

This commit is contained in:
zlf
2026-08-05 18:43:21 +08:00
parent cd2aaeef32
commit 2dd5f41a3b
4 changed files with 4361 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
// 拍摄页与表单页之间的内存中转:blob 无法走路由 query,返回时由表单页取出并清空
export default {
namespaced: true,
state: {
result: null, // 拍照确认结果 { type, blob, dataURL }
fallback: null // 相机不可用降级信息 { type, error }
},
mutations: {
setResult(state, payload) {
state.result = payload
state.fallback = null
},
setFallback(state, payload) {
state.fallback = payload
state.result = null
},
clear(state) {
state.result = null
state.fallback = null
}
}
}