浏览代码

发展历程

gzb
wangzhonglu 1年前
父节点
当前提交
1997dbda05
共有 1 个文件被更改,包括 20 次插入20 次删除
  1. 20
    20
      sections/history.html

+ 20
- 20
sections/history.html 查看文件

@@ -368,7 +368,7 @@
368 368
           size: 10,
369 369
           dhyear:
370 370
             $.getQueryletiable("dhyear") || new Date().getFullYear().toString(),
371
-          type: Number($.getQueryletiable("type")) || 1,
371
+          ltype: Number($.getQueryletiable("ltype")) || 1,
372 372
           total: 0,
373 373
           list: [],
374 374
         };
@@ -391,15 +391,15 @@
391 391
               historySearch.page +
392 392
               "&dhyear=" +
393 393
               historySearch.dhyear +
394
-              "&type=" +
395
-              historySearch.type;
394
+              "&ltype=" +
395
+              historySearch.ltype;
396 396
           }
397 397
         );
398 398
         $(".header_left input[name='history_type']").each(function (
399 399
           _index,
400 400
           _typeItem
401 401
         ) {
402
-          if (Number($(_typeItem).val()) === historySearch.type) {
402
+          if (Number($(_typeItem).val()) === historySearch.ltype) {
403 403
             $(_typeItem).attr("checked", true);
404 404
           } else {
405 405
             $(_typeItem).attr("checked", false);
@@ -414,7 +414,7 @@
414 414
               historySearch.page +
415 415
               "&dhyear=" +
416 416
               historySearch.dhyear +
417
-              "&type=" +
417
+              "&ltype=" +
418 418
               $('.header_left input:radio[name="history_type"]:checked').val();
419 419
           }
420 420
         );
@@ -424,8 +424,8 @@
424 424
             historySearch.page +
425 425
             "&dhyear=" +
426 426
             historySearch.dhyear +
427
-            "&type=" +
428
-            historySearch.type;
427
+            "&ltype=" +
428
+            historySearch.ltype;
429 429
         });
430 430
         $(".history_main .header_box .history_add_btn").click(function () {
431 431
           $("#historyAddModal").modal("show");
@@ -505,8 +505,8 @@
505 505
                   window.location.href =
506 506
                     "/sections/history.html?page=1&dhyear=" +
507 507
                     historySearch.dhyear +
508
-                    "&type=" +
509
-                    historySearch.type;
508
+                    "&ltype=" +
509
+                    historySearch.ltype;
510 510
                 } else {
511 511
                   alert(data.msg);
512 512
                 }
@@ -601,8 +601,8 @@
601 601
                   window.location.href =
602 602
                     "/sections/history.html?page=1&dhyear=" +
603 603
                     historySearch.dhyear +
604
-                    "&type=" +
605
-                    historySearch.type;
604
+                    "&ltype=" +
605
+                    historySearch.ltype;
606 606
                 } else {
607 607
                   alert(data.msg);
608 608
                 }
@@ -621,7 +621,7 @@
621 621
               page: historySearch.page,
622 622
               size: historySearch.size,
623 623
               dhyear: historySearch.dhyear,
624
-              type: historySearch.type,
624
+              ltype: historySearch.ltype,
625 625
             }),
626 626
             success: function (data) {
627 627
               if (data.code === 0) {
@@ -687,8 +687,8 @@
687 687
                     historySearch.page +
688 688
                     "&dhyear=" +
689 689
                     historySearch.dhyear +
690
-                    "&type=" +
691
-                    historySearch.type;
690
+                    "&ltype=" +
691
+                    historySearch.ltype;
692 692
                 } else {
693 693
                   alert(data.msg);
694 694
                 }
@@ -733,8 +733,8 @@
733 733
                   historySearch.page +
734 734
                   "&dhyear=" +
735 735
                   historySearch.dhyear +
736
-                  "&type=" +
737
-                  historySearch.type;
736
+                  "&ltype=" +
737
+                  historySearch.ltype;
738 738
               }
739 739
             });
740 740
             $(".history_page.page_box").on("click", ".page_num", function () {
@@ -744,8 +744,8 @@
744 744
                 historySearch.page +
745 745
                 "&dhyear=" +
746 746
                 historySearch.dhyear +
747
-                "&type=" +
748
-                historySearch.type;
747
+                "&ltype=" +
748
+                historySearch.ltype;
749 749
             });
750 750
             $(".history_page.page_box").on("click", ".page_next", function () {
751 751
               if (
@@ -758,8 +758,8 @@
758 758
                   historySearch.page +
759 759
                   "&dhyear=" +
760 760
                   historySearch.dhyear +
761
-                  "&type=" +
762
-                  historySearch.type;
761
+                  "&ltype=" +
762
+                  historySearch.ltype;
763 763
               }
764 764
             });
765 765
           } else {

正在加载...
取消
保存