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

feat: 实时问诊修改

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