fix: 修改报告管理页面
This commit is contained in:
parent
e5ad27c262
commit
66e9a60548
@ -87,7 +87,11 @@
|
||||
<el-button link type="primary">查看</el-button>
|
||||
</template>
|
||||
<template #default>
|
||||
<EditHad :data="scope.row" />
|
||||
<el-tabs v-model="activeName">
|
||||
<el-tab-pane label="finyx-AI" name="a"><EditHad :data="scope.row" /></el-tab-pane>
|
||||
<el-tab-pane label="D3-index" name="b"><EditHad :data="scope.row" /></el-tab-pane>
|
||||
</el-tabs>
|
||||
|
||||
</template>
|
||||
</el-popover>
|
||||
</template>
|
||||
@ -97,9 +101,10 @@
|
||||
{{ scope.row.reportSatus === 1 ? scope.row.reportDetail.reportFlag : '' }}
|
||||
</template>
|
||||
</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">
|
||||
<el-button v-if="scope.row.reportSatus === 1" link type="primary" icon="Edit" @click="openDialog(scope.row)">编辑</el-button>
|
||||
<el-button v-if="scope.row.reportSatus === 1" link type="primary" icon="Edit" @click="openDialog(scope.row, 'finyx-AI')">finyx-AI</el-button>
|
||||
<el-button v-if="scope.row.reportSatus === 1" link type="primary" icon="Edit" @click="openDialog(scope.row, 'D3-index')">D3-index</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@ -147,9 +152,10 @@ const showSearch = ref(true)
|
||||
const total = ref(0)
|
||||
const dateRange = ref([])
|
||||
const editHadRef = ref(null)
|
||||
const activeName = ref('a')
|
||||
|
||||
const dialogOpen = ref(false)
|
||||
const dialogTitle = ref('编辑')
|
||||
const dialogTitle = ref('标记')
|
||||
const dialogForm = ref({})
|
||||
|
||||
/** 数据范围选项*/
|
||||
@ -194,9 +200,10 @@ function cancel() {
|
||||
dialogForm.value = {}
|
||||
}
|
||||
|
||||
function openDialog(row) {
|
||||
function openDialog(row, type='') {
|
||||
dialogForm.value = row
|
||||
dialogOpen.value = true
|
||||
dialogTitle.value = '标记' + type
|
||||
}
|
||||
|
||||
/** 获取联赛类型 */
|
||||
@ -211,20 +218,6 @@ function handleJumpLink(row) {
|
||||
jumpLink(row.matchId, 1)
|
||||
}
|
||||
|
||||
/** 查看详情 */
|
||||
function handleView(row) {
|
||||
if (row.reportSatus != 1) {
|
||||
return
|
||||
}
|
||||
// window.open(window.location.origin + '/#/tc/eventAnalysisReport/detail?id=' + row.matchId)
|
||||
router.push({
|
||||
path: '/tc/eventAnalysisReport/detail',
|
||||
query: {
|
||||
id: row.matchId
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
/** 查询列表 */
|
||||
function getList() {
|
||||
loading.value = true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user