Browse Source

Merge branch 'ctt_dev_new' into dev

dev
chutingting 1 year ago
parent
commit
e7b1b1dd67
1 changed files with 16 additions and 0 deletions
  1. +16
    -0
      src/views/privatization/index.vue

+ 16
- 0
src/views/privatization/index.vue View File

@@ -67,6 +67,12 @@
align="center" align="center"
> >
<template #default="scope"> <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> <el-button link type="primary" size="small" @click="setTime(scope.row.id)">设置时长</el-button>
</template> </template>
</el-table-column> </el-table-column>
@@ -299,6 +305,16 @@ const addNew = async (refForm) => {
}); });
}; };


// 查看时长
const showDetail = (id) => {
router.push({
path: "/businessCheck",
query: {
id,
},
});
}

// 设置时长 // 设置时长
const setTime = (id) => { const setTime = (id) => {
ElMessageBox.prompt('请输入时长(秒)', '设置时长', { ElMessageBox.prompt('请输入时长(秒)', '设置时长', {


Loading…
Cancel
Save