修改
This commit is contained in:
parent
160ac410a4
commit
1c5f1363b3
@ -463,7 +463,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
changetaskSubdivision(code, type) {
|
changetaskSubdivision(code, type) {
|
||||||
this.form.taskSubdivisionName = this.taskPartitionList?.find(e => e.taskPartitionCode == code).taskPartitionName
|
this.form.taskSubdivisionName = this.taskPartitionList?.find(e => e.taskPartitionCode == code)?.taskPartitionName
|
||||||
this.taskPartitionList.forEach(el => {
|
this.taskPartitionList.forEach(el => {
|
||||||
if (code == el.taskPartitionCode) {
|
if (code == el.taskPartitionCode) {
|
||||||
this.form.executionTime = el.executionTime
|
this.form.executionTime = el.executionTime
|
||||||
|
|||||||
@ -298,7 +298,7 @@ export default {
|
|||||||
},
|
},
|
||||||
uploadsave() {
|
uploadsave() {
|
||||||
if (this.signPackage.healthManageId && this.attendingPhysicianlist?.length > 0) {
|
if (this.signPackage.healthManageId && this.attendingPhysicianlist?.length > 0) {
|
||||||
this.signPackage.healthManageName = this.attendingPhysicianlist.find(e => e.userId == this.signPackage.healthManageId).nickName
|
this.signPackage.healthManageName = this.attendingPhysicianlist.find(e => e.userId == this.signPackage.healthManageId)?.nickName
|
||||||
}
|
}
|
||||||
this.form.signPackage = this.signPackage
|
this.form.signPackage = this.signPackage
|
||||||
addsign(this.form).then(res => {
|
addsign(this.form).then(res => {
|
||||||
|
|||||||
@ -260,10 +260,10 @@ export default {
|
|||||||
},
|
},
|
||||||
uploadsave() {
|
uploadsave() {
|
||||||
if (this.signPackage.servicePackageId && this.packagelist?.length > 0) {
|
if (this.signPackage.servicePackageId && this.packagelist?.length > 0) {
|
||||||
this.signPackage.packageName = this.packagelist.find(e => e.id == this.signPackage.servicePackageId).packageName
|
this.signPackage.packageName = this.packagelist.find(e => e.id == this.signPackage.servicePackageId)?.packageName
|
||||||
}
|
}
|
||||||
if (this.form.record.healthManageId && this.attendingPhysicianlist?.length > 0) {
|
if (this.form.record.healthManageId && this.attendingPhysicianlist?.length > 0) {
|
||||||
this.form.record.healthManageName = this.attendingPhysicianlist.find(e => e.userId == this.form.record.healthManageId).nickName
|
this.form.record.healthManageName = this.attendingPhysicianlist.find(e => e.userId == this.form.record.healthManageId)?.nickName
|
||||||
}
|
}
|
||||||
this.form.signPackage = this.signPackage
|
this.form.signPackage = this.signPackage
|
||||||
this.form.route = this.route
|
this.form.route = this.route
|
||||||
|
|||||||
@ -641,7 +641,7 @@ export default {
|
|||||||
this.form.wardName = this.form_wardlist.find(e => e.id == this.form.wardId)?.departmentName
|
this.form.wardName = this.form_wardlist.find(e => e.id == this.form.wardId)?.departmentName
|
||||||
}
|
}
|
||||||
if (this.form.certificateIssuingDoctorId && this.form_attendingPhysicianlist?.length > 0) {
|
if (this.form.certificateIssuingDoctorId && this.form_attendingPhysicianlist?.length > 0) {
|
||||||
this.form.certificateIssuingDoctorName = this.form_attendingPhysicianlist.find(e => e.userId == this.form.certificateIssuingDoctorId).nickName
|
this.form.certificateIssuingDoctorName = this.form_attendingPhysicianlist.find(e => e.userId == this.form.certificateIssuingDoctorId)?.nickName
|
||||||
}
|
}
|
||||||
this.$refs["form"].validate(valid => {
|
this.$refs["form"].validate(valid => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
|||||||
@ -674,7 +674,7 @@ export default {
|
|||||||
this.form.wardName = this.form_wardlist.find(e => e.id == this.form.wardId)?.departmentName
|
this.form.wardName = this.form_wardlist.find(e => e.id == this.form.wardId)?.departmentName
|
||||||
}
|
}
|
||||||
if (this.form.attendingPhysicianId && this.form_attendingPhysicianlist?.length > 0) {
|
if (this.form.attendingPhysicianId && this.form_attendingPhysicianlist?.length > 0) {
|
||||||
this.form.attendingPhysicianName = this.form_attendingPhysicianlist.find(e => e.userId == this.form.attendingPhysicianId).nickName
|
this.form.attendingPhysicianName = this.form_attendingPhysicianlist.find(e => e.userId == this.form.attendingPhysicianId)?.nickName
|
||||||
}
|
}
|
||||||
this.$refs["form"].validate(valid => {
|
this.$refs["form"].validate(valid => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
|||||||
@ -614,7 +614,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
addsignupload() {
|
addsignupload() {
|
||||||
if (this.addsignform.billingDoctorId && this.addsignattendingPhysicianlist?.length > 0) {
|
if (this.addsignform.billingDoctorId && this.addsignattendingPhysicianlist?.length > 0) {
|
||||||
this.addsignform.billingDoctorName = this.addsignattendingPhysicianlist.find(e => e.userId == this.addsignform.billingDoctorId).nickName
|
this.addsignform.billingDoctorName = this.addsignattendingPhysicianlist.find(e => e.userId == this.addsignform.billingDoctorId)?.nickName
|
||||||
}
|
}
|
||||||
intentionalSign(this.addsignform).then(res => {
|
intentionalSign(this.addsignform).then(res => {
|
||||||
this.$modal.msgSuccess("意向签约成功");
|
this.$modal.msgSuccess("意向签约成功");
|
||||||
@ -794,7 +794,7 @@ export default {
|
|||||||
this.form.wardName = this.form_wardlist.find(e => e.id == this.form.wardId)?.departmentName
|
this.form.wardName = this.form_wardlist.find(e => e.id == this.form.wardId)?.departmentName
|
||||||
}
|
}
|
||||||
if (this.form.attendingPhysicianId && this.form_attendingPhysicianlist?.length > 0) {
|
if (this.form.attendingPhysicianId && this.form_attendingPhysicianlist?.length > 0) {
|
||||||
this.form.attendingPhysicianName = this.form_attendingPhysicianlist.find(e => e.userId == this.form.attendingPhysicianId).nickName
|
this.form.attendingPhysicianName = this.form_attendingPhysicianlist.find(e => e.userId == this.form.attendingPhysicianId)?.nickName
|
||||||
}
|
}
|
||||||
this.$refs["form"].validate(valid => {
|
this.$refs["form"].validate(valid => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
|||||||
@ -196,7 +196,7 @@ export default {
|
|||||||
this.classificationform.diseaseTypeName = ''
|
this.classificationform.diseaseTypeName = ''
|
||||||
},
|
},
|
||||||
changedepartment(e) {
|
changedepartment(e) {
|
||||||
this.classificationform.departmentName = this.departmentlist?.find(el => el.id == e).departmentName
|
this.classificationform.departmentName = this.departmentlist?.find(el => el.id == e)?.departmentName
|
||||||
let query = {
|
let query = {
|
||||||
departmentId: e
|
departmentId: e
|
||||||
}
|
}
|
||||||
@ -207,7 +207,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
changediseaseType(e) {
|
changediseaseType(e) {
|
||||||
this.classificationform.diseaseTypeName = this.diseaselist?.find(el => el.id == e).diseaseTypeName
|
this.classificationform.diseaseTypeName = this.diseaselist?.find(el => el.id == e)?.diseaseTypeName
|
||||||
},
|
},
|
||||||
//切换发布状态
|
//切换发布状态
|
||||||
switchstatus(e, item) {
|
switchstatus(e, item) {
|
||||||
|
|||||||
@ -535,7 +535,7 @@ export default {
|
|||||||
},
|
},
|
||||||
//点击任务细分
|
//点击任务细分
|
||||||
changetaskSubdivision(code, type) {
|
changetaskSubdivision(code, type) {
|
||||||
this.form.taskSubdivisionName = this.taskPartitionList?.find(e => e.taskPartitionCode == code).taskPartitionName
|
this.form.taskSubdivisionName = this.taskPartitionList?.find(e => e.taskPartitionCode == code)?.taskPartitionName
|
||||||
this.taskPartitionList.forEach(el => {
|
this.taskPartitionList.forEach(el => {
|
||||||
if (code == el.taskPartitionCode) {
|
if (code == el.taskPartitionCode) {
|
||||||
this.form.executionTime = el.executionTime
|
this.form.executionTime = el.executionTime
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user