feige
2024-11-28 7fc578dc2032fac935267e92208f7f11384e3800
ruoyi-ui/src/views/search/index.vue
@@ -30,7 +30,7 @@
      </el-form-item>
      <el-form-item>
        <el-button size="mini" @click="getList" style=" width: 67px;height: 27px;background: #FFDDE3;
        <el-button size="mini" @click="handleQuery" style=" width: 67px;height: 27px;background: #FFDDE3;
            border-radius: 7px 7px 7px 7px;opacity: 1; " >搜索</el-button>
        <el-button  size="mini" @click="resetQuery" style=" width: 67px;height: 27px;background: #FFDDE3;
            border-radius: 7px 7px 7px 7px;opacity: 1; ">重置</el-button>
@@ -239,13 +239,17 @@
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
     if(this.keyword!=''||this.dateRange.length!=0)
      this.getList();
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.dateRange = [];
      this.keyword = '';
      this.getList();
     this.queryParams.pageNum = 1;
            this.searchList = []
     // this.getList();
    },
    // 多选框选中数据
    handleSelectionChange(selection) {