Browse Source

修改bug

newStyle
corala 2 years ago
parent
commit
ea3c860e05
3 changed files with 10 additions and 10 deletions
  1. +4
    -4
      src/views/Template/labelModel.vue
  2. +4
    -4
      src/views/Template/modelTodo.vue
  3. +2
    -2
      src/views/Template/requiremining.vue

+ 4
- 4
src/views/Template/labelModel.vue View File

@@ -646,16 +646,16 @@ export default {
method: 'get', method: 'get',
params: { params: {
houseId:this.houseId, houseId:this.houseId,
pageNum:this.pageNum, current:this.pageNum,
pageSize:this.pageSize, 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.tableData = res.data.records ||[];
this.total=res.data.totalRecord; this.total=res.data.total;
} }
}).catch((e)=>{ }).catch((e)=>{
this.loading= false this.loading= false


+ 4
- 4
src/views/Template/modelTodo.vue View File

@@ -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, current: this.pageNum,
pageSize: this.pageSize, 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.tableData = res.data.records || [];
this.total = res.data.totalRecord; this.total = res.data.total;
} else { } else {
this.tableData = []; this.tableData = [];
} }


+ 2
- 2
src/views/Template/requiremining.vue View File

@@ -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>


||||||
x
 
000:0
Loading…
Cancel
Save