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