Browse Source

Merge branch 'V0.0.4' of http://10.87.21.221:8000/jzyd_yyds/soc_web into V0.0.4

jiawuxian 1 year ago
parent
commit
c1b91f7e93
1 changed files with 20 additions and 0 deletions
  1. 20 0
      src/views/system/dept/index.vue

+ 20 - 0
src/views/system/dept/index.vue

@@ -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) {