Kaynağa Gözat

Merge branch 'ctt_dev_new' into dev

dev
chutingting 1 yıl önce
ebeveyn
işleme
e7b1b1dd67
1 değiştirilmiş dosya ile 16 ekleme ve 0 silme
  1. +16
    -0
      src/views/privatization/index.vue

+ 16
- 0
src/views/privatization/index.vue Dosyayı Görüntüle

@@ -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('请输入时长(秒)', '设置时长', {


Yükleniyor…
İptal
Kaydet