|
@@ -66,7 +66,7 @@
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<span v-if="scope.row.doctorConfirm === 0" class="warning">待开方</span>
|
|
<span v-if="scope.row.doctorConfirm === 0" class="warning">待开方</span>
|
|
|
<span v-else-if="scope.row.doctorConfirm === -2" class="primary">暂不开方</span>
|
|
<span v-else-if="scope.row.doctorConfirm === -2" class="primary">暂不开方</span>
|
|
|
- <span v-else-if="scope.row.doctorConfirm === -3" class="primary">不建议使用</span>
|
|
|
|
|
|
|
+ <span v-else-if="scope.row.doctorConfirm === -3" class="primary">不适合用药</span>
|
|
|
<span v-else-if="scope.row.status === 0" class="default">待审核</span>
|
|
<span v-else-if="scope.row.status === 0" class="default">待审核</span>
|
|
|
<span v-else-if="scope.row.status === 1" class="success">已完成</span>
|
|
<span v-else-if="scope.row.status === 1" class="success">已完成</span>
|
|
|
<span v-else-if="scope.row.status === 2" class="danger">已拒方</span>
|
|
<span v-else-if="scope.row.status === 2" class="danger">已拒方</span>
|
|
@@ -300,7 +300,7 @@ export default {
|
|
|
// 完善处方成功后的回调(询问是否开方)
|
|
// 完善处方成功后的回调(询问是否开方)
|
|
|
handleAdviceSuccess(payload) {
|
|
handleAdviceSuccess(payload) {
|
|
|
this.getList();
|
|
this.getList();
|
|
|
- // 如果勾选了“不建议使用”或“完成”,不弹出开方询问
|
|
|
|
|
|
|
+ // 如果勾选了“不适合用药”或“完成”,不弹出开方询问
|
|
|
if (payload && (payload.notRecommendUse || payload.foodAsMedicine)) {
|
|
if (payload && (payload.notRecommendUse || payload.foodAsMedicine)) {
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|