luowei 1 tahun lalu
induk
melakukan
38ad115a44
1 mengubah file dengan 20 tambahan dan 0 penghapusan
  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"
@@ -604,6 +614,16 @@ export default {
        
       });
     },
+
+    handleExportSecurity() {
+      this.download(
+        "system/dept/exportConstruction",
+        {
+          ...this.queryParams,
+        },
+        `机构信息管理-物防建设达标情况统计_${new Date().getTime()}.xlsx`
+      );
+    },
     /** 转换机构数据结构 */
     // normalizer(node) {
     //   if (node.children && !node.children.length) {