feige
2024-02-02 bd40473c9c634005bc7e62e7fc901bcd8b598fa0
ruoyi-ui/src/views/clean/index.vue
@@ -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;
            }
          }
        );
      },