自定义标准获取病灶bug修复及修改用户名登出处理

uat_us
caiyiling 2024-04-23 16:05:09 +08:00
parent be6fdf2277
commit 1fdbdc4103
2 changed files with 6 additions and 7 deletions

View File

@ -271,11 +271,13 @@ export default {
},
setNewUserName() {
setNewUserName(this.userForm.UserName).then(() => {
zzSessionStorage.setItem('userName', this.userForm.UserName)
this.$store.dispatch('user/changeUserName', this.userForm.UserName).then((res) => {
this.user.UserName = this.userForm.UserName
this.userForm.UserName = ''
this.$message.success(this.$t('trials:trials-myinfo:message:updateSuccessfully'))
this.getUserInfo()
this.$message.success(this.$t('trials:trials-myinfo:message:modifyPWSuccessfully'))
setTimeout(() => {
this.logout()
}, 1000)
})
})
},
@ -387,7 +389,4 @@ export default {
}
</style>
<style scoped>
/deep/ .is-error.my_new_pwd{
margin-bottom: 40px;
}
</style>

View File

@ -393,7 +393,7 @@ export default {
if (bsIdx > -1) {
var trialId = this.$router.currentRoute.query.trialId
await store.dispatch('reading/getMeasuredData', this.visitTaskList[bsIdx].VisitTaskId)
await store.dispatch('reading/getCustomizeMeasuredData', this.visitTaskList[bsIdx].VisitTaskId)
await store.dispatch('reading/getStudyInfo', { trialId: trialId, subjectVisitId: this.visitTaskList[bsIdx].VisitId, visitTaskId: this.visitTaskList[bsIdx].VisitTaskId, taskBlindName: this.visitTaskList[bsIdx].TaskBlindName })
const firstObj = this.getFirstMarkedSeries(this.visitTaskList[bsIdx].MeasureData, [...this.visitTaskList[bsIdx].StudyList])