feige
2024-11-28 7fc578dc2032fac935267e92208f7f11384e3800
ruoyi-ui/src/views/search/index.vue
@@ -15,7 +15,7 @@
      <el-form-item label="时间" prop="happenTime">
        <el-date-picker
          v-model="dateRange"
          style="width:  197px;
          style="width:  240px;
          height: 30px;
          background: #FFFFFF;
          border-radius: 14px 14px 14px 14px;
@@ -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>
@@ -233,19 +233,23 @@
          deptCheckStrictly: true,
          remark: undefined
        };
      this.resetForm("form");
      this.resetForm("elForm");
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
      this.getList();
     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) {
@@ -274,7 +278,7 @@
      }else if(row.by5=="/family/zfDoctor"){//家庭小医生
        path ="/familymodel/Doctor/doctorInfo/"
      }else if(row.by5=="/family/zfClea"){ // 保洁收纳  -----------有问题
      }else if(row.by5=="/family/zfClean"){ // 保洁收纳  -----------有问题----已解决
        path = "/familymodel/clean/cleanInfo/"
      }else if(row.by5=="/family/zfContact"){  //通讯录