数据同步列表更改
continuous-integration/drone/push Build is passing Details

uat_us
caiyiling 2026-04-21 11:14:00 +08:00
parent b4c06990f6
commit ca2e9e0253
2 changed files with 12 additions and 3 deletions

View File

@ -177,9 +177,15 @@ const searchDataDefault = () => {
Asc: true,
SortField: 'StudyCode'
}
}
}
export default {
components: { BaseContainer, Pagination, FileList, TaskList },
props: {
dataFileType: {
type: Number,
required: true
}
},
data() {
return {
trialId: '',
@ -220,6 +226,7 @@ export default {
try {
this.loading = true
this.searchData.TrialId = this.trialId
this.searchData.DataFileType = this.dataFileType
let res = await getSubjectUploadRecordList(this.searchData)
this.loading = false
this.list = res.Result.CurrentPageData

View File

@ -1,9 +1,11 @@
<template>
<el-tabs class="data-sync-tabs" type="border-card" tab-position="left" v-model="activeTab" >
<el-tab-pane label="检查列表" name="study">
<StudyList />
<StudyList v-if="activeTab === 'study'" :dataFileType="1"/>
</el-tab-pane>
<el-tab-pane label="其他" name="other">
<StudyList v-if="activeTab === 'other'" :dataFileType="2"/>
</el-tab-pane>
<el-tab-pane label="其他" name="other">其他</el-tab-pane>
</el-tabs>
</template>
<script>