|
@@ -73,7 +73,7 @@
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<el-table-column label="诊断信息" prop="diagnose" align="center" min-width="180" />
|
|
<el-table-column label="诊断信息" prop="diagnose" align="center" min-width="180" />
|
|
|
<el-table-column label="拒绝原因" prop="auditReason" align="center" min-width="160" />
|
|
<el-table-column label="拒绝原因" prop="auditReason" align="center" min-width="160" />
|
|
|
- <el-table-column label="审核时间" prop="auditTime" align="center" width="160" />
|
|
|
|
|
|
|
+ <el-table-column label="审核时间" prop="updateTime" align="center" width="160" />
|
|
|
<el-table-column label="审核状态" align="center" width="120">
|
|
<el-table-column label="审核状态" align="center" width="120">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
{{ statusFormat(scope.row.status) }}
|
|
{{ statusFormat(scope.row.status) }}
|
|
@@ -81,12 +81,8 @@
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="220">
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="220">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
- <el-button
|
|
|
|
|
- size="mini"
|
|
|
|
|
- type="text"
|
|
|
|
|
- :disabled="scope.row.status !== 0"
|
|
|
|
|
- @click="handleAudit(scope.row)"
|
|
|
|
|
- >审核</el-button>
|
|
|
|
|
|
|
+ <el-button size="mini" type="text" @click="handleViewAdvice(scope.row)">会诊单</el-button>
|
|
|
|
|
+ <el-button size="mini" type="text" :disabled="scope.row.status !== 0" @click="handleAudit(scope.row)">审核</el-button>
|
|
|
<el-divider direction="vertical" />
|
|
<el-divider direction="vertical" />
|
|
|
<el-button size="mini" type="text" @click="viewDrugs(scope.row)">处方药品</el-button>
|
|
<el-button size="mini" type="text" @click="viewDrugs(scope.row)">处方药品</el-button>
|
|
|
<el-divider direction="vertical" />
|
|
<el-divider direction="vertical" />
|
|
@@ -143,11 +139,6 @@
|
|
|
<span v-else>无</span>
|
|
<span v-else>无</span>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
-<!-- <el-table-column label="药品类型" prop="drugType" min-width="180" align="center" >-->
|
|
|
|
|
-<!-- <template slot-scope="scope">-->
|
|
|
|
|
-<!-- {{ scope.row.drugType === 1 ? '西' : '中' }}-->
|
|
|
|
|
-<!-- </template>-->
|
|
|
|
|
-<!-- </el-table-column>-->
|
|
|
|
|
<el-table-column label="药品名称" prop="drugName" min-width="180" align="center" />
|
|
<el-table-column label="药品名称" prop="drugName" min-width="180" align="center" />
|
|
|
<el-table-column label="药品规格" prop="drugSpec" min-width="160" align="center" />
|
|
<el-table-column label="药品规格" prop="drugSpec" min-width="160" align="center" />
|
|
|
<el-table-column label="使用方法" prop="usageMethod" min-width="160" align="center" />
|
|
<el-table-column label="使用方法" prop="usageMethod" min-width="160" align="center" />
|
|
@@ -171,9 +162,9 @@
|
|
|
style="width: 100%; margin-top: 10px"
|
|
style="width: 100%; margin-top: 10px"
|
|
|
max-height="400"
|
|
max-height="400"
|
|
|
>
|
|
>
|
|
|
- <el-table-column label="审核药师" align="center" prop="drugDoctorName" />
|
|
|
|
|
|
|
+ <el-table-column label="开方医生" align="center" prop="doctorName" />
|
|
|
<el-table-column label="拒方原因" align="center" prop="auditReason" show-overflow-tooltip />
|
|
<el-table-column label="拒方原因" align="center" prop="auditReason" show-overflow-tooltip />
|
|
|
- <el-table-column label="处方图片" align="center" width="140">
|
|
|
|
|
|
|
+ <el-table-column label="中药处方图片" align="center" width="140">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<el-image
|
|
<el-image
|
|
|
v-if="scope.row.prescribeImgUrl"
|
|
v-if="scope.row.prescribeImgUrl"
|
|
@@ -185,6 +176,18 @@
|
|
|
<span v-else>无</span>
|
|
<span v-else>无</span>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
|
+ <el-table-column label="西药处方图片" align="center" width="140">
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ <el-image
|
|
|
|
|
+ v-if="scope.row.prescribeImgStoreUrl"
|
|
|
|
|
+ :src="scope.row.prescribeImgStoreUrl"
|
|
|
|
|
+ :preview-src-list="[scope.row.prescribeImgStoreUrl]"
|
|
|
|
|
+ style="width: 120px; height: 120px"
|
|
|
|
|
+ fit="cover"
|
|
|
|
|
+ />
|
|
|
|
|
+ <span v-else>无</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="审核时间" align="center" prop="createTime" width="160" />
|
|
<el-table-column label="审核时间" align="center" prop="createTime" width="160" />
|
|
|
<el-table-column label="审核状态" align="center" width="120">
|
|
<el-table-column label="审核状态" align="center" width="120">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
@@ -196,17 +199,27 @@
|
|
|
<el-button @click="recordDialogVisible = false">关闭</el-button>
|
|
<el-button @click="recordDialogVisible = false">关闭</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- ===== 会诊单弹窗(只读) ===== -->
|
|
|
|
|
+ <doctor-advice-dialog
|
|
|
|
|
+ :visible.sync="adviceDialogVisible"
|
|
|
|
|
+ :prescribe-id="currentPrescribeId"
|
|
|
|
|
+ :doctor-id="currentDoctorId"
|
|
|
|
|
+ :drug-doctor-id="currentDrugDoctorId"
|
|
|
|
|
+ :company-customer-id="currentCompanyCustomerId"
|
|
|
|
|
+ :readonly="true"
|
|
|
|
|
+ @success="handleAdviceSuccess"/>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
-import { getPendingStorePrescribeList, auditStorePrescribe } from '@/api/his/scrmPrescribeAudit'
|
|
|
|
|
-import { recordList } from '@/api/his/prescribe'
|
|
|
|
|
|
|
+import { getPendingStorePrescribeList, auditStorePrescribe,getAuditScrmPrescribeRecordList } from '@/api/his/scrmPrescribeAudit'
|
|
|
import Pagination from '@/components/Pagination'
|
|
import Pagination from '@/components/Pagination'
|
|
|
|
|
+import DoctorAdviceDialog from '@/views/his/scrmPrescribe/DoctorAdviceDialog.vue'
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
name: 'ScrmPrescribeAudit',
|
|
name: 'ScrmPrescribeAudit',
|
|
|
- components: { Pagination },
|
|
|
|
|
|
|
+ components: { Pagination,DoctorAdviceDialog },
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
loading: false,
|
|
loading: false,
|
|
@@ -232,7 +245,13 @@ export default {
|
|
|
drugsList: [],
|
|
drugsList: [],
|
|
|
recordDialogVisible: false,
|
|
recordDialogVisible: false,
|
|
|
recordLoading: false,
|
|
recordLoading: false,
|
|
|
- recordList: []
|
|
|
|
|
|
|
+ recordList: [],
|
|
|
|
|
+ // ===== 查看会诊单相关数据 =====
|
|
|
|
|
+ adviceDialogVisible: false,
|
|
|
|
|
+ currentPrescribeId: null,
|
|
|
|
|
+ currentDoctorId: null,
|
|
|
|
|
+ currentDrugDoctorId: null,
|
|
|
|
|
+ currentCompanyCustomerId: null
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
created() {
|
|
created() {
|
|
@@ -355,13 +374,24 @@ export default {
|
|
|
handleRecord(row) {
|
|
handleRecord(row) {
|
|
|
this.recordDialogVisible = true
|
|
this.recordDialogVisible = true
|
|
|
this.recordLoading = true
|
|
this.recordLoading = true
|
|
|
- recordList(row.prescribeId)
|
|
|
|
|
|
|
+ getAuditScrmPrescribeRecordList(row.prescribeId)
|
|
|
.then(res => {
|
|
.then(res => {
|
|
|
this.recordList = res.data || []
|
|
this.recordList = res.data || []
|
|
|
})
|
|
})
|
|
|
.finally(() => {
|
|
.finally(() => {
|
|
|
this.recordLoading = false
|
|
this.recordLoading = false
|
|
|
})
|
|
})
|
|
|
|
|
+ },
|
|
|
|
|
+ // ===== 查看会诊单 =====
|
|
|
|
|
+ handleViewAdvice(row) {
|
|
|
|
|
+ // 假设列表数据中包含这些字段,若字段名不同请调整
|
|
|
|
|
+ this.currentPrescribeId = row.prescribeId
|
|
|
|
|
+ this.currentDoctorId = row.doctorId
|
|
|
|
|
+ this.currentDrugDoctorId = row.drugDoctorId
|
|
|
|
|
+ this.currentCompanyCustomerId = row.companyCustomerId
|
|
|
|
|
+ this.adviceDialogVisible = true
|
|
|
|
|
+ },
|
|
|
|
|
+ handleAdviceSuccess() {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|