提交 e348bfc2 编写于 作者: qian.jie's avatar qian.jie

添加筛选

上级 f822cf75
...@@ -162,6 +162,10 @@ ...@@ -162,6 +162,10 @@
type: Number, type: Number,
default: 0, default: 0,
}, },
consultRoad: {
type: String,
default: '',
},
doctorId: { doctorId: {
type: [Number, String], type: [Number, String],
default: 0, default: 0,
...@@ -272,11 +276,20 @@ ...@@ -272,11 +276,20 @@
this.getLeisureTime(this.chooseTime); this.getLeisureTime(this.chooseTime);
}, },
getLeisureTime(chooseTime) { getLeisureTime(chooseTime) {
console.log(this.doctorInfo); let consultRoadType = '';
if (this.consultRoad == '向上问诊') {
consultRoadType = 0;
} else if (this.consultRoad == '中医实践') {
consultRoadType = 1;
} else if (this.consultRoad == '报告解读') {
consultRoadType = 2;
}
const params = { const params = {
doctorId: this.formData.receptionId, doctorId: this.formData.receptionId,
weekDay: chooseTime, weekDay: chooseTime,
diagnoseLogId: this.diagnoseLogId, diagnoseLogId: this.diagnoseLogId,
diagnoseType: this.diagnoseType,
consultRoad: consultRoadType,
}; };
getLeisureTime(params).then((res) => { getLeisureTime(params).then((res) => {
if (res.code == '000000') { if (res.code == '000000') {
......
...@@ -139,6 +139,14 @@ ...@@ -139,6 +139,14 @@
type: String, type: String,
default: '', default: '',
}, },
diagnoseType: {
type: String,
default: '',
},
consultRoad: {
type: String,
default: '',
},
}, },
data() { data() {
return { return {
...@@ -150,6 +158,7 @@ ...@@ -150,6 +158,7 @@
model: { model: {
assistantRemark: '', assistantRemark: '',
}, },
consultRoadType: '',
rangeTime: '', rangeTime: '',
startDate: '', startDate: '',
endDate: '', endDate: '',
...@@ -178,11 +187,20 @@ ...@@ -178,11 +187,20 @@
}, },
methods: { methods: {
getLeisureTime(time) { getLeisureTime(time) {
console.log(this.doctorInfo); let consultRoadType = '';
if (this.consultRoad == '向上问诊') {
consultRoadType = 0;
} else if (this.consultRoad == '中医实践') {
consultRoadType = 1;
} else if (this.consultRoad == '报告解读') {
consultRoadType = 2;
}
const params = { const params = {
departmentId: this.departmentId, departmentId: this.departmentId,
weekDay: time ? time : this.chooseTime, weekDay: time ? time : this.chooseTime,
diagnoseLogId: this.diagnoseLogId, diagnoseLogId: this.diagnoseLogId,
diagnoseType: this.diagnoseType,
consultRoad: consultRoadType,
}; };
getLeisureTime(params).then((res) => { getLeisureTime(params).then((res) => {
if (res.code == '000000') { if (res.code == '000000') {
......
...@@ -292,6 +292,20 @@ ...@@ -292,6 +292,20 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</div> </div>
<div>
<el-form-item
label="患者姓名"
class="t-b"
>
<el-input
v-model.trim="searchParam.patientName"
clearable
placeholder="请输入患者姓名"
style="width: 220px"
@change="patientNameChange"
/>
</el-form-item>
</div>
</div> </div>
<div class="form-li"> <div class="form-li">
<div> <div>
...@@ -526,6 +540,7 @@ ...@@ -526,6 +540,7 @@
:diagnose-type="diagnoseType" :diagnose-type="diagnoseType"
:doctor-id="doctorId" :doctor-id="doctorId"
:range-time-data="rangeTimeData" :range-time-data="rangeTimeData"
:consult-road="consultRoad"
:doctor-info="doctorInfo" :doctor-info="doctorInfo"
@search="search" @search="search"
@changeStartTime="changeStartTime" @changeStartTime="changeStartTime"
...@@ -545,6 +560,8 @@ ...@@ -545,6 +560,8 @@
:user-name-phone="userNamePhone" :user-name-phone="userNamePhone"
:triage-department="triageDepartment" :triage-department="triageDepartment"
:patient-name="patientName" :patient-name="patientName"
:diagnose-type="diagnoseType"
:consult-road="consultRoad"
:patient-mobile-phone="patientMobilePhone" :patient-mobile-phone="patientMobilePhone"
:department-id="departmentId" :department-id="departmentId"
@search="search" @search="search"
...@@ -680,6 +697,7 @@ ...@@ -680,6 +697,7 @@
orderPlacer: '', orderPlacer: '',
matchingWay: null, matchingWay: null,
consultRoad: null, consultRoad: null,
patientName: null,
}, },
noteList: [], noteList: [],
alltabslist: [], alltabslist: [],
...@@ -739,6 +757,7 @@ ...@@ -739,6 +757,7 @@
dialogFormVisible: false, dialogFormVisible: false,
bizType: 0, bizType: 0,
diagnoseType: 0, diagnoseType: 0,
consultRoad: '',
doctorId: 0, doctorId: 0,
operateUserID: '', operateUserID: '',
triageDepartmentId: 0, triageDepartmentId: 0,
...@@ -1175,6 +1194,7 @@ ...@@ -1175,6 +1194,7 @@
assistantEndTime: '', assistantEndTime: '',
inNewTimeObj: {}, inNewTimeObj: {},
consultRoad: null, consultRoad: null,
patientName: null,
}); });
}, },
// 导出 // 导出
...@@ -1241,6 +1261,8 @@ ...@@ -1241,6 +1261,8 @@
this.doctorData = row; this.doctorData = row;
this.diagnoseLogId = row.diagnoseLogId; this.diagnoseLogId = row.diagnoseLogId;
this.userName = row.userName; this.userName = row.userName;
this.diagnoseType = row.diagnoseType;
this.consultRoad = row.consultRoad;
this.userNamePhone = row.userMobile; this.userNamePhone = row.userMobile;
this.triageDepartment = row.triageDepartment; this.triageDepartment = row.triageDepartment;
this.departmentId = row.triageDepartmentId; this.departmentId = row.triageDepartmentId;
...@@ -1331,6 +1353,7 @@ ...@@ -1331,6 +1353,7 @@
this.diagnosisDoctorVisible = true; this.diagnosisDoctorVisible = true;
this.diagnoseLogId = row.diagnoseLogId; this.diagnoseLogId = row.diagnoseLogId;
this.diagnoseType = row.diagnoseType; this.diagnoseType = row.diagnoseType;
this.consultRoad = row.consultRoad;
if (row.doctorId == 0) { if (row.doctorId == 0) {
this.doctorId = ''; this.doctorId = '';
} else { } else {
...@@ -1442,6 +1465,9 @@ ...@@ -1442,6 +1465,9 @@
this.matchVisible = true; this.matchVisible = true;
this.batchFlag = true; this.batchFlag = true;
}, },
patientNameChange(value) {
this.searchParam.patientName = value ? value : null;
},
}, },
}; };
</script> </script>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册