修复bug

This commit is contained in:
Your Name
2026-05-13 09:49:47 +08:00
parent fabaa84373
commit 1e8b5c4646
5 changed files with 220 additions and 22 deletions
@@ -426,7 +426,37 @@
</el-table-column>
<el-table-column label="开方人" prop="doctor_name" width="90" show-overflow-tooltip />
<el-table-column label="创建人" prop="creator_name" width="90" show-overflow-tooltip />
<el-table-column min-width="128" show-overflow-tooltip>
<template #header>
<span>二中心·指派</span>
<el-tooltip
placement="top"
max-width="320"
content="与诊单「指派记录」快照一致:仅当本条业务单在操作瞬间为快照中的「关联业务单」(创建人+创建时间命中)时显示。绿色=新医助在名称含「二中心」的部门及其下级;灰色=系统自动释放诊单医助。"
>
<el-icon class="ml-0.5 align-middle text-gray-400 cursor-help"><QuestionFilled /></el-icon>
</el-tooltip>
</template>
<template #default="{ row }">
<template v-if="!Number(row.po_assign_snapshot_hit)">
<span class="text-gray-400"></span>
</template>
<template v-else-if="Number(row.po_assign_is_release)">
<el-tag type="info" size="small">已释放</el-tag>
</template>
<template v-else-if="Number(row.po_assign_to_er_center)">
<el-tag type="success" size="small">
{{ row.po_assign_to_assistant_name || ('医助#' + row.po_assign_to_assistant_id) }}
</el-tag>
</template>
<template v-else>
<el-tag type="warning" size="small" effect="plain">
非二中心 {{ row.po_assign_to_assistant_name || ('医助#' + row.po_assign_to_assistant_id) }}
</el-tag>
</template>
</template>
</el-table-column>
<el-table-column label="操作" width="310" fixed="right">
<template #default="{ row }">
<div class="flex items-center gap-1 flex-wrap">
@@ -2467,7 +2497,7 @@
<script lang="ts" setup name="prescriptionOrderList">
import { computed, onMounted, reactive, ref, nextTick, watch, defineAsyncComponent } from 'vue'
import { useRoute } from 'vue-router'
import { Refresh, Loading, ArrowDown, InfoFilled, Search, Calendar, Document, Link as LinkIcon, Wallet } from '@element-plus/icons-vue'
import { Refresh, Loading, ArrowDown, InfoFilled, QuestionFilled, Search, Calendar, Document, Link as LinkIcon, Wallet } from '@element-plus/icons-vue'
import DaterangePicker from '@/components/daterange-picker/index.vue'
import {
prescriptionOrderAuditPayment,