From 8c7c2cadd5ec68b66b9a0c6afc0434c4513c1135 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Tue, 23 Jun 2020 14:55:36 +0800
Subject: [PATCH] 20200623 代码提交
---
src/main/resources/templates/febs/views/modules/systemSetting/platformBanner.html | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/src/main/resources/templates/febs/views/modules/systemSetting/platformBanner.html b/src/main/resources/templates/febs/views/modules/systemSetting/platformBanner.html
index dd1c36f..ef0eb37 100644
--- a/src/main/resources/templates/febs/views/modules/systemSetting/platformBanner.html
+++ b/src/main/resources/templates/febs/views/modules/systemSetting/platformBanner.html
@@ -130,11 +130,18 @@
sortObject.type = 'null';
tableIns.reload({where: getQueryParams(), page: {curr: 1}, initSort: sortObject});
});
- // 新增按钮
+
+ // 刷新按钮
$add.on('click', function () {
- febs.get(ctx + 'systemSetting/platformBannerAdd/', null, function () {
- febs.alert.success('确认新增');
- $reset.click();
+ febs.modal.open('轮播图新增', 'modules/systemSetting/platformBannerAdd/', {
+ area: $(window).width() <= 1000 ? '100%' : '50%',
+ btn: ['提交', '取消'],
+ yes: function (index, layero) {
+ $('#user-add').find('#submit').trigger('click');
+ },
+ btn2: function () {
+ layer.closeAll();
+ }
});
});
--
Gitblit v1.9.1