Browse Source

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

sandm 2 năm trước cách đây
mục cha
commit
a5ca9a8350

+ 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}"];