From 1e64ef03770f4e3a7f357049a6fe744f39c2c4b6 Mon Sep 17 00:00:00 2001 From: 44323 <443237572@qq.com> Date: 星期二, 21 十一月 2023 09:12:20 +0800 Subject: [PATCH] 后台bug修改 --- cloud-server-management/src/main/webapp/static/modular/system/tShop/tShopOtherOne.js | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/cloud-server-management/src/main/webapp/static/modular/system/tShop/tShopOtherOne.js b/cloud-server-management/src/main/webapp/static/modular/system/tShop/tShopOtherOne.js index dc29b38..65edfc8 100644 --- a/cloud-server-management/src/main/webapp/static/modular/system/tShop/tShopOtherOne.js +++ b/cloud-server-management/src/main/webapp/static/modular/system/tShop/tShopOtherOne.js @@ -35,7 +35,10 @@ }, {title: '操作', visible: role==1?true:false, align: 'center', valign: 'middle', formatter:function (value,row) { - return '<a href="javascript:void(0);" style="color: blue" onclick="TCompetition.delete1(' + row.id +')">删除 </a> <a href="javascript:void(0);" style="color: blue" onclick="TCompetition.openTCompetitionDetail(' + row.id +')">编辑</a>' + return '<a href="javascript:void(0);" style="color: blue" ' + + 'onclick="TCompetition.delete1(' + row.id +')">删除 </a> ' + + '<a href="javascript:void(0);" style="color: blue" ' + + 'onclick="TCompetition.openTCompetitionDetail(' + row.id +')">编辑</a>' } }, ]; @@ -737,9 +740,14 @@ let name = $("#name").val() + let sort = $("#sort").val() if(name=='' || name ==null){ Feng.info("请填写板块名称") + return; + } + if(sort=='' || sort ==null){ + Feng.info("请填写排序") return; } @@ -758,6 +766,7 @@ }); ajax.set("name",name); ajax.set("id",$("#id").val()); + ajax.set("sort",$("#sort").val()); ajax.start(); } -- Gitblit v1.7.1