数据同步列表更改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
b4c06990f6
commit
ca2e9e0253
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue