支出合同新增企业、联系人修改为input
This commit is contained in:
@@ -87,6 +87,7 @@ import { JeroListMixin } from '../../mixins/JeroListMixin'
|
|||||||
import PageHeaderTitle from '../../components/layouts/PageHeaderTitle'
|
import PageHeaderTitle from '../../components/layouts/PageHeaderTitle'
|
||||||
import WorkGroupFileUploadModal from './modules/WorkGroupFileUploadModal'
|
import WorkGroupFileUploadModal from './modules/WorkGroupFileUploadModal'
|
||||||
import WorkGroupDistributeModule from './modules/WorkGroupDistributeModule'
|
import WorkGroupDistributeModule from './modules/WorkGroupDistributeModule'
|
||||||
|
import { downloadFile } from '../../api/manage'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'WorkingGroupProjectDataMaintenance',
|
name: 'WorkingGroupProjectDataMaintenance',
|
||||||
@@ -195,7 +196,18 @@ export default {
|
|||||||
this.dataId = id
|
this.dataId = id
|
||||||
this.distributeModalVisible = true
|
this.distributeModalVisible = true
|
||||||
this.isBatchDistribute = false
|
this.isBatchDistribute = false
|
||||||
}
|
},
|
||||||
|
handleExportXls(fileName) {
|
||||||
|
if (!fileName || typeof fileName != 'string') {
|
||||||
|
fileName = '导出文件'
|
||||||
|
}
|
||||||
|
let param = this.getQueryParams()
|
||||||
|
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
|
||||||
|
param['selections'] = this.selectedRowKeys.join(',')
|
||||||
|
}
|
||||||
|
console.log('导出参数', param)
|
||||||
|
downloadFile(this.url.exportXlsUrl, fileName + '.zip', param)
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user