- 顶部用户菜单与「已开处方」页会同时请求 esignConfig,请求库会取消先发出的同名请求, 菜单因此把审核签署判为未启用、不再重试。该只读配置请求改为不参与重复取消 - 药房联 / 处方联「天数」栏在未填用药天数、以剂数顶替时,由「14剂」改为「14 天」(管理后台与桌面端一致) - 重新构建管理后台 Co-Authored-By: Claude Opus 5 (1M context) <[EMAIL]>
2 lines
696 B
JavaScript
2 lines
696 B
JavaScript
import{g as f}from"./self_input_stats-BNTts2pD.js";import{M as u}from"./.pnpm-DnXobOVo.js";function m(){const o=u([]),s=u(!1),c=r=>{if(!Array.isArray(r))return[];const n=[],a=new Set;for(const t of r){if(typeof t=="string"){const e=t.trim();e&&!a.has(e)&&(a.add(e),n.push({name:e,value:""}));continue}if(t&&typeof t=="object"){const e=String(t.name??"").trim();e&&!a.has(e)&&(a.add(e),n.push({name:e,value:String(t.value??"")}))}}return n},i=async(r=!1)=>{if(!(!r&&o.value.length>0)){s.value=!0;try{const n=await f();o.value=c(n)}catch{o.value=[]}finally{s.value=!1}}};return{mediaSourceOptions:o,mediaSourceLoading:s,loadMediaSourceOptions:i,refreshMediaSourceOptions:()=>i(!0)}}export{m as u};
|