|
@@ -121,7 +121,7 @@ const searchUnit = async () => {
|
|
|
const search = async (e: { skip: number; limit: number }) => {
|
|
|
if (unitInfo && unitInfo.value._id && unitInfo.value.status == '1') {
|
|
|
const { skip, limit } = e;
|
|
|
- let info = { limit: limit, skip: skip, ...searchForm.value, company_id: unitInfo.value._id };
|
|
|
+ let info = { limit: limit, skip: skip, ...searchForm.value, user_id: unitInfo.value._id };
|
|
|
const res: IQueryResult = await techoldemand.query(info);
|
|
|
if (res.errcode == 0) {
|
|
|
tableData.value = res.data as any[];
|