zs 2 tahun lalu
induk
melakukan
6112305ee1

+ 1 - 1
src/views/unit/applyflair/index.vue

@@ -109,7 +109,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 applyflair.query(info);
     if (res.errcode == 0) {
       tableData.value = res.data as any[];

+ 1 - 1
src/views/unit/demand/index.vue

@@ -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[];

+ 1 - 1
src/views/unit/yearreport/index.vue

@@ -109,7 +109,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 yearreport.query(info);
     if (res.errcode == 0) {
       tableData.value = res.data as any[];