diff --git a/src/store/modules/reading.js b/src/store/modules/reading.js
index 47dabfb7..b67ee71b 100644
--- a/src/store/modules/reading.js
+++ b/src/store/modules/reading.js
@@ -172,6 +172,22 @@ function getQuestionAnswer(questions, questionMark, answers) {
return ''
}
}
+function getQuerys(e) {
+ if (!e) return "";
+ var t = {},
+ r = [],
+ n = "",
+ a = "";
+ try {
+ var i = [];
+ if (e.indexOf("?") >= 0 && (i = e.substring(e.indexOf("?") + 1, e.length).split("&")), i.length > 0) for (var o in i) n = (r = i[o].split("="))[0],
+ a = r[1],
+ t[n] = a
+ } catch (s) {
+ t = {}
+ }
+ return t
+}
async function getBodyPart(bodyPart, other) {
if (!bodyPart && !other) return ''
var separator = ','
@@ -183,7 +199,8 @@ async function getBodyPart(bodyPart, other) {
separator = ','
}
let BodyPart = {}
- BodyPart.Bodypart = await Vue.prototype.$getBodyPart(Vue.prototype.$route.query.trialId)
+ let query = getQuerys(window.location.href)
+ BodyPart.Bodypart = await Vue.prototype.$getBodyPart(query.trialId)
var arr = bodyPart.split(separator)
var newArr = arr.map((i) => {
return Vue.prototype.$fd('Bodypart', i.trim(), 'Code', BodyPart, 'Name')
diff --git a/src/views/trials/trials-panel/visit/crc-upload/components/uploadDicomFiles2.vue b/src/views/trials/trials-panel/visit/crc-upload/components/uploadDicomFiles2.vue
index c8cd1951..839190c1 100644
--- a/src/views/trials/trials-panel/visit/crc-upload/components/uploadDicomFiles2.vue
+++ b/src/views/trials/trials-panel/visit/crc-upload/components/uploadDicomFiles2.vue
@@ -509,7 +509,7 @@
$fd('Bodypart', bodyPart, 'Code', BodyPart, 'Name')
}}
+ v-model.trim="studyForm.BodyPartForEditOther" style="width:150px;margin-left: 30px;">
diff --git a/src/views/trials/trials-panel/visit/crc-upload/components/uploadNonDicomFiles.vue b/src/views/trials/trials-panel/visit/crc-upload/components/uploadNonDicomFiles.vue
index bb3219f0..58ca8f30 100644
--- a/src/views/trials/trials-panel/visit/crc-upload/components/uploadNonDicomFiles.vue
+++ b/src/views/trials/trials-panel/visit/crc-upload/components/uploadNonDicomFiles.vue
@@ -173,7 +173,7 @@
$fd('Bodypart', bodyPart, 'Code', BodyPart, 'Name')
}}
+ v-model.trim="form.BodyPartForEditOther" style="width:150px;margin-left: 30px;">
diff --git a/src/views/trials/trials-panel/visit/qc-check/components/qualityAssurance.vue b/src/views/trials/trials-panel/visit/qc-check/components/qualityAssurance.vue
index efa3f3d6..b772a12f 100644
--- a/src/views/trials/trials-panel/visit/qc-check/components/qualityAssurance.vue
+++ b/src/views/trials/trials-panel/visit/qc-check/components/qualityAssurance.vue
@@ -645,7 +645,7 @@
$fd('Bodypart', bodyPart, 'Code', BodyPart, 'Name')
}}
+ v-model.trim="studyForm.BodyPartForEditOther" style="width:150px;margin-left: 30px;">
@@ -754,7 +754,7 @@
$fd('Bodypart', bodyPart, 'Code', BodyPart, 'Name')
}}
+ v-model.trim="noneDicomForm.BodyPartForEditOther" style="width:150px;margin-left: 30px;">