bug
This commit is contained in:
parent
7608ca3ea4
commit
a168f7a0e4
@ -84,28 +84,31 @@
|
|||||||
<el-table-column label="操作时间" align="center" prop="updateTime" width="180px" />
|
<el-table-column label="操作时间" align="center" prop="updateTime" width="180px" />
|
||||||
<el-table-column label="操作" align="center" width="150px" fixed="right" class-name="small-padding fixed-width">
|
<el-table-column label="操作" align="center" width="150px" fixed="right" class-name="small-padding fixed-width">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-button
|
<div v-if="scope.row.userZombie == true">
|
||||||
v-if="scope.row.status == 0 || scope.row.status == 1"
|
<el-button
|
||||||
v-hasPermi="['system:article:edit']"
|
v-if="scope.row.status == 0 || scope.row.status == 1"
|
||||||
link
|
v-hasPermi="['system:article:edit']"
|
||||||
type="primary"
|
link
|
||||||
@click="handleUpdate(scope.row, 1)"
|
type="primary"
|
||||||
|
@click="handleUpdate(scope.row, 1)"
|
||||||
>编辑</el-button
|
>编辑</el-button
|
||||||
>
|
>
|
||||||
<el-button v-if="scope.row.status == 0" v-hasPermi="['system:article:edit']" link type="primary" @click="saveupdate(scope.row, 1)"
|
<el-button v-if="scope.row.status == 0" v-hasPermi="['system:article:edit']" link type="primary" @click="saveupdate(scope.row, 1)"
|
||||||
>发布</el-button
|
>发布</el-button
|
||||||
>
|
>
|
||||||
<el-button v-if="scope.row.status == 3" v-hasPermi="['system:article:edit']" link type="primary" @click="saveupdate(scope.row, 2)"
|
<el-button v-if="scope.row.status == 3" v-hasPermi="['system:article:edit']" link type="primary" @click="saveupdate(scope.row, 2)"
|
||||||
>撤销发布</el-button
|
>撤销发布</el-button
|
||||||
>
|
>
|
||||||
<el-button
|
<el-button
|
||||||
v-if="scope.row.status == 0 || scope.row.status == 1"
|
v-if="scope.row.status == 0 || scope.row.status == 1"
|
||||||
v-hasPermi="['system:article:remove']"
|
v-hasPermi="['system:article:remove']"
|
||||||
link
|
link
|
||||||
type="primary"
|
type="primary"
|
||||||
@click="handleDelete(scope.row)"
|
@click="handleDelete(scope.row)"
|
||||||
>删除</el-button
|
>删除</el-button
|
||||||
>
|
>
|
||||||
|
</div>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
@ -98,31 +98,34 @@
|
|||||||
<el-table-column label="操作时间" align="center" prop="updateTime" width="200px" />
|
<el-table-column label="操作时间" align="center" prop="updateTime" width="200px" />
|
||||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="150px">
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="150px">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-button
|
<div v-if="scope.row.userZombie == true">
|
||||||
v-if="scope.row.status == 0 || scope.row.status == 1"
|
<el-button
|
||||||
v-hasPermi="['manage:notebook:edit']"
|
v-if="scope.row.status == 0 || scope.row.status == 1"
|
||||||
link
|
v-hasPermi="['manage:notebook:edit']"
|
||||||
type="primary"
|
link
|
||||||
@click="handleUpdate(scope.row)"
|
type="primary"
|
||||||
|
@click="handleUpdate(scope.row)"
|
||||||
>编辑</el-button
|
>编辑</el-button
|
||||||
>
|
>
|
||||||
<el-button v-if="scope.row.status == 0" v-hasPermi="['manage:notebook:edit']" link type="primary" @click="fabudata(scope.row)"
|
<el-button v-if="scope.row.status == 0" v-hasPermi="['manage:notebook:edit']" link type="primary" @click="fabudata(scope.row)"
|
||||||
>发布</el-button
|
>发布</el-button
|
||||||
>
|
>
|
||||||
<el-button v-if="scope.row.status == 3" v-hasPermi="['manage:notebook:edit']" link type="primary" @click="fabudata(scope.row)"
|
<el-button v-if="scope.row.status == 3" v-hasPermi="['manage:notebook:edit']" link type="primary" @click="fabudata(scope.row)"
|
||||||
>撤销发布</el-button
|
>撤销发布</el-button
|
||||||
>
|
>
|
||||||
<!-- <el-tooltip content="发布" placement="top">-->
|
<!-- <el-tooltip content="发布" placement="top">-->
|
||||||
<!-- <el-button v-hasPermi="['manage:notebook:edit']" link type="primary" icon="Edit" @click="handleUpdate(scope.row)"></el-button>-->
|
<!-- <el-button v-hasPermi="['manage:notebook:edit']" link type="primary" icon="Edit" @click="handleUpdate(scope.row)"></el-button>-->
|
||||||
<!-- </el-tooltip>-->
|
<!-- </el-tooltip>-->
|
||||||
<el-button
|
<el-button
|
||||||
v-if="scope.row.status == 0 || scope.row.status == 1"
|
v-if="scope.row.status == 0 || scope.row.status == 1"
|
||||||
v-hasPermi="['manage:notebook:remove']"
|
v-hasPermi="['manage:notebook:remove']"
|
||||||
link
|
link
|
||||||
type="primary"
|
type="primary"
|
||||||
@click="handleDelete(scope.row)"
|
@click="handleDelete(scope.row)"
|
||||||
>删除</el-button
|
>删除</el-button
|
||||||
>
|
>
|
||||||
|
</div>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
Loading…
Reference in New Issue
Block a user