north 8 ani în urmă
părinte
comite
ede7e70d01

+ 1 - 1
www/protected/modules/moonclub/controllers/POrderController.php

@@ -133,7 +133,7 @@ class POrderController extends AdminController
             CommonFn::requestAjax(false, '服务人员信息不存在');exit;
         }
 
-        $order->order_time = strtotime($order_time);//服务日期
+        $order->order_time = intval($order_time)g;//服务日期
         $order->address['floor'] = $floor;//楼号
         $order->address['room'] = $room;//房号
         $order->service_standards = $package;//服务标准

+ 9 - 0
www/protected/modules/moonclub/models/Complaints.php

@@ -19,6 +19,15 @@ class Complaints extends MongoAr
     public $result;//处理结果
     public $feedback;//客户意见
     public $desc;//备注
+    public $status;
+
+    public static $status_options = array(
+        0 => array("name"=> "未处理"),
+        1 => array("name"=> "处理中"),
+        2 => array("name"=> "未处理"),
+        3 => array("name"=> "未处理"),
+        4 => array("name"=> "未处理"),
+    );
 
     public function __construct($scenario='insert'){
         $this->setMongoDBComponent(Yii::app()->getComponent('mongodb_o2o'));