zs 2 년 전
부모
커밋
6112305ee1
3개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      src/views/unit/applyflair/index.vue
  2. 1 1
      src/views/unit/demand/index.vue
  3. 1 1
      src/views/unit/yearreport/index.vue

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