|
@@ -51,7 +51,13 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" prop="address" label="操作">
|
|
|
<template #default="scope">
|
|
|
- <el-button size="small" v-if="scope.row.statusCode !== 'info'" @click="detail(scope.row)"> 查看详情 </el-button>
|
|
|
+ <el-button
|
|
|
+ size="small"
|
|
|
+ v-if="scope.row.statusCode == 'success'"
|
|
|
+ @click="detail(scope.row)"
|
|
|
+ >
|
|
|
+ 查看详情
|
|
|
+ </el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -165,16 +171,15 @@ function submit() {
|
|
|
function getList() {
|
|
|
historyVideo({
|
|
|
data: page_data.value
|
|
|
- })
|
|
|
- .then(r => {
|
|
|
- tableData.value = (r.records || []).map(v => {
|
|
|
- return {
|
|
|
- ...v,
|
|
|
- createTime: v.createTime.replace('T', ' ')
|
|
|
- };
|
|
|
- });
|
|
|
- page_data.value.total = r.total;
|
|
|
+ }).then(r => {
|
|
|
+ tableData.value = (r.records || []).map(v => {
|
|
|
+ return {
|
|
|
+ ...v,
|
|
|
+ createTime: v.createTime.replace('T', ' ')
|
|
|
+ };
|
|
|
});
|
|
|
+ page_data.value.total = r.total;
|
|
|
+ });
|
|
|
}
|
|
|
|
|
|
function detail(row) {
|