影像指控添加导出质控问题功能
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
91078abd15
commit
6c71803a11
|
@ -203,6 +203,15 @@ export function qCVisitList_Export(data) {
|
|||
data
|
||||
})
|
||||
}
|
||||
// 导出影像指控问题和答案
|
||||
export function GetTrialQCQuestionAnserList_Export(data) {
|
||||
return requestDownload({
|
||||
url: `/ExcelExport/GetTrialQCQuestionAnserList_Export`,
|
||||
responseType: 'blob',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 导出下载记录
|
||||
export function getTrialDownloadList_Export(data) {
|
||||
return requestDownload({
|
||||
|
|
|
@ -82,6 +82,10 @@
|
|||
<el-button type="primary" icon="el-icon-download" :loading="exportLoading" @click="handleExport">
|
||||
{{ $t('common:button:export') }}
|
||||
</el-button>
|
||||
<!-- 导出质控问题和答案 -->
|
||||
<el-button type="primary" :loading="exportLoading" @click="handleExportQuestion">
|
||||
{{ $t('trials:qcCheck:button:exportQuestion') }}
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</template>
|
||||
|
@ -622,7 +626,7 @@ import {
|
|||
isQCCanOpt,
|
||||
getNextQCInfo,
|
||||
} from '@/api/trials'
|
||||
import { qCVisitList_Export } from '@/api/export'
|
||||
import { qCVisitList_Export, GetTrialQCQuestionAnserList_Export } from '@/api/export'
|
||||
import BaseContainer from '@/components/BaseContainer'
|
||||
import QualityAssurance from './components/qualityAssurance'
|
||||
import Manuals from './components/manuals'
|
||||
|
@ -749,6 +753,19 @@ export default {
|
|||
console.log(err)
|
||||
}
|
||||
},
|
||||
handleExportQuestion() {
|
||||
this.exportLoading = true
|
||||
let data = {
|
||||
TrialId: this.$route.query.trialId
|
||||
}
|
||||
GetTrialQCQuestionAnserList_Export(data)
|
||||
.then(() => {
|
||||
this.exportLoading = false
|
||||
})
|
||||
.catch((err) => {
|
||||
this.exportLoading = false
|
||||
})
|
||||
},
|
||||
handleExport() {
|
||||
this.exportLoading = true
|
||||
qCVisitList_Export(this.searchData)
|
||||
|
|
Loading…
Reference in New Issue