master
yulingwei 5 years ago
parent 175502e384
commit fc3b7be03e

@ -264,7 +264,7 @@ class WorkOrderController extends ThinkController
$data['remark'] = I('remark', '');
$data['attachment_url'] = I('attachment_url', '');
$ins = M('work_order_info', 'tab_')->add($data);
return $ins ? $this->success('申请成功') : $this->error('申请失败');
return $ins ? $this->success('申请成功', U('WorkOrder/list')) : $this->error('申请失败');
} else {
$this->assign('data', $info);
$this->display('resourceApply');

Loading…
Cancel
Save