|
@@ -43,7 +43,7 @@
|
|
|
width="120"
|
|
width="120"
|
|
|
>
|
|
>
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
- <router-link target="_blank" :to="`/video/${scope.row.videoId}`">
|
|
|
|
|
|
|
+ <router-link style="text-decoration-line: none" target="_blank" :to="`/video/${scope.row.videoId}`">
|
|
|
<span>{{ scope.row.videoId }}</span>
|
|
<span>{{ scope.row.videoId }}</span>
|
|
|
</router-link>
|
|
</router-link>
|
|
|
</template>
|
|
</template>
|
|
@@ -51,7 +51,7 @@
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
prop="title"
|
|
prop="title"
|
|
|
label="标题"
|
|
label="标题"
|
|
|
- :show-overflow-tooltip="true"
|
|
|
|
|
|
|
+ :show-overflow-tooltip="false"
|
|
|
>
|
|
>
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<el-tooltip
|
|
<el-tooltip
|
|
@@ -109,12 +109,13 @@
|
|
|
<el-button
|
|
<el-button
|
|
|
v-if="scope.row.scope === 1"
|
|
v-if="scope.row.scope === 1"
|
|
|
size="mini"
|
|
size="mini"
|
|
|
|
|
+ type="success"
|
|
|
@click="handleScope(scope.$index, scope.row)"
|
|
@click="handleScope(scope.$index, scope.row)"
|
|
|
>本人可见</el-button>
|
|
>本人可见</el-button>
|
|
|
<el-button
|
|
<el-button
|
|
|
v-else-if="scope.row.scope === 2"
|
|
v-else-if="scope.row.scope === 2"
|
|
|
size="mini"
|
|
size="mini"
|
|
|
- type="success"
|
|
|
|
|
|
|
+ type="danger"
|
|
|
@click="handleScope(scope.$index, scope.row)"
|
|
@click="handleScope(scope.$index, scope.row)"
|
|
|
>所有人可见</el-button>
|
|
>所有人可见</el-button>
|
|
|
<el-button
|
|
<el-button
|
|
@@ -123,18 +124,12 @@
|
|
|
type="warning"
|
|
type="warning"
|
|
|
@click="handleScope(scope.$index, scope.row)"
|
|
@click="handleScope(scope.$index, scope.row)"
|
|
|
>VIP 可见</el-button>
|
|
>VIP 可见</el-button>
|
|
|
- <el-button
|
|
|
|
|
- v-else
|
|
|
|
|
- size="mini"
|
|
|
|
|
- type="danger"
|
|
|
|
|
- @click="handleScope(scope.$index, scope.row)"
|
|
|
|
|
- >验证码可见</el-button>
|
|
|
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
- prop="scope"
|
|
|
|
|
- label="审核状态"
|
|
|
|
|
|
|
+ prop="status"
|
|
|
|
|
+ label="稿件状态"
|
|
|
width="120"
|
|
width="120"
|
|
|
>
|
|
>
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
@@ -142,7 +137,7 @@
|
|
|
审核中
|
|
审核中
|
|
|
</el-tag>
|
|
</el-tag>
|
|
|
<el-tag v-else-if="scope.row.status === 2" :type="'success'" disable-transitions>
|
|
<el-tag v-else-if="scope.row.status === 2" :type="'success'" disable-transitions>
|
|
|
- 审核通过
|
|
|
|
|
|
|
+ 已发布
|
|
|
</el-tag>
|
|
</el-tag>
|
|
|
<el-tag v-else-if="scope.row.status === 3" :type="'danger'" disable-transitions>
|
|
<el-tag v-else-if="scope.row.status === 3" :type="'danger'" disable-transitions>
|
|
|
审核未通过
|
|
审核未通过
|
|
@@ -218,7 +213,6 @@
|
|
|
<el-option label="本人可见" value="1" />
|
|
<el-option label="本人可见" value="1" />
|
|
|
<el-option label="所有人可见" value="2" />
|
|
<el-option label="所有人可见" value="2" />
|
|
|
<el-option label="VIP 可见" value="3" />
|
|
<el-option label="VIP 可见" value="3" />
|
|
|
- <el-option label="验证码可见" value="4" />
|
|
|
|
|
</el-select>
|
|
</el-select>
|
|
|
</div>
|
|
</div>
|
|
|
</el-card>
|
|
</el-card>
|
|
@@ -362,9 +356,11 @@ export default {
|
|
|
this.showEditScopeDialog = false
|
|
this.showEditScopeDialog = false
|
|
|
updateVideoScope(this.form).then(res => {
|
|
updateVideoScope(this.form).then(res => {
|
|
|
if (res.code === 0) {
|
|
if (res.code === 0) {
|
|
|
|
|
+ this.getData()
|
|
|
|
|
+ } else {
|
|
|
this.$notify({
|
|
this.$notify({
|
|
|
title: '提示',
|
|
title: '提示',
|
|
|
- message: '视频可见范围已更新',
|
|
|
|
|
|
|
+ message: '可见范围更新失败',
|
|
|
type: 'warning',
|
|
type: 'warning',
|
|
|
duration: 3000
|
|
duration: 3000
|
|
|
})
|
|
})
|