|
@@ -100,6 +100,7 @@ class SurveyNewController extends Controller
|
|
$arr[$key] = $value;
|
|
$arr[$key] = $value;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+
|
|
$model->load($data);
|
|
$model->load($data);
|
|
$model->save();
|
|
$model->save();
|
|
return $this->redirect(['index']);
|
|
return $this->redirect(['index']);
|
|
@@ -108,6 +109,8 @@ class SurveyNewController extends Controller
|
|
return $this->render('create', [
|
|
return $this->render('create', [
|
|
'model' => $model,
|
|
'model' => $model,
|
|
'type'=>$typeDesc,
|
|
'type'=>$typeDesc,
|
|
|
|
+ 'configModels' => $configModels,
|
|
|
|
+ 'cengciModels' => $cengciModels,
|
|
]);
|
|
]);
|
|
|
|
|
|
}
|
|
}
|