hcong
2024-10-11 cf5d5ffc8350d86daaca952c24452b16e368c127
src/components/SearchBar.vue
@@ -49,6 +49,7 @@
      formSearch: {
        topTaskId: '',
        sceneTypeId: '',
        obj: '',
      },
    };
  },
@@ -61,6 +62,7 @@
          list.push({
            value: r.tguid,
            label: r.name,
            obj: r,
            towncode: r.towncode,
            districtCode: r.districtcode,
            month: r.starttime.slice(0, 7),
@@ -68,6 +70,7 @@
        });
        this.topTasks = list;
        this.formSearch.topTaskId = list[0].value;
        this.formSearch.obj = list[0].obj;
        this.$emit('onSubmit', this.formSearch);
      });
    },