zwl
2025-07-21 9b0f34996c0e8365706efa3539f8ef146e00800c
新增许可弹窗
2个文件已修改
12 ■■■■■ 已修改文件
src/main/webapp/static/wms/layuiadmin/lib/admin.js 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/index.html 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/wms/layuiadmin/lib/admin.js
@@ -394,13 +394,6 @@
            activation = true;
            exprTime = res.data;
          }
          var layer = layui.layer;
          // 弹出一个简单的提示框
          layer.alert('有效期为:'+exprTime, function(){
            // 点击确认后执行的回调函数
            layer.msg('你点击了确定按钮');
          });
        }
      });
src/main/webapp/views/index.html
@@ -168,6 +168,11 @@
        if (res.code == 200) {
          let days = res.data
          if (days <= 30) {
            // 弹出一个简单的提示框
            layer.alert('许可证有效期为:'+days, function(){
              // 点击确认后执行的回调函数
              layer.msg('请联系立库公司商务续约');
            });
            $("#licenseShow").show()
            $("#licenseDays").html(days)
          }