|
|
@@ -1,7 +1,8 @@
|
|
|
let _Http = getApp().globalData.http;
|
|
|
Component({
|
|
|
properties: {
|
|
|
- callback: Function
|
|
|
+ callback: Function,
|
|
|
+ queryClient: Function
|
|
|
},
|
|
|
data: {
|
|
|
queryShow: false,
|
|
|
@@ -23,7 +24,7 @@ Component({
|
|
|
queryList: null
|
|
|
})
|
|
|
that.triggerEvent("callback", item)
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
})
|
|
|
@@ -50,6 +51,9 @@ Component({
|
|
|
})
|
|
|
})
|
|
|
},
|
|
|
+ openQuery() {
|
|
|
+ this.triggerEvent("queryClient")
|
|
|
+ },
|
|
|
onClose() {
|
|
|
this.setData({
|
|
|
queryShow: false
|