This commit is contained in:
zk
2024-10-10 13:17:07 +08:00
parent 3df70a2b3f
commit 4394844890
4 changed files with 11 additions and 6 deletions
@@ -93,7 +93,6 @@
const userStore = useUserStore();
const formState = computed(() => ({
...formRecord.value,
centerId: '',
dataType: props.setting.dataType,
phoneType: props.phoneType,
showType: '0',
@@ -62,8 +62,14 @@
try {
let orgCodeList = userStore.getCenterInfo?.serviceScope || '';
let centerId = userStore.getCenterInfo?.id || '';
console.log('centerId', centerId);
const { code, result } =
(await getPhysicalData({ dataType: props.setting.dataType, condition: selectVal.value, orgCodeList, centerId })) || {};
(await getPhysicalData({
dataType: props.setting.dataType,
condition: selectVal.value,
orgCodeList,
centerId,
})) || {};
setSpin(!spinning.value);
if (code != 200) {
return;