zhouwx
2025-11-14 ec9f12898d3fa6c57485c9f43af15203bb867639
src/views/work/sealManagement/apply/index.vue
@@ -47,16 +47,15 @@
      </el-table-column>
      <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="160" >
        <template #default="scope">
          <div v-if="data.tabName === 'apply'">
          <div v-if="data.tabName === 'apply' || data.tabName === 'all'">
            <el-button link type="primary"  @click="openDialog('review',scope.row)">查看</el-button>
            <el-button link type="primary"  @click="openDialog('edit',scope.row)" v-hasPermi="['sealApply:list:edit']">编辑</el-button>
            <el-button link type="primary" v-if="scope.row.status == 1" @click="openDialog('edit',scope.row)" v-hasPermi="['sealApply:list:edit']">编辑</el-button>
            <el-button link type="danger"  @click="handleDelete(scope.row)" v-hasPermi="['sealApply:list:del']">删除</el-button>
          </div>
          <div v-else>
          <div v-if="data.tabName === 'approval'">
            <el-button link type="primary"  @click="openDialog('review',scope.row)">查看</el-button>
            <el-button link type="primary"  @click="openApplyDialog(scope.row)" v-hasPermi="['sealApply:list:apply']">审批</el-button>
          </div>
        </template>
      </el-table-column>
    </el-table>