稽查文档通用培训记录导出
continuous-integration/drone/push Build is running
Details
continuous-integration/drone/push Build is running
Details
parent
ac8710b26b
commit
1ec4c25472
|
@ -178,6 +178,15 @@ export function pMTrainingRecordList_Export(data) {
|
||||||
data
|
data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
// 导出系统培训记录
|
||||||
|
export function getSysDocumentConfirmList_Export(data) {
|
||||||
|
return requestDownload({
|
||||||
|
url: `/ExcelExport/getSysDocumentConfirmList_Export`,
|
||||||
|
responseType: 'blob',
|
||||||
|
method: 'post',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
// 导出影像指控
|
// 导出影像指控
|
||||||
export function qCVisitList_Export(data) {
|
export function qCVisitList_Export(data) {
|
||||||
return requestDownload({
|
return requestDownload({
|
||||||
|
|
|
@ -41,7 +41,8 @@
|
||||||
<!-- 签署人 -->
|
<!-- 签署人 -->
|
||||||
<el-form-item :label="$t('trials:signRecords:table:user')" v-if="!isDoc">
|
<el-form-item :label="$t('trials:signRecords:table:user')" v-if="!isDoc">
|
||||||
<el-select v-model="searchData.UserId" clearable filterable style="width: 140px">
|
<el-select v-model="searchData.UserId" clearable filterable style="width: 140px">
|
||||||
<el-option v-for="item of userOptions" :key="item.ConfirmUserId" :label="item.FullName" :value="item.ConfirmUserId">
|
<el-option v-for="item of userOptions" :key="item.ConfirmUserId" :label="item.FullName"
|
||||||
|
:value="item.ConfirmUserId">
|
||||||
<span style="float: left">{{ item.RealName || item.FullName }}</span>
|
<span style="float: left">{{ item.RealName || item.FullName }}</span>
|
||||||
<span style="
|
<span style="
|
||||||
float: right;
|
float: right;
|
||||||
|
@ -227,7 +228,7 @@ import {
|
||||||
getSysDocumentConfirmList,
|
getSysDocumentConfirmList,
|
||||||
getSysDocSignUserList
|
getSysDocSignUserList
|
||||||
} from '@/api/trials'
|
} from '@/api/trials'
|
||||||
import { pMTrainingRecordList_Export } from '@/api/export'
|
import { pMTrainingRecordList_Export, getSysDocumentConfirmList_Export } from '@/api/export'
|
||||||
import BaseContainer from '@/components/BaseContainer'
|
import BaseContainer from '@/components/BaseContainer'
|
||||||
import Pagination from '@/components/Pagination'
|
import Pagination from '@/components/Pagination'
|
||||||
import PreviewFile from '@/components/PreviewFile/index'
|
import PreviewFile from '@/components/PreviewFile/index'
|
||||||
|
@ -324,6 +325,15 @@ export default {
|
||||||
},
|
},
|
||||||
handleExport() {
|
handleExport() {
|
||||||
this.exportLoading = true
|
this.exportLoading = true
|
||||||
|
if (this.isSystem) {
|
||||||
|
return getSysDocumentConfirmList_Export(this.searchData)
|
||||||
|
.then(() => {
|
||||||
|
this.exportLoading = false
|
||||||
|
})
|
||||||
|
.catch((err) => {
|
||||||
|
this.exportLoading = false
|
||||||
|
})
|
||||||
|
}
|
||||||
pMTrainingRecordList_Export(this.searchData)
|
pMTrainingRecordList_Export(this.searchData)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
this.exportLoading = false
|
this.exportLoading = false
|
||||||
|
|
Loading…
Reference in New Issue