内外部会议导入导出
This commit is contained in:
@@ -258,12 +258,10 @@ export default {
|
|||||||
this.$refs.exportDialogRef.openModel()
|
this.$refs.exportDialogRef.openModel()
|
||||||
},
|
},
|
||||||
handleExport (exportName) {
|
handleExport (exportName) {
|
||||||
alert('导出' + exportName)
|
|
||||||
const params = {
|
const params = {
|
||||||
...this.form,
|
...this.searchForm,
|
||||||
exportName: exportName,
|
exportName: exportName,
|
||||||
userId: this.$store.getters.userInfo.userId,
|
exportIds: this.selectedList.join(',')
|
||||||
exportIds: this.ids.join(',')
|
|
||||||
}
|
}
|
||||||
let query = '?'
|
let query = '?'
|
||||||
for(let i in params){
|
for(let i in params){
|
||||||
@@ -272,23 +270,18 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
query = query.slice(0,-1)
|
query = query.slice(0,-1)
|
||||||
window.open('/api/esRevisePlan/es-revise-plan/exportEsRevisePlanInfoExcel' + query)
|
window.open('/api/lawss/insideOutsideMeeting/exportMeetingInfo' + query)
|
||||||
this.$refs.exportDialogRef.cancel()
|
this.$refs.exportDialogRef.cancel()
|
||||||
this.$message({
|
this.$message.success('导出信息成功')
|
||||||
message: '导出信息成功',
|
|
||||||
type: 'success'
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
// 导入
|
// 导入
|
||||||
addImportModal() {
|
addImportModal() {
|
||||||
alert('导入')
|
|
||||||
this.importModalShowFlag = true
|
this.importModalShowFlag = true
|
||||||
this.importExcelUrl = '/api/lawss/sarBussionessStand/importSarBussionessStandFile?'+ 'userId=' + this.$store.getters.userInfo.userId
|
this.importExcelUrl = '/api/lawss/insideOutsideMeeting/importMeetingInfo'
|
||||||
},
|
},
|
||||||
// 模板下载
|
// 模板下载
|
||||||
handleMoudel(){
|
handleMoudel(){
|
||||||
alert('模板下载')
|
window.open('/api/lawss/insideOutsideMeeting/exportTemplateFile?fileName=内外部会议导入模板')
|
||||||
window.open('/api/lawss/sarBussionessStand/exportTemplateFile?fileName=企业标准导入模板')
|
|
||||||
},
|
},
|
||||||
// 新增编辑
|
// 新增编辑
|
||||||
openDrawer (type, row) {
|
openDrawer (type, row) {
|
||||||
|
|||||||
Reference in New Issue
Block a user