提交 f9c2620c 编写于 作者: peng.zhao's avatar peng.zhao

feat: 实时问诊修改

上级 a1def530
...@@ -14,6 +14,13 @@ export const getDoctorList = async (data) => { ...@@ -14,6 +14,13 @@ export const getDoctorList = async (data) => {
method: 'get', method: 'get',
}); });
}; };
export const getDoctorListNew = async (data) => {
return request({
url: '/diagnose/doctorService/doctorListMew',
params: data,
method: 'get',
});
};
export const getDiagnoseLog = async (data) => { export const getDiagnoseLog = async (data) => {
return request({ return request({
......
...@@ -142,7 +142,12 @@ ...@@ -142,7 +142,12 @@
<script> <script>
import { manualQueue } from '../../utils/diagnosis'; import { manualQueue } from '../../utils/diagnosis';
import dayjs from 'dayjs'; import dayjs from 'dayjs';
import { getDoctorList, getLeisureTime, acceptsCeiling } from '@/api/diagnosis'; import {
getDoctorList,
getDoctorListNew,
getLeisureTime,
acceptsCeiling,
} from '@/api/diagnosis';
let vm = null; let vm = null;
export default { export default {
...@@ -419,8 +424,14 @@ ...@@ -419,8 +424,14 @@
this.doctorList = this.sessionDoctorList; this.doctorList = this.sessionDoctorList;
this.doctorChanged(this.formData.receptionId); this.doctorChanged(this.formData.receptionId);
} else { } else {
// todo: diagnoseType = 4实时类型 换了一个接口 let doctorMethod = getDoctorList;
getDoctorList({ debugger;
if (this.diagnoseType == '4') {
// diagnoseType = 4实时类型 换了一个接口
doctorMethod = getDoctorListNew;
}
doctorMethod({
diagnoseType: this.diagnoseType, diagnoseType: this.diagnoseType,
}) })
.then((res) => { .then((res) => {
......
...@@ -180,7 +180,7 @@ ...@@ -180,7 +180,7 @@
class="btn" class="btn"
@click="waitMatchTime(scope.row)" @click="waitMatchTime(scope.row)"
> >
修改指定医生11 修改指定医生
</el-button> </el-button>
<el-button <el-button
v-if="scope.row.diagnoseType !== 4 && showBtn(scope.row, 3, 25, 26)" v-if="scope.row.diagnoseType !== 4 && showBtn(scope.row, 3, 25, 26)"
......
...@@ -1272,8 +1272,13 @@ ...@@ -1272,8 +1272,13 @@
this.bizType = 5; this.bizType = 5;
if (this.diagnoseType === '4') { if (this.diagnoseType === '4') {
// todo this.$confirm('是否重新匹配医生', '提示', {
confirmButtonText: '是',
cancelButtonText: '否',
type: 'warning',
}).then(() => {
reMatchDoctor(this.diagnoseLogId); reMatchDoctor(this.diagnoseLogId);
});
} else { } else {
this.diagnosisTimeVisible = true; this.diagnosisTimeVisible = true;
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册