所有已归档不再支持修改,也不能删除

main
cyl 1 year ago
parent 72ec737b1a
commit 587ee1405b

@ -170,10 +170,11 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
label="操作" label="操作"
align="center" align="center"
class-name="small-padding fixed-width" class-name="small-padding fixed-width"
fixed="right" fixed="right"
width="200px"
> >
<template v-slot="scope"> <template v-slot="scope">
<el-button <el-button
@ -199,6 +200,7 @@
>下载</el-button >下载</el-button
> >
<el-button <el-button
v-if="scope.row.fileStatus == '0'"
size="mini" size="mini"
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
@ -207,6 +209,7 @@
>修改</el-button >修改</el-button
> >
<el-button <el-button
v-if="scope.row.fileStatus == '0'"
size="mini" size="mini"
type="text" type="text"
icon="el-icon-delete" icon="el-icon-delete"

@ -168,6 +168,7 @@
>查看 >查看
</el-button> </el-button>
<el-button <el-button
v-if="scope.row.fileStatus == '0'"
size="mini" size="mini"
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
@ -176,6 +177,7 @@
>修改</el-button >修改</el-button
> >
<el-button <el-button
v-if="scope.row.fileStatus == '0'"
size="mini" size="mini"
type="text" type="text"
icon="el-icon-delete" icon="el-icon-delete"

@ -174,6 +174,7 @@
>查看 >查看
</el-button> </el-button>
<el-button <el-button
v-if="scope.row.fileStatus == '0'"
size="mini" size="mini"
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
@ -182,6 +183,7 @@
>修改</el-button >修改</el-button
> >
<el-button <el-button
v-if="scope.row.fileStatus == '0'"
size="mini" size="mini"
type="text" type="text"
icon="el-icon-delete" icon="el-icon-delete"

@ -169,6 +169,7 @@
>查看 >查看
</el-button> </el-button>
<el-button <el-button
v-if="scope.row.fileStatus == '0'"
size="mini" size="mini"
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
@ -177,6 +178,7 @@
>修改</el-button >修改</el-button
> >
<el-button <el-button
v-if="scope.row.fileStatus == '0'"
size="mini" size="mini"
type="text" type="text"
icon="el-icon-delete" icon="el-icon-delete"

@ -134,9 +134,9 @@
</el-button> </el-button>
<el-button size="mini" type="text" icon="el-icon-view" @click="handleView(scope.row)"> <el-button size="mini" type="text" icon="el-icon-view" @click="handleView(scope.row)">
</el-button> </el-button>
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" <el-button v-if="scope.row.fileStatus == '0'" size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
v-hasPermi="['ea:electronic:update']">修改</el-button> v-hasPermi="['ea:electronic:update']">修改</el-button>
<el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" <el-button v-if="scope.row.fileStatus == '0'" size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
v-hasPermi="['ea:electronic:delete']">删除</el-button> v-hasPermi="['ea:electronic:delete']">删除</el-button>
</template> </template>
</el-table-column> </el-table-column>

@ -165,6 +165,7 @@
> >
<template v-slot="scope"> <template v-slot="scope">
<el-button <el-button
v-if="scope.row.fileStatus == '0'"
size="mini" size="mini"
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
@ -173,6 +174,7 @@
>修改 >修改
</el-button> </el-button>
<el-button <el-button
v-if="scope.row.fileStatus == '0'"
size="mini" size="mini"
type="text" type="text"
icon="el-icon-delete" icon="el-icon-delete"

@ -286,6 +286,7 @@
>查看 >查看
</el-button> </el-button>
<el-button <el-button
v-if="scope.row.fileStatus == '0'"
size="mini" size="mini"
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
@ -294,6 +295,7 @@
>修改 >修改
</el-button> </el-button>
<el-button <el-button
v-if="scope.row.fileStatus == '0'"
size="mini" size="mini"
type="text" type="text"
icon="el-icon-delete" icon="el-icon-delete"

@ -311,6 +311,7 @@
>查看 >查看
</el-button> </el-button>
<el-button <el-button
v-if="scope.row.fileStatus == '0'"
size="mini" size="mini"
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
@ -319,6 +320,7 @@
>修改 >修改
</el-button> </el-button>
<el-button <el-button
v-if="scope.row.fileStatus == '0'"
size="mini" size="mini"
type="text" type="text"
icon="el-icon-delete" icon="el-icon-delete"

@ -290,6 +290,7 @@
>查看 >查看
</el-button> </el-button>
<el-button <el-button
v-if="scope.row.fileStatus == '0'"
size="mini" size="mini"
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
@ -298,6 +299,7 @@
>修改 >修改
</el-button> </el-button>
<el-button <el-button
v-if="scope.row.fileStatus == '0'"
size="mini" size="mini"
type="text" type="text"
icon="el-icon-delete" icon="el-icon-delete"

@ -217,6 +217,7 @@
>查看 >查看
</el-button> </el-button>
<el-button <el-button
v-if="scope.row.fileStatus == '0'"
size="mini" size="mini"
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
@ -225,6 +226,7 @@
>修改 >修改
</el-button> </el-button>
<el-button <el-button
v-if="scope.row.fileStatus == '0'"
size="mini" size="mini"
type="text" type="text"
icon="el-icon-delete" icon="el-icon-delete"

@ -145,6 +145,7 @@
>查看 >查看
</el-button> </el-button>
<el-button <el-button
v-if="scope.row.fileStatus == '0'"
size="mini" size="mini"
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
@ -153,6 +154,7 @@
>修改 >修改
</el-button> </el-button>
<el-button <el-button
v-if="scope.row.fileStatus == '0'"
size="mini" size="mini"
type="text" type="text"
icon="el-icon-delete" icon="el-icon-delete"

Loading…
Cancel
Save