提交 d317c3bc 编写于 作者: vino's avatar vino

问诊优化

上级 0452fc59
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
clearable clearable
filterable filterable
style="width:56%;height: 32px;line-height: 32px;" style="width:56%;height: 32px;line-height: 32px;"
@change="change"
> >
<el-option <el-option
v-for="item in depList" v-for="item in depList"
...@@ -32,7 +33,7 @@ ...@@ -32,7 +33,7 @@
<el-form-item label="备注" class="required-label"> <el-form-item label="备注" class="required-label">
<el-col :span="15"> <el-col :span="15">
<el-input type="textarea" v-model="model.assistantRemark" style="width: 90%;" size="small" minlength="2" <el-input type="textarea" v-model="model.triageRemark" style="width: 90%;" size="small" minlength="2"
maxlength="500" placeholder="请输入备注"></el-input> maxlength="500" placeholder="请输入备注"></el-input>
</el-col> </el-col>
</el-form-item> </el-form-item>
...@@ -70,7 +71,7 @@ export default { ...@@ -70,7 +71,7 @@ export default {
_promise: null, _promise: null,
depList: [], depList: [],
model: { model: {
assistantRemark: "", triageRemark: "",
triageDepartmentId: "", triageDepartmentId: "",
triageDepartment:"" triageDepartment:""
}, },
...@@ -120,8 +121,10 @@ export default { ...@@ -120,8 +121,10 @@ export default {
if (valid) { if (valid) {
let req = { let req = {
id: this.diagnoseLogId, id: this.diagnoseLogId,
bizType: 5, bizType: 7,
assistantRemark: this.model.assistantRemark triageDepartmentId:this.model.triageDepartmentId,
triageDepartment:this.model.triageDepartment,
triageRemark: this.model.triageRemark
} }
updateDiagnosis(req).then(function (res) { updateDiagnosis(req).then(function (res) {
if (res.code == "000000") { if (res.code == "000000") {
...@@ -139,6 +142,14 @@ export default { ...@@ -139,6 +142,14 @@ export default {
cancel() { cancel() {
this.$emit('update:doctorVisible', false); this.$emit('update:doctorVisible', false);
},
change(data){
for (let i=0;i < this.depList.length; i++){
if(data == this.depList[i].id){
this.model.triageDepartment = this.depList[i].name;
break;
}
}
} }
} }
} }
......
...@@ -490,9 +490,16 @@ export default { ...@@ -490,9 +490,16 @@ export default {
}, },
//设为待匹配医生 //设为待匹配医生
waitMatchDot(row) { waitMatchDot(row) {
this.diagnosisTimeVisible = true;
this.diagnoseLogId = row.diagnoseLogId; this.diagnoseLogId = row.diagnoseLogId;
this.bizType = 5; // 待分诊
if(row.status == 22){
this.doctorVisible = true;
this.bizType = 7;
}
else {
this.diagnosisTimeVisible = true;
this.bizType = 5;
}
}, },
//发送消息 //发送消息
sendMessage(row) { sendMessage(row) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册