|
|
@@ -37,12 +37,19 @@ Component({
|
|
|
});
|
|
|
},
|
|
|
addUser() {
|
|
|
- if (this.data.add) wx.navigateTo({
|
|
|
- url: '/pages/group/index?item=' + JSON.stringify({
|
|
|
- ownertable: this.data.ownertable,
|
|
|
- ownerid: this.data.ownerid
|
|
|
+ if (this.data.add) {
|
|
|
+ wx.navigateTo({
|
|
|
+ url: '/pages/group/index?item=' + JSON.stringify({
|
|
|
+ ownertable: this.data.ownertable,
|
|
|
+ ownerid: this.data.ownerid
|
|
|
+ })
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ wx.showToast({
|
|
|
+ title: '当前状态不可查询',
|
|
|
+ icon: "none"
|
|
|
})
|
|
|
- })
|
|
|
+ }
|
|
|
},
|
|
|
}
|
|
|
})
|