diff --git a/src/api/dictionary.js b/src/api/dictionary.js
index 25897aff..2ea54499 100644
--- a/src/api/dictionary.js
+++ b/src/api/dictionary.js
@@ -1006,3 +1006,11 @@ export function deleteCommonDocument(commonDocumentId) {
method: 'delete'
})
}
+//getTrialSiteList
+export function getTrialSiteList(params) {
+ return request({
+ url: `/site/getTrialSiteList`,
+ method: 'post',
+ data: params
+ })
+}
\ No newline at end of file
diff --git a/src/views/dictionary/institutions/components/Sites.vue b/src/views/dictionary/institutions/components/Sites.vue
index cadc28d2..d1a57f19 100644
--- a/src/views/dictionary/institutions/components/Sites.vue
+++ b/src/views/dictionary/institutions/components/Sites.vue
@@ -3,33 +3,50 @@
-
+
-
+
-
+
-
+
- Search
- Reset
+ Search
+ Reset
-
New
+
+ {{ $t("trial:dictionary:institutions:site:addSystemSite") }}
+
+ New
+
+
+
-
+
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t("trial:dictionary:institutions:site:button:sreach") }}
+
+ {{ $t("trial:dictionary:institutions:site:button:reset") }}
+
+
+
+
+
+
+
+
+
+
+
+ {{
+ $t("trial:dictionary:institutions:site:button:add")
+ }}
+
+
+
+
+
+
+
diff --git a/src/views/none-dicom-show/index.vue b/src/views/none-dicom-show/index.vue
index baab5ae2..46e0cf9a 100644
--- a/src/views/none-dicom-show/index.vue
+++ b/src/views/none-dicom-show/index.vue
@@ -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(' | ')
},
diff --git a/src/views/trials/trials-panel/reading/dicoms/none-dicoms.vue b/src/views/trials/trials-panel/reading/dicoms/none-dicoms.vue
index bb268d9d..fe4aac74 100644
--- a/src/views/trials/trials-panel/reading/dicoms/none-dicoms.vue
+++ b/src/views/trials/trials-panel/reading/dicoms/none-dicoms.vue
@@ -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(' | ')
}
diff --git a/src/views/trials/trials-panel/reading/none-dicoms/components/VisitReview.vue b/src/views/trials/trials-panel/reading/none-dicoms/components/VisitReview.vue
index 3359a4cc..21282d84 100644
--- a/src/views/trials/trials-panel/reading/none-dicoms/components/VisitReview.vue
+++ b/src/views/trials/trials-panel/reading/none-dicoms/components/VisitReview.vue
@@ -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(' | ')
}
diff --git a/src/views/trials/trials-panel/study/index.vue b/src/views/trials/trials-panel/study/index.vue
index dcd94dcb..6931e8fc 100644
--- a/src/views/trials/trials-panel/study/index.vue
+++ b/src/views/trials/trials-panel/study/index.vue
@@ -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(' | ')
},
diff --git a/src/views/trials/trials-panel/subject/brain-metastasis/components/subjectStudy.vue b/src/views/trials/trials-panel/subject/brain-metastasis/components/subjectStudy.vue
index 72b95b2f..762aeb42 100644
--- a/src/views/trials/trials-panel/subject/brain-metastasis/components/subjectStudy.vue
+++ b/src/views/trials/trials-panel/subject/brain-metastasis/components/subjectStudy.vue
@@ -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(' | ')
},
diff --git a/src/views/trials/trials-panel/visit/qc-check/components/dicomFiles.vue b/src/views/trials/trials-panel/visit/qc-check/components/dicomFiles.vue
index d6375223..df0a66d8 100644
--- a/src/views/trials/trials-panel/visit/qc-check/components/dicomFiles.vue
+++ b/src/views/trials/trials-panel/visit/qc-check/components/dicomFiles.vue
@@ -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(" | ");
},
// 获取勾选项