...
|
...
|
@@ -8,6 +8,7 @@ |
|
|
// +----------------------------------------------------------------------
|
|
|
namespace api\home\controller;
|
|
|
|
|
|
use app\portal\model\InsRecordUidModel;
|
|
|
use think\Db;
|
|
|
use cmf\controller\RestBaseController;
|
|
|
use app\portal\model\StepModel;
|
...
|
...
|
@@ -114,7 +115,7 @@ class CommonController extends RestBaseController |
|
|
}
|
|
|
$add = [
|
|
|
'id' => 100,
|
|
|
'name' => '报修',
|
|
|
'name' => '使用说明',
|
|
|
'english_name' => '',
|
|
|
'icon' => $host.'/uploads/20190621/300e16a3ec39a4cc8e536d0b911d9f48.png'
|
|
|
];
|
...
|
...
|
@@ -2366,4 +2367,13 @@ class CommonController extends RestBaseController |
|
|
return null;
|
|
|
}
|
|
|
|
|
|
//记录日检人员(添加或编辑)
|
|
|
public function createInsUid($data){
|
|
|
$recordData['uid'] = $this->userId;
|
|
|
$recordData['project_id'] = $data['project_id'];
|
|
|
$recordData['create_time'] = $data['create_time'];
|
|
|
$insUidModel = new InsRecordUidModel();
|
|
|
$insUidModel->create($recordData);
|
|
|
}
|
|
|
|
|
|
} |
...
|
...
|
|