|
|
@@ -99,6 +99,16 @@
|
|
|
>新增机构</el-button
|
|
|
>
|
|
|
</el-col>
|
|
|
+ <el-col :span="1.5">
|
|
|
+ <el-button
|
|
|
+ type="primary"
|
|
|
+ icon="el-icon-upload2"
|
|
|
+ size="mini"
|
|
|
+ @click="handleExportSecurity"
|
|
|
+ v-hasPermi="['system:dept:exportConstruction']"
|
|
|
+ >导出全省农信系统物防建设达标情况</el-button
|
|
|
+ >
|
|
|
+ </el-col>
|
|
|
<right-toolbar
|
|
|
:showSearch.sync="showSearch"
|
|
|
@queryTable="getList"
|
|
|
@@ -605,6 +615,16 @@ export default {
|
|
|
|
|
|
});
|
|
|
},
|
|
|
+
|
|
|
+ handleExportSecurity() {
|
|
|
+ this.download(
|
|
|
+ "system/dept/exportConstruction",
|
|
|
+ {
|
|
|
+ ...this.queryParams,
|
|
|
+ },
|
|
|
+ `机构信息管理-物防建设达标情况统计_${new Date().getTime()}.xlsx`
|
|
|
+ );
|
|
|
+ },
|
|
|
/** 转换机构数据结构 */
|
|
|
// normalizer(node) {
|
|
|
// if (node.children && !node.children.length) {
|