表单 下拉 接口啥的


export default {
  data() {
    return {
        searchForm: {
        regionCode: "",
        type: "",
        level: "",
        startTime: this.$route.query.startTime || "",
        endTime: this.$route.query.endTime || "",
        pageRequest: {
          pageNum: 1,
          pageSize: 10,
        },
      },
    };
  },



async getWeatherWarningList() {
      let that = this;
     //判断一下searchForm里面是否有值然后,处理if()。。。。
      const res = await getWeatherWarningData(that.searchForm);

posted @   zongkm  阅读(9)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 分享4款.NET开源、免费、实用的商城系统
· 全程不用写代码,我用AI程序员写了一个飞机大战
· Obsidian + DeepSeek:免费 AI 助力你的知识管理,让你的笔记飞起来!
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
历史上的今天:
2022-03-01 js入门(8)BOM
点击右上角即可分享
微信分享提示