This commit is contained in:
2024-04-19 15:10:04 +08:00
parent 3a2d71d143
commit 55c8b80c3f

View File

@ -191,7 +191,11 @@ export default {
hardwareType: undefined,
}
],
informeds: []
informeds: [],
route: {
routeId: undefined,
routeName: ''
},
},
rules: {
routeId: [
@ -240,6 +244,8 @@ export default {
onroute(item) {
this.signPackage.routeId = item.routeId
this.signPackage.routeName = item.routeName
this.signPackage.routeId = item.routeId
this.signPackage.routeName = item.routeName
},
//
info() {
@ -301,8 +307,10 @@ export default {
this.signPackage.healthManageName = this.attendingPhysicianlist.find(e => e.userId == this.signPackage.healthManageId)?.nickName
}
this.form.signPackage = this.signPackage
this.form.route.routeId = this.signPackage.routeId
this.form.route.routeName = this.signPackage.routeName
addsign(this.form).then(res => {
this.$confirm('签约成功, 是否返回上一页?', '提示', {
this.$confirm('约成功, 是否返回上一页?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'success'
@ -313,7 +321,7 @@ export default {
});
})
}).catch(() => {
this.$modal.msgSuccess("约成功");
this.$modal.msgSuccess("约成功");
});
})
},