|
|
@@ -140,21 +140,19 @@
|
|
140
|
140
|
$.cookie("u_code", User, {
|
|
141
|
141
|
expires: 7
|
|
142
|
142
|
});
|
|
143
|
|
-
|
|
144
|
|
- var expireDate = data.data.date.split(' ')[0];
|
|
145
|
|
- var expireDay = data.data.days;
|
|
146
|
|
- var expireText = '<span style="color:#f00;">软件到期时间:' + expireDate + ',还剩' + expireDay +'天,请联系软件厂家</span>'
|
|
147
|
|
- if (expireDay * 1 > 0) {
|
|
148
|
|
- layer.confirm(expireText, {
|
|
149
|
|
- btn: ['确定'] //按钮
|
|
150
|
|
- }, function () {
|
|
151
|
|
- window.location.href = "index.html";
|
|
152
|
|
- })
|
|
153
|
|
- }
|
|
154
|
|
- else {
|
|
155
|
|
- window.location.href = "index.html";
|
|
156
|
|
- }
|
|
157
|
|
-
|
|
|
143
|
+ // var expireDate = data.data.date.split(' ')[0];
|
|
|
144
|
+ // var expireDay = data.data.days;
|
|
|
145
|
+ // var expireText = '<span style="color:#f00;">软件到期时间:' + expireDate + ',还剩' + expireDay +'天,请联系软件厂家</span>'
|
|
|
146
|
+ // if (expireDay * 1 > 0) {
|
|
|
147
|
+ // layer.confirm(expireText, {
|
|
|
148
|
+ // btn: ['确定'] //按钮
|
|
|
149
|
+ // }, function () {
|
|
|
150
|
+ // window.location.href = "index.html";
|
|
|
151
|
+ // })
|
|
|
152
|
+ // }
|
|
|
153
|
+ // else {
|
|
|
154
|
+ // }
|
|
|
155
|
+ window.location.href = "index.html";
|
|
158
|
156
|
} else {
|
|
159
|
157
|
//alert("登录失败");
|
|
160
|
158
|
$("#user").val('');
|