Kirin 3 years ago
parent
commit
90211c641b

+ 3 - 1
app/admin/controller/system/SystemStore.php

@@ -226,7 +226,9 @@ class SystemStore extends AuthController
     public function check_apply($id = 0)
     public function check_apply($id = 0)
     {
     {
         $store = SystemStoreApply::get($id);
         $store = SystemStoreApply::get($id);
-        $this->assign(compact('store'));
+        $users = User::field('uid,nickname,phone')->select();
+        $this->assign(compact('store','users'));
+
         return $this->fetch();
         return $this->fetch();
     }
     }
 }
 }

+ 2 - 10
app/admin/view/system/system_store/check_apply.php

@@ -211,16 +211,8 @@
 <script src="{__ADMIN_PATH}js/layuiList.js"></script>
 <script src="{__ADMIN_PATH}js/layuiList.js"></script>
 
 
 <script>
 <script>
-    var storeData = {
-    :
-    json_encode($store)
-    }
-    ;
-    var userData = {
-    :
-    json_encode($users)
-    }
-    ;
+    var storeData = {:json_encode($store)};
+    var userData = {:json_encode($users)};
     mpFrame.start(function (Vue) {
     mpFrame.start(function (Vue) {
         $.each(city, function (key, item) {
         $.each(city, function (key, item) {
             city[key].value = item.label;
             city[key].value = item.label;