Files
zyt/server/public/admin/assets/file-B9-V2VTN.js
T
Your NameandClaude Opus 5 (1M context) b8f66e2b00 修复药师菜单缺少「审核签署身份」;处方笺天数栏剂数顶替时单位改为天
- 顶部用户菜单与「已开处方」页会同时请求 esignConfig,请求库会取消先发出的同名请求,
  菜单因此把审核签署判为未启用、不再重试。该只读配置请求改为不参与重复取消
- 药房联 / 处方联「天数」栏在未填用药天数、以剂数顶替时,由「14剂」改为「14 天」(管理后台与桌面端一致)
- 重新构建管理后台

Co-Authored-By: Claude Opus 5 (1M context) <[EMAIL]>
2026-11-27 16:42:30 +08:00

2 lines
1.4 KiB
JavaScript

import{h as f,p as a,g as c,R as p,r as t}from"./index-MwyIJDGh.js";async function i(e,n="image",o=0){const l=f(),r=new FormData;r.append("file",e),r.append("cid",String(o));const u=`${a.baseUrl}${a.urlPrefix}/upload/${n}`,s=await(await fetch(u,{method:"POST",headers:{token:c()||"",version:l.config.version||""},body:r})).json();if(s.code!==p.SUCCESS)throw new Error(s.msg||"上传失败");return s.data}async function m(e,n="screenshot.jpg"){const o=e instanceof File?e:new File([e],n,{type:e.type||"image/jpeg"});return i(o,"image",0)}async function C(e,n="recording.webm"){const o=e instanceof File?e:new File([e],n,{type:e.type||"video/webm"});return i(o,"video",0)}function b(e){return t.post({url:"/file/addCate",params:e})}function w(e){return t.post({url:"/file/editCate",params:e})}function y(e){return t.post({url:"/file/delCate",params:e})}function h(e){return t.get({url:"/file/listCate",params:e})}function j(e){return t.get({url:"/file/lists",params:e},{ignoreCancelToken:!0,isOpenRetry:!1})}function S(e){return t.post({url:"/file/delete",params:e})}function v(e){return t.post({url:"/file/move",params:e})}function F(e){return t.post({url:"/file/rename",params:e})}function O(e){return t.post({url:"/upload/ossCredentials",params:e})}function k(e){return t.post({url:"/upload/ossConfirm",params:e})}export{y as a,w as b,b as c,F as d,v as e,h as f,S as g,j as h,O as i,k as j,m as k,C as l,i as u};