This commit is contained in:
yanran200730
2022-03-29 16:31:01 +08:00
parent de2eff8ce6
commit 6aa4d5a6d8

View File

@@ -95,8 +95,8 @@
size="small" size="small"
placeholder="户主姓名/身份证号/网格员" placeholder="户主姓名/身份证号/网格员"
clearable clearable
v-throttle="() => {search.current = 1, getList()}" v-throttle="() => {search.current = 1, getLogCount()}"
@clear="search.current = 1, search.name = '', getList()" @clear="search.current = 1, search.name = '', getLogCount()"
suffix-icon="iconfont iconSearch"> suffix-icon="iconfont iconSearch">
</el-input> </el-input>
</template> </template>
@@ -111,7 +111,7 @@
:current.sync="search.current" :current.sync="search.current"
:size.sync="search.size" :size.sync="search.size"
@selection-change="(v) => (ids = v.map((e) => e.id))" @selection-change="(v) => (ids = v.map((e) => e.id))"
@getList="getList"> @getList="getLogCount">
</ai-table> </ai-table>
</template> </template>
</ai-card> </ai-card>
@@ -188,10 +188,10 @@
this.hideLevel = this.user.info.areaList.length - 1 this.hideLevel = this.user.info.areaList.length - 1
this.dict.load('fpRiskPersonStatus', 'sex').then(() => { this.dict.load('fpRiskPersonStatus', 'sex').then(() => {
this.getList() this.getLogCount()
}) })
this.getTotal() this.getTotal()
this.getLogCount() this.getList()
}, },
methods: { methods: {
@@ -222,8 +222,8 @@
}, },
onChange () { onChange () {
this.getList()
this.getTotal() this.getTotal()
this.getLogCount()
}, },
getTotal() { getTotal() {