Browse Source

样式调整

1178232204@qq.com 3 years ago
parent
commit
9d80624e03
4 changed files with 8 additions and 34 deletions
  1. 3 2
      src/css/appealCheck.less
  2. 2 4
      src/css/appealHistory.less
  3. 2 14
      src/js/appealCheck.js
  4. 1 14
      src/js/appealHistory.js

+ 3 - 2
src/css/appealCheck.less

@@ -174,6 +174,7 @@ h2{
     height: 40px;
     line-height: 40px;
     margin: 0 20px 20px 0;
+    margin-right: 29px!important;
     span{
         display: inline-block;
         line-height: 32px;
@@ -213,7 +214,7 @@ h2{
     }
 }
 .deptList{
-    width: 160px;
+    width: 120px;
     max-height: 400px;
 }
 .modularList,.typeList,.qcCheckList{
@@ -237,7 +238,7 @@ h2{
     cursor: pointer;
 }
 .selectDept{
-    width: 160px;
+    width: 120px;
 }
 
 .filter,.reset,.export{

+ 2 - 4
src/css/appealHistory.less

@@ -175,6 +175,7 @@ h2 {
   height: 40px;
   line-height: 40px;
   margin: 0 20px 20px 0;
+  margin-right: 29px!important;
   span {
     display: inline-block;
     line-height: 32px;
@@ -214,7 +215,7 @@ h2 {
   }
 }
 .deptList {
-  width: 160px;
+  width: 120px;
   max-height: 400px;
 }
 .modularList,
@@ -242,9 +243,6 @@ h2 {
   box-sizing: border-box;
   cursor: pointer;
 }
-.selectDept {
-  width: 160px;
-}
 
 .filter,
 .reset,

+ 2 - 14
src/js/appealCheck.js

@@ -794,22 +794,10 @@ $((function ($) {
             complaintDateEnd: behosDateEnd.replaceAll("/", "-"),
             complaintDateStart: behosDateStart.replaceAll("/", "-"),
         }
-        bindSaveColPort(param)
-
-    })
-})($));
-
-function bindSaveColPort(param) {
-    $('.export').click(function () {
-        const start = new Date(behosDateStart).getTime()
-        const end = new Date(behosDateEnd).getTime()
-        if (start > end) {
-            $.alerModal({ "message": '开始时间不能大于结束时间~', type: "tip", time: '1000', isFather: true, fatherWrapper: $("#mainBox", parent.document) });
-            return
-        }
         expJson(api.getAppealReviewExport, param).then(res => {
             downloadExportedData(res.data, "申述审核.xls")
         })
 
     })
-}
+})($));
+

+ 1 - 14
src/js/appealHistory.js

@@ -937,21 +937,8 @@ $((function ($) {
             complaintDateEnd: behosDateEnd.replaceAll("/", "-"),
             complaintDateStart: behosDateStart.replaceAll("/", "-"),
         }
-        bindSaveColPort(param)
-
-    })
-})($));
-function bindSaveColPort(param) {
-    $('.export').click(function () {
-        const start = new Date(behosDateStart).getTime()
-        const end = new Date(behosDateEnd).getTime()
-        if (start > end) {
-            $.alerModal({ "message": '开始时间不能大于结束时间~', type: "tip", time: '1000', isFather: true, fatherWrapper: $("#mainBox", parent.document) });
-            return
-        }
         expJson(api.getComplaintRecordExport, param).then(res => {
             downloadExportedData(res.data, "申述记录.xls")
         })
-
     })
-}
+})($));