Lius
6 天以前 bdee6fec40993873c7031e8c983cbc561d079157
src/views/eam/maintenance/EamInspectionOrderList.vue
@@ -40,6 +40,7 @@
    <!-- 操作按钮区域 -->
    <div class="table-operator" v-if="isDisplayOperation">
      <a-button v-has="'eam:inspection:add'" @click="handleAdd" type="primary" icon="plus">新增</a-button>
      <a-button v-if="selectedRowKeys.length == 1" @click="handlePrint" type="primary">查看</a-button>
      <a-dropdown v-if="selectedRowKeys.length > 0">
        <a-menu slot="overlay">
          <a-menu-item key="1" @click="batchZf('ABOLISH')" v-has="'eam:inspection:abolish'">
@@ -71,21 +72,21 @@
               @change="handleTableChange">
        <span slot="action" slot-scope="text, record">
          <template v-if=" record.inspectionStatus === 'WAIT_INSPECTION'">
            <a v-has="'eeam:inspection:edit'" @click="handleEdit(record)">编辑</a>
            <a @click="handleEdit(record)">编辑</a>
          <a-divider v-has="'eeam:inspection:edit'" type="vertical"/>
          <a-divider type="vertical"/>
          <a-popconfirm v-has="'eam:inspection:collect'" title="确定领取吗?" @confirm="() => handleInspection(record.id)">
          <a-popconfirm title="确定领取吗?" @confirm="() => handleInspection(record.id)">
            <a>领取</a>
          </a-popconfirm>
          <a-divider v-has="'eam:inspection:collect'" type="vertical"/>
          <a-divider type="vertical"/>
          <a-dropdown>
            <a class="ant-dropdown-link">更多 <a-icon type="down"/></a>
            <a-menu slot="overlay">
              <a-menu-item>
                <a-popconfirm v-has="'eam:inspection:abolish'" title="确定作废吗?" @confirm="() => handleAbolish(record.id)">
                <a-popconfirm title="确定作废吗?" @confirm="() => handleAbolish(record.id)">
                  <a>作废</a>
                </a-popconfirm>
              </a-menu-item>