|
@@ -53,7 +53,7 @@ $(function () {
|
53
|
53
|
// 获取公告列表3条
|
54
|
54
|
getNoticeList({ "idx": 0, "sum": 3, "notice": { "status": 1 } });
|
55
|
55
|
// 获取常见问题列表
|
56
|
|
- getSolutionList({ "idx": solution_pageNum, "sum": 10, "solution": { "title": "", "status": { "id": 72 },"solutionRange":1 } });
|
|
56
|
+ getSolutionList({ "idx": solution_pageNum, "sum": 10, "solution": { "title": "", "status": { "id": 72 }, "solutionRange": 1 } });
|
57
|
57
|
// 获取区域列表
|
58
|
58
|
// getAreaList({ "idx": 0, "sum": 1000, "area": { "wechatArea": true } });
|
59
|
59
|
// 获取地点列表
|
|
@@ -1274,22 +1274,9 @@ $(function () {
|
1274
|
1274
|
}
|
1275
|
1275
|
//注销
|
1276
|
1276
|
function logout() {
|
1277
|
|
- $.ajax({
|
1278
|
|
- type: 'POST',
|
1279
|
|
- contentType: "application/json;charset=UTF-8",
|
1280
|
|
- url: baseUrl + "auth/logout2",
|
1281
|
|
- data: JSON.stringify({}),
|
1282
|
|
- success: function (res) {
|
1283
|
|
- if (res.status == 200) {
|
1284
|
|
- sessionStorage.removeItem('loginUser');
|
1285
|
|
- sessionStorage.removeItem('repair_main');
|
1286
|
|
- window.location.href = 'login.html';
|
1287
|
|
- }
|
1288
|
|
- },
|
1289
|
|
- error: function (err) {
|
1290
|
|
- console.log(err)
|
1291
|
|
- }
|
1292
|
|
- })
|
|
1277
|
+ sessionStorage.removeItem('loginUser');
|
|
1278
|
+ sessionStorage.removeItem('repair_main');
|
|
1279
|
+ location.href = 'http://' + location.hostname + ':8080/pcreq_logout.jsp';
|
1293
|
1280
|
}
|
1294
|
1281
|
//图片上传
|
1295
|
1282
|
function addImgList(id, data) {
|