2026-07-29-outbound-release-card-vs-protocol-card-demo.html 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1" />
  6. <title>出库放行审核卡片 · 对齐采集协议单卡片 Demo</title>
  7. <link rel="preconnect" href="https://fonts.googleapis.com" />
  8. <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
  9. <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet" />
  10. <style>
  11. :root {
  12. --primary: #10b981;
  13. --primary-dark: #059669;
  14. --primary-bg: #ecfdf5;
  15. --text: #1e293b;
  16. --mint-text-muted: #64748b;
  17. --mint-border: #e2e8f0;
  18. --bg-page: #f5f7f6;
  19. }
  20. * { box-sizing: border-box; }
  21. body {
  22. margin: 0;
  23. font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  24. font-size: 14px;
  25. line-height: 1.5;
  26. color: var(--text);
  27. background: var(--bg-page);
  28. }
  29. .page { max-width: 1280px; margin: 0 auto; padding: 24px 20px 48px; }
  30. h1 { margin: 0 0 8px; font-size: 20px; font-weight: 700; }
  31. .lead { margin: 0 0 20px; color: var(--mint-text-muted); font-size: 13px; }
  32. .toolbar {
  33. display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  34. margin-bottom: 20px; padding: 12px 14px; background: #fff;
  35. border: 1px solid var(--mint-border); border-radius: 10px;
  36. }
  37. .toolbar label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; }
  38. .toolbar select {
  39. height: 32px; padding: 0 10px; border: 1px solid var(--mint-border);
  40. border-radius: 8px; font-size: 13px;
  41. }
  42. .section-title {
  43. margin: 24px 0 10px; font-size: 13px; font-weight: 700;
  44. color: var(--primary-dark);
  45. }
  46. .section-title span { font-weight: 500; color: var(--mint-text-muted); margin-left: 8px; }
  47. /* tags */
  48. .tag {
  49. display: inline-flex; align-items: center; height: 20px; padding: 0 7px;
  50. border-radius: 4px; font-size: 12px; font-weight: 500; line-height: 1;
  51. border: 1px solid transparent;
  52. }
  53. .tag.success { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
  54. .tag.warning { background: #fffbeb; color: #b45309; border-color: #fde68a; }
  55. .tag.danger { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
  56. .tag.info { background: #f1f5f9; color: #475569; border-color: #e2e8f0; }
  57. .tag.primary { background: #ecfdf5; color: #059669; border-color: #a7f3d0; }
  58. .btn-op {
  59. display: inline-flex; align-items: center; gap: 4px;
  60. height: 28px; padding: 0 10px; border: 1px solid var(--mint-border);
  61. border-radius: 6px; background: #fff; font-size: 12px; color: var(--text);
  62. cursor: default;
  63. }
  64. /* ═══════ A. 现状:出库放行卡片(多列网格) ═══════ */
  65. .out-wrap {
  66. display: grid;
  67. grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  68. gap: 14px;
  69. padding: 16px;
  70. background: #fff;
  71. border: 1px solid var(--mint-border);
  72. border-radius: 10px;
  73. }
  74. .out-card {
  75. border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; overflow: hidden;
  76. box-shadow: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  77. }
  78. .out-card__head { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px; }
  79. .out-card__title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
  80. .out-card__index { font-size: 12px; font-weight: 600; color: var(--mint-text-muted); min-width: 20px; }
  81. .out-card__code { font-size: 15px; font-weight: 700; color: #0f172a; }
  82. .out-card__meta { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 12px; margin: 0; }
  83. .out-card__meta dt { margin: 0 0 2px; font-size: 11px; font-weight: 500; color: var(--mint-text-muted); }
  84. .out-card__meta dd { margin: 0; font-size: 13px; font-weight: 600; color: #1e293b; }
  85. .out-card__cells {
  86. padding: 12px 14px; border: 1px solid #d1fae5; border-radius: 8px;
  87. background: linear-gradient(180deg, #ecfdf5 0%, #fff 100%);
  88. }
  89. .out-card__cells-title {
  90. display: flex; align-items: center; margin-bottom: 10px;
  91. font-size: 12px; font-weight: 600; color: #047857;
  92. }
  93. .out-card__cells-title::before {
  94. content: ""; width: 3px; height: 14px; margin-right: 8px;
  95. background: #047857; border-radius: 2px;
  96. }
  97. .out-card__cell-fields { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px 12px; margin: 0; }
  98. .out-card__cell-fields dt { margin: 0 0 2px; font-size: 11px; color: var(--mint-text-muted); }
  99. .out-card__cell-fields dd { margin: 0; font-size: 13px; font-weight: 600; }
  100. .out-card__ops { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
  101. /* ═══════ B. 参考:采集协议单卡片骨架 ═══════ */
  102. .proto-list { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: #fff; border: 1px solid var(--mint-border); border-radius: 10px; }
  103. .protocol-card {
  104. position: relative; display: flex; flex-direction: row; align-items: stretch; gap: 12px;
  105. width: 100%; border: 1px solid var(--mint-border); border-radius: 10px; background: #fff;
  106. padding: 12px 14px 12px 40px;
  107. }
  108. .protocol-card.is-selected { border-color: var(--primary); box-shadow: 0 0 0 1px rgb(16 185 129 / 25%); }
  109. .protocol-card__select { position: absolute; top: 12px; left: 12px; }
  110. .protocol-card__aside {
  111. flex: 0 0 148px; min-width: 132px; display: flex; flex-direction: column; gap: 6px;
  112. padding-right: 12px; border-right: 1px solid #eef2f6;
  113. }
  114. .protocol-card__name-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
  115. .protocol-card__index {
  116. flex-shrink: 0; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px;
  117. background: var(--primary-bg); color: var(--primary-dark);
  118. font-size: 12px; font-weight: 600; line-height: 22px; text-align: center;
  119. }
  120. .protocol-card__name {
  121. font-size: 15px; font-weight: 600; color: var(--text);
  122. overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  123. }
  124. .protocol-card__sub { font-size: 12px; color: var(--mint-text-muted); line-height: 1.4; }
  125. .protocol-card__create-time { margin-top: auto; font-size: 11px; color: var(--mint-text-muted); }
  126. .protocol-card__sections {
  127. flex: 1; display: flex; flex-direction: row; align-items: stretch; gap: 10px;
  128. min-width: 0; overflow-x: auto;
  129. }
  130. .protocol-card__block {
  131. flex: 1; min-width: 140px; padding: 8px 10px; border-radius: 8px;
  132. background: #f8fafc; border: 1px solid #eef2f6;
  133. }
  134. .protocol-card__block--cells { flex: 1.35; min-width: 220px; }
  135. .protocol-card__block-title {
  136. display: flex; align-items: center; gap: 8px; margin-bottom: 6px;
  137. font-size: 11px; font-weight: 600; color: var(--primary-dark);
  138. }
  139. .protocol-card__block-count { font-size: 11px; font-weight: 500; color: var(--mint-text-muted); }
  140. .protocol-card__kv { display: flex; gap: 8px; font-size: 12px; line-height: 1.55; min-width: 0; }
  141. .protocol-card__kv label {
  142. flex: 0 0 56px; color: var(--mint-text-muted); font-size: 11px;
  143. }
  144. .protocol-card__kv span {
  145. flex: 1; min-width: 0; font-weight: 600; color: #1e293b;
  146. overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  147. }
  148. .protocol-card__sample-item {
  149. display: flex; gap: 8px; padding: 8px; border-radius: 6px; background: #fff;
  150. border: 1px solid #eef2f6; margin-bottom: 6px;
  151. }
  152. .protocol-card__sample-item:last-child { margin-bottom: 0; }
  153. .protocol-card__sample-seq {
  154. flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  155. background: var(--primary-bg); color: var(--primary-dark);
  156. font-size: 11px; font-weight: 600; line-height: 20px; text-align: center;
  157. }
  158. .protocol-card__sample-line { display: flex; align-items: center; gap: 6px; font-size: 12px; margin-bottom: 2px; }
  159. .protocol-card__sample-label { color: var(--mint-text-muted); width: 32px; flex-shrink: 0; }
  160. .protocol-card__sample-value { font-weight: 600; color: #1e293b; }
  161. .protocol-card__foot {
  162. flex: 0 0 auto; display: flex; align-items: flex-end;
  163. padding-left: 8px; border-left: 1px solid #eef2f6;
  164. }
  165. .protocol-card__actions { display: flex; flex-direction: column; gap: 6px; }
  166. @media (max-width: 960px) {
  167. .protocol-card { flex-wrap: wrap; }
  168. .protocol-card__aside { flex: 1 1 100%; border-right: none; border-bottom: 1px solid #eef2f6; padding-bottom: 8px; }
  169. .protocol-card__foot { border-left: none; width: 100%; padding-left: 0; padding-top: 8px; border-top: 1px solid #eef2f6; }
  170. .protocol-card__actions { flex-direction: row; flex-wrap: wrap; }
  171. }
  172. .hidden { display: none !important; }
  173. .compare-grid {
  174. display: grid; grid-template-columns: 1fr; gap: 0;
  175. }
  176. .note {
  177. margin-top: 16px; padding: 12px 14px; background: #fff; border: 1px dashed #a7f3d0;
  178. border-radius: 8px; font-size: 12px; color: var(--mint-text-muted);
  179. }
  180. .note strong { color: var(--text); }
  181. </style>
  182. </head>
  183. <body>
  184. <div class="page">
  185. <h1>出库放行审核卡片 · 对齐采集协议单 Demo</h1>
  186. <p class="lead">
  187. 左侧/上方为<strong>现状</strong>(多列网格 + 纵向堆叠);下方为<strong>提议</strong>(采集协议单式:左侧身份栏 + 横向信息块 + 右侧操作)。
  188. 中试服务与基础实验共用同一结构,仅左侧主信息不同。
  189. </p>
  190. <div class="toolbar">
  191. <label>业务线
  192. <select id="bizSelect">
  193. <option value="pilot">中试服务(患者)</option>
  194. <option value="basic">基础实验(课题/客户)</option>
  195. </select>
  196. </label>
  197. <label><input type="radio" name="view" value="both" checked /> 现状 + 提议</label>
  198. <label><input type="radio" name="view" value="current" /> 仅现状</label>
  199. <label><input type="radio" name="view" value="proposed" /> 仅提议</label>
  200. </div>
  201. <div id="secCurrent">
  202. <div class="section-title">A. 现状 · 出库放行审核卡片 <span>OutboundReleaseReviewCardList(多列网格)</span></div>
  203. <div class="out-wrap">
  204. <article class="out-card" data-biz="pilot">
  205. <div class="out-card__head">
  206. <div>
  207. <div class="out-card__title-row">
  208. <input type="checkbox" />
  209. <span class="out-card__index">1</span>
  210. <span class="out-card__code">ZS-2026-00128</span>
  211. <span class="tag primary">中试服务</span>
  212. <span class="tag warning">已生产</span>
  213. <span class="tag success">已质检</span>
  214. <span class="tag info">待审核</span>
  215. </div>
  216. <dl class="out-card__meta">
  217. <div><dt>患者姓名</dt><dd>张某某</dd></div>
  218. <div><dt>计划取用时间</dt><dd>2026-07-30 09:00:00</dd></div>
  219. <div><dt>审核人</dt><dd>—</dd></div>
  220. <div><dt>审核时间</dt><dd>—</dd></div>
  221. </dl>
  222. </div>
  223. <section class="out-card__cells">
  224. <div class="out-card__cells-title">需求细胞</div>
  225. <dl class="out-card__cell-fields">
  226. <div><dt>项目编码</dt><dd>PRJ-001</dd></div>
  227. <div><dt>项目名称</dt><dd>MSC 扩增批次 A</dd></div>
  228. <div><dt>细胞类型</dt><dd>间充质干细胞</dd></div>
  229. <div><dt>规格</dt><dd>1×10⁷ / 袋</dd></div>
  230. <div><dt>数量</dt><dd>2</dd></div>
  231. <div><dt>产品状态</dt><dd><span class="tag success">已完成</span></dd></div>
  232. </dl>
  233. </section>
  234. <div class="out-card__ops">
  235. <button class="btn-op" type="button">查看</button>
  236. <button class="btn-op" type="button">出库物料</button>
  237. <button class="btn-op" type="button">审核</button>
  238. </div>
  239. </div>
  240. </article>
  241. <article class="out-card" data-biz="basic">
  242. <div class="out-card__head">
  243. <div>
  244. <div class="out-card__title-row">
  245. <input type="checkbox" />
  246. <span class="out-card__index">1</span>
  247. <span class="out-card__code">JC-2026-00056</span>
  248. <span class="tag primary">基础实验</span>
  249. <span class="tag warning">已生产</span>
  250. <span class="tag success">已质检</span>
  251. <span class="tag success">通过</span>
  252. </div>
  253. <dl class="out-card__meta">
  254. <div><dt>课题名称</dt><dd>某细胞体外扩增课题</dd></div>
  255. <div><dt>客户名称</dt><dd>某某生物科技</dd></div>
  256. <div><dt>计划取用时间</dt><dd>2026-07-28 14:00:00</dd></div>
  257. <div><dt>审核人</dt><dd>李审核</dd></div>
  258. </dl>
  259. </div>
  260. <section class="out-card__cells">
  261. <div class="out-card__cells-title">需求细胞</div>
  262. <dl class="out-card__cell-fields">
  263. <div><dt>项目编码</dt><dd>PRJ-088</dd></div>
  264. <div><dt>项目名称</dt><dd>NK 细胞制备</dd></div>
  265. <div><dt>细胞类型</dt><dd>NK 细胞</dd></div>
  266. <div><dt>规格</dt><dd>5×10⁶ / 袋</dd></div>
  267. <div><dt>数量</dt><dd>1</dd></div>
  268. <div><dt>产品状态</dt><dd><span class="tag success">已完成</span></dd></div>
  269. </dl>
  270. </section>
  271. <div class="out-card__ops">
  272. <button class="btn-op" type="button">查看</button>
  273. <button class="btn-op" type="button">出库物料</button>
  274. <button class="btn-op" type="button">审核</button>
  275. </div>
  276. </div>
  277. </article>
  278. </div>
  279. </div>
  280. <div id="secProposed">
  281. <div class="section-title">B. 提议 · 对齐采集协议单卡片布局 <span>单列全宽 · aside + sections + foot</span></div>
  282. <div class="proto-list">
  283. <!-- 中试 -->
  284. <article class="protocol-card is-selected" data-biz="pilot">
  285. <div class="protocol-card__select"><input type="checkbox" checked /></div>
  286. <div class="protocol-card__aside">
  287. <div class="protocol-card__name-row">
  288. <span class="protocol-card__index">1</span>
  289. <span class="protocol-card__name">张某某</span>
  290. </div>
  291. <div class="protocol-card__sub">申请单 ZS-2026-00128</div>
  292. <div class="protocol-card__sub">计划取用 2026-07-30 09:00</div>
  293. <span class="tag info" style="align-self:flex-start">待审核</span>
  294. <span class="tag primary" style="align-self:flex-start">中试服务</span>
  295. <div class="protocol-card__create-time">计划状态 已生产 · 质检 已质检</div>
  296. </div>
  297. <div class="protocol-card__sections">
  298. <section class="protocol-card__block">
  299. <div class="protocol-card__block-title">基础信息</div>
  300. <div class="protocol-card__kv"><label>申请单号</label><span>ZS-2026-00128</span></div>
  301. <div class="protocol-card__kv"><label>患者姓名</label><span>张某某</span></div>
  302. <div class="protocol-card__kv"><label>取用时间</label><span>2026-07-30 09:00:00</span></div>
  303. <div class="protocol-card__kv"><label>审核人</label><span>—</span></div>
  304. <div class="protocol-card__kv"><label>审核时间</label><span>—</span></div>
  305. </section>
  306. <section class="protocol-card__block protocol-card__block--cells">
  307. <div class="protocol-card__block-title">需求细胞 <span class="protocol-card__block-count">1 项</span></div>
  308. <div class="protocol-card__sample-item">
  309. <span class="protocol-card__sample-seq">1</span>
  310. <div>
  311. <div class="protocol-card__sample-line">
  312. <span class="protocol-card__sample-label">项目</span>
  313. <span class="protocol-card__sample-value">MSC 扩增批次 A</span>
  314. <span class="tag success">已完成</span>
  315. </div>
  316. <div class="protocol-card__sample-line">
  317. <span class="protocol-card__sample-label">编码</span>
  318. <span class="protocol-card__sample-value">PRJ-001</span>
  319. </div>
  320. <div class="protocol-card__sample-line">
  321. <span class="protocol-card__sample-label">类型</span>
  322. <span class="protocol-card__sample-value">间充质干细胞 · 1×10⁷ / 袋 × 2</span>
  323. </div>
  324. </div>
  325. </div>
  326. </section>
  327. <section class="protocol-card__block">
  328. <div class="protocol-card__block-title">状态摘要</div>
  329. <div class="protocol-card__kv"><label>计划状态</label><span><span class="tag warning">已生产</span></span></div>
  330. <div class="protocol-card__kv"><label>质检状态</label><span><span class="tag success">已质检</span></span></div>
  331. <div class="protocol-card__kv"><label>审核结论</label><span><span class="tag info">待审核</span></span></div>
  332. </section>
  333. </div>
  334. <div class="protocol-card__foot">
  335. <div class="protocol-card__actions">
  336. <button class="btn-op" type="button">审核</button>
  337. <button class="btn-op" type="button">查看</button>
  338. <button class="btn-op" type="button">出库物料</button>
  339. </div>
  340. </div>
  341. </article>
  342. <!-- 基础实验 -->
  343. <article class="protocol-card" data-biz="basic">
  344. <div class="protocol-card__select"><input type="checkbox" /></div>
  345. <div class="protocol-card__aside">
  346. <div class="protocol-card__name-row">
  347. <span class="protocol-card__index">1</span>
  348. <span class="protocol-card__name">某某生物科技</span>
  349. </div>
  350. <div class="protocol-card__sub">申请单 JC-2026-00056</div>
  351. <div class="protocol-card__sub">课题:某细胞体外扩增课题</div>
  352. <span class="tag success" style="align-self:flex-start">通过</span>
  353. <span class="tag primary" style="align-self:flex-start">基础实验</span>
  354. <div class="protocol-card__create-time">审核 李审核 · 2026-07-28 16:20</div>
  355. </div>
  356. <div class="protocol-card__sections">
  357. <section class="protocol-card__block">
  358. <div class="protocol-card__block-title">基础信息</div>
  359. <div class="protocol-card__kv"><label>申请单号</label><span>JC-2026-00056</span></div>
  360. <div class="protocol-card__kv"><label>课题名称</label><span>某细胞体外扩增课题</span></div>
  361. <div class="protocol-card__kv"><label>客户名称</label><span>某某生物科技</span></div>
  362. <div class="protocol-card__kv"><label>取用时间</label><span>2026-07-28 14:00:00</span></div>
  363. <div class="protocol-card__kv"><label>审核人</label><span>李审核</span></div>
  364. </section>
  365. <section class="protocol-card__block protocol-card__block--cells">
  366. <div class="protocol-card__block-title">需求细胞 <span class="protocol-card__block-count">1 项</span></div>
  367. <div class="protocol-card__sample-item">
  368. <span class="protocol-card__sample-seq">1</span>
  369. <div>
  370. <div class="protocol-card__sample-line">
  371. <span class="protocol-card__sample-label">项目</span>
  372. <span class="protocol-card__sample-value">NK 细胞制备</span>
  373. <span class="tag success">已完成</span>
  374. </div>
  375. <div class="protocol-card__sample-line">
  376. <span class="protocol-card__sample-label">编码</span>
  377. <span class="protocol-card__sample-value">PRJ-088</span>
  378. </div>
  379. <div class="protocol-card__sample-line">
  380. <span class="protocol-card__sample-label">类型</span>
  381. <span class="protocol-card__sample-value">NK 细胞 · 5×10⁶ / 袋 × 1</span>
  382. </div>
  383. </div>
  384. </div>
  385. </section>
  386. <section class="protocol-card__block">
  387. <div class="protocol-card__block-title">状态摘要</div>
  388. <div class="protocol-card__kv"><label>计划状态</label><span><span class="tag warning">已生产</span></span></div>
  389. <div class="protocol-card__kv"><label>质检状态</label><span><span class="tag success">已质检</span></span></div>
  390. <div class="protocol-card__kv"><label>审核结论</label><span><span class="tag success">通过</span></span></div>
  391. </section>
  392. </div>
  393. <div class="protocol-card__foot">
  394. <div class="protocol-card__actions">
  395. <button class="btn-op" type="button">审核</button>
  396. <button class="btn-op" type="button">查看</button>
  397. <button class="btn-op" type="button">出库物料</button>
  398. </div>
  399. </div>
  400. </article>
  401. </div>
  402. </div>
  403. <div class="note">
  404. <strong>对齐要点(提议):</strong>
  405. ① 列表改为<strong>单列全宽</strong>卡片(非多列网格);
  406. ② 左侧 <strong>aside</strong>:序号徽章 + 主名称(患者/客户)+ 副信息 + 主状态 Tag;
  407. ③ 中部横向 <strong>block</strong>:基础信息 / 需求细胞(样本条样式)/ 状态摘要;
  408. ④ 右侧 <strong>foot</strong>:查看 / 出库物料 / 审核;
  409. ⑤ 勾选在左上角绝对定位,选中描边主色。
  410. 字段内容仍用出库业务数据,不照搬协议号/新生儿/缴费。
  411. </div>
  412. </div>
  413. <script>
  414. const bizSelect = document.getElementById('bizSelect')
  415. const secCurrent = document.getElementById('secCurrent')
  416. const secProposed = document.getElementById('secProposed')
  417. function applyBiz() {
  418. const biz = bizSelect.value
  419. document.querySelectorAll('[data-biz]').forEach((el) => {
  420. el.classList.toggle('hidden', el.getAttribute('data-biz') !== biz)
  421. })
  422. }
  423. function applyView() {
  424. const v = document.querySelector('input[name="view"]:checked').value
  425. secCurrent.classList.toggle('hidden', v === 'proposed')
  426. secProposed.classList.toggle('hidden', v === 'current')
  427. }
  428. bizSelect.addEventListener('change', applyBiz)
  429. document.querySelectorAll('input[name="view"]').forEach((r) => r.addEventListener('change', applyView))
  430. applyBiz()
  431. applyView()
  432. </script>
  433. </body>
  434. </html>