zs 9 miesięcy temu
rodzic
commit
bb580e0f27

+ 0 - 1
src/views/detail/company.vue

@@ -184,7 +184,6 @@ const search = async (query = { skip, limit }) => {
   const info = {
     skip: query.skip,
     limit: query.limit,
-    is_use: '0',
     status: '1',
     ...searchForm.value
   }

+ 0 - 1
src/views/detail/expert.vue

@@ -102,7 +102,6 @@ const search = async (query = { skip, limit }) => {
   const info = {
     skip: query.skip,
     limit: query.limit,
-    is_use: '0',
     status: '1',
     ...searchForm.value
   }

+ 2 - 3
src/views/detail/newsDetail.vue

@@ -130,11 +130,10 @@ const searchOther = async () => {
   const data = {
     skip: 0,
     limit: 3,
-    status: '1',
-    is_use: '0'
+    status: '1'
   }
   let res
-  res = await projectStore.query(data)
+  res = await projectStore.query({ ...data, is_use: '0' })
   if (res.errcode == '0') projectList.value = res.data
   res = await expertStore.query(data)
   if (res.errcode == '0') expertList.value = res.data

+ 0 - 1
src/views/detail/projectDetail.vue

@@ -165,7 +165,6 @@ const searchExpert = async () => {
   const data = {
     skip: 0,
     limit: 3,
-    is_use: '0',
     status: '1'
   }
   const res = await expertStore.query(data)

+ 2 - 4
src/views/four/parts/index.vue

@@ -480,8 +480,7 @@ const searchExport = async () => {
   const info = {
     skip: 0,
     limit: 10,
-    status: '1',
-    is_use: '0'
+    status: '1'
   }
   const res = await expertStore.query(info)
   if (res.errcode == '0') exportList.value = res.data
@@ -490,8 +489,7 @@ const searchCompany = async () => {
   const info = {
     skip: 0,
     limit: 10,
-    status: '1',
-    is_use: '0'
+    status: '1'
   }
   const res = await companyStore.query(info)
   if (res.errcode == '0') companyList.value = res.data

+ 0 - 1
src/views/search/parts/company.vue

@@ -185,7 +185,6 @@ const search = async (query = { skip, limit }) => {
     skip: query.skip,
     limit: query.limit,
     status: '1',
-    is_use: '0',
     ...searchForm.value
   }
   if (searchValue.value) info.tags = searchValue.value

+ 0 - 1
src/views/search/parts/expert.vue

@@ -187,7 +187,6 @@ const search = async (query = { skip, limit }) => {
     skip: query.skip,
     limit: query.limit,
     status: '1',
-    is_use: '0',
     ...searchForm.value
   }
   if (searchValue.value) info.tags = searchValue.value