作者 王晓刚
1 个管道 的构建 通过 耗费 1 秒

合并分支 'wangxiaogang' 到 'master'

更改订单列表dom结构



查看合并请求 !122
@@ -85,7 +85,7 @@ class OrderSalesmanController extends WeChatBaseController @@ -85,7 +85,7 @@ class OrderSalesmanController extends WeChatBaseController
85 $where['school'] = ['eq',$param['school']]; 85 $where['school'] = ['eq',$param['school']];
86 } 86 }
87 if(!empty($param['grade'])){ 87 if(!empty($param['grade'])){
88 - $param['grade'] = explode('-',$param['grade']); 88 + $param['grade'] = explode(' - ',$param['grade']);
89 $where['grade'] = ['eq',$param['grade'][0]]; 89 $where['grade'] = ['eq',$param['grade'][0]];
90 $where['class'] = ['eq',$param['grade'][1]]; 90 $where['class'] = ['eq',$param['grade'][1]];
91 } 91 }
@@ -370,7 +370,17 @@ @@ -370,7 +370,17 @@
370 <input type="hidden" id="grade" value=""/> 370 <input type="hidden" id="grade" value=""/>
371 <input type="hidden" id="is_courier" value="1"/> 371 <input type="hidden" id="is_courier" value="1"/>
372 </div> 372 </div>
373 -<div class="shuju_zongshu">搜索结果为<span class="count">{:count($data)}</span></div> 373 +<php>$arr2 = [];</php>
  374 +<foreach name="$data" item="vo">
  375 + <if condition="$vo.state eq 2">
  376 + <php>$arr2[] = $vo;</php>
  377 + <elseif condition="$vo.state eq 5" />
  378 + <php>$arr5[] = $vo;</php>
  379 + <elseif condition="$vo.state eq 3" />
  380 + <php>$arr3[] = $vo;</php>
  381 + </if>
  382 +</foreach>
  383 +<div class="shuju_zongshu">搜索结果为<span class="count">{:count($arr2)}</span></div>
374 <!-- 列表内容 --> 384 <!-- 列表内容 -->
375 <div> 385 <div>
376 <!--未发货--> 386 <!--未发货-->
@@ -204,8 +204,8 @@ class WeChatBaseController extends BaseController @@ -204,8 +204,8 @@ class WeChatBaseController extends BaseController
204 */ 204 */
205 public function checkWeChatUserLogin() 205 public function checkWeChatUserLogin()
206 { 206 {
207 - /*$user = Db::name('user')->where('id',2)->find();  
208 - cmf_update_current_user($user);*/ 207 + $user = Db::name('user')->where('id',2)->find();
  208 + cmf_update_current_user($user);
209 $userId = cmf_get_current_user_id(); 209 $userId = cmf_get_current_user_id();
210 if (empty($userId)) { 210 if (empty($userId)) {
211 $config = [ 211 $config = [