|
@@ -868,7 +868,7 @@ const DrawerForm = (props: IndicatorDrawerForm) => {
|
|
|
request={async () => {
|
|
request={async () => {
|
|
|
if (deptCache) return deptCache;
|
|
if (deptCache) return deptCache;
|
|
|
const data = await getHospDepartment();
|
|
const data = await getHospDepartment();
|
|
|
- deptCache = data.map(t => ({ label: t.name, value: t.code }));
|
|
|
|
|
|
|
+ deptCache = data.map(t => ({ label: t.name, value: t.id }));
|
|
|
return deptCache;
|
|
return deptCache;
|
|
|
}}
|
|
}}
|
|
|
placeholder="请选择"
|
|
placeholder="请选择"
|