Ben Lin
2024-07-21 04aac2eda9b5d9473eb96d12b32cb76fb45135c6
src/views/tigerprojects/mes/smt/tool/smt_tool/index.vue
@@ -2,8 +2,10 @@
  <div>
    <BasicTable @register="registerTable">
      <template #toolbar>
        <a-button color="primary" @click="addTool"> 添加 </a-button>
        <a-button ghost color="primary" @click="aoaToExcel"> 导出 </a-button>
        <a-button color="primary" @click="addTool" preIcon="add_02|svg"> 新增 </a-button>
        <a-button ghost color="success" @click="aoaToExcel" preIcon="excel-export|svg">
          导出
        </a-button>
      </template>
      <template #action="{ record }">
        <TableAction
@@ -21,6 +23,7 @@
            {
              icon: 'ant-design:delete-outlined',
              tooltip: '删除',
              color: 'error',
              popConfirm: {
                title: '是否确认删除?',
                placement: 'left',
@@ -75,7 +78,7 @@
    },
    ellipsis: true,
    useSearchForm: true,
    showTableSetting: false,
    showTableSetting: true,
    bordered: true,
    showIndexColumn: false,
  });