diff --git a/admin/controllers/hdcloud/Clues.php b/admin/controllers/hdcloud/Clues.php index a891c85c..e4db7fe2 100644 --- a/admin/controllers/hdcloud/Clues.php +++ b/admin/controllers/hdcloud/Clues.php @@ -587,14 +587,14 @@ class Clues extends HD_Controller $biz = $this->bizs[$province_id]['list'][$biz_id]; if (!$biz) { - return $this->show_json(SYS_CODE_FAIL, '请选择分配门店!'); + return $this->show_json(SYS_CODE_FAIL, '请选择派单门店!'); } $biz['id'] = $biz_id; $clue_row = $this->clues_model->get(['id' => $id]); if ($clue_row) { // if($clue_row['status']){ -// return $this->show_json(SYS_CODE_FAIL, '已分配!'); +// return $this->show_json(SYS_CODE_FAIL, '已派单!'); // } $result = $this->push_neta($clue_row['name'], $clue_row['mobile'], $province_id, $biz, $intent, $remark); @@ -612,11 +612,11 @@ class Clues extends HD_Controller ); $this->clues_model->update($update, ['id' => $id]); - return $this->show_json(SYS_CODE_SUCCESS, '分配成功!'); + return $this->show_json(SYS_CODE_SUCCESS, '派单成功!'); } } - return $this->show_json(SYS_CODE_FAIL, '分配失败!'); + return $this->show_json(SYS_CODE_FAIL, '派单失败!'); } /** diff --git a/admin/views/hdcloud/clues/lists.php b/admin/views/hdcloud/clues/lists.php index 1aff4894..64b1db81 100644 --- a/admin/views/hdcloud/clues/lists.php +++ b/admin/views/hdcloud/clues/lists.php @@ -147,7 +147,7 @@ - + @@ -292,7 +292,7 @@ }); function edit_adviser(id) { - return $.form.modal("/hdcloud/clues/get_adviser?id=" + id, 'open_type=modal', "分配门店"); + return $.form.modal("/hdcloud/clues/get_adviser?id=" + id, 'open_type=modal', "派单门店"); } function load_clue() { diff --git a/common/models/hdcloud/Hdcloud_clues_model.php b/common/models/hdcloud/Hdcloud_clues_model.php index 2c3d3841..706da4bc 100644 --- a/common/models/hdcloud/Hdcloud_clues_model.php +++ b/common/models/hdcloud/Hdcloud_clues_model.php @@ -27,7 +27,7 @@ class Hdcloud_clues_model extends HD_Model public function statusAry($status = '') { $status_ary[0] = array('name' => '待处理', 'list' => array()); - $status_ary[1] = array('name' => '已分配', 'list' => array()); + $status_ary[1] = array('name' => '已派单', 'list' => array()); if (strlen($status)) { $return_status = $status_ary[$status];