自定义标准获取病灶bug修复及修改用户名登出处理
parent
be6fdf2277
commit
1fdbdc4103
|
@ -271,11 +271,13 @@ export default {
|
||||||
},
|
},
|
||||||
setNewUserName() {
|
setNewUserName() {
|
||||||
setNewUserName(this.userForm.UserName).then(() => {
|
setNewUserName(this.userForm.UserName).then(() => {
|
||||||
zzSessionStorage.setItem('userName', this.userForm.UserName)
|
|
||||||
this.$store.dispatch('user/changeUserName', this.userForm.UserName).then((res) => {
|
this.$store.dispatch('user/changeUserName', this.userForm.UserName).then((res) => {
|
||||||
|
this.user.UserName = this.userForm.UserName
|
||||||
this.userForm.UserName = ''
|
this.userForm.UserName = ''
|
||||||
this.$message.success(this.$t('trials:trials-myinfo:message:updateSuccessfully'))
|
this.$message.success(this.$t('trials:trials-myinfo:message:modifyPWSuccessfully'))
|
||||||
this.getUserInfo()
|
setTimeout(() => {
|
||||||
|
this.logout()
|
||||||
|
}, 1000)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
@ -387,7 +389,4 @@ export default {
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<style scoped>
|
<style scoped>
|
||||||
/deep/ .is-error.my_new_pwd{
|
|
||||||
margin-bottom: 40px;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -393,7 +393,7 @@ export default {
|
||||||
|
|
||||||
if (bsIdx > -1) {
|
if (bsIdx > -1) {
|
||||||
var trialId = this.$router.currentRoute.query.trialId
|
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 })
|
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])
|
const firstObj = this.getFirstMarkedSeries(this.visitTaskList[bsIdx].MeasureData, [...this.visitTaskList[bsIdx].StudyList])
|
||||||
|
|
Loading…
Reference in New Issue