YY 2 سال پیش
والد
کامیت
5ea3802e9f
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      src/components/common/web/list/demand.vue
  2. 1 1
      src/components/common/web/list/support.vue

+ 1 - 1
src/components/common/web/list/demand.vue

@@ -61,7 +61,7 @@ onMounted(async () => {
 // 查询
 const search = async (e: { skip: number; limit: number }) => {
   const { skip, limit } = e;
-  let info = { limit: limit, skip: skip, ...searchForm.value, is_use: '0', status: '1' };
+  let info = { limit: limit, skip: skip, ...searchForm.value, is_use: 'Y', status: '1' };
   if (info.limit == undefined) info.limit = 8;
   const res: IQueryResult = await techoldemand.query(info);
   list.value = res.data as any[];

+ 1 - 1
src/components/common/web/list/support.vue

@@ -61,7 +61,7 @@ onMounted(async () => {
 // 查询
 const search = async (e: { skip: number; limit: number }) => {
   const { skip, limit } = e;
-  let info = { limit: limit, skip: skip, ...searchForm.value, is_use: '0', status: '1' };
+  let info = { limit: limit, skip: skip, ...searchForm.value, is_use: 'Y', status: '1' };
   if (info.limit == undefined) info.limit = 8;
   const res: IQueryResult = await techolsupport.query(info);
   list.value = res.data as any[];