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