修改解绑表的时候读数问题,抄表路线的抄表记录可以查看图片

This commit is contained in:
2025-10-28 14:25:59 +08:00
parent 2535720023
commit fe590353df
16 changed files with 197 additions and 29 deletions

View File

@@ -18,9 +18,10 @@ Component({
show: Boolean,
park: String,
isBack: Boolean,
filterBind: Boolean,
},
observers: {
"show,type": function(newShow, newType) {
"show,type,filterBind": function(newShow, newType) {
if (newShow && newType) {
this.onSearch()
}
@@ -96,7 +97,7 @@ Component({
this.triggerEvent("confirm", { data: item, way: index, type } );
},
onSearch() {
const { type } = this.data;
const { type, bind, filterBind } = this.data;
switch(type) {
case "park":
this.onSearchPark();
@@ -125,8 +126,8 @@ Component({
})
},
async onSearchMeter() {
const { searchText = "", park } = this.data;
const { code, message, data: parks = [] } = await getParkSimpleMeterList({keyword: searchText, park});
const { searchText = "", park, filterBind } = this.data;
const { code, message, data: parks = [] } = await getParkSimpleMeterList({keyword: searchText, park, isNeedBind: !filterBind});
if (code !== OK) {
alertInfo(message)
return