This commit is contained in:
2024-07-12 09:19:38 +08:00
parent 1822c8e60f
commit 885655f47d
2 changed files with 57 additions and 47 deletions

View File

@ -301,6 +301,10 @@ export default {
this.uploadsave(); this.uploadsave();
}, },
uploadsave() { uploadsave() {
this.$confirm('是否确认续约?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
}).then(() => {
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
} }
@ -322,6 +326,7 @@ export default {
this.$modal.msgSuccess("续约成功"); this.$modal.msgSuccess("续约成功");
}); });
}) })
})
}, },
// //
addhardware() { addhardware() {

View File

@ -259,6 +259,10 @@ export default {
} }
}, },
uploadsave() { uploadsave() {
this.$confirm('是否确认签约?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
}).then(() => {
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
} }
@ -282,6 +286,7 @@ export default {
this.$modal.msgSuccess("签约成功"); this.$modal.msgSuccess("签约成功");
}); });
}) })
})
}, },
// //
handleSuccess(response, file, fileList) { handleSuccess(response, file, fileList) {