This commit is contained in:
zlwu committed 2026-05-27 16:52:46 +08:00
1 parent 7145c6c683
commit c137b46939
311 files changed
+41432 -30702

No files matched your search

@@ -0,0 +1,953 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>方案 B · 耗材管理融合页 UI Demo</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"
rel="stylesheet"
/>
<style>
:root {
--primary: #10b981;
--primary-dark: #059669;
--primary-bg: #ecfdf5;
--text: #1e293b;
--text-muted: #64748b;
--border: #d9e8e2;
--bg-page: #f8fafc;
--surface: #ffffff;
--table-head: #f8fafc;
--row-alt: #fafafa;
--row-hover: #f1f5f9;
--shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
--radius: 10px;
--sidebar-w: 220px;
--header-h: 56px;
--danger: #ef4444;
--danger-bg: #fef2f2;
--warning: #d97706;
--warning-bg: #fffbeb;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
font-size: 14px;
line-height: 1.5;
color: var(--text);
background: var(--bg-page);
}
.layout {
display: flex;
min-height: 100vh;
}
.sidebar {
width: var(--sidebar-w);
flex-shrink: 0;
background: var(--surface);
border-right: 1px solid var(--border);
padding: 20px 14px;
}
.logo {
font-size: 15px;
font-weight: 700;
padding: 0 8px 16px;
margin-bottom: 8px;
border-bottom: 1px solid var(--border);
}
.logo span {
color: var(--primary);
}
.nav-item {
display: block;
padding: 8px 12px;
border-radius: 8px;
color: var(--text-muted);
font-size: 13px;
margin-bottom: 2px;
}
.nav-item.is-active {
background: var(--primary-bg);
color: var(--primary-dark);
font-weight: 600;
}
.nav-group {
font-size: 11px;
font-weight: 700;
color: var(--text-muted);
padding: 12px 12px 6px;
letter-spacing: 0.02em;
}
.main {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
}
.topbar {
height: var(--header-h);
background: var(--surface);
border-bottom: 1px solid var(--border);
display: flex;
align-items: center;
padding: 0 24px;
font-size: 13px;
color: var(--text-muted);
}
.topbar strong {
color: var(--text);
font-weight: 600;
}
.content {
flex: 1;
padding: 24px;
overflow: auto;
}
.demo-banner {
background: linear-gradient(90deg, #ecfdf5, #f0fdf4);
border: 1px solid rgba(16, 185, 129, 0.25);
border-radius: var(--radius);
padding: 12px 16px;
margin-bottom: 16px;
font-size: 13px;
color: var(--text);
}
.demo-banner strong {
color: var(--primary-dark);
}
.demo-banner code {
background: rgba(255, 255, 255, 0.7);
padding: 1px 6px;
border-radius: 4px;
font-size: 12px;
}
.panel {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
box-shadow: var(--shadow);
}
.panel-top {
padding: 10px 16px;
border-bottom: 1px solid var(--border);
display: flex;
align-items: center;
justify-content: space-between;
}
.panel-top h2 {
margin: 0;
font-size: 14px;
font-weight: 600;
display: flex;
align-items: center;
gap: 8px;
}
.panel-top h2::before {
content: '';
width: 4px;
height: 14px;
border-radius: 999px;
background: var(--primary);
}
.panel-top .badge-demo {
font-size: 11px;
font-weight: 600;
color: var(--primary-dark);
background: var(--primary-bg);
border: 1px solid rgba(16, 185, 129, 0.2);
padding: 2px 8px;
border-radius: 6px;
}
/* 一级 Tab:实体类型 */
.tabs-l1 {
display: flex;
gap: 0;
padding: 0 16px;
border-bottom: 1px solid var(--border);
background: var(--surface);
}
.tabs-l1 button {
appearance: none;
border: none;
background: transparent;
font-family: inherit;
font-size: 14px;
font-weight: 500;
color: var(--text-muted);
padding: 12px 20px;
cursor: pointer;
position: relative;
margin-bottom: -1px;
}
.tabs-l1 button:hover {
color: var(--primary-dark);
}
.tabs-l1 button.is-active {
color: var(--primary-dark);
font-weight: 600;
}
.tabs-l1 button.is-active::after {
content: '';
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 2px;
background: var(--primary);
border-radius: 2px 2px 0 0;
}
/* 二级 Tab:仅「耗材」下 */
.sub-tabs-wrap {
padding: 12px 16px 0;
background: var(--surface);
border-bottom: 1px solid var(--border);
}
.sub-tabs-wrap[hidden] {
display: none !important;
}
.sub-tabs-label {
font-size: 11px;
color: var(--text-muted);
margin-bottom: 8px;
}
.tabs-l2 {
display: inline-flex;
gap: 4px;
padding: 3px;
background: var(--table-head);
border: 1px solid var(--border);
border-radius: 8px;
margin-bottom: 12px;
}
.tabs-l2 button {
appearance: none;
border: none;
background: transparent;
font-family: inherit;
font-size: 13px;
font-weight: 500;
color: var(--text-muted);
padding: 6px 14px;
border-radius: 6px;
cursor: pointer;
}
.tabs-l2 button:hover {
color: var(--text);
}
.tabs-l2 button.is-active {
background: var(--surface);
color: var(--primary-dark);
font-weight: 600;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.tab-panel {
display: none;
}
.tab-panel.is-active {
display: block;
}
.filter-block {
padding: 12px 16px 10px;
border-bottom: 1px solid var(--border);
}
.filter-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 10px 14px;
margin-bottom: 10px;
}
@media (max-width: 1100px) {
.filter-grid {
grid-template-columns: repeat(2, 1fr);
}
}
.filter-field label {
display: block;
font-size: 11px;
font-weight: 500;
color: var(--text-muted);
margin-bottom: 4px;
}
.input,
.select {
width: 100%;
height: 36px;
border: 1px solid var(--border);
border-radius: 8px;
padding: 0 10px;
font-size: 14px;
font-family: inherit;
color: var(--text);
background: var(--surface);
}
.input:focus,
.select:focus {
outline: none;
border-color: var(--primary);
box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}
.filter-actions-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
flex-wrap: wrap;
}
.filter-hint {
font-size: 12px;
color: var(--text-muted);
}
.filter-actions-end {
display: flex;
gap: 8px;
}
.btn {
display: inline-flex;
align-items: center;
gap: 6px;
height: 36px;
padding: 0 14px;
border-radius: 8px;
font-size: 14px;
font-weight: 500;
font-family: inherit;
cursor: pointer;
border: 1px solid var(--border);
background: var(--surface);
color: var(--text);
}
.btn:hover {
background: var(--row-alt);
}
.btn-primary {
background: var(--primary);
border-color: var(--primary);
color: #fff;
}
.btn-primary:hover {
background: var(--primary-dark);
border-color: var(--primary-dark);
}
.btn-danger {
color: var(--danger);
border-color: #fecaca;
}
.btn-danger:hover {
background: var(--danger-bg);
}
.btn:disabled {
opacity: 0.45;
cursor: not-allowed;
}
.list-toolbar {
padding: 10px 16px;
background: var(--table-head);
border-bottom: 1px solid var(--border);
}
.list-toolbar-row {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
}
.list-toolbar-selected {
font-size: 13px;
color: var(--text-muted);
margin-right: 4px;
}
.sel-num {
color: var(--primary-dark);
font-weight: 700;
}
.list-body {
padding: 0;
}
.table-wrap {
overflow-x: auto;
}
table.list-table {
width: 100%;
border-collapse: collapse;
font-size: 13px;
}
table.list-table th,
table.list-table td {
padding: 10px 12px;
text-align: center;
border-bottom: 1px solid var(--border);
white-space: nowrap;
}
table.list-table th {
background: var(--table-head);
color: var(--text-muted);
font-weight: 600;
font-size: 12px;
}
table.list-table tbody tr:nth-child(even) {
background: var(--row-alt);
}
table.list-table tbody tr:hover {
background: var(--row-hover);
}
.tag {
display: inline-block;
padding: 2px 8px;
border-radius: 4px;
font-size: 12px;
font-weight: 500;
}
.tag.success {
background: var(--primary-bg);
color: var(--primary-dark);
}
.tag.danger {
background: var(--danger-bg);
color: var(--danger);
}
.tag.warning {
background: var(--warning-bg);
color: var(--warning);
}
.tag.info {
background: #f1f5f9;
color: #64748b;
}
.tag.primary {
background: #eff6ff;
color: #2563eb;
}
.btn-op {
height: 28px;
padding: 0 8px;
font-size: 12px;
border-radius: 6px;
border: 1px solid var(--border);
background: var(--surface);
cursor: pointer;
color: var(--text);
}
.btn-op:hover {
border-color: var(--primary);
color: var(--primary-dark);
}
.pagination {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 12px;
padding: 12px 16px;
border-top: 1px solid var(--border);
font-size: 13px;
color: var(--text-muted);
}
.pager-btns {
display: flex;
gap: 4px;
}
.pager-btns button {
min-width: 32px;
height: 32px;
border: 1px solid var(--border);
background: var(--surface);
border-radius: 6px;
cursor: pointer;
font-size: 13px;
}
.pager-btns button.is-active {
background: var(--primary);
border-color: var(--primary);
color: #fff;
}
.structure-hint {
margin: 16px;
padding: 12px 14px;
background: #f8fafc;
border: 1px dashed var(--border);
border-radius: 8px;
font-size: 12px;
color: var(--text-muted);
line-height: 1.6;
}
.structure-hint b {
color: var(--text);
}
.ic {
width: 14px;
height: 14px;
display: inline-block;
vertical-align: -2px;
}
</style>
</head>
<body>
<div class="layout">
<aside class="sidebar">
<div class="logo">中科兴皖 <span>管理端</span></div>
<div class="nav-group">生产管理</div>
<div class="nav-item">工艺管理</div>
<div class="nav-item is-active">耗材管理</div>
<div class="nav-item" style="opacity: 0.45; text-decoration: line-through">耗材包管理</div>
<div class="nav-item">试剂管理</div>
<div class="nav-item">生产工单</div>
</aside>
<div class="main">
<header class="topbar">
生产管理 / <strong>耗材管理</strong>
<span style="margin-left: auto; font-size: 12px">方案 B 静态 Demo · 非真实数据</span>
</header>
<main class="content">
<div class="demo-banner">
<strong>方案 B:两级 Tab</strong> — 一级区分「耗材 / 耗材包」;仅在「耗材」下出现二级 Tab「耗材列表 /
变动记录」。侧栏合并后仅保留一个菜单「耗材管理」(灰线划掉的为将移除的菜单项示意)。
用浏览器直接打开本文件即可预览,路径:<code>docs/demos/consumable-merge-plan-b-demo.html</code>
</div>
<section class="panel" id="main-panel">
<div class="panel-top">
<h2>耗材管理</h2>
<span class="badge-demo">融合页 · 方案 B</span>
</div>
<!-- 一级 Tab -->
<div class="tabs-l1" role="tablist" aria-label="实体类型">
<button type="button" class="is-active" data-l1="consumable" role="tab" aria-selected="true">
耗材
</button>
<button type="button" data-l1="pack" role="tab" aria-selected="false">耗材包</button>
</div>
<!-- 二级 Tab(仅耗材) -->
<div class="sub-tabs-wrap" id="sub-tabs-wrap">
<div class="sub-tabs-label">耗材视图</div>
<div class="tabs-l2" role="tablist" aria-label="耗材子视图">
<button type="button" class="is-active" data-l2="list" role="tab">耗材列表</button>
<button type="button" data-l2="logs" role="tab">变动记录</button>
</div>
</div>
<div class="structure-hint" id="structure-hint">
当前结构:<b>一级「耗材」</b> → <b>二级「耗材列表」</b>(筛选 + 工具栏 + 表格 + 分页)
</div>
<!-- ========== 耗材 · 列表 ========== -->
<div class="tab-panel is-active" id="panel-consumable-list">
<div class="filter-block">
<div class="filter-grid">
<div class="filter-field">
<label>关键词</label>
<input class="input" placeholder="耗材编码/名称" />
</div>
<div class="filter-field">
<label>状态</label>
<select class="select">
<option>全部</option>
<option>启用</option>
<option>停用</option>
</select>
</div>
</div>
<div class="filter-actions-row">
<span class="filter-hint">按编码、名称模糊查询,可按状态筛选。</span>
<div class="filter-actions-end">
<button type="button" class="btn">重置</button>
<button type="button" class="btn btn-primary">搜索</button>
</div>
</div>
</div>
<div class="list-toolbar">
<div class="list-toolbar-row">
<span class="list-toolbar-selected">已选 <span class="sel-num">0</span> 项</span>
<button type="button" class="btn btn-primary">新增耗材</button>
<button type="button" class="btn">批量入库</button>
<button type="button" class="btn">批量出库</button>
<button type="button" class="btn btn-danger" disabled>批量删除</button>
</div>
</div>
<div class="list-body">
<div class="table-wrap">
<table class="list-table">
<thead>
<tr>
<th><input type="checkbox" /></th>
<th>序号</th>
<th>耗材编码</th>
<th>耗材名称</th>
<th>规格型号</th>
<th>当前库存</th>
<th>库存状态</th>
<th>状态</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<tr>
<td><input type="checkbox" /></td>
<td>1</td>
<td>HC-2024-001</td>
<td>细胞培养瓶 25cm²</td>
<td>25cm²</td>
<td>128</td>
<td><span class="tag success">正常</span></td>
<td><span class="tag success">启用</span></td>
<td>
<button class="btn-op">入库</button>
<button class="btn-op">出库</button>
<button class="btn-op">更多</button>
</td>
</tr>
<tr>
<td><input type="checkbox" /></td>
<td>2</td>
<td>HC-2024-018</td>
<td>无菌离心管 15mL</td>
<td>15mL</td>
<td>12</td>
<td><span class="tag danger">库存预警</span></td>
<td><span class="tag success">启用</span></td>
<td>
<button class="btn-op">入库</button>
<button class="btn-op">出库</button>
<button class="btn-op">更多</button>
</td>
</tr>
<tr>
<td><input type="checkbox" /></td>
<td>3</td>
<td>HC-2023-092</td>
<td>胰酶-EDTA 0.25%</td>
<td>100mL</td>
<td>45</td>
<td><span class="tag success">正常</span></td>
<td><span class="tag info">停用</span></td>
<td>
<button class="btn-op">入库</button>
<button class="btn-op">出库</button>
<button class="btn-op">更多</button>
</td>
</tr>
</tbody>
</table>
</div>
<div class="pagination">
<span>共 86 条</span>
<div class="pager-btns">
<button type="button">‹</button>
<button type="button" class="is-active">1</button>
<button type="button">2</button>
<button type="button">›</button>
</div>
</div>
</div>
</div>
<!-- ========== 耗材 · 变动记录 ========== -->
<div class="tab-panel" id="panel-consumable-logs">
<div class="filter-block">
<div class="filter-grid">
<div class="filter-field">
<label>关键词</label>
<input class="input" placeholder="耗材编码/名称" />
</div>
<div class="filter-field">
<label>变动类型</label>
<select class="select">
<option>全部</option>
<option>入库</option>
<option>出库</option>
</select>
</div>
<div class="filter-field">
<label>时间范围</label>
<input class="input" placeholder="开始 — 结束" />
</div>
</div>
<div class="filter-actions-row">
<span class="filter-hint">按耗材编码/名称、变动类型和时间范围查询变动记录。</span>
<div class="filter-actions-end">
<button type="button" class="btn">重置</button>
<button type="button" class="btn btn-primary">搜索</button>
</div>
</div>
</div>
<div class="list-body">
<div class="table-wrap">
<table class="list-table">
<thead>
<tr>
<th>序号</th>
<th>耗材编码</th>
<th>耗材名称</th>
<th>变动类型</th>
<th>变动数量</th>
<th>变动后库存</th>
<th>操作人</th>
<th>变动时间</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>HC-2024-001</td>
<td>细胞培养瓶 25cm²</td>
<td><span class="tag success">入库</span></td>
<td>+50</td>
<td>128</td>
<td>张三</td>
<td>2026-05-26 14:32</td>
</tr>
<tr>
<td>2</td>
<td>HC-2024-018</td>
<td>无菌离心管 15mL</td>
<td><span class="tag warning">出库</span></td>
<td>-20</td>
<td>12</td>
<td>李四</td>
<td>2026-05-25 09:15</td>
</tr>
</tbody>
</table>
</div>
<div class="pagination">
<span>共 312 条</span>
<div class="pager-btns">
<button type="button">‹</button>
<button type="button" class="is-active">1</button>
<button type="button">2</button>
<button type="button">›</button>
</div>
</div>
</div>
</div>
<!-- ========== 耗材包(无二级 Tab) ========== -->
<div class="tab-panel" id="panel-pack-list">
<div class="filter-block">
<div class="filter-grid">
<div class="filter-field">
<label>关键词</label>
<input class="input" placeholder="编号/名称" />
</div>
</div>
<div class="filter-actions-row">
<span class="filter-hint">按编号、名称模糊查询。</span>
<div class="filter-actions-end">
<button type="button" class="btn">重置</button>
<button type="button" class="btn btn-primary">搜索</button>
</div>
</div>
</div>
<div class="list-toolbar">
<div class="list-toolbar-row">
<span class="list-toolbar-selected">已选 <span class="sel-num">0</span> 项</span>
<button type="button" class="btn btn-primary">新增耗材包</button>
<button type="button" class="btn btn-danger" disabled>批量删除</button>
</div>
</div>
<div class="list-body">
<div class="table-wrap">
<table class="list-table">
<thead>
<tr>
<th><input type="checkbox" /></th>
<th>序号</th>
<th>编号</th>
<th>名称</th>
<th>使用场景</th>
<th>类型</th>
<th>状态</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<tr>
<td><input type="checkbox" /></td>
<td>1</td>
<td>PK-STD-01</td>
<td>标准细胞制备包</td>
<td>间充质干细胞制备</td>
<td><span class="tag primary">标准耗材包</span></td>
<td><span class="tag success">启用</span></td>
<td>
<button class="btn-op">查看</button>
<button class="btn-op">编辑</button>
<button class="btn-op">删除</button>
</td>
</tr>
<tr>
<td><input type="checkbox" /></td>
<td>2</td>
<td>PK-CUS-12</td>
<td>质检取样专用包</td>
<td>质检取样</td>
<td><span class="tag warning">自定义耗材包</span></td>
<td><span class="tag success">启用</span></td>
<td>
<button class="btn-op">查看</button>
<button class="btn-op">编辑</button>
<button class="btn-op">删除</button>
</td>
</tr>
</tbody>
</table>
</div>
<div class="pagination">
<span>共 24 条</span>
<div class="pager-btns">
<button type="button">‹</button>
<button type="button" class="is-active">1</button>
<button type="button">›</button>
</div>
</div>
</div>
</div>
</section>
</main>
</div>
</div>
<script>
;(function () {
const l1Buttons = document.querySelectorAll('.tabs-l1 button')
const l2Buttons = document.querySelectorAll('.tabs-l2 button')
const subTabsWrap = document.getElementById('sub-tabs-wrap')
const structureHint = document.getElementById('structure-hint')
const panels = {
'consumable-list': document.getElementById('panel-consumable-list'),
'consumable-logs': document.getElementById('panel-consumable-logs'),
'pack-list': document.getElementById('panel-pack-list')
}
let l1 = 'consumable'
let l2 = 'list'
function updatePanels() {
Object.values(panels).forEach((p) => p.classList.remove('is-active'))
if (l1 === 'consumable') {
subTabsWrap.hidden = false
const key = l2 === 'logs' ? 'consumable-logs' : 'consumable-list'
panels[key].classList.add('is-active')
structureHint.innerHTML =
l2 === 'logs'
? '当前结构:<b>一级「耗材」</b> → <b>二级「变动记录」</b>(无批量入库/出库,仅查询日志)'
: '当前结构:<b>一级「耗材」</b> → <b>二级「耗材列表」</b>(筛选 + 工具栏 + 表格 + 分页)'
} else {
subTabsWrap.hidden = true
panels['pack-list'].classList.add('is-active')
structureHint.innerHTML =
'当前结构:<b>一级「耗材包」</b>(无二级 Tab,直接进入包列表 CRUD)'
}
}
l1Buttons.forEach((btn) => {
btn.addEventListener('click', () => {
l1 = btn.dataset.l1
l1Buttons.forEach((b) => {
b.classList.toggle('is-active', b === btn)
b.setAttribute('aria-selected', b === btn ? 'true' : 'false')
})
updatePanels()
})
})
l2Buttons.forEach((btn) => {
btn.addEventListener('click', () => {
l2 = btn.dataset.l2
l2Buttons.forEach((b) => {
b.classList.toggle('is-active', b === btn)
})
updatePanels()
})
})
updatePanels()
})()
</script>
</body>
</html>
+112
View File
@@ -0,0 +1,112 @@
-- Web 端 sys_menu 初始化(根节点 + 13 个一级业务菜单及子菜单)
-- 生成:backend/scripts/reorder_web_menus.py
-- 一级顺序:细胞存储 → 科研捐赠 → 中试服务 → 临床应用 → 质检管理 → 生产管理
-- → 运营支撑 → 市场基础信息 → 质检基础信息 → 生产基础信息
-- → 系统基础信息 → 工作流管理 → 系统管理
SET NAMES utf8mb4;
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES
('1', '移动端菜单', '0', 'M', '/mini', NULL, NULL, 1, '1', '1', 'zkxw', 1, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('2', 'Web端菜单', '0', 'M', '/web', NULL, NULL, 1, '1', '1', 'zkxw', 2, NULL, NULL, '', NOW(), NULL, NOW(), 0);
INSERT INTO `sys_menu` (`id`, `menu_name`, `parent_id`, `menu_type`, `path`, `component`, `perms`, `is_frame`, `visible`, `status`, `tenant_no`, `order_num`, `remark`, `create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES
('CEL00000000000000000000000000001', '细胞存储', '2', 'M', '/cell-storage', '/index/index', NULL, 1, '1', '1', 'zkxw', 1, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('50000000000000000000000000000002', '采集协议单录入', 'CEL00000000000000000000000000001', 'C', 'protocol', '/cell-storage/protocol/index', 'biz:cellStorageProtocol:list', 1, '1', '1', 'zkxw', 1, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('50000000000000000000000000000003', '采集协议单管理', 'CEL00000000000000000000000000001', 'C', 'protocol-audit', '/cell-storage/protocol-audit/index', 'biz:cellStorageProtocolAudit:list', 1, '1', '1', 'zkxw', 2, NULL, NULL, '', NOW(), NULL, NOW(), 0),
-- 缴费信息/样本接收/样本入库/储存证/满月待办已并入采集协议单管理 Tab;已有库可执行:
-- UPDATE sys_menu SET del_flag=1 WHERE id IN ('904b5173519411f1944300163e3bdd96','50000000000000000000000000000011','50000000000000000000000000000012','50000000000000000000000000000006','50000000000000000000000000000008');
('50000000000000000000000000000004', '缴退费财务确认', 'CEL00000000000000000000000000001', 'C', 'payment-confirm', '/cell-storage/payment-confirm/index', 'biz:cellStoragePaymentConfirm:list', 1, '1', '1', 'zkxw', 4, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('70000000000000000000000000000011', '入库放行审核', 'CEL00000000000000000000000000001', 'C', 'storage-release-review', '/quality-inspection/storage-release-review/index', 'biz:storageReleaseReview:list', 1, '1', '1', 'zkxw', 5, NULL, NULL, '', NOW(), NULL, NOW(), 0),
-- 退费确认已并入缴退费财务确认 Tab;已有库可执行:UPDATE sys_menu SET menu_name='缴退费财务确认' WHERE id='50000000000000000000000000000004'; UPDATE sys_menu SET del_flag=1 WHERE id='50000000000000000000000000000005';
-- 入库放行审核已移至细胞存储;已有库可执行:UPDATE sys_menu SET parent_id='CEL00000000000000000000000000001', order_num=5 WHERE id='70000000000000000000000000000011';
('RSC00000000000000000000000000001', '科研捐赠', '2', 'M', '/research-donation', '/index/index', NULL, 1, '1', '1', 'zkxw', 2, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('60000000000000000000000000000002', '捐赠协议单录入', 'RSC00000000000000000000000000001', 'C', 'list', '/research-donation/list/index', 'biz:researchDonation:list', 1, '1', '1', 'zkxw', 1, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('60000000000000000000000000000003', '捐赠协议单管理', 'RSC00000000000000000000000000001', 'C', 'audit', '/research-donation/audit/index', 'biz:researchDonationAudit:list', 1, '1', '1', 'zkxw', 2, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('PIL00000000000000000000000000001', '中试服务', '2', 'M', '/pilot-service', '/index/index', NULL, 1, '1', '1', 'zkxw', 3, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('80000000000000000000000000000010', '中试服务申请单', 'PIL00000000000000000000000000001', 'C', 'pilot-application', '/pilot-service/pilot-application/index', 'pilot-service:pilot-application:list', 1, '1', '1', 'zkxw', 1, NULL, NULL, '', NOW(), NULL, NOW(), 0),
-- 体检管理/输注计划已并入中试服务申请单 Tab;已有库可执行:UPDATE sys_menu SET del_flag=1 WHERE id IN ('PIL00000000000000000000000000002','PIL00000000000000000000000000003');
('PIL00000000000000000000000000004', '出库放行审核', 'PIL00000000000000000000000000001', 'C', 'outbound-release-review', '/pilot-service/outbound-release-review/index', 'pilot-service:outbound-release-review:list', 1, '1', '1', 'zkxw', 4, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('CLI00000000000000000000000000001', '临床应用', '2', 'M', '/clinical-application', '/index/index', NULL, 1, '1', '1', 'zkxw', 4, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('CLI00000000000000000000000000002', '临床申请单', 'CLI00000000000000000000000000001', 'C', 'clinical-application', '/pilot-service/pilot-application/index', 'clinical-application:application:list', 1, '1', '1', 'zkxw', 1, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('CLI00000000000000000000000000003', '体检管理', 'CLI00000000000000000000000000001', 'C', 'clinical-checkup-management', '/pilot-service/checkup-management/index', 'clinical-application:checkup-management:list', 1, '1', '1', 'zkxw', 2, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('CLI00000000000000000000000000004', '输注计划管理', 'CLI00000000000000000000000000001', 'C', 'clinical-infusion-schedule-management', '/pilot-service/infusion-schedule-management/index', 'clinical-application:infusion-schedule-management:list', 1, '1', '1', 'zkxw', 3, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('CLI00000000000000000000000000005', '缴费信息', 'CLI00000000000000000000000000001', 'C', 'clinical-payment-info', '/pilot-service/clinical-payment-info/index', 'clinical-application:payment-info:list', 1, '1', '1', 'zkxw', 4, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('CLI00000000000000000000000000006', '缴费确认(财务)', 'CLI00000000000000000000000000001', 'C', 'clinical-payment-confirm', '/pilot-service/clinical-payment-confirm/index', 'clinical-application:payment-confirm:list', 1, '1', '1', 'zkxw', 5, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('CLI00000000000000000000000000007', '退费确认(财务)', 'CLI00000000000000000000000000001', 'C', 'clinical-refund-confirm', '/pilot-service/clinical-refund-confirm/index', 'clinical-application:refund-confirm:list', 1, '1', '1', 'zkxw', 6, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('CLI00000000000000000000000000008', '出库放行审核', 'CLI00000000000000000000000000001', 'C', 'clinical-outbound-release-review', '/pilot-service/outbound-release-review/index', 'clinical-application:outbound-release-review:list', 1, '1', '1', 'zkxw', 7, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('QCM00000000000000000000000000001', '质检管理', '2', 'M', '/quality-manage', '/index/index', NULL, 1, '1', '1', 'zkxw', 5, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('70000000000000000000000000000002', '样本接收', 'QCM00000000000000000000000000001', 'C', 'sample-reception', '/quality-inspection/sample-reception/index', 'biz:sampleReception:list', 1, '1', '1', 'zkxw', 1, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('70000000000000000000000000000007', '质检管理', 'QCM00000000000000000000000000001', 'C', 'qc-work-order', '/quality-inspection/qc-work-order/index', 'biz:qcWorkOrder:list', 1, '1', '1', 'zkxw', 2, NULL, NULL, '', NOW(), NULL, NOW(), 0),
-- 质检任务已并入质检管理 Tab;已有库可执行:
-- UPDATE sys_menu SET menu_name='质检管理' WHERE id='70000000000000000000000000000007';
-- UPDATE sys_menu SET del_flag=1 WHERE id='70000000000000000000000000000008';
('PRM00000000000000000000000000001', '生产管理', '2', 'M', '/production', '/index/index', NULL, 1, '1', '1', 'zkxw', 6, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('61000000000000000000000000000003', '库位管理', 'PRM00000000000000000000000000001', 'C', 'storage-facility', '/operations/storage-facility/index', 'operations:storage-facility:list', 1, '1', '1', 'zkxw', 1, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('90000000000000000000000000000013', '细胞产品库', 'PRM00000000000000000000000000001', 'C', 'cell-product', '/production/cell-product/index', 'production:cell-product:list', 1, '1', '1', 'zkxw', 2, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('90000000000000000000000000000011', '生产管理', 'PRM00000000000000000000000000001', 'C', 'production-work-order', '/production/production-work-order/index', 'production:work-order:list', 1, '1', '1', 'zkxw', 3, NULL, NULL, '', NOW(), NULL, NOW(), 0),
-- 生产任务已并入生产管理 Tab;已有库可执行:
-- UPDATE sys_menu SET menu_name='生产管理' WHERE id='90000000000000000000000000000011';
-- UPDATE sys_menu SET del_flag=1 WHERE id='90000000000000000000000000000012';
('OPS00000000000000000000000000001', '运营支撑', '2', 'M', '/operations', '/index/index', NULL, 1, '1', '1', 'zkxw', 7, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('61000000000000000000000000000002', '洁净室管理', 'OPS00000000000000000000000000001', 'C', 'clean-room', '/operations/clean-room/index', 'operations:clean-room:list', 1, '1', '1', 'zkxw', 1, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('61000000000000000000000000000004', '展馆预约', 'OPS00000000000000000000000000001', 'C', 'exhibition-appointment', '/operations/exhibition-appointment/index', 'operations:exhibition-appointment:list', 1, '1', '1', 'zkxw', 2, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('MKT00000000000000000000000000001', '市场基础信息', '2', 'M', '/market-info', '/index/index', NULL, 1, '1', '1', 'zkxw', 8, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('122', '细胞样本基础信息维护', 'MKT00000000000000000000000000001', 'C', 'cell-sample-type', '/basic-info/cell-sample-type/index', 'biz:cellSampleType:list', 1, '1', '1', 'zkxw', 1, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('123', '细胞采集基础信息维护', 'MKT00000000000000000000000000001', 'C', 'collection-region', '/basic-info/collection-region/index', 'biz:collectionRegion:list', 1, '1', '1', 'zkxw', 2, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('80000000000000000000000000000002', '细胞产品基础信息维护', 'MKT00000000000000000000000000001', 'C', 'cell-product-type', '/pilot-service/cell-product-type/index', 'pilot-service:cell-product-type:list', 1, '1', '1', 'zkxw', 3, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('40000000000000000000000000000007', '保险公司及险种价格', 'MKT00000000000000000000000000001', 'C', 'insurance-company', '/basic-info/insurance-company/index', 'basic-info:insurance-company:list', 1, '1', '1', 'zkxw', 4, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('80000000000000000000000000000007', '体检机构及项目价格', 'MKT00000000000000000000000000001', 'C', 'checkup-institution', '/pilot-service/checkup-institution/index', 'pilot-service:checkup-institution:list', 1, '1', '1', 'zkxw', 5, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('50000000000000000000000000000009', '市场物料库', 'MKT00000000000000000000000000001', 'C', 'material', '/cell-storage/material/index', 'biz:material:list', 1, '1', '1', 'zkxw', 6, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('121', '客户管理', 'MKT00000000000000000000000000001', 'C', 'customer', '/basic-info/customer/index', 'biz:customer:list', 1, '1', '1', 'zkxw', 7, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('80000000000000000000000000000006', '渠道信息管理', 'MKT00000000000000000000000000001', 'C', 'channel', '/pilot-service/channel/index', 'pilot-service:channel:list', 1, '1', '1', 'zkxw', 8, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('80000000000000000000000000000009', '渠道服务订单(财务确认)', 'MKT00000000000000000000000000001', 'C', 'channel-service-order-finance', '/pilot-service/channel-service-order-finance/index', 'pilot-service:channel-service-order-finance:list', 1, '1', '1', 'zkxw', 9, NULL, NULL, '', NOW(), NULL, NOW(), 0),
-- 采集协议号已并入细胞采集基础信息维护 Tab;已有库可执行:UPDATE sys_menu SET del_flag=1 WHERE id='124';
-- 样本编码已并入细胞样本基础信息维护 Tab;已有库可执行:UPDATE sys_menu SET del_flag=1 WHERE id='125';
-- 变动记录已并入市场物料库 Tab;已有库可执行:UPDATE sys_menu SET del_flag=1 WHERE id='50000000000000000000000000000010';
-- 规格/价格体系/项目价格已并入细胞产品基础信息维护 Tab;已有库可执行:UPDATE sys_menu SET del_flag=1 WHERE id IN ('80000000000000000000000000000003','80000000000000000000000000000004','80000000000000000000000000000005');
-- 服务购买订单已并入渠道信息管理 Tab;已有库可执行:UPDATE sys_menu SET del_flag=1 WHERE id='80000000000000000000000000000008';
-- 市场基础信息二级菜单排序与更名(已有库可执行):
-- UPDATE sys_menu SET order_num=1 WHERE id='122';
-- UPDATE sys_menu SET order_num=2 WHERE id='123';
-- UPDATE sys_menu SET order_num=3 WHERE id='80000000000000000000000000000002';
-- UPDATE sys_menu SET order_num=4 WHERE id='40000000000000000000000000000007';
-- UPDATE sys_menu SET order_num=5 WHERE id='80000000000000000000000000000007';
-- UPDATE sys_menu SET order_num=6 WHERE id='50000000000000000000000000000009';
-- UPDATE sys_menu SET order_num=7 WHERE id='121';
-- UPDATE sys_menu SET order_num=8 WHERE id='80000000000000000000000000000006';
-- UPDATE sys_menu SET order_num=9, menu_name='渠道服务订单(财务确认)' WHERE id='80000000000000000000000000000009';
('QCB00000000000000000000000000001', '质检基础信息', '2', 'M', '/quality-base', '/index/index', NULL, 1, '1', '1', 'zkxw', 9, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('70000000000000000000000000000003', '接收检查项配置', 'QCB00000000000000000000000000001', 'C', 'sample-reception-check-item', '/quality-inspection/sample-reception-check-item/index', 'biz:sampleReceptionCheckItem:list', 1, '1', '1', 'zkxw', 1, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('70000000000000000000000000000006', '质检项目管理', 'QCB00000000000000000000000000001', 'C', 'lab-test-item', '/quality-inspection/lab-test-item/index', 'biz:qcLabTestItem:list', 1, '1', '1', 'zkxw', 2, NULL, NULL, '', NOW(), NULL, NOW(), 0),
-- 第三方检测已并入质检项目管理 Tab;已有库可执行:UPDATE sys_menu SET del_flag=1 WHERE id='70000000000000000000000000000004'; UPDATE sys_menu SET menu_name='质检项目管理' WHERE id='70000000000000000000000000000006';
('70000000000000000000000000000009', '质检物料库', 'QCB00000000000000000000000000001', 'C', 'qc-material', '/quality-inspection/qc-material/index', 'biz:qcMaterial:list', 1, '1', '1', 'zkxw', 3, NULL, NULL, '', NOW(), NULL, NOW(), 0),
-- 变动记录已并入质检物料库 Tab;已有库可执行:UPDATE sys_menu SET del_flag=1 WHERE id='70000000000000000000000000000010';
('PRB00000000000000000000000000001', '生产基础信息', '2', 'M', '/production-base', '/index/index', NULL, 1, '1', '1', 'zkxw', 10, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('90000000000000000000000000000002', '耗材管理', 'PRB00000000000000000000000000001', 'C', 'consumable', '/production/consumable/index', 'production:consumable:list', 1, '1', '1', 'zkxw', 1, NULL, NULL, '', NOW(), NULL, NOW(), 0),
-- 耗材包已并入耗材管理 Tab,不再单独挂菜单;已有库可执行:UPDATE sys_menu SET del_flag=1 WHERE id='90000000000000000000000000000007';
('90000000000000000000000000000003', '试剂管理', 'PRB00000000000000000000000000001', 'C', 'reagent', '/production/reagent/index', 'production:reagent:list', 1, '1', '1', 'zkxw', 2, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('90000000000000000000000000000004', 'SOP文档', 'PRB00000000000000000000000000001', 'C', 'sop', '/production/sop/index', 'production:sop-document:list', 1, '1', '1', 'zkxw', 3, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('90000000000000000000000000000005', '工艺基础信息维护', 'PRB00000000000000000000000000001', 'C', 'process-category', '/production/process-category/index', 'production:process-category:list', 1, '1', '1', 'zkxw', 4, NULL, NULL, '', NOW(), NULL, NOW(), 0),
-- 产出物类型已并入工艺基础信息维护 Tab;已有库可执行:UPDATE sys_menu SET del_flag=1 WHERE id='90000000000000000000000000000006';
('90000000000000000000000000000008', '工艺库管理', 'PRB00000000000000000000000000001', 'C', 'process', '/production/process/index', 'production:process:list', 1, '1', '1', 'zkxw', 5, NULL, NULL, '', NOW(), NULL, NOW(), 0),
-- 工艺路线已并入工艺库管理 Tab;已有库可执行:UPDATE sys_menu SET del_flag=1 WHERE id='90000000000000000000000000000010';
('SYSB000000000000000000000000000001', '系统基础信息', '2', 'M', '/system-base', '/index/index', NULL, 1, '1', '1', 'zkxw', 11, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('107', '站点管理', 'SYSB000000000000000000000000000001', 'C', 'site', '/system/site/index', 'system:site:list', 1, '1', '1', 'zkxw', 1, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('109', '物品单位管理', 'SYSB000000000000000000000000000001', 'C', 'unit', '/system/unit/index', 'system:unit:list', 1, '1', '1', 'zkxw', 2, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('110', '快递公司', 'SYSB000000000000000000000000000001', 'C', 'express', '/system/express/index', 'system:express:list', 1, '1', '1', 'zkxw', 3, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('WKF00000000000000000000000000001', '工作流管理', '2', 'M', '/workflow', '/index/index', NULL, 1, '1', '1', 'zkxw', 12, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('10000000000000000000000000000wf01', '流程配置', 'WKF00000000000000000000000000001', 'C', 'process', '/system/workflow/process/index', 'workflow:process', 1, '1', '1', 'zkxw', 1, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('10000000000000000000000000000wf02', '待办中心', 'WKF00000000000000000000000000001', 'C', 'pending', '/system/workflow/task-pending/index', 'workflow:pending', 1, '1', '1', 'zkxw', 2, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('10000000000000000000000000000wf03', '已办中心', 'WKF00000000000000000000000000001', 'C', 'completed', '/system/workflow/task-completed/index', 'workflow:completed', 1, '1', '1', 'zkxw', 3, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('10000000000000000000000000000wf05', '我的申请', 'WKF00000000000000000000000000001', 'C', 'my-applications', '/system/workflow/my-applications/index', 'workflow:myApplications', 1, '1', '1', 'zkxw', 4, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('10000000000000000000000000000wf04', '请假申请', 'WKF00000000000000000000000000001', 'C', 'leave', '/system/leave/index', 'workflow:leave', 1, '1', '1', 'zkxw', 5, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('SYSM000000000000000000000000000001', '系统管理', '2', 'M', '/system', '/index/index', NULL, 1, '1', '1', 'zkxw', 13, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('101', '租户管理', 'SYSM000000000000000000000000000001', 'C', 'tenant', '/system/tenant/index', 'system:tenant:list', 1, '1', '1', 'zkxw', 1, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('102', '字典管理', 'SYSM000000000000000000000000000001', 'C', 'dict', '/system/dict/index', 'system:dict:list', 1, '1', '1', 'zkxw', 2, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('106', '菜单管理', 'SYSM000000000000000000000000000001', 'C', 'menu', '/system/menu/index', 'system:menu:list', 1, '1', '1', 'zkxw', 3, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('103', '组织管理', 'SYSM000000000000000000000000000001', 'C', 'dept', '/system/dept/index', 'system:dept:list', 1, '1', '1', 'zkxw', 4, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('105', '角色管理', 'SYSM000000000000000000000000000001', 'C', 'role', '/system/role/index', 'system:role:list', 1, '1', '1', 'zkxw', 5, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('104', '用户管理', 'SYSM000000000000000000000000000001', 'C', 'user', '/system/user/index', 'system:user:list', 1, '1', '1', 'zkxw', 6, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('108', '职位管理', 'SYSM000000000000000000000000000001', 'C', 'post', '/system/post/index', 'system:post:list', 1, '1', '1', 'zkxw', 7, NULL, NULL, '', NOW(), NULL, NOW(), 0),
('10000000000000000000000000000008', '用户详情', 'SYSM000000000000000000000000000001', 'C', 'user/detail', '/system/user/detail', NULL, 1, '0', '1', 'zkxw', 8, NULL, NULL, '', NOW(), NULL, NOW(), 0);
File diff suppressed because it is too large. Load diff