You've already forked guangan
内外部工单
This commit is contained in:
@ -36,30 +36,6 @@ class TicketInter extends Controller
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 添加工单
|
||||
* @auth true
|
||||
* @menu true
|
||||
* @return void
|
||||
* @throws \think\db\exception\DataNotFoundException
|
||||
* @throws \think\db\exception\DbException
|
||||
* @throws \think\db\exception\ModelNotFoundException
|
||||
*/
|
||||
public function add()
|
||||
{
|
||||
$this->title = '添加工单';
|
||||
$this->types = TicketType::mk()->scope('active')->select();
|
||||
TicketTicketInter::mForm('form');
|
||||
}
|
||||
|
||||
public function _form_filter(&$data)
|
||||
{
|
||||
if ($this->request->isPost()) {
|
||||
$data['user_id'] = 0;
|
||||
}
|
||||
$data['status'] = 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* 查看工单
|
||||
* @auth true
|
||||
|
Reference in New Issue
Block a user