fix:修改短视频脚本列表按钮状态
This commit is contained in:
parent
0149754b2a
commit
3460626c94
@ -48,12 +48,12 @@
|
|||||||
<span>{{ parseTime(scope.row.matchDateTime) }}</span>
|
<span>{{ parseTime(scope.row.matchDateTime) }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="报告状态" prop="reportSatus">
|
<!-- <el-table-column label="报告状态" prop="reportSatus">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-tag v-if="scope.row.reportSatus === 1" type="success">已生成</el-tag>
|
<el-tag v-if="scope.row.reportSatus === 1" type="success">已生成</el-tag>
|
||||||
<el-tag v-else>未生成</el-tag>
|
<el-tag v-else>未生成</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column> -->
|
||||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<span v-if="scope.row.scriptDetail" :class="['flex-row cursor-pointer tc-view-time mr-8', scope.row.scriptDetail.sciptStatus != 1 && 'tc-view-time-disabled']" @click="handleView(scope.row, 'video')">
|
<span v-if="scope.row.scriptDetail" :class="['flex-row cursor-pointer tc-view-time mr-8', scope.row.scriptDetail.sciptStatus != 1 && 'tc-view-time-disabled']" @click="handleView(scope.row, 'video')">
|
||||||
@ -122,7 +122,7 @@ function handleJumpLink(row) {
|
|||||||
|
|
||||||
/** 查看详情 */
|
/** 查看详情 */
|
||||||
function handleView(row, type) {
|
function handleView(row, type) {
|
||||||
if (row.reportSatus != 1) {
|
if (!row.scriptDetail ||row.scriptDetail.sciptStatus != 1) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
// window.open(`/#/tc/videoScript/detail?id=${row.matchId}`)
|
// window.open(`/#/tc/videoScript/detail?id=${row.matchId}`)
|
||||||
|
|||||||
@ -129,7 +129,7 @@ function handleJumpLink(row) {
|
|||||||
|
|
||||||
/** 查看详情 */
|
/** 查看详情 */
|
||||||
function handleView(row, type) {
|
function handleView(row, type) {
|
||||||
if (row.reportSatus != 1) {
|
if (!row.scriptDetail ||row.scriptDetail.sciptStatus != 1) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
// window.open(`/#/tc/videoScript/detail?id=${row.matchId}`)
|
// window.open(`/#/tc/videoScript/detail?id=${row.matchId}`)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user