处方溯源测试
This commit is contained in:
@@ -140,6 +140,7 @@ class ExamineController extends BasePharmacistController
|
||||
*/
|
||||
public function actionVerify()
|
||||
{
|
||||
// 审核处理
|
||||
$pharmacistrInfo = PharmacistrInfo::find()->where(['su_id' => \Yii::$app->user->identity->getId()])->one();
|
||||
if (!$pharmacistrInfo) {
|
||||
throw new Exception('药师数据错误');
|
||||
@@ -241,6 +242,7 @@ class ExamineController extends BasePharmacistController
|
||||
$doctor['depart'] = $depart->name;
|
||||
$doctor['name'] = $doctorInfo->name;
|
||||
|
||||
ds($prescription);
|
||||
return [
|
||||
'type' => $prescription->prescription_type == 1 ? '中药处方' : ($prescription->prescription_type == 2 ? '西药处方' : '颗粒药处方'),
|
||||
'prescription' => $prescription,
|
||||
|
||||
Reference in New Issue
Block a user