예제 #1
0
 /**
  * Lists all Dict models.
  * @return mixed
  */
 public function actionIndex()
 {
     $this->setMenus(43, "字典管理");
     $category_id = LsYii::getGetValue('category_id', 'sex');
     $searchModel = new DictSearch();
     $dataProvider = $searchModel->search(Yii::$app->request->queryParams);
     return $this->render('index', ['searchModel' => $searchModel, 'dataProvider' => $dataProvider, 'category_id' => $category_id]);
 }
예제 #2
0
 /**
  * Lists all Dict models.
  * @return mixed
  */
 public function actionIndex()
 {
     $searchModel = new DictSearch();
     $dataProvider = $searchModel->search(Yii::$app->request->queryParams);
     return $this->render('index', ['searchModel' => $searchModel, 'dataProvider' => $dataProvider]);
 }