zcy 4 роки тому
батько
коміт
0da28037ac
1 змінених файлів з 13 додано та 8 видалено
  1. 13 8
      src/views/catenary/record/index.vue

+ 13 - 8
src/views/catenary/record/index.vue

@@ -4,13 +4,18 @@
     <div class="table-page-search-wrapper">
       <!-- 操作按钮区域 -->
       <div class="table-operator" style="margin: 5px 0;float: right">
-<!--        <a-button ghost type="danger" icon="download" @click="handleExportXls('角色信息')">导出</a-button>-->
+        <a-button ghost type="danger" icon="download" @click="handleExportXls()">导出</a-button>
+        <!--        <a-button ghost type="danger" icon="download" @click="handleExportXls('角色信息')">导出</a-button>-->
         <a-dropdown v-if="selectedRowKeys.length > 0">
           <a-menu slot="overlay">
-            <a-menu-item key="1" @click="batchDel"><a-icon type="delete" />删除</a-menu-item>
+            <a-menu-item key="1" @click="batchDel">
+              <a-icon type="delete" />
+              删除
+            </a-menu-item>
           </a-menu>
           <a-button style="margin-left: 8px">
-            批量操作 <a-icon type="down" />
+            批量操作
+            <a-icon type="down" />
           </a-button>
         </a-dropdown>
       </div>
@@ -59,7 +64,8 @@
     <!-- table区域-begin -->
     <div>
       <div class="ant-alert ant-alert-info" style="margin: 16px 0;">
-        <i class="anticon anticon-info-circle ant-alert-icon" /> 已选择&nbsp;<a style="font-weight: 600">{{ selectedRowKeys.length }}</a>项&nbsp;&nbsp;
+        <i class="anticon anticon-info-circle ant-alert-icon" /> 已选择&nbsp;<a style="font-weight: 600">{{
+          selectedRowKeys.length }}</a>项&nbsp;&nbsp;
         <a style="margin-left: 24px" @click="onClearSelected">清空</a>
       </div>
       <a-table
@@ -85,20 +91,19 @@ import columns from './indexColumns'
 import { getAction } from '@/api/request'
 
 export default {
-  components: {
-  },
+  components: {},
   mixins: [listMixin],
   data() {
     return {
       // 查询条件
-      queryParam: {},
+      queryParam: { jcebType: 'gjsfx' },
       treeData: [],
       // 表头
       columns: columns(this),
       url: {
         list: '/business/catenary/bus/jceb/view/listByType',
         tree: '/system/dept/treeSelect',
-        exportXlsUrl: '/exportXlsUrl'
+        exportXlsUrl: '/business/catenary/bus/jceb/view/exportExcel'
       }
     }
   },