From 918deb5b53d9226c93ebfeb4e981f7af4cac5107 Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期日, 29 九月 2024 15:54:49 +0800 Subject: [PATCH] 最新版本 --- 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