自定义标准获取病灶bug修复及修改用户名登出处理
parent
be6fdf2277
commit
1fdbdc4103
|
@ -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>
|
||||
|
|
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue