feige
2024-02-02 bd40473c9c634005bc7e62e7fc901bcd8b598fa0
ruoyi-ui/src/views/clean/index.vue
@@ -109,7 +109,7 @@
              v-hasPermi="['family:note:export']"
            >导入模板下载</el-button>
          </el-col>
          <el-col :span="1.2">
          <el-col :span="1.5">
            <el-upload
              action=""
              class="upload-demo"
@@ -118,7 +118,7 @@
            >
              <el-button size="mini"   type="primary"
              plain
              icon="el-icon-plus" >导入</el-button>
             icon="el-icon-top" >导入</el-button>
            </el-upload>
          </el-col>
@@ -177,6 +177,7 @@
                size="mini"
                type="text"
                icon="el-icon-edit"
                      :disabled="!scope.row.ownData"
                @click="handleUpdate(scope.row)"
                v-hasPermi="['familymodel:clean:info']"
              >修改</el-button>
@@ -184,6 +185,7 @@
                size="mini"
                type="text"
                icon="el-icon-delete"
                      :disabled="!scope.row.ownData"
                @click="handleDelete(scope.row)"
                v-hasPermi="['system:role:remove']"
              >删除</el-button>
@@ -363,7 +365,9 @@
        // 日期范围
        dateRange: [],
        // 数据范围选项
        fot:[".jpg",".jif"],
      fot:['.bmp','.jpg','.jpeg','.png','.tif','.gif','.pcx','.tga','.exif','.fpx',
        '.svg','.psd','.cdr','.pcd','.dxf','.ufo','.eps','.ai','.aw','.WMF','.webp','.apng'],
        fileList:[
        ],
        fileListOther:[
@@ -487,14 +491,21 @@
        this.queryParams.happenEndTime = this.dateRange.length > 0 && this.dateRange[1]
        // console.log(this.queryParams)
        let _this = this
        //  listProperty(this.addDateRange(this.queryParams, this.dateRange)).then(response => {
        listClean(this.queryParams).then(response => {
            //  alert(123)
            //   console.log(response.data)
            this.cleanList = response.data.data;
            if(response.msg=="您没加入到对应的家庭,请联系管理员")
            {
                _this.$modal.msgSuccess("您没加入到对应的家庭,请联系管理员");
                _this.loading = false;
            }else{
            _this.cleanList = response.data.data;
            this.total = response.data.total;
            this.loading = false;
            _this.total = response.data.total;
            _this.loading = false;
            }
          }
        );
      },
@@ -738,7 +749,7 @@
    }
  };
  </script>
  <style>
<style scoped>
  .el-table__row.statistics-warning-row {
    background: #E0EEFE;