|
@@ -239,4 +239,35 @@ class EmployeController extends MoonClubBaseController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ public function actionServiceStatus()
|
|
|
+ {
|
|
|
+ $auth = Yii::app()->request->getParam('auth','');
|
|
|
+ switch (intval($auth)) {
|
|
|
+ case 0:
|
|
|
+ $row = Docters::$station_option;
|
|
|
+ break;//中医
|
|
|
+ case 1:
|
|
|
+ $row = NutritiousMeals::$station_option;
|
|
|
+ break;//营养师
|
|
|
+ case 2:
|
|
|
+ $row = Techs::$station_option;
|
|
|
+ break;//保洁师
|
|
|
+ case 3:
|
|
|
+ $row = YsServices::$station_option;
|
|
|
+
|
|
|
+ break;//月嫂
|
|
|
+ case 4:
|
|
|
+ $row = Prolactins::$station_option;
|
|
|
+
|
|
|
+ break;//催乳师
|
|
|
+ case 5:
|
|
|
+ $row = Foods::$station_option;
|
|
|
+ break;//配送师
|
|
|
+ case 6:
|
|
|
+ break;//暂留
|
|
|
+ }
|
|
|
+
|
|
|
+ CommonFn::requestAjax(true,CommonFn::getMessage('message','operation_success'),$row);
|
|
|
+ }
|
|
|
+
|
|
|
}
|