物业之前,新工作台
This commit is contained in:
@@ -109,6 +109,7 @@ const data = reactive<PageData<CarForm, CarQuery>>({
|
||||
queryParams: {
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
villageId: Number(localStorage.getItem('villageid')),
|
||||
areaId: undefined,
|
||||
parkingId: undefined,
|
||||
residentId: undefined,
|
||||
@@ -129,7 +130,9 @@ const { queryParams, form, rules } = toRefs(data);
|
||||
/** 持有人 */
|
||||
const ResidentList = ref([]);
|
||||
const getResidentName = (id: string | number) => {
|
||||
const find = ResidentList.value.find((item) => item.id === id);
|
||||
console.log(ResidentList.value, id);
|
||||
const find = ResidentList.value.find((item) => item.id == id);
|
||||
console.log(find);
|
||||
return find.name;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user