From a8c03746e6bd8ac1d46dc48c1b10bceff543664f Mon Sep 17 00:00:00 2001 From: liukangdong <898885815@qq.com> Date: 星期二, 10 十二月 2024 20:16:12 +0800 Subject: [PATCH] ll --- admin/src/views/business/deviceLed.vue | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/admin/src/views/business/deviceLed.vue b/admin/src/views/business/deviceLed.vue index a79b284..4cdd754 100644 --- a/admin/src/views/business/deviceLed.vue +++ b/admin/src/views/business/deviceLed.vue @@ -32,6 +32,16 @@ </el-table-column> <el-table-column prop="ip" label="璁惧ip"></el-table-column> <el-table-column prop="port" label="璁惧绔彛"></el-table-column> + <el-table-column + v-if="containPermissions(['business:device:update' ])" + label="鎿嶄綔" + min-width="120" + fixed="right" + > + <template slot-scope="{row}"> + <el-button type="text" @click="$refs.OperaDeviceLedWindow.open('璁剧疆灞忔樉鍐呭', row)" icon="el-icon-edit" v-permissions="['business:device:update']">璁剧疆灞忔樉鍐呭</el-button> + </template> + </el-table-column> </el-table> <pagination @size-change="handleSizeChange" -- Gitblit v1.9.3