|
@@ -506,10 +506,10 @@ class WaterQueryController
|
|
|
$list['channel'] = WaterCate::field('id,name')->where('type', 8)->select(); // 槽钢
|
|
|
$list['roof'] = WaterCate::field('id,name')->where('type', 1)->where($where)->select();// 顶板
|
|
|
$list['side_plate'] = WaterCate::field('id,name')->where('type', 2)->where($where)->select();// 侧板
|
|
|
- $list['lacing'] = WaterCate::field('id,name')->where('type', 3)->select();// 拉筋
|
|
|
+ $list['lacing'] = WaterCate::field('id,name')->where('type', 3)->where($where)->select();// 拉筋
|
|
|
$list['floor'] = WaterCate::field('id,name')->where('type', 4)->where($where)->select(); // 底板
|
|
|
- $list['column'] = WaterCate::field('id,name')->where('type', 5)->select(); // 立柱
|
|
|
- $list['fula'] = WaterCate::field('id,name')->where('type', 6)->select(); // 辅拉
|
|
|
+ $list['column'] = WaterCate::field('id,name')->where('type', 5)->where($where)->select(); // 立柱
|
|
|
+ $list['fula'] = WaterCate::field('id,name')->where('type', 6)->where($where)->select(); // 辅拉
|
|
|
|
|
|
return app('json')->success($list);
|
|
|
}
|