数据同步列表更改
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,
|
Asc: true,
|
||||||
SortField: 'StudyCode'
|
SortField: 'StudyCode'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
export default {
|
export default {
|
||||||
components: { BaseContainer, Pagination, FileList, TaskList },
|
components: { BaseContainer, Pagination, FileList, TaskList },
|
||||||
|
props: {
|
||||||
|
dataFileType: {
|
||||||
|
type: Number,
|
||||||
|
required: true
|
||||||
|
}
|
||||||
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
trialId: '',
|
trialId: '',
|
||||||
|
|
@ -220,6 +226,7 @@ export default {
|
||||||
try {
|
try {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
this.searchData.TrialId = this.trialId
|
this.searchData.TrialId = this.trialId
|
||||||
|
this.searchData.DataFileType = this.dataFileType
|
||||||
let res = await getSubjectUploadRecordList(this.searchData)
|
let res = await getSubjectUploadRecordList(this.searchData)
|
||||||
this.loading = false
|
this.loading = false
|
||||||
this.list = res.Result.CurrentPageData
|
this.list = res.Result.CurrentPageData
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,11 @@
|
||||||
<template>
|
<template>
|
||||||
<el-tabs class="data-sync-tabs" type="border-card" tab-position="left" v-model="activeTab" >
|
<el-tabs class="data-sync-tabs" type="border-card" tab-position="left" v-model="activeTab" >
|
||||||
<el-tab-pane label="检查列表" name="study">
|
<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>
|
||||||
<el-tab-pane label="其他" name="other">其他</el-tab-pane>
|
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue