Browse Source

发展历程

gzb
wangzhonglu 1 year ago
parent
commit
1997dbda05
1 changed files with 20 additions and 20 deletions
  1. 20
    20
      sections/history.html

+ 20
- 20
sections/history.html View File

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

Loading…
Cancel
Save