| @@ -646,16 +646,16 @@ export default { | |||||
| method: 'get', | method: 'get', | ||||
| params: { | params: { | ||||
| houseId:this.houseId, | houseId:this.houseId, | ||||
| pageNum:this.pageNum, | |||||
| pageSize:this.pageSize, | |||||
| current:this.pageNum, | |||||
| size:this.pageSize, | |||||
| keywordsName: this.value, | keywordsName: this.value, | ||||
| keyType: this.keyType | keyType: this.keyType | ||||
| } | } | ||||
| }).then(res => { | }).then(res => { | ||||
| this.loading= false | this.loading= false | ||||
| if(res.code==0){ | if(res.code==0){ | ||||
| this.tableData=res.data.results; | |||||
| this.total=res.data.totalRecord; | |||||
| this.tableData = res.data.records ||[]; | |||||
| this.total=res.data.total; | |||||
| } | } | ||||
| }).catch((e)=>{ | }).catch((e)=>{ | ||||
| this.loading= false | this.loading= false | ||||
| @@ -731,8 +731,8 @@ export default { | |||||
| url: `/autoSR/zk/todo/list`, | url: `/autoSR/zk/todo/list`, | ||||
| method: "get", | method: "get", | ||||
| params: { | params: { | ||||
| pageNum: this.pageNum, | |||||
| pageSize: this.pageSize, | |||||
| current: this.pageNum, | |||||
| size: this.pageSize, | |||||
| houseName: this.searchForm.houseName, | houseName: this.searchForm.houseName, | ||||
| updateUserName: this.searchForm.updateUserName, | updateUserName: this.searchForm.updateUserName, | ||||
| name: this.searchForm.name, | name: this.searchForm.name, | ||||
| @@ -743,8 +743,8 @@ export default { | |||||
| }).then((res) => { | }).then((res) => { | ||||
| // console.log(res) | // console.log(res) | ||||
| if(res.code==0){ | if(res.code==0){ | ||||
| this.tableData = res.data.results || []; | |||||
| this.total = res.data.totalRecord; | |||||
| this.tableData = res.data.records || []; | |||||
| this.total = res.data.total; | |||||
| } else { | } else { | ||||
| this.tableData = []; | this.tableData = []; | ||||
| } | } | ||||
| @@ -1,13 +1,13 @@ | |||||
| <template> | <template> | ||||
| <div class="box-center"> | <div class="box-center"> | ||||
| <div class="content-left"> | <div class="content-left"> | ||||
| <div > | |||||
| <!-- <div > | |||||
| <span style="color: red">*</span> 选择楼盘: | <span style="color: red">*</span> 选择楼盘: | ||||
| <el-select v-model="houseId" size="mini" @change="selectChange" clearable placeholder="请选择"> | <el-select v-model="houseId" size="mini" @change="selectChange" clearable placeholder="请选择"> | ||||
| <el-option v-for="item in houseList" :key="item.value" :label="item.label" :value="item.value"> | <el-option v-for="item in houseList" :key="item.value" :label="item.label" :value="item.value"> | ||||
| </el-option> | </el-option> | ||||
| </el-select> | </el-select> | ||||
| </div> | |||||
| </div> --> | |||||
| <div class="select" style="margin: 0 auto 20px;display: flex;flex-wrap: wrap;"> | <div class="select" style="margin: 0 auto 20px;display: flex;flex-wrap: wrap;"> | ||||
| <div style="font-size:18px;font-weight: bold;margin-right: 24px;">添加模板</div> | <div style="font-size:18px;font-weight: bold;margin-right: 24px;">添加模板</div> | ||||
| </div> | </div> | ||||