From a830a73fd10a21e3793c79a35be4e532de124c6f Mon Sep 17 00:00:00 2001 From: nickchange <126672920+nickchange@users.noreply.github.com> Date: 星期二, 17 十月 2023 17:25:16 +0800 Subject: [PATCH] 10.17.1 --- cloud-server-management/src/main/webapp/static/modular/system/tShop/tShopOtherOne.js | 10 ++++++---- 1 files changed, 6 insertions(+), 4 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 1897c1c..a1c0515 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 @@ -15,8 +15,7 @@ TCompetition.initColumn = function () { return [ {field: 'selectItem', radio: true}, - {title: 'id', field: 'id', visible: false, align: 'center', valign: 'middle', - }, + {title: '序号', field: 'id', visible: true, align: 'center', valign: 'middle'}, {title: '图片', field: 'url', visible: role==1?true:false, align: 'center', valign: 'middle', }, {title: '跳转模块', field: 'name', visible: role==1?true:false, align: 'center', valign: 'middle', @@ -68,7 +67,7 @@ TCompetition.delete1= function (e) { console.log(e) - var ajax = new $ax(Feng.ctxPath + "/tShop/deleteOne", function (data) { + var ajax = new $ax(Feng.ctxPath + "/tShop/deleteTwo", function (data) { Feng.success("删除成功!"); TCompetition.table.refresh(); }, function (data) { @@ -101,7 +100,7 @@ area: ['100%', '100%'], //宽高 fix: false, //不固定 maxmin: true, - content: Feng.ctxPath + '/tShop/tShop_add_two?id='+$("#id").val() + content: Feng.ctxPath + '/tShop/tShop_add_two1?id='+$("#id").val() }); this.layerIndex = index; }; @@ -719,6 +718,9 @@ ajax.set("id",$("#id").val()); ajax.start(); } + + + TCompetition.close = function() { parent.layer.close(window.parent.TCompetition.layerIndex); } \ No newline at end of file -- Gitblit v1.7.1