“linengliang”
2023-09-05 7572538ccdfc16d50f829f5ecd2d8c1a42fd7ef1
src/views/eam/modules/equipmentNew/EquipmentDocumentList.vue
@@ -24,6 +24,7 @@
        @click="handleAdd"
        type="primary"
        icon="plus"
        v-has="'accountSons:add&edit&delete&submit'"
      >新增</a-button>
      <!-- <a-button type="primary" icon="download" @click="handleExportXls('设备文档')">导出</a-button>
      <a-upload
@@ -35,7 +36,7 @@
        @change="handleImportExcel">
          <a-button type="primary" icon="import">导入</a-button>
      </a-upload> -->
      <a-dropdown v-if="selectedRowKeys.length > 0">
      <a-dropdown v-if="selectedRowKeys.length > 0" v-has="'accountSons:add&edit&delete&submit'">
        <a-menu slot="overlay">
          <a-menu-item
            key="1"
@@ -85,7 +86,7 @@
          slot="action"
          slot-scope="text, record"
        >
          <a @click="handleEdit(record)">编辑</a>
          <a @click="handleEdit(record)" v-has="'accountSons:add&edit&delete&submit'">编辑</a>
          <a-divider type="vertical" />
@@ -125,6 +126,7 @@
          <a-popconfirm
            title="确定删除吗?"
            @confirm="() => handleDelete(record.id)"
            v-has="'accountSons:add&edit&delete&submit'"
          >
            <a>删除</a>
          </a-popconfirm>