提交 f822cf75 编写于 作者: 张磊's avatar 张磊

Merge branch 'feature/jq119' into 'release'

Feature/jq119

See merge request com.pica.cloud.education.frontend/pica-admin-consultation!264
...@@ -26,6 +26,13 @@ export const switchOpen = async (data) => { ...@@ -26,6 +26,13 @@ export const switchOpen = async (data) => {
method: 'post', method: 'post',
}); });
}; };
export const readingReportOpen = async (data) => {
return request({
url: 'diagnose/doctor/work/readingReportOpen',
data: data,
method: 'post',
});
};
export const workInStep = async () => { export const workInStep = async () => {
return request({ return request({
url: '/diagnose/doctor/work/inStep', url: '/diagnose/doctor/work/inStep',
......
...@@ -276,6 +276,7 @@ ...@@ -276,6 +276,7 @@
const params = { const params = {
doctorId: this.formData.receptionId, doctorId: this.formData.receptionId,
weekDay: chooseTime, weekDay: chooseTime,
diagnoseLogId: this.diagnoseLogId,
}; };
getLeisureTime(params).then((res) => { getLeisureTime(params).then((res) => {
if (res.code == '000000') { if (res.code == '000000') {
......
...@@ -30,6 +30,13 @@ ...@@ -30,6 +30,13 @@
{{ userNamePhone }} {{ userNamePhone }}
</span> </span>
</div> </div>
<div class="name-floor">
<span class="doctor-info-name">患者信息</span>
<span class="name-info-detail">{{ patientName }}</span>
<span class="info-phone">
{{ patientMobilePhone }}
</span>
</div>
<div class="daignose-info"> <div class="daignose-info">
<span>分诊科室:{{ triageDepartment }}</span> <span>分诊科室:{{ triageDepartment }}</span>
</div> </div>
...@@ -116,6 +123,14 @@ ...@@ -116,6 +123,14 @@
type: String, type: String,
default: '', default: '',
}, },
patientName: {
type: String,
default: '',
},
patientMobilePhone: {
type: String,
default: '',
},
triageDepartment: { triageDepartment: {
type: String, type: String,
default: '', default: '',
...@@ -167,6 +182,7 @@ ...@@ -167,6 +182,7 @@
const params = { const params = {
departmentId: this.departmentId, departmentId: this.departmentId,
weekDay: time ? time : this.chooseTime, weekDay: time ? time : this.chooseTime,
diagnoseLogId: this.diagnoseLogId,
}; };
getLeisureTime(params).then((res) => { getLeisureTime(params).then((res) => {
if (res.code == '000000') { if (res.code == '000000') {
...@@ -276,9 +292,10 @@ ...@@ -276,9 +292,10 @@
border-radius: 8px; border-radius: 8px;
height: 68px; height: 68px;
display: flex; display: flex;
justify-content: space-between;
padding: 20px 30px 20px 0; padding: 20px 30px 20px 0;
.name-floor { .name-floor {
width: 50%; // width: 50%;
padding: 10px 26px; padding: 10px 26px;
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -312,7 +329,7 @@ ...@@ -312,7 +329,7 @@
color: #666666; color: #666666;
display: flex; display: flex;
align-items: center; align-items: center;
width: 50%; // width: 50%;
justify-content: flex-end; justify-content: flex-end;
} }
} }
......
...@@ -123,6 +123,20 @@ ...@@ -123,6 +123,20 @@
/> />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column
prop="isReadingReport"
align="center"
label="报告解读开关"
width="170"
>
<template slot-scope="scope">
<el-switch
v-model="scope.row.isReadingReport"
active-color="#0D9078"
@change="changeSwitchReport(scope.$index, scope.row)"
/>
</template>
</el-table-column>
<el-table-column <el-table-column
label="操作" label="操作"
fixed="right" fixed="right"
...@@ -246,6 +260,9 @@ ...@@ -246,6 +260,9 @@
changeSwitch(value, val) { changeSwitch(value, val) {
this.$emit('changeSwitch', value, val); this.$emit('changeSwitch', value, val);
}, },
changeSwitchReport(value, val) {
this.$emit('changeSwitchReport', value, val);
},
getServiceOpen(value, row) { getServiceOpen(value, row) {
return row.serviceOpen === String(value); return row.serviceOpen === String(value);
}, },
......
...@@ -14,9 +14,14 @@ export const DIAGNOS_LIST_NEW = [ ...@@ -14,9 +14,14 @@ export const DIAGNOS_LIST_NEW = [
label: '订单金额', label: '订单金额',
showtooltip: false, showtooltip: false,
}, },
{
prop: 'orderPlacer',
label: '下单人',
showtooltip: false,
},
{ {
prop: 'consultRoad', prop: 'consultRoad',
label: '订单业务类型', label: '业务类型',
showtooltip: false, showtooltip: false,
}, },
{ {
......
...@@ -202,6 +202,26 @@ ...@@ -202,6 +202,26 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</div> </div>
<div>
<el-form-item
label="下单人"
class="t-b"
>
<el-select
v-model="searchParam.orderPlacer"
placeholder="请选择下单人"
clearable
style="width: 220px"
>
<el-option
v-for="item of nextPersonList"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
</div>
</div> </div>
<div class="form-li"> <div class="form-li">
<div> <div>
...@@ -332,12 +352,12 @@ ...@@ -332,12 +352,12 @@
</div> </div>
<div> <div>
<el-form-item <el-form-item
label="订单业务类型" label="业务类型"
class="t-b" class="t-b"
> >
<el-select <el-select
v-model="searchParam.consultRoad" v-model="searchParam.consultRoad"
placeholder="请选择订单业务类型" placeholder="请选择业务类型"
clearable clearable
style="width: 220px" style="width: 220px"
> >
...@@ -524,6 +544,8 @@ ...@@ -524,6 +544,8 @@
:user-name="userName" :user-name="userName"
:user-name-phone="userNamePhone" :user-name-phone="userNamePhone"
:triage-department="triageDepartment" :triage-department="triageDepartment"
:patient-name="patientName"
:patient-mobile-phone="patientMobilePhone"
:department-id="departmentId" :department-id="departmentId"
@search="search" @search="search"
/> />
...@@ -655,6 +677,7 @@ ...@@ -655,6 +677,7 @@
status: '', status: '',
price: '', price: '',
refundRemark: '', refundRemark: '',
orderPlacer: '',
matchingWay: null, matchingWay: null,
consultRoad: null, consultRoad: null,
}, },
...@@ -674,6 +697,20 @@ ...@@ -674,6 +697,20 @@
label: '向上问诊', label: '向上问诊',
value: 0, value: 0,
}, },
{
label: '报告解读',
value: 2,
},
],
nextPersonList: [
{
label: '基层医生',
value: 0,
},
{
label: '患者',
value: 1,
},
], ],
tabpaneList: [], tabpaneList: [],
rematchingOptions: [], // 备注信息 rematchingOptions: [], // 备注信息
...@@ -1122,6 +1159,7 @@ ...@@ -1122,6 +1159,7 @@
triageDepartmentId: '', triageDepartmentId: '',
price: '', price: '',
refundRemark: '', refundRemark: '',
orderPlacer: '',
matchingWay: null, matchingWay: null,
diagnoseType: '', // 预约问诊类型:1、音频 2、视频 3、图文 diagnoseType: '', // 预约问诊类型:1、音频 2、视频 3、图文
createdTimeBegin: '', createdTimeBegin: '',
...@@ -1206,6 +1244,8 @@ ...@@ -1206,6 +1244,8 @@
this.userNamePhone = row.userMobile; this.userNamePhone = row.userMobile;
this.triageDepartment = row.triageDepartment; this.triageDepartment = row.triageDepartment;
this.departmentId = row.triageDepartmentId; this.departmentId = row.triageDepartmentId;
this.patientName = row.patientName;
this.patientMobilePhone = row.patientMobilePhone;
this.diagnosisTimeVisible = true; this.diagnosisTimeVisible = true;
this.bizType = 5; this.bizType = 5;
// } // }
......
...@@ -143,6 +143,7 @@ ...@@ -143,6 +143,7 @@
@getServiceOpen="getServiceOpen" @getServiceOpen="getServiceOpen"
@getWorkStatus="getWorkStatus" @getWorkStatus="getWorkStatus"
@changeSwitch="changeSwitch" @changeSwitch="changeSwitch"
@changeSwitchReport="changeSwitchReport"
@handleSizeChange="handleSizeChange" @handleSizeChange="handleSizeChange"
@handleCurrentChange="handleCurrentChange" @handleCurrentChange="handleCurrentChange"
@addSchedule="addSchedule" @addSchedule="addSchedule"
...@@ -196,6 +197,7 @@ ...@@ -196,6 +197,7 @@
switchOpen, switchOpen,
workInStep, workInStep,
getLevel, getLevel,
readingReportOpen
} from '@/api/serviceSchedule'; } from '@/api/serviceSchedule';
import { departmentAll, savePCDayCount } from '@/api/diagnosis'; import { departmentAll, savePCDayCount } from '@/api/diagnosis';
import TableServiceSchedule from '@/components/list/table-serviceSchedule'; import TableServiceSchedule from '@/components/list/table-serviceSchedule';
...@@ -364,17 +366,11 @@ ...@@ -364,17 +366,11 @@
this.loading = false; this.loading = false;
if (res.code === '000000') { if (res.code === '000000') {
this.tableData = (res.data.list || []).map((item) => { this.tableData = (res.data.list || []).map((item) => {
if (item.switchStatus === '1') { return {
return { ...item,
...item, isReadingReport:item.isReadingReport == 1 ? true : false,
switchStatus: true, switchStatus:item.switchStatus == 1 ? true : false
}; };
} else {
return {
...item,
switchStatus: false,
};
}
}); });
this.searchParam.totalRows = res.data.count; this.searchParam.totalRows = res.data.count;
} }
...@@ -396,6 +392,16 @@ ...@@ -396,6 +392,16 @@
} }
}); });
}, },
changeSwitchReport(value, val) {
readingReportOpen({
id: val.id,
readingReportOpen: val.isReadingReport ? '1' : '2',
}).then((res) => {
if (res.code === '000000') {
// this.search();
}
});
},
searchInStep() { searchInStep() {
this.loading = true; this.loading = true;
workInStep().then((res) => { workInStep().then((res) => {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册