Browse Source

问题修改

1178232204@qq.com 3 years ago
parent
commit
3aa1566660
4 changed files with 36 additions and 13 deletions
  1. 17 8
      src/css/appealHistory.less
  2. 1 1
      src/html/appealHistory.html
  3. 16 2
      src/html/index.html
  4. 2 2
      src/js/appealHistory.js

+ 17 - 8
src/css/appealHistory.less

@@ -47,7 +47,7 @@ h2 {
   & i {
     width: 6px;
     height: 6px;
-    background: #E3505B;
+    background: #e3505b;
     display: inline-block;
     border-radius: 50%;
     margin-right: 5px;
@@ -58,7 +58,7 @@ h2 {
   & i {
     width: 6px;
     height: 6px;
-    background: #22AC76;
+    background: #22ac76;
     display: inline-block;
     border-radius: 50%;
     margin-right: 5px;
@@ -175,7 +175,7 @@ h2 {
   height: 40px;
   line-height: 40px;
   margin: 0 20px 20px 0;
-  margin-right: 29px!important;
+  margin-right: 29px !important;
   span {
     display: inline-block;
     line-height: 32px;
@@ -488,7 +488,16 @@ input[type="number"] {
 
 .appeal-box {
   .item {
+    max-width: 390px;
     padding: 5px 0;
+    .msg {
+      width: 300px;
+      overflow: hidden;
+      text-overflow: ellipsis;
+      white-space: nowrap;
+      float: left;
+      display: inline-block;
+    }
     .radio {
       margin: 0 5px;
     }
@@ -522,7 +531,7 @@ input[type="number"] {
     background-size: 13px 7px;
     position: absolute;
     left: 85%;
-    top: 10px;
+    top: 26px;
   }
 }
 ul {
@@ -571,11 +580,11 @@ p {
 .warning {
   display: none;
 }
-.show{
-  ul{
+.show {
+  ul {
     display: block;
   }
-  &:after{
+  &:after {
     background-image: url("../images/arrow_up.png");
   }
-}
+}

+ 1 - 1
src/html/appealHistory.html

@@ -13,7 +13,7 @@
                 <span class="title">扣分:${qcresultDetaiValue}</span>
                 <span>操作类型:</span><span>${appealOperationType == 0 ? '删改条目' : appealOperationType == 1 ? '新增已有条目' : appealOperationType == 2 ? '新增缺失条目' : '恢复条目'}</span>
             </p>
-            <p class="item"><span style="width:70px;text-align:right">缺陷详情:</span><span>${qcresultDetailMsg}</span></p>
+            <p class="item"><span style="width:70px;text-align:right;float: left;">缺陷详情:</span><span title=${qcresultDetailMsg} class="msg">${qcresultDetailMsg}</span></p>
             <div class="drop-box checker-drop-box">
             <span style="width:70px;text-align:right;display:inline-block"><i class="required">*</i>审核人:</span>
                 <p class="checker-drop-input" code=${checkId}>${checkName}</p>

+ 16 - 2
src/html/index.html

@@ -33,7 +33,9 @@
                         <li class="page" code="${code}">运行病历稽查表</li>
                     {{else}}
                     {{/if}} -->
-                    <li class="page" code="${code}">${name}</li>
+                    <li class="page" code="${code}">${name}
+                        
+                    </li>
                 {{else}}
                     {{if isPlacefile==1&&code!='YH-ZKK-RYRSTJ'&&code!='YH-KSZR-YXBLJCS_XQ'&&code!='YH-ZKK-YXBLJCB'&&code!='YH-KSZR-RYRSTJ_XQ'}}
                         <!-- {{if code == 'YH-ZKK-YXBLJCB'}}
@@ -59,8 +61,14 @@
         {{else}}
             {{if subMenuList.length}}
     <li class="list-1 ${code}">
+        {{if num }}
+            {{if onAppeal>0}}
+            <span class="dian"></span>
+            {{/if}}
+            {{/if}}
             {{else}}
     <li class="page ${code}" code="${code}">
+        
             {{/if}}
         {{/if}}
         {{if subMenuList.length}}
@@ -78,7 +86,13 @@
                             <li class="page" code="${code}">终末质控稽查表</li>
                         {{else}}
                         {{/if}} -->
-                        <li class="page" code="${code}">${name}</li>
+                        <li class="page" code="${code}">${name}
+                            {{if code=='YH-SSXX-SSSH'}}
+                            {{if num }}
+                            <span class="reds">${num}</span>
+                            {{/if}}
+                            {{/if}}
+                        </li>
                     {{/if}}
                 {{/if}}
             {{/each}}

+ 2 - 2
src/js/appealHistory.js

@@ -386,8 +386,8 @@ function renderTab(data) {
     })
     $(".appealAgain").click(function () {
         let i = $(this).parent().attr("data-index")
-
-        getAppealOperationType(data[i])
+        let item = JSON.parse(JSON.stringify(data[i])) 
+        getAppealOperationType(item)
     })
     $(".goHomeDetail1").click(function () {
         let id = $(this).parent().attr("data-id")