|
@@ -8,6 +8,7 @@ Page({
|
|
|
host: app.globalData.host,
|
|
|
enterpriseId:null,
|
|
|
mList: null,
|
|
|
+ keyword:null,
|
|
|
},
|
|
|
|
|
|
onLoad(options) {
|
|
@@ -24,6 +25,8 @@ Page({
|
|
|
// obj.pageSize = 10
|
|
|
// obj.reasonable = true
|
|
|
obj.busEnterpriseId=this.data.enterpriseId
|
|
|
+ obj.searchValue=this.data.keyword
|
|
|
+ // obj.searchFrom='app'
|
|
|
http.send_get("/system/AppPatrolstationController/getPatrolstationList", obj, this.getPatrolPointListSuccess)
|
|
|
},
|
|
|
getPatrolPointListSuccess(res) {
|
|
@@ -41,6 +44,11 @@ Page({
|
|
|
// wx.navigateTo({
|
|
|
// url: '../xunchawu/xunchawu'
|
|
|
// })
|
|
|
+ this.getPatrolPointList();
|
|
|
+ },
|
|
|
+
|
|
|
+ bindViewInputSearch(e){
|
|
|
+ this.data.keyword= e.detail.value
|
|
|
},
|
|
|
// bindViewSearchEnd(e){
|
|
|
// let isrisk = e.currentTarget.dataset.isrisk
|