| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?php
- /**
- * Created by PhpStorm.
- * User: qiuzijian
- * Date: 2021-05-28
- * Time: 15:04
- */
- namespace Modules\Mine\Http\Controllers;
- use Modules\Admin\Http\Controllers\BaseController;
- class SurfaceController extends BaseController
- {
- /**
- * Display a listing of the resource.
- * @return Renderable
- */
- public function index()
- {
- return view('surface::index');
- }
- //工作面列表
- public function surfaceList(Request $request)
- {
- $this->menusActive[0] = 'adminSurface';
- $this->menusActive[1] = 'adminSurfaceList';
- $list = MineServices::getAdminMineList();
- $tableObj = new TreeAuxiliary('mine/list', $list);
- $tableObj->column('title', '矿区单位名称');
- $tableObj->column('sort', '排序');
- $tableObj->column('ip', 'ip');
- $tableObj->column('port', 'port');
- $tableObj->column('key', '请求key');
- $tableObj->column('secret', '请求secret');
- $tableObj->column('is_hak', '是否使用海康视频服务器');
- return $this->tree($tableObj);
- }
- }
|