1
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
65acb7ea05
commit
67b04c2a51
|
@ -94,8 +94,16 @@ export default {
|
||||||
const element = dataSet.elements[propertyName]
|
const element = dataSet.elements[propertyName]
|
||||||
const tag = this.getTag(element.tag)
|
const tag = this.getTag(element.tag)
|
||||||
elementObject.id = `${this.idx++}${new Date().getTime()}`
|
elementObject.id = `${this.idx++}${new Date().getTime()}`
|
||||||
elementObject.tagCode = element.tag
|
if (!tag) {
|
||||||
elementObject.tagName = tag ? tag.name : ''
|
let group = element.tag.substring(1, 5)
|
||||||
|
let el = element.tag.substring(5, 9)
|
||||||
|
elementObject.tagCode = ('(' + group + ',' + el + ')').toUpperCase()
|
||||||
|
} else {
|
||||||
|
elementObject.tagCode = tag ? tag.tag : ''
|
||||||
|
elementObject.tagName = tag ? tag.name : ''
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
elementObject.tagLength = element.length
|
elementObject.tagLength = element.length
|
||||||
elementObject.value = ''
|
elementObject.value = ''
|
||||||
|
|
||||||
|
|
|
@ -25,15 +25,15 @@ router.beforeEach(async (to, from, next) => {
|
||||||
if (to.path === '/login' || to.path === '/recompose' || to.path === '/email-recompose' || to.path === '/error' || to.path === '/ReviewersResearchForm' || to.path === '/ReviewersResearch') {
|
if (to.path === '/login' || to.path === '/recompose' || to.path === '/email-recompose' || to.path === '/error' || to.path === '/ReviewersResearchForm' || to.path === '/ReviewersResearch') {
|
||||||
if (to.path === '/ReviewersResearch') {
|
if (to.path === '/ReviewersResearch') {
|
||||||
await this.$store.dispatch('user/logout')
|
await this.$store.dispatch('user/logout')
|
||||||
OSSclient()
|
await OSSclient()
|
||||||
}
|
}
|
||||||
if (to.path === '/ReviewersResearchForm') {
|
if (to.path === '/ReviewersResearchForm') {
|
||||||
OSSclient()
|
await OSSclient()
|
||||||
}
|
}
|
||||||
next()
|
next()
|
||||||
NProgress.done()
|
NProgress.done()
|
||||||
} else {
|
} else {
|
||||||
OSSclient()
|
await OSSclient()
|
||||||
const hasGetUserInfo = store.getters.userId
|
const hasGetUserInfo = store.getters.userId
|
||||||
if (hasGetUserInfo) {
|
if (hasGetUserInfo) {
|
||||||
next()
|
next()
|
||||||
|
@ -66,7 +66,7 @@ router.beforeEach(async (to, from, next) => {
|
||||||
} else {
|
} else {
|
||||||
// 在免登录whiteList中,直接进入
|
// 在免登录whiteList中,直接进入
|
||||||
if (to.path === '/readingDicoms' || to.path === '/noneDicomReading') {
|
if (to.path === '/readingDicoms' || to.path === '/noneDicomReading') {
|
||||||
OSSclient()
|
await OSSclient()
|
||||||
}
|
}
|
||||||
next()
|
next()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue