浏览代码

Merge branch 'appeal0121' into test

1178232204@qq.com 3 年之前
父节点
当前提交
e3574dd3cb
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/html/appealHistory.html
  2. 1 1
      src/js/appealHistory.js

+ 1 - 1
src/html/appealHistory.html

@@ -9,8 +9,8 @@
     <script type="text/html" id="appealDef">
         <div class="appeal-box" style="width: 370px;">
             <p class="item">
-                {{if appealOperationType!=='2'}}
                 <span class="title">来源:${modeName}</span>
+                {{if appealOperationType!=='2'}}
                 <span class="title">扣分:${qcresultDetaiValue}</span>
                 {{/if}}
                 <span style="width:70px;text-align:right;">操作类型:</span><span>${appealOperationType == 0 ? '删改条目' : appealOperationType == 1 ? '新增已有条目' : appealOperationType == 2 ? '新增缺失条目' : '恢复条目'}</span>

+ 1 - 1
src/js/appealHistory.js

@@ -475,7 +475,7 @@ function getComplaintDetailMsg(data) {
 function getAppealOperationType(data) {
     post(api.getAppealOperationType, { appealOperationType: data.appealOperationType, exampleStatus: data.exampleStatus, qcresultDetailId: data.qcresultDetailId }).then(function (res) {
         if (res.data.code === '0') {
-            if (data.appealOperationType == '2') {
+            if (data.appealOperationType == '2' || !data.qcresultDetailId) {
                 $("#delModal").show();
                 getCheckUser()
                 $("#delModal .modal-body").html("");