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

feat: 实时问诊修改

上级 38ccf474
...@@ -17,4 +17,4 @@ VUE_APP_IS_LOCAL=true ...@@ -17,4 +17,4 @@ VUE_APP_IS_LOCAL=true
VUE_APP_APPID=wxf4e66242d31c81c2 VUE_APP_APPID=wxf4e66242d31c81c2
#本地token #本地token
VUE_APP_TOKEN=080D305CDE1648C8A23B59AECE68C7A7 VUE_APP_TOKEN=A696F7FD7DD5429B9CB693E91BD3A640
...@@ -29,6 +29,12 @@ export const diagnoseUpdate = async (data) => { ...@@ -29,6 +29,12 @@ export const diagnoseUpdate = async (data) => {
method: 'post', method: 'post',
}); });
}; };
export const reMatchDoctor = async (diagnoseLogId) => {
return request({
url: `/diagnose/admin/diagnose/outbound/intention/${diagnoseLogId}`,
method: 'post',
});
};
// diagnosis-im // diagnosis-im
export const getQueryTemplate = async () => { export const getQueryTemplate = async () => {
......
<!-- todo -->
<template> <template>
<div> <div>
<el-dialog <el-dialog
...@@ -418,6 +419,7 @@ ...@@ -418,6 +419,7 @@
this.doctorList = this.sessionDoctorList; this.doctorList = this.sessionDoctorList;
this.doctorChanged(this.formData.receptionId); this.doctorChanged(this.formData.receptionId);
} else { } else {
// todo: diagnoseType = 4实时类型 换了一个接口
getDoctorList({ getDoctorList({
diagnoseType: this.diagnoseType, diagnoseType: this.diagnoseType,
}) })
......
...@@ -123,7 +123,8 @@ ...@@ -123,7 +123,8 @@
if (valid) { if (valid) {
const req = { const req = {
id: this.diagnoseLogId, id: this.diagnoseLogId,
bizType: this.bizType, bizType:
this.model.statusRemark === '助诊医生爽约' ? 16 : this.bizType,
statusRemark: this.model.statusRemark, statusRemark: this.model.statusRemark,
}; };
updateDiagnosis(req) updateDiagnosis(req)
......
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
class="btn" class="btn"
@click="waitMatchDot(scope.row)" @click="waitMatchDot(scope.row)"
> >
设为待匹配医生 重新匹配
</el-button> </el-button>
<el-button <el-button
v-if="showBtn(scope.row, 22, 21)" v-if="showBtn(scope.row, 22, 21)"
...@@ -136,8 +136,9 @@ ...@@ -136,8 +136,9 @@
> >
发送消息 发送消息
</el-button> </el-button>
<el-button <el-button
v-if="showBtn(scope.row, 3, 26)" v-if="scope.row.diagnoseType !== 4 && showBtn(scope.row, 3, 26)"
type="primary" type="primary"
size="small" size="small"
class="btn" class="btn"
...@@ -179,18 +180,18 @@ ...@@ -179,18 +180,18 @@
class="btn" class="btn"
@click="waitMatchTime(scope.row)" @click="waitMatchTime(scope.row)"
> >
设为待确认时间 修改指定医生11
</el-button> </el-button>
<el-button <el-button
v-if="showBtn(scope.row, 3, 25, 26)" v-if="scope.row.diagnoseType !== 4 && showBtn(scope.row, 3, 25, 26)"
type="primary" type="primary"
size="small" size="small"
class="btn" class="btn"
@click="reMatchDot(scope.row, 10)" @click="reMatchDot(scope.row, 10)"
> >
重新匹配医生 手动打回
</el-button> </el-button>
<el-button <!-- <el-button
v-if="showBtn(scope.row, 3, 25, 26)" v-if="showBtn(scope.row, 3, 25, 26)"
type="primary" type="primary"
size="small" size="small"
...@@ -198,9 +199,9 @@ ...@@ -198,9 +199,9 @@
@click="reMatchDot(scope.row, 16)" @click="reMatchDot(scope.row, 16)"
> >
重新联系助诊医生 重新联系助诊医生
</el-button> </el-button> -->
<el-button <el-button
v-if="showBtn(scope.row, 3, 26)" v-if="scope.row.diagnoseType !== 4 && showBtn(scope.row, 3, 26)"
type="primary" type="primary"
size="small" size="small"
class="btn" class="btn"
......
...@@ -2,3 +2,9 @@ import { router, store } from '@pica-cli/vue-cli-plugin-pica-cli-plugin/auto'; ...@@ -2,3 +2,9 @@ import { router, store } from '@pica-cli/vue-cli-plugin-pica-cli-plugin/auto';
import '@/router'; import '@/router';
console.log('router ', router); console.log('router ', router);
console.log('store ', store); console.log('store ', store);
// 本地调试增加token和systemType
if (process.env.VUE_APP_ENV === 'development') {
window.localStorage.setItem('token', process.env.VUE_APP_TOKEN);
window.localStorage.setItem('systemType', process.env.VUE_APP_SYSTEM_TYPE);
}
...@@ -21,6 +21,10 @@ export const TYPE_LIST = [ ...@@ -21,6 +21,10 @@ export const TYPE_LIST = [
label: '图文问诊', label: '图文问诊',
value: 3, value: 3,
}, },
{
label: '电话问诊',
value: 4,
},
]; ];
// 支付方式 // 支付方式
......
...@@ -623,6 +623,7 @@ ...@@ -623,6 +623,7 @@
diagnoseExport, diagnoseExport,
diagnoseList, diagnoseList,
departmentAll, departmentAll,
reMatchDoctor,
} from '@/api/diagnosis'; } from '@/api/diagnosis';
import MatchComponent from '@/components/common/match'; import MatchComponent from '@/components/common/match';
...@@ -1268,8 +1269,15 @@ ...@@ -1268,8 +1269,15 @@
this.departmentId = row.triageDepartmentId; this.departmentId = row.triageDepartmentId;
this.patientName = row.patientName; this.patientName = row.patientName;
this.patientMobilePhone = row.patientMobilePhone; this.patientMobilePhone = row.patientMobilePhone;
this.diagnosisTimeVisible = true;
this.bizType = 5; this.bizType = 5;
if (this.diagnoseType === '4') {
// todo
reMatchDoctor(this.diagnoseLogId);
} else {
this.diagnosisTimeVisible = true;
}
// } // }
}, },
// 修改科室 // 修改科室
...@@ -1366,15 +1374,12 @@ ...@@ -1366,15 +1374,12 @@
}, },
// 重新匹配医生 // 重新匹配医生
reMatchDot(row, type) { reMatchDot(row, type) {
if (type == 10) {
this.rematchingOptions = [ this.rematchingOptions = [
'接诊医生爽约', '接诊医生爽约',
'上级医生日程改变,提前取消', '上级医生日程改变,提前取消',
'操作失误,重新匹配医生', '操作失误,重新匹配医生',
'助诊医生爽约',
]; ];
} else {
this.rematchingOptions = ['助诊医生爽约'];
}
// this.rematchingOptions= // this.rematchingOptions=
// this.options= // this.options=
this.rematchingVisible = true; this.rematchingVisible = true;
......
...@@ -71,7 +71,7 @@ module.exports = { ...@@ -71,7 +71,7 @@ module.exports = {
port: 8080, port: 8080,
proxy: { proxy: {
'/proxy': { '/proxy': {
target: 'https://test1-sc.yunqueyi.com/', target: 'https://uat-sc.yunqueyi.com/',
ws: false, ws: false,
changeOrigin: true, changeOrigin: true,
secure: true, secure: true,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册