工作台页面优化

This commit is contained in:
Guoxianpeng
2026-04-10 17:21:43 +08:00
parent f9ab5e18fb
commit 3246735b18
4 changed files with 1383 additions and 1190 deletions
+15
View File
@@ -0,0 +1,15 @@
import request from '@/utils/request'
/**
* 工作台相关API
*/
export const workbenchApi = {
/**
* 获取工作台数据
*/
getWorkbenchData: () => {
return request.get({
url: '/workbench/index'
})
}
}
File diff suppressed because it is too large Load Diff
+1
View File
@@ -173,3 +173,4 @@ class Order extends BaseModel
}
}
}
}
@@ -96,8 +96,8 @@ class Appointment extends BaseModel
return $this->hasOne('app\adminapi\logic\auth\AdminLogic', 'id', 'doctor_id')
->bind(['doctor_name' => 'name']);
}
public function diagnosis(){
return $this->belongsTo('app\common\model\tcm\Diagnosis', 'patient_id', 'id');
public function diagnosis()
{
return $this->belongsTo('app\common\model\tcm\Diagnosis', 'patient_id', 'id');
}
}