祖安之光
2025-10-22 0c66602c5c9ba5d579f949217221c04acbd0be17
src/views/work/knowledgePlatform/internalKnowledge/index.vue
@@ -64,7 +64,7 @@
      <el-table-column label="上传日期" prop="updateTime" align="center" />
      <el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
        <template #default="scope">
          <el-button link type="primary" :disabled="!scope.row.filePath || scope.row.filePath == ''" @click="downloadFile(scope.row)">下载</el-button>
          <el-button link type="primary" :disabled="!scope.row.filePath || scope.row.filePath == ''" @click="downloadFile(scope.row)" v-hasPermi="['internalKnowledge:edit']">下载</el-button>
          <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['internalKnowledge:edit']">编辑</el-button>
          <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['internalKnowledge:del']">删除</el-button>
        </template>