[ 'class' => AgentFrontDriver::class, ] ]; return ArrayHelper::merge($merge, parent::behaviors()); } //装车任务-在途配送页面 public function actionCarLoadingTaskList() { $form = new CarLoadingForm(); $form->attributes = get_params(); $form->admin_id = $this->agentFrontId; $form->driver_id = $this->agentFrontDriverId; return $this->asJson($form->carLoadingTaskList()); } //装车信息确认 public function actionDriverLineConfirmInfo() { $form = new CarLoadingForm(); $form->attributes = get_params(); $form->admin_id = $this->agentFrontId; $form->driver_id = $this->agentFrontDriverId; return $this->asJson($form->driverLineConfirmInfo()); } //点击装车 public function actionDriverLineStart() { $form = new CarLoadingForm(); $form->attributes = post_params(); $form->admin_id = $this->agentFrontId; $form->driver_id = $this->agentFrontDriverId; return $this->asJson($form->driverLineStart()); } //获取待送达列表 public function actionGetDriverLineOrderList() { $form = new CarLoadingForm(); $form->attributes = get_params(); $form->admin_id = $this->agentFrontId; $form->driver_id = $this->agentFrontDriverId; return $this->asJson($form->getDriverLineOrderList()); } //获取团点坐标以及线路 public function actionGetDriverToMd() { $form = new CarLoadingForm(); $form->attributes = get_params(); $form->admin_id = $this->agentFrontId; $form->driver_id = $this->agentFrontDriverId; return $this->asJson($form->getDriverToMd()); } //排序 public function actionSetLineOrderSort() { $form = new CarLoadingForm(); $form->attributes = post_params(); $form->admin_id = $this->agentFrontId; $form->driver_id = $this->agentFrontDriverId; return $this->asJson($form->setLineOrderSort()); } //线路配送详情 public function actionGetLineOrderInfo() { $form = new CarLoadingForm(); $form->attributes = get_params(); $form->admin_id = $this->agentFrontId; $form->driver_id = $this->agentFrontDriverId; return $this->asJson($form->getLineOrderInfo()); } //线路配送详情明细 public function actionGetLineOrderDetail() { $form = new CarLoadingForm(); $form->attributes = get_params(); $form->admin_id = $this->agentFrontId; $form->driver_id = $this->agentFrontDriverId; return $this->asJson($form->getLineOrderDetail()); } //线路团点配送详情明细(按照团线商品区分 不做团线tab) public function actionGetLineMdDetail() { $form = new CarLoadingForm(); $form->attributes = get_params(); $form->admin_id = $this->agentFrontId; $form->driver_id = $this->agentFrontDriverId; return $this->asJson($form->getLineMdDetail()); } //去配送 public function actionGoDeliveryOrder() { $form = new CarLoadingForm(); $form->attributes = post_params(); $form->admin_id = $this->agentFrontId; $form->driver_id = $this->agentFrontDriverId; return $this->asJson($form->goDeliveryOrder()); } //已完成运单 public function actionFinishOrderList() { $form = new CarLoadingForm(); $form->attributes = get_params(); $form->admin_id = $this->agentFrontId; $form->driver_id = $this->agentFrontDriverId; return $this->asJson($form->finishOrderList()); } //已完成运单详情 public function actionFinishOrderDetail() { $form = new CarLoadingForm(); $form->attributes = get_params(); $form->admin_id = $this->agentFrontId; $form->driver_id = $this->agentFrontDriverId; return $this->asJson($form->finishOrderDetail()); } //商品查询 public function actionSearchGoods() { $form = new CarLoadingForm(); $form->attributes = get_params(); $form->admin_id = $this->agentFrontId; $form->driver_id = $this->agentFrontDriverId; return $this->asJson($form->searchGoods()); } //退货取回 public function actionGoodsRefundList() { $form = new CarLoadingForm(); $form->attributes = get_params(); $form->admin_id = $this->agentFrontId; $form->driver_id = $this->agentFrontDriverId; return $this->asJson($form->goodsRefundList()); } //退货详情 public function actionGoodsRefundDetail() { $form = new CarLoadingForm(); $form->attributes = get_params(); $form->admin_id = $this->agentFrontId; $form->driver_id = $this->agentFrontDriverId; return $this->asJson($form->refundDetail()); } //退货确认 public function actionGoodsRefundConfirm() { $form = new CarLoadingForm(); $form->attributes = post_params(); $form->admin_id = $this->agentFrontId; $form->driver_id = $this->agentFrontDriverId; return $this->asJson($form->refundConfirm()); } //装车历史记录 public function actionCarLoadingLog() { $form = new CarLoadingForm(); $form->attributes = post_params(); $form->admin_id = $this->agentFrontId; $form->driver_id = $this->agentFrontDriverId; return $this->asJson($form->carLoadingLog()); } }