|
|
@@ -138,6 +138,15 @@
|
|
|
>导出机构补充信息</el-button
|
|
|
>
|
|
|
</el-col>
|
|
|
+ <el-col :span="1.5">
|
|
|
+ <el-button
|
|
|
+ type="primary"
|
|
|
+ icon="el-icon-upload2"
|
|
|
+ size="mini"
|
|
|
+ @click="handleExportOrgDefenseDetail"
|
|
|
+ >导出安全防范设施建设达标信息</el-button
|
|
|
+ >
|
|
|
+ </el-col>
|
|
|
<right-toolbar
|
|
|
:showSearch.sync="showSearch"
|
|
|
@queryTable="getList"
|
|
|
@@ -711,7 +720,6 @@ this.isEdit=response.isEdit;
|
|
|
);
|
|
|
},
|
|
|
handleExportOrgExtend(){
|
|
|
- console.log("111")
|
|
|
if (this.queryParams.type && !(this.queryParams.type === "4" || this.queryParams.type === "5" || this.queryParams.type === "6" || this.queryParams.type === "10")){
|
|
|
this.$modal.msgError("该机构类型暂不支持导出补充信息,请重新选择机构类型");
|
|
|
return;
|
|
|
@@ -724,6 +732,19 @@ this.isEdit=response.isEdit;
|
|
|
`机构补充信息_${new Date().getTime()}.xlsx`
|
|
|
);
|
|
|
},
|
|
|
+ handleExportOrgDefenseDetail(){
|
|
|
+ if (this.queryParams.type && !(this.queryParams.type === "4" || this.queryParams.type === "5" || this.queryParams.type === "6" || this.queryParams.type === "10")){
|
|
|
+ this.$modal.msgError("该机构类型暂不支持导出安全防范设施建设达标信息,请重新选择机构类型");
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ this.download(
|
|
|
+ "system/dept/exportDefenseDetailExtend",
|
|
|
+ {
|
|
|
+ ...this.queryParams,
|
|
|
+ },
|
|
|
+ `安全防范设施建设达标信息_${new Date().getTime()}.xlsx`
|
|
|
+ );
|
|
|
+ },
|
|
|
/** 转换机构数据结构 */
|
|
|
// normalizer(node) {
|
|
|
// if (node.children && !node.children.length) {
|