25906
This commit is contained in:
@@ -28,15 +28,14 @@
|
||||
</el-table-column>
|
||||
|
||||
<!-- 操作 -->
|
||||
<el-table-column label="操作" align="center" width="300" slot="option">
|
||||
<template slot-scope="{ row }">
|
||||
<el-table-column label="操作" align="center" width="220" slot="option" fixed="right">
|
||||
<div class="table-options" slot-scope="{ row }">
|
||||
<el-button type="text" @click="release(row)" v-if="row.status == 1">取消发布</el-button>
|
||||
<el-button type="text" @click="release(row)" v-else>发布</el-button>
|
||||
|
||||
<el-button type="text" @click="detail(row)">详情</el-button>
|
||||
<el-button type="text" @click="edit(row)">编辑</el-button>
|
||||
<el-button type="text" @click="remove(row.id)">删除</el-button>
|
||||
</template>
|
||||
</div>
|
||||
</el-table-column>
|
||||
</ai-table>
|
||||
</template>
|
||||
@@ -234,7 +233,7 @@ export default {
|
||||
})
|
||||
.then(res => {
|
||||
if (res?.code == 0) {
|
||||
this.$message.success('新增成功')
|
||||
this.$message.success(this.dialogInfo.id ? '编辑成功' : '新增成功')
|
||||
this.visible = false
|
||||
this.getList()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user