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

设置科室回显

上级 73c09475
...@@ -65,6 +65,10 @@ export default { ...@@ -65,6 +65,10 @@ export default {
type: Number, type: Number,
default: 0 default: 0
}, },
triageDepartmentId: {
type: Number|String,
default: 0
},
}, },
data() { data() {
return { return {
...@@ -90,6 +94,17 @@ export default { ...@@ -90,6 +94,17 @@ export default {
vm = this; vm = this;
this.getDepList(); this.getDepList();
}, },
watch:{
triageDepartmentId:function (){
if(this.triageDepartmentId == 0){
this.model.triageDepartmentId = "";
}
else {
this.model.triageDepartmentId = this.triageDepartmentId;
this.change(this.triageDepartmentId);
}
}
},
methods: { methods: {
getDepList() { getDepList() {
getDepList().then(function (res) { getDepList().then(function (res) {
......
...@@ -193,9 +193,9 @@ export default { ...@@ -193,9 +193,9 @@ export default {
this.$emit("changeTime", row); this.$emit("changeTime", row);
}, },
//发起问诊 //发起问诊
call(row) { // call(row) {
this.$emit("call", row); // this.$emit("call", row);
}, // },
//设为已完成 //设为已完成
doneHandle(row) { doneHandle(row) {
this.$emit("doneHandle", row); this.$emit("doneHandle", row);
......
...@@ -213,7 +213,6 @@ ...@@ -213,7 +213,6 @@
@waitMatchTime="waitMatchTime" @waitMatchTime="waitMatchTime"
@reMatchDot="reMatchDot" @reMatchDot="reMatchDot"
@changeTime="changeTime" @changeTime="changeTime"
@call="call"
@doneHandle="doneHandle" @doneHandle="doneHandle"
@setOffice="setOffice" @setOffice="setOffice"
@handleSizeChange="handleSizeChange" @handleSizeChange="handleSizeChange"
...@@ -224,7 +223,7 @@ ...@@ -224,7 +223,7 @@
<match-component @search="search" :matchVisible.sync="matchVisible" :diagnoseLogId="diagnoseLogId" :batchFlag="batchFlag" :multipleSelection="multipleSelection" :operateUserID="operateUserID"></match-component> <match-component @search="search" :matchVisible.sync="matchVisible" :diagnoseLogId="diagnoseLogId" :batchFlag="batchFlag" :multipleSelection="multipleSelection" :operateUserID="operateUserID"></match-component>
<refund-component @search="search" :refundVisible.sync="refundVisible" :diagnoseLogId="diagnoseLogId"></refund-component> <refund-component @search="search" :refundVisible.sync="refundVisible" :diagnoseLogId="diagnoseLogId"></refund-component>
<followup-component @search="search" :followupVisible.sync="followupVisible" :diagnoseLogId="diagnoseLogId"></followup-component> <followup-component @search="search" :followupVisible.sync="followupVisible" :diagnoseLogId="diagnoseLogId"></followup-component>
<matching-doctor @search="search" :doctorVisible.sync="doctorVisible" :diagnoseLogId="diagnoseLogId" :bizType="bizType"></matching-doctor> <matching-doctor @search="search" :doctorVisible.sync="doctorVisible" :diagnoseLogId="diagnoseLogId" :triageDepartmentId="triageDepartmentId" :bizType="bizType"></matching-doctor>
<diagnosis-component @search="search" :diagnosisVisible.sync="diagnosisVisible" :diagnoseLogId="diagnoseLogId"></diagnosis-component> <diagnosis-component @search="search" :diagnosisVisible.sync="diagnosisVisible" :diagnoseLogId="diagnoseLogId"></diagnosis-component>
<coordinating-doctor @search="search" :coordinatingVisible.sync="coordinatingVisible" :diagnoseLogId="diagnoseLogId" :bizType="bizType"></coordinating-doctor> <coordinating-doctor @search="search" :coordinatingVisible.sync="coordinatingVisible" :diagnoseLogId="diagnoseLogId" :bizType="bizType"></coordinating-doctor>
<diagnosis-doctor @search="search" :diagnosisDoctorVisible.sync="diagnosisDoctorVisible" :diagnoseLogId="diagnoseLogId" :diagnoseType="diagnoseType" :doctorId="doctorId"></diagnosis-doctor> <diagnosis-doctor @search="search" :diagnosisDoctorVisible.sync="diagnosisDoctorVisible" :diagnoseLogId="diagnoseLogId" :diagnoseType="diagnoseType" :doctorId="doctorId"></diagnosis-doctor>
...@@ -332,6 +331,7 @@ export default { ...@@ -332,6 +331,7 @@ export default {
diagnoseType:0, diagnoseType:0,
doctorId:0, doctorId:0,
operateUserID:"", operateUserID:"",
triageDepartmentId:0,
pickerOptions1: { pickerOptions1: {
disabledDate: (time) => { disabledDate: (time) => {
return time.getTime() > new Date().getTime(); //减去一天的时间代表可以选择同一天; return time.getTime() > new Date().getTime(); //减去一天的时间代表可以选择同一天;
...@@ -564,6 +564,7 @@ export default { ...@@ -564,6 +564,7 @@ export default {
if(row.status == 22){ if(row.status == 22){
this.doctorVisible = true; this.doctorVisible = true;
this.bizType = 7; this.bizType = 7;
this.triageDepartmentId = row.triageDepartmentId;
} }
else { else {
this.diagnosisTimeVisible = true; this.diagnosisTimeVisible = true;
...@@ -686,6 +687,7 @@ export default { ...@@ -686,6 +687,7 @@ export default {
this.doctorVisible = true; this.doctorVisible = true;
this.diagnoseLogId = row.diagnoseLogId; this.diagnoseLogId = row.diagnoseLogId;
this.bizType = 15; this.bizType = 15;
this.triageDepartmentId = row.triageDepartmentId;
}, },
handleSizeChange(value) { handleSizeChange(value) {
this.searchParam.pageSize = value; this.searchParam.pageSize = value;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册