检查部位字典变更
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
4c98f91677
commit
eaba3520e9
|
@ -82,10 +82,14 @@ export default {
|
|||
studyList: [],
|
||||
subjectVisitId: '',
|
||||
sudyId: '',
|
||||
loading: false
|
||||
loading: false,
|
||||
bp:[]
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
async created(){
|
||||
this.bp = await this.$getBodyPart(this.$route.query.trialId);
|
||||
},
|
||||
async mounted() {
|
||||
if (this.$router.currentRoute.query.TokenKey) {
|
||||
store.dispatch('user/setToken', this.$router.currentRoute.query.TokenKey)
|
||||
changeURLStatic('TokenKey', '')
|
||||
|
@ -107,9 +111,8 @@ export default {
|
|||
separator = ','
|
||||
}
|
||||
var arr = bodyPart.split(separator)
|
||||
let bp = await this.$getBodyPart(this.$route.query.trialId)
|
||||
var newArr = arr.map(i => {
|
||||
return this.$fd('Bodypart', i.trim(),'Code',{Bodypart:bp},'Name')
|
||||
return this.$fd('Bodypart', i.trim(),'Code',{Bodypart:this.bp},'Name')
|
||||
})
|
||||
return newArr.join(' | ')
|
||||
},
|
||||
|
|
|
@ -95,10 +95,12 @@ export default {
|
|||
subjectCode: '',
|
||||
visistTaskId: '',
|
||||
taskBlindName: '',
|
||||
readingTaskState: 2
|
||||
readingTaskState: 2,
|
||||
bp:[]
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
async mounted() {
|
||||
this.bp = await this.$getBodyPart(this.$route.query.trialId)
|
||||
if (this.$router.currentRoute.query.TokenKey) {
|
||||
store.dispatch('user/setToken', this.$router.currentRoute.query.TokenKey)
|
||||
changeURLStatic('TokenKey', '')
|
||||
|
@ -174,7 +176,7 @@ export default {
|
|||
preview() {
|
||||
this.previewVisible = true
|
||||
},
|
||||
async getBodyPart(bodyPart) {
|
||||
getBodyPart(bodyPart) {
|
||||
if (!bodyPart) return ''
|
||||
var separator = ','
|
||||
if (bodyPart.indexOf('|') > -1) {
|
||||
|
@ -185,9 +187,8 @@ export default {
|
|||
separator = ','
|
||||
}
|
||||
var arr = bodyPart.split(separator)
|
||||
let bp = await this.$getBodyPart(this.$route.query.trialId)
|
||||
var newArr = arr.map(i => {
|
||||
return this.$fd('Bodypart', i.trim(),'Code',{Bodypart:bp},'Name')
|
||||
return this.$fd('Bodypart', i.trim(),'Code',{Bodypart:this.bp},'Name')
|
||||
})
|
||||
return newArr.join(' | ')
|
||||
}
|
||||
|
|
|
@ -154,7 +154,8 @@ export default {
|
|||
associatedList: [],
|
||||
currentTaskId: '',
|
||||
otherInfo: null,
|
||||
isReadingShowPreviousResults: false
|
||||
isReadingShowPreviousResults: false,
|
||||
bp:[]
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
@ -162,7 +163,8 @@ export default {
|
|||
return this.otherInfo && this.otherInfo.IsReadingShowPreviousResults && this.isReadingShowPreviousResults
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
async mounted() {
|
||||
this.bp = await this.$getBodyPart(this.$route.query.trialId)
|
||||
this.isReadingShowPreviousResults = this.$router.currentRoute.query.isReadingShowPreviousResults !== undefined ? this.$router.currentRoute.query.isReadingShowPreviousResults : true
|
||||
|
||||
this.getNoneDicomList(this.isReadingShowPreviousResults)
|
||||
|
@ -267,7 +269,7 @@ export default {
|
|||
})
|
||||
window.open(routeData.href, '_blank')
|
||||
},
|
||||
async getBodyPart(bodyPart) {
|
||||
getBodyPart(bodyPart) {
|
||||
if (!bodyPart) return ''
|
||||
var separator = ','
|
||||
if (bodyPart.indexOf('|') > -1) {
|
||||
|
@ -278,9 +280,8 @@ export default {
|
|||
separator = ','
|
||||
}
|
||||
var arr = bodyPart.split(separator)
|
||||
let bp = await this.$getBodyPart(this.$route.query.trialId)
|
||||
var newArr = arr.map(i => {
|
||||
return this.$fd('Bodypart', i.trim(),'Code',{Bodypart:bp},'Name')
|
||||
return this.$fd('Bodypart', i.trim(),'Code',{Bodypart:this.bp},'Name')
|
||||
})
|
||||
return newArr.join(' | ')
|
||||
}
|
||||
|
|
|
@ -349,10 +349,12 @@ export default {
|
|||
previewNonDicomVisible: false,
|
||||
trialId: this.$route.query.trialId,
|
||||
tokenKey: getToken(),
|
||||
openWindow: null
|
||||
openWindow: null,
|
||||
bp:[]
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
async mounted() {
|
||||
this.bp = await this.$getBodyPart(this.$route.query.trialId)
|
||||
this.getSite()
|
||||
this.getVisitPlanOptions()
|
||||
this.getList()
|
||||
|
@ -476,7 +478,7 @@ export default {
|
|||
}
|
||||
}).catch(() => { this.loading = false })
|
||||
},
|
||||
async getBodyPart(bodyPart) {
|
||||
getBodyPart(bodyPart) {
|
||||
if (!bodyPart) return ''
|
||||
var separator = ','
|
||||
if (bodyPart.indexOf('|') > -1) {
|
||||
|
@ -487,9 +489,8 @@ export default {
|
|||
separator = ','
|
||||
}
|
||||
var arr = bodyPart.split(separator)
|
||||
let bp = await this.$getBodyPart(this.$route.query.trialId)
|
||||
var newArr = arr.map(i => {
|
||||
return this.$fd('Bodypart', i.trim(),'Code',{Bodypart:bp},'Name')
|
||||
return this.$fd('Bodypart', i.trim(),'Code',{Bodypart:this.bp},'Name')
|
||||
})
|
||||
return newArr.join(' | ')
|
||||
},
|
||||
|
|
|
@ -190,9 +190,11 @@ export default {
|
|||
seriesList: [],
|
||||
moment,
|
||||
trialId: this.$route.query.trialId,
|
||||
bp:[]
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
async mounted() {
|
||||
this.bp = await this.$getBodyPart(this.$route.query.trialId)
|
||||
this.getList()
|
||||
},
|
||||
methods: {
|
||||
|
@ -235,7 +237,7 @@ export default {
|
|||
})
|
||||
this.open = window.open(routeData.href, '_blank')
|
||||
},
|
||||
async getBodyPart(bodyPart) {
|
||||
getBodyPart(bodyPart) {
|
||||
if (!bodyPart) return ''
|
||||
var separator = ','
|
||||
if (bodyPart.indexOf('|') > -1) {
|
||||
|
@ -246,9 +248,8 @@ export default {
|
|||
separator = ','
|
||||
}
|
||||
var arr = bodyPart.split(separator)
|
||||
let bp = await this.$getBodyPart(this.$route.query.trialId)
|
||||
var newArr = arr.map(i => {
|
||||
return this.$fd('Bodypart', i.trim(),'Code',{Bodypart:bp},'Name')
|
||||
return this.$fd('Bodypart', i.trim(),'Code',{Bodypart:this.bp},'Name')
|
||||
})
|
||||
return newArr.join(' | ')
|
||||
},
|
||||
|
|
|
@ -174,10 +174,12 @@ export default {
|
|||
petVisible: false,
|
||||
rowData: {},
|
||||
relationInfo: {},
|
||||
bp: [],
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
async mounted() {
|
||||
this.getStudyInfo();
|
||||
this.bp = await this.$getBodyPart(this.$route.query.trialId);
|
||||
},
|
||||
methods: {
|
||||
// 预览临床数据
|
||||
|
@ -237,7 +239,7 @@ export default {
|
|||
});
|
||||
window.open(routeData.href, "_blank");
|
||||
},
|
||||
async getBodyPart(bodyPart) {
|
||||
getBodyPart(bodyPart) {
|
||||
if (!bodyPart) return "";
|
||||
var separator = ",";
|
||||
if (bodyPart.indexOf("|") > -1) {
|
||||
|
@ -248,10 +250,15 @@ export default {
|
|||
separator = ",";
|
||||
}
|
||||
var arr = bodyPart.split(separator);
|
||||
let bp = await this.$getBodyPart(this.$route.query.trialId)
|
||||
var newArr = arr.map(i => {
|
||||
return this.$fd('Bodypart', i.trim(),'Code',{Bodypart:bp},'Name')
|
||||
})
|
||||
var newArr = arr.map((i) => {
|
||||
return this.$fd(
|
||||
"Bodypart",
|
||||
i.trim(),
|
||||
"Code",
|
||||
{ Bodypart: this.bp },
|
||||
"Name"
|
||||
);
|
||||
});
|
||||
return newArr.join(" | ");
|
||||
},
|
||||
// 获取勾选项
|
||||
|
|
Loading…
Reference in New Issue