From adf749e8da2bfce006390b008f6b9e8606b62180 Mon Sep 17 00:00:00 2001 From: liujie <1793218484@qq.com> Date: 星期四, 28 八月 2025 17:02:30 +0800 Subject: [PATCH] update --- cloud-server-management/src/main/webapp/static/modular/system/tShop/tShop.js | 35 +++++++++++++++++++++++++++++++++-- 1 files changed, 33 insertions(+), 2 deletions(-) diff --git a/cloud-server-management/src/main/webapp/static/modular/system/tShop/tShop.js b/cloud-server-management/src/main/webapp/static/modular/system/tShop/tShop.js index f028e86..5b30424 100644 --- a/cloud-server-management/src/main/webapp/static/modular/system/tShop/tShop.js +++ b/cloud-server-management/src/main/webapp/static/modular/system/tShop/tShop.js @@ -42,6 +42,8 @@ }, ]; }; + + function currentTime(timestamp){ var time = timestamp + ''; if(time.length != 13){ @@ -88,7 +90,23 @@ return true; } }; - +/** + * + * 点击门店设置门禁 + */ +TCompetition.addDevice = function () { + if (this.check()) { + var index = layer.open({ + type: 2, + title: '添加门禁', + area: ['50%', '50%'], //宽高 + fix: false, //不固定 + maxmin: true, + content: Feng.ctxPath + '/tShop/tShop_addDevice/' +TCompetition.seItem.id + }); + this.layerIndex = index; + } +}; /** * 点击添加车辆管理 */ @@ -155,6 +173,20 @@ fix: false, //不固定 maxmin: true, content: Feng.ctxPath + '/tShop/tShop_indexSet/' + TCompetition.seItem.id + }); + this.layerIndex = index; + } +}; + +TCompetition.platformSet = function () { + if (this.check()) { + var index = layer.open({ + type: 2, + title: '图文模块设置', + area: ['100%', '100%'], //宽高 + fix: false, //不固定 + maxmin: true, + content: Feng.ctxPath + '/tHomeModule/tHomeModule_platformSet/' + TCompetition.seItem.id }); this.layerIndex = index; } @@ -278,7 +310,6 @@ Feng.success("重置成功!"); TCompetition.table.refresh(); }, function (data) { - Feng.error("重置失败!" + data.responseJSON.message + "!"); }); ajax.set("id",id); ajax.start(); -- Gitblit v1.7.1