交办、整改责任人修改
This commit is contained in:
@@ -5,7 +5,8 @@ const DRAFT_NS = {
|
||||
ACCEPT: "draft_accept",
|
||||
RECTIFY: "draft_rectify",
|
||||
INSPECTION_RESULT: "draft_inspection_result",
|
||||
INSPECTION_SHEET: "draft_inspection_sheet"
|
||||
INSPECTION_SHEET: "draft_inspection_sheet",
|
||||
HAZARD_ADD: "draft_hazard_add"
|
||||
};
|
||||
function buildDraftKey(namespace, ...parts) {
|
||||
return [namespace, ...parts.map((p) => String(p ?? ""))].join("_");
|
||||
@@ -37,7 +38,7 @@ function loadDraft(key) {
|
||||
try {
|
||||
return typeof raw === "string" ? JSON.parse(raw) : raw;
|
||||
} catch (error) {
|
||||
common_vendor.index.__f__("error", "at utils/draftCache.js:61", "[draftCache] 解析草稿失败:", key, error);
|
||||
common_vendor.index.__f__("error", "at utils/draftCache.js:62", "[draftCache] 解析草稿失败:", key, error);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user