|
|
@@ -125,6 +125,11 @@
|
|
|
<el-table-column label="患者姓名" align="center" prop="patientName" />
|
|
|
<!-- <el-table-column label="患者电话" align="center" prop="patientTel" />-->
|
|
|
<el-table-column label="医生姓名" align="center" prop="doctorName" />
|
|
|
+ <el-table-column label="是否确认" align="center" prop="doctorConfirm" >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <dict-tag :options="doctorConfirmOptions" :value="scope.row.doctorConfirm"/>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<!-- <el-table-column label="状态" align="center" prop="status">-->
|
|
|
<!-- <template slot-scope="scope">-->
|
|
|
<!-- <dict-tag :options="statusOptions" :value="scope.row.status"/>-->
|
|
|
@@ -281,7 +286,7 @@
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
<el-button @click="open = false">取 消</el-button>
|
|
|
<el-button type="primary" @click="submitForm">保 存</el-button>
|
|
|
- <el-button type="primary" @click="confirmPrescribe">确认处方</el-button>
|
|
|
+ <el-button type="primary" @click="confirmPrescribe" v-if="form.doctorConfirm == ">确认处方</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
<!-- 药品新增/编辑对话框 -->
|
|
|
@@ -356,6 +361,10 @@ export default {
|
|
|
open: false,
|
|
|
dateRange: [],
|
|
|
auditRange: [],
|
|
|
+ doctorConfirmOptions: [
|
|
|
+ { dictValue: '0', dictLabel: "未确认" },
|
|
|
+ { dictValue: '1', dictLabel: "已确认" }
|
|
|
+ ],
|
|
|
prescribeTypeOptions: [
|
|
|
{ dictValue: '1', dictLabel: "西药" },
|
|
|
{ dictValue: '2', dictLabel: "中药" }
|
|
|
@@ -385,9 +394,6 @@ export default {
|
|
|
patientName: [{ required: true, message: "患者姓名不能为空", trigger: "blur" }],
|
|
|
patientAge: [{ required: true, message: "患者年龄不能为空", trigger: "blur" }],
|
|
|
patientGender: [{ required: true, message: "患者性别不能为空", trigger: "change" }],
|
|
|
- patientTel: [
|
|
|
- { pattern: /^1[3-9]\d{9}$/, message: "请输入正确的手机号码", trigger: "blur" }
|
|
|
- ],
|
|
|
diagnose: [{ required: true, message: "诊断不能为空", trigger: "blur" }],
|
|
|
doctorId: [{ required: true, message: "医生ID不能为空", trigger: "blur" }],
|
|
|
status: [{ required: true, message: "处方状态不能为空", trigger: "change" }]
|