From 88d56c7c74be121a11e3760e4fc7a058ea2f6c47 Mon Sep 17 00:00:00 2001 From: nickchange <126672920+nickchange@users.noreply.github.com> Date: 星期四, 26 十月 2023 10:45:30 +0800 Subject: [PATCH] 10.26.2 --- cloud-server-management/src/main/webapp/static/modular/system/ticket/ticket.js | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/cloud-server-management/src/main/webapp/static/modular/system/ticket/ticket.js b/cloud-server-management/src/main/webapp/static/modular/system/ticket/ticket.js index f7e89af..bb07fe9 100644 --- a/cloud-server-management/src/main/webapp/static/modular/system/ticket/ticket.js +++ b/cloud-server-management/src/main/webapp/static/modular/system/ticket/ticket.js @@ -160,6 +160,11 @@ */ TPointProducts.openEditPage = function () { if (this.check()) { + let size = TPointProducts.seItem.size + if(size>0){ + Feng.info("没有操作权限"); + return; + } var index = layer.open({ type: 2, title:'编辑', @@ -178,6 +183,11 @@ */ TPointProducts.onShelf = function () { if (this.check()){ + let size = TPointProducts.seItem.size + if(size>0){ + Feng.info("没有操作权限"); + return; + } var selected = $('#' + this.id).bootstrapTable('getSelections'); const data1 = { ids:[], @@ -211,6 +221,11 @@ */ TPointProducts.offShelf = function () { if (this.check()){ + let size = TPointProducts.seItem.size + if(size>0){ + Feng.info("没有操作权限"); + return; + } var selected = $('#' + this.id).bootstrapTable('getSelections'); const data1 = { ids:[], -- Gitblit v1.7.1