刷新
This commit is contained in:
@@ -13,20 +13,19 @@
|
|||||||
<div v-for="(prescription, pIndex) in westernPrescriptions" :key="prescription.id" style="margin-bottom: 20px; border: 1px solid #e4e7ed; border-radius: 8px; padding: 10px; min-width: fit-content;">
|
<div v-for="(prescription, pIndex) in westernPrescriptions" :key="prescription.id" style="margin-bottom: 20px; border: 1px solid #e4e7ed; border-radius: 8px; padding: 10px; min-width: fit-content;">
|
||||||
<!-- 西药方标题栏 -->
|
<!-- 西药方标题栏 -->
|
||||||
<div class="prescription-header" style="margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; background: #f5f7fa; padding: 10px 12px; border-radius: 4px; min-height: 40px; width: 100%; box-sizing: border-box; position: relative;">
|
<div class="prescription-header" style="margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; background: #f5f7fa; padding: 10px 12px; border-radius: 4px; min-height: 40px; width: 100%; box-sizing: border-box; position: relative;">
|
||||||
<span style="font-weight: 600; font-size: 14px; color: #409eff; flex-shrink: 0;">{{ prescription.name }}</span>
|
<span style="font-weight: 600; font-size: 14px; color: #409eff; flex: 0 0 auto;">{{ prescription.name }}</span>
|
||||||
<el-button
|
<el-button
|
||||||
type="danger"
|
type="danger"
|
||||||
size="small"
|
size="small"
|
||||||
@click="handleClosePrescription(prescription.id)"
|
@click="handleClosePrescription(prescription.id)"
|
||||||
style="flex-shrink: 0; min-width: 90px; z-index: 10; position: relative;"
|
style="flex: 0 0 auto; margin-left: 10px;"
|
||||||
title="删除整个西药方"
|
|
||||||
>
|
>
|
||||||
删除西药方
|
删除
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 西药方操作区 -->
|
<!-- 西药方操作区 -->
|
||||||
<div style="margin-bottom: 5px">
|
<div style="margin-bottom: 5px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px;">
|
||||||
<el-button type="primary" @click="handleAddPrescription(prescription.id)" :disabled="false">
|
<el-button type="primary" @click="handleAddPrescription(prescription.id)" :disabled="false">
|
||||||
新增
|
新增
|
||||||
</el-button>
|
</el-button>
|
||||||
@@ -52,6 +51,9 @@
|
|||||||
<el-button type="default" @click="combination(prescription.id)" :disabled="false"> 组合 </el-button>
|
<el-button type="default" @click="combination(prescription.id)" :disabled="false"> 组合 </el-button>
|
||||||
<el-button type="default" @click="split(prescription.id)" :disabled="false"> 拆组 </el-button>
|
<el-button type="default" @click="split(prescription.id)" :disabled="false"> 拆组 </el-button>
|
||||||
<el-button type="danger" plain @click="handleDelete(prescription.id)" :disabled="false"> 删除 </el-button>
|
<el-button type="danger" plain @click="handleDelete(prescription.id)" :disabled="false"> 删除 </el-button>
|
||||||
|
<el-button type="primary" @click="refresh(prescription.id)" :disabled="false">
|
||||||
|
刷新
|
||||||
|
</el-button>
|
||||||
<span class="descriptions-item-label"> 诊断: </span>
|
<span class="descriptions-item-label"> 诊断: </span>
|
||||||
<el-select v-model="prescription.conditionDefinitionId" placeholder="诊断" style="width: 180px" @change="handleDiagnosisChange(prescription.conditionDefinitionId, prescription.id)">
|
<el-select v-model="prescription.conditionDefinitionId" placeholder="诊断" style="width: 180px" @change="handleDiagnosisChange(prescription.conditionDefinitionId, prescription.id)">
|
||||||
<el-option
|
<el-option
|
||||||
@@ -73,9 +75,6 @@
|
|||||||
<span class="descriptions-item-label">
|
<span class="descriptions-item-label">
|
||||||
合计金额:{{ getPrescriptionTotalAmount(prescription.id) }}元
|
合计金额:{{ getPrescriptionTotalAmount(prescription.id) }}元
|
||||||
</span>
|
</span>
|
||||||
<el-button type="primary" style="float: right" @click="refresh(prescription.id)" :disabled="false">
|
|
||||||
刷新
|
|
||||||
</el-button>
|
|
||||||
</div>
|
</div>
|
||||||
<el-table
|
<el-table
|
||||||
max-height="400"
|
max-height="400"
|
||||||
|
|||||||
Reference in New Issue
Block a user