干燥机配套车间生产管理系统/云平台前端
baoshiwei
2023-05-24 beca65f4d01ca07c358102a35b949c2a4f277afe
src/views/dry/DryHerbTypeList.vue
@@ -1,8 +1,13 @@
<template>
  <div>
    <!--引用表格-->
    <BasicTable @register="registerTable" :rowSelection="rowSelection" :expandedRowKeys="expandedRowKeys"
      @expand="handleExpand" @fetch-success="onFetchSuccess">
      <BasicTable
         @register="registerTable"
         :rowSelection="rowSelection"
         :expandedRowKeys="expandedRowKeys"
         @expand="handleExpand"
         @fetch-success="onFetchSuccess"
      >
      <!--插槽:table标题-->
      <template #tableTitle>
        <a-button type="primary" @click="handleCreate" preIcon="ant-design:plus-outlined"> 新增</a-button>
@@ -18,7 +23,8 @@
              </a-menu-item>
            </a-menu>
          </template>
          <a-button>批量操作
               <a-button
                  >批量操作
            <Icon icon="ant-design:down-outlined" />
          </a-button>
        </a-dropdown>
@@ -37,8 +43,7 @@
      </template>
      <template #fileSlot="{ text }">
        <span v-if="!text" style="font-size: 12px; font-style: italic">无文件</span>
        <a-button v-else :ghost="true" type="primary" preIcon="ant-design:download-outlined" size="small"
          @click="downloadFile(text)">下载</a-button>
            <a-button v-else :ghost="true" type="primary" preIcon="ant-design:download-outlined" size="small" @click="downloadFile(text)">下载</a-button>
      </template>
    </BasicTable>
    <!--字典弹窗-->