|
|
@@ -67,6 +67,12 @@ |
|
|
|
align="center" |
|
|
|
> |
|
|
|
<template #default="scope"> |
|
|
|
<el-button |
|
|
|
link |
|
|
|
type="primary" |
|
|
|
size="small" |
|
|
|
@click="showDetail(scope.row.id)" |
|
|
|
>查看密钥</el-button> |
|
|
|
<el-button link type="primary" size="small" @click="setTime(scope.row.id)">设置时长</el-button> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
@@ -299,6 +305,16 @@ const addNew = async (refForm) => { |
|
|
|
}); |
|
|
|
}; |
|
|
|
|
|
|
|
// 查看时长 |
|
|
|
const showDetail = (id) => { |
|
|
|
router.push({ |
|
|
|
path: "/businessCheck", |
|
|
|
query: { |
|
|
|
id, |
|
|
|
}, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
// 设置时长 |
|
|
|
const setTime = (id) => { |
|
|
|
ElMessageBox.prompt('请输入时长(秒)', '设置时长', { |
|
|
|