相关人员名单模板下载

This commit is contained in:
qq787203167
2022-04-22 10:37:21 +08:00
parent 0e21c294a2
commit edd0c04251
@@ -18,7 +18,8 @@
{{$t('export')}}
</div>
<div class="operator-text">
<ImportFile :url="url" :projectId="$route.query.id" :isTrue="true" :accept="'.xls'" @getList="getPersonnelList"/>
<ImportFile :url="url" :projectId="$route.query.id" :isTrue="true" :accept="'.xls'"
@getList="getPersonnelList"/>
</div>
</div>
<a-table
@@ -246,7 +247,7 @@
page: '/project/projectRelatedPersonnel/page',
edit: '/project/projectRelatedPersonnel/edit',
exportData: '/project/projectRelatedPersonnel/exportXls',
importZipUrl:'/project/projectRelatedPersonnel/importExcel',
importZipUrl: '/project/projectRelatedPersonnel/importExcel'
},
selectedRowKeys: []
}
@@ -271,8 +272,8 @@
this.visible = true
this.getList()
},
getPersonnelList(){
this.getList()
getPersonnelList() {
this.getList()
},
editOk() {
this.$refs.ruleForm.validate(valid => {
@@ -341,7 +342,7 @@
this.selectedRowKeys = []
},
handleModule() {
downloadFile('project/projectRelatedPersonnel/exportTemplate', this.$t('ListOfRelevantPersonnel') + '.xls', {})
}
}
}