소스 검색

修正机构变更状态不对的问题

sandm 2 년 전
부모
커밋
a5ca9a8350
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      app/admin/view/enterprise_change_record/goto_enterprise_change_record_page.html
  2. 2 0
      app/common/api/EnterpriseApi.php

+ 0 - 1
app/admin/view/enterprise_change_record/goto_enterprise_change_record_page.html

@@ -168,7 +168,6 @@
                             </div>
                             <select class="form-control" id="checkState">
                                 <option value=""></option>
-                                <option value="1">保存未提交</option>
                                 <option value="2">待审核</option>
                                 <option value="3">审核驳回</option>
                                 <option value="4">审核通过</option>

+ 2 - 0
app/common/api/EnterpriseApi.php

@@ -165,6 +165,8 @@ class EnterpriseApi {
         }
         if ($checkState) {
             $where[] = ["checkState", "=", "{$checkState}"];
+        }else{
+            $where[] = ['checkState', '>', 1];
         }
         if ($newStreet) {
             $where[] = ["newStreet", "=", "{$newStreet}"];