项目列表添加权限管理

This commit is contained in:
limengnan 2026-04-07 09:54:29 +08:00
parent 144a4d5866
commit d0de412782

View File

@ -326,14 +326,22 @@ function handleError(file: any){
<el-table-column prop="code" label="项目编号" width="100"></el-table-column>
<el-table-column prop="name" label="项目名称" width="180"></el-table-column>
<el-table-column prop="description" label="项目描述" min-width="100"></el-table-column>
<el-table-column prop="visibility" label="权限管理" width="90" align="center">
<template #default="scope">
<span v-if="scope.row.visibility == 'PRIVATE'" label="PRIVATE">私有</span>
<span v-else-if="scope.row.visibility == 'PUBLIC'" label="PUBLIC">公开</span>
<span v-else >只读</span>
</template>
</el-table-column>
<el-table-column prop="creator" label="创建人" width="120"></el-table-column>
<el-table-column prop="createdAt" label="创建时间" width="200">
<el-table-column prop="createdAt" label="创建时间" width="180">
<template #default="scope">
{{ dateFormat(scope.row.createdAt) }}
</template>
</el-table-column>
<el-table-column prop="modifier" label="修改人" width="120"></el-table-column>
<el-table-column prop="updatedAt" label="修改时间" width="200">
<el-table-column prop="updatedAt" label="修改时间" width="180">
<template #default="scope">
{{ dateFormat(scope.row.updatedAt) }}
</template>