Bläddra i källkod

添加赛事字段

zs 1 år sedan
förälder
incheckning
f07231feeb
3 ändrade filer med 21 tillägg och 3 borttagningar
  1. 7 1
      src/views/achievement/index.vue
  2. 7 1
      src/views/demand/index.vue
  3. 7 1
      src/views/innovation/index.vue

+ 7 - 1
src/views/achievement/index.vue

@@ -218,7 +218,13 @@ const searchOther = async () => {
   if ($checkRes(result)) fieldList.value = result.data
 }
 const search = async (query = { skip: 0, limit }) => {
-  const info = { skip: query.skip, limit: query.limit, ...searchForm.value }
+  const info = {
+    skip: query.skip,
+    limit: query.limit,
+    ...searchForm.value,
+    is_use: '0',
+    status: '1'
+  }
   const res = await store.query(info)
   if (res.errcode == '0') {
     list.value = res.data

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

@@ -183,7 +183,13 @@ const searchOther = async () => {
   if ($checkRes(result)) fieldList.value = result.data
 }
 const search = async (query = { skip: 0, limit }) => {
-  const info = { skip: query.skip, limit: query.limit, ...searchForm.value }
+  const info = {
+    skip: query.skip,
+    limit: query.limit,
+    ...searchForm.value,
+    is_use: '0',
+    status: '1'
+  }
   const res = await store.query(info)
   if (res.errcode == '0') {
     list.value = res.data

+ 7 - 1
src/views/innovation/index.vue

@@ -134,7 +134,13 @@ const searchOther = async () => {
   // if ($checkRes(result)) fieldList.value = result.data
 }
 const search = async (query = { skip: 0, limit }) => {
-  const info = { skip: query.skip, limit: query.limit, ...searchForm.value }
+  const info = {
+    skip: query.skip,
+    limit: query.limit,
+    ...searchForm.value,
+    is_use: '0',
+    status: '1'
+  }
   const res = await store.query(info)
   if (res.errcode == '0') {
     list.value = res.data