public function actionIndex()
 {
     //获取用户id
     $session = Yii::$app->session->get('userinfo');
     $user_id = $session['user_id'];
     $where = ['=', 'user_id', $user_id];
     $GoodsOrder = new GoodsOrder();
     $paginations = new Pagination(['defaultPageSize' => 5, 'totalCount' => $GoodsOrder->Count($where)]);
     $Gorder = $GoodsOrder->Gorder($where, $paginations);
     $ParttimeOrder = new ParttimeOrder();
     $pagination = new Pagination(['defaultPageSize' => 5, 'totalCount' => $ParttimeOrder->Count($where)]);
     $Porder = $ParttimeOrder->Porder($where, $pagination);
     $FinPartType = new FinPartType();
     $type = $FinPartType->partComment();
     $FinJobDetails = new FinJobDetails();
     $part = $FinJobDetails->getPart();
     return $this->render('index', ['gorder' => $Gorder, 'porder' => $Porder, 'type' => $type, 'part' => $part]);
 }