From a1d261d6c92c38d9e496e11d1bc224ecc1d34798 Mon Sep 17 00:00:00 2001 From: nickchange <126672920+nickchange@users.noreply.github.com> Date: 星期二, 14 十一月 2023 09:14:57 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- cloud-server-management/src/main/webapp/static/modular/system/tShop/tShop.js | 20 +++++++++++++++++++- 1 files changed, 19 insertions(+), 1 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 d055be3..cf98d95 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; + } +}; /** * 点击添加车辆管理 */ -- Gitblit v1.7.1