Browse Source

互联网-社管一张图-款选,筛选条件‘类型’字段,查询无数据

CzRger 1 year ago
parent
commit
f390ea0292
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/gis/layout/tools/select.vue

+ 1 - 1
src/views/gis/layout/tools/select.vue

@@ -203,7 +203,7 @@ export default defineComponent({
       }
     }
     const resultTableFilterCpt = computed(() => {
-      return state.cusTransfer.result.table.data.filter(v => (state.cusTransfer.result.form.type.length === 0 || state.cusTransfer.result.form.type.includes(v.type)) && v.name.includes(state.cusTransfer.result.form.name))
+      return state.cusTransfer.result.table.data.filter(v => (state.cusTransfer.result.form.type.length === 0 || state.cusTransfer.result.form.type.includes(v.typeName)) && v.name.includes(state.cusTransfer.result.form.name))
     })
     const resultTableDataCpt = computed(() => {
       return resultTableFilterCpt.value.slice((state.cusTransfer.result.table.pageNum - 1) * state.cusTransfer.result.table.pageSize, state.cusTransfer.result.table.pageNum * state.cusTransfer.result.table.pageSize)