作者 何书鹏
1 个管道 的构建 通过 耗费 0 秒

合并分支 'heshupeng' 到 'master'

状态显示



查看合并请求 !152
@@ -23,7 +23,6 @@ class UserHouse extends Backend @@ -23,7 +23,6 @@ class UserHouse extends Backend
23 { 23 {
24 parent::_initialize(); 24 parent::_initialize();
25 $this->model = new \app\api\model\UserHouse; 25 $this->model = new \app\api\model\UserHouse;
26 -  
27 } 26 }
28 27
29 /** 28 /**
@@ -56,7 +55,7 @@ class UserHouse extends Backend @@ -56,7 +55,7 @@ class UserHouse extends Backend
56 ->order($sort, $order) 55 ->order($sort, $order)
57 ->limit($offset, $limit) 56 ->limit($offset, $limit)
58 ->select(); 57 ->select();
59 - 58 +
60 $list = collection($list)->toArray(); 59 $list = collection($list)->toArray();
61 $result = array("total" => $total, "rows" => $list); 60 $result = array("total" => $total, "rows" => $list);
62 61
@@ -30,7 +30,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin @@ -30,7 +30,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
30 {field: 'user.id', title: __('用户ID'), operate:false}, 30 {field: 'user.id', title: __('用户ID'), operate:false},
31 {field: 'name', title: __('电话名称'), operate:false}, 31 {field: 'name', title: __('电话名称'), operate:false},
32 {field: 'phone', title: __('电话')}, 32 {field: 'phone', title: __('电话')},
33 - {field: 'status', title: __('绑定状态')}, 33 + {field: 'status', title: __('绑定状态'), searchList: {'1':'申请中','2':'已绑定','3':'已拒绝'}, formatter: Table.api.formatter.normal},
34 {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, buttons: 34 {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, buttons:
35 [ 35 [
36 { 36 {