diff --git a/src/api/export.js b/src/api/export.js
index 777ae1ab..12ccf939 100644
--- a/src/api/export.js
+++ b/src/api/export.js
@@ -325,3 +325,21 @@ export function getTrialSiteSurveyList_Export(data) {
data
})
}
+// 导出中心设备
+export function getSiteSurveyEquipmentList_Export(data) {
+ return requestDownload({
+ url: `/ExcelExport/getSiteSurveyEquipmentList_Export`,
+ responseType: 'blob',
+ method: 'post',
+ data
+ })
+}
+// 导出中心调研基本信息
+export function getSiteSurveyInfoList_Export(data) {
+ return requestDownload({
+ url: `/ExcelExport/getSiteSurveyInfoList_Export`,
+ responseType: 'blob',
+ method: 'post',
+ data
+ })
+}
diff --git a/src/views/trials/trials-panel/attachments/site-research/components/Equipments.vue b/src/views/trials/trials-panel/attachments/site-research/components/Equipments.vue
index c0006718..3300eb19 100644
--- a/src/views/trials/trials-panel/attachments/site-research/components/Equipments.vue
+++ b/src/views/trials/trials-panel/attachments/site-research/components/Equipments.vue
@@ -6,18 +6,28 @@
-
+
+
+
+
+
+
+
+
+
@@ -32,11 +42,7 @@
-
+
{{ $t('common:button:export') }}
@@ -44,150 +50,162 @@
-
+
-
+
-
+
-
-
+
+
- {{ scope.row.OtherEquipmentType ? scope.row.OtherEquipmentType :
- $fd('SiteSurvey_ScanEquipmentType', scope.row.EquipmentTypeEnum) }}
+ {{
+ $fd('ResearchRecord', scope.row.State)
+ }}
+ {{
+ $fd('ResearchRecord', scope.row.State)
+ }}
+ {{
+ $fd('ResearchRecord', scope.row.State)
+ }}
+ {{
+ $fd('ResearchRecord', scope.row.State)
+ }}
-
-
-
-
+
+
-
-
-
-
- {{ $fd('MagneticFieldStrengthType', scope.row.MagneticFieldStrengthType) }}
-
-
-
-
-
- {{ $fd('BodyCoilChannelCount', scope.row.BodyCoilChannelCount) }}
-
-
-
-
-
- {{ $fd('YesOrNo', scope.row.HasDedicatedPdfFatQuantificationSequence) }}
-
-
-
-
-
- {{ scope.row.OtherSequenceSpecification ? scope.row.OtherSequenceSpecification :
- $fd('PdfFatQuantificationSequenceType', scope.row.PdfFatQuantificationSequenceType) }}
-
-
-
-
-
- {{ $fd('YesOrNo', scope.row.HasT2R2Correction) }}
-
-
-
-
-
- {{ $fd('YesOrNo', scope.row.CanFullyExportPdfParameterMapsAndRawDicom) }}
-
-
-
-
+ -->
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.OtherEquipmentType ? scope.row.OtherEquipmentType :
+ $fd('SiteSurvey_ScanEquipmentType', scope.row.EquipmentTypeEnum) }}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.ManufacturerName ? scope.row.ManufacturerName : $fd('ManufacturerType',
+ scope.row.ManufacturerType) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $fd('MagneticFieldStrengthType', scope.row.MagneticFieldStrengthType) }}
+
+
+
+
+
+
+
+
+ {{ $fd('BodyCoilChannelCount', scope.row.BodyCoilChannelCount) }}
+
+
+
+
+
+
+
+
+ {{ $fd('YesOrNo', scope.row.HasDedicatedPdfFatQuantificationSequence) }}
+
+
+
+
+
+
+
+
+ {{ scope.row.OtherSequenceSpecification ? scope.row.OtherSequenceSpecification :
+ $fd('PdfFatQuantificationSequenceType', scope.row.PdfFatQuantificationSequenceType) }}
+
+
+
+
+
+
+
+
+ {{ $fd('YesOrNo', scope.row.HasT2R2Correction) }}
+
+
+
+
+
+
+
+
+ {{ $fd('YesOrNo', scope.row.CanFullyExportPdfParameterMapsAndRawDicom) }}
+
+
+
+
+
+
+
+
+
-
+
@@ -196,9 +214,11 @@ import { getTrialSiteSelect } from '@/api/trials'
import { getSiteSurveyEquipmentList } from '@/api/research'
import BaseContainer from '@/components/BaseContainer'
import Pagination from '@/components/Pagination'
+import { getSiteSurveyEquipmentList_Export } from '@/api/export'
const searchDataDefault = () => {
return {
SortField: '',
+ State: "",
Asc: true,
PageIndex: 1,
PageSize: 20,
@@ -228,6 +248,9 @@ export default {
this.getSite()
},
methods: {
+ async handleExport() {
+ await getSiteSurveyEquipmentList_Export(this.searchData)
+ },
async getList() {
try {
this.loading = true
@@ -242,20 +265,10 @@ export default {
EquipmentControlFieldList.forEach(item => {
this.equipmentControlFieldList.push(item.FiledName)
})
+ this.$nextTick(() => {
+ this.$refs.equipmentsList.doLayout()
+ })
}
- } catch(e) {
- console.log(e)
- } finally {
- this.loading = false
- }
- },
- // 导出
- async handleExport() {
- try {
- this.searchData.TrialId = this.trialId
- this.loading = true
- const { SortField, Asc, PageIndex, PageSize, ...param } = { ...this.searchData }
- await trialSiteUserSummaryListExport({ ...param })
} catch (e) {
console.log(e)
} finally {
diff --git a/src/views/trials/trials-panel/attachments/site-research/components/Questions.vue b/src/views/trials/trials-panel/attachments/site-research/components/Questions.vue
index 742a23ee..35db4ecd 100644
--- a/src/views/trials/trials-panel/attachments/site-research/components/Questions.vue
+++ b/src/views/trials/trials-panel/attachments/site-research/components/Questions.vue
@@ -14,6 +14,20 @@
+
+
+
+
+
+
+
+
@@ -28,7 +42,7 @@
-
+
{{ $t('common:button:export') }}
@@ -36,8 +50,8 @@
-
+
@@ -87,6 +101,36 @@
+
+
+
+ {{
+ $fd('ResearchRecord', scope.row.State)
+ }}
+ {{
+ $fd('ResearchRecord', scope.row.State)
+ }}
+ {{
+ $fd('ResearchRecord', scope.row.State)
+ }}
+ {{
+ $fd('ResearchRecord', scope.row.State)
+ }}
+
+
+
+
@@ -97,7 +141,7 @@
+ :label="$t('trials:researchForm:form:SiteSurveyFile')" show-overflow-tooltip min-width="100">
@@ -105,78 +149,100 @@
-
-
-
-
-
-
- {{ $fd('YesOrNo', scope.row.IsRoutineMRIPDEE) }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ $t('trials:researchForm:form:IsAuthorizeRadiologistsParticipate') }}
-
-
- {{ $t('trials:researchForm:form:AssignFixedTechnologists') }}
-
-
-
-
-
-
- {{ $fd('YesOrNo', scope.row.IsConfirmImagingTechnologist) }}
-
-
-
-
-
-
-
-
-
- {{ $fd('YesOrNo', scope.row.IsFollowStudyParameters) }}
-
-
-
-
-
-
-
- {{ $fd('YesOrNo', scope.row.ISStrictManualBurnFlag) }}
-
-
-
-
+
+
+
+
+
+
+
+
+ {{ $fd('YesOrNo', scope.row.IsRoutineMRIPDEE) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('trials:researchForm:form:IsAuthorizeRadiologistsParticipate') }}
+
+
+ {{ $t('trials:researchForm:form:AssignFixedTechnologists') }}
+
+
+
+
+
+
+
+
+ {{ $fd('YesOrNo', scope.row.IsConfirmImagingTechnologist) }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ $fd('EfficacyEvaluatorType', scope.row.EfficacyEvaluatorType) }}
+
+
+
+
+
+
+
+ {{ $fd('YesOrNo', scope.row.IsFollowStudyParameters) }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ $fd('YesOrNo', scope.row.ISStrictManualBurnFlag) }}
+
+
+
+
+
+
+
@@ -190,10 +256,12 @@ import { getTrialSiteSelect } from '@/api/trials'
import { getSiteSurveyInfoList } from '@/api/research'
import BaseContainer from '@/components/BaseContainer'
import Pagination from '@/components/Pagination'
+import { getSiteSurveyInfoList_Export } from '@/api/export'
const searchDataDefault = () => {
return {
SortField: '',
Asc: true,
+ State: "",
PageIndex: 1,
PageSize: 20,
TrialId: '',
@@ -222,6 +290,9 @@ export default {
this.getSite()
},
methods: {
+ async handleExport() {
+ await getSiteSurveyInfoList_Export(this.searchData)
+ },
async getList() {
try {
this.loading = true
@@ -232,6 +303,9 @@ export default {
this.total = res.Result.TotalCount
this.otherInfo = res.OtherInfo
this.notShowFieldList = res.OtherInfo.NotShowFieldList
+ this.$nextTick(() => {
+ this.$refs.questionsList.doLayout()
+ })
}
} catch (e) {
console.log(e)
@@ -239,19 +313,6 @@ export default {
this.loading = false
}
},
- // 导出
- async handleExport() {
- try {
- this.searchData.TrialId = this.trialId
- this.loading = true
- const { SortField, Asc, PageIndex, PageSize, ...param } = { ...this.searchData }
- await trialSiteUserSummaryListExport({ ...param })
- } catch (e) {
- console.log(e)
- } finally {
- this.loading = false
- }
- },
// 获取site下拉框数据
async getSite() {
try {
diff --git a/src/views/trials/trials-panel/attachments/site-research/components/users.vue b/src/views/trials/trials-panel/attachments/site-research/components/users.vue
index 4a5f130c..0b837a38 100644
--- a/src/views/trials/trials-panel/attachments/site-research/components/users.vue
+++ b/src/views/trials/trials-panel/attachments/site-research/components/users.vue
@@ -6,31 +6,33 @@
-
+
+
+
+
+
+
+
+
+
-
-
+
+
@@ -39,42 +41,19 @@
-
-
+
+
-
-
+
+
{{ item.UserType }}
-
-
@@ -89,25 +68,15 @@
-
+
{{ $t('trials:researchRecord:dialogButton:sendEmail') }}
-
+
{{ $t('common:button:export') }}
@@ -116,96 +85,74 @@
-
-
+
+
-
+
{{ `${scope.row.TrialSiteSurvey.TrialSiteCode}` }}
-
+
{{ `${scope.row.TrialSiteSurvey.SiteName}` }}
+
+
+
+ {{
+ $fd('ResearchRecord', scope.row.State)
+ }}
+ {{
+ $fd('ResearchRecord', scope.row.State)
+ }}
+ {{
+ $fd('ResearchRecord', scope.row.State)
+ }}
+ {{
+ $fd('ResearchRecord', scope.row.State)
+ }}
+
+
+
+
-
+
{{ `${scope.row.LastName} / ${scope.row.FirstName}` }}
-
+
- {{ $fd('SiteSurvey_UserRoles',scope.row.TrialRoleCode) }}
+ {{ $fd('SiteSurvey_UserRoles', scope.row.TrialRoleCode) }}
-
+
-
+
-
+
-
+
{{ $fd('YesOrNo', scope.row.IsGenerateAccount) }}
@@ -223,21 +170,11 @@
-
+
-
+
{{ $fd('IsJoin', scope.row.IsJoin) }}
{{ $fd('IsJoin', scope.row.IsJoin) }}
@@ -246,7 +183,8 @@
-
+
diff --git a/src/views/trials/trials-panel/attachments/site-research/index.vue b/src/views/trials/trials-panel/attachments/site-research/index.vue
index eec6635c..7bf7c1b6 100644
--- a/src/views/trials/trials-panel/attachments/site-research/index.vue
+++ b/src/views/trials/trials-panel/attachments/site-research/index.vue
@@ -57,7 +57,11 @@ export default {
},
computed: {
isAudit() {
- return (this.hasPermi(['role:spm', 'role:cpm', 'role:apm']) && this.activeStatus === 1) || (this.hasPermi(['role:pm']) && this.activeStatus === 2)
+ if (this.isSPMJoin) {
+ return (this.hasPermi(['role:spm', 'role:cpm', 'role:apm']) && this.activeStatus === 1) || (this.hasPermi(['role:pm']) && this.activeStatus === 2)
+ } else {
+ return this.hasPermi(['role:pm']) && this.activeStatus === 1
+ }
}
},
mounted() {