| | |
| | | check_list: {}, |
| | | } |
| | | }, |
| | | onNavigationBarButtonTap(e) { |
| | | //刷新 |
| | | uni.redirectTo({ |
| | | url: '../modal/ms_classAttr?param=' + JSON.stringify(this.param) + |
| | | "&titlename=" + this.title |
| | | }); |
| | | |
| | | }, |
| | | |
| | | onLoad(options) { |
| | | // console.log(options); |
| | | uni.setNavigationBarTitle({ |
| | |
| | | $this.subClass_attr_init(); |
| | | } else { |
| | | //console.log(gridstyleInfo); |
| | | |
| | | |
| | | $this.$store.dispatch('subClassGridStyleInfo', gridstyleInfo).then(success => { |
| | | // console.log(success); |
| | | if (success.code == '00000') { |
| | |
| | | $this.$data.subClassGridStyle = success.data; |
| | | |
| | | $this.subClass_attr_init(); |
| | | |
| | | |
| | | |
| | | } else { |
| | | uni.showModal({ |
| | |
| | | // "{"ret":0, "result_type":0, "result":"创建成功123123123","info":""}" |
| | | } |
| | | //刷新 |
| | | uni.redirectTo({ |
| | | url: '../modal/ms_classAttr?param=' + JSON.stringify(this.$data.param) + |
| | | "&titlename=" + this.$data.title |
| | | }); |
| | | // this.class_attr_init(); |
| | | // uni.redirectTo({ |
| | | // url: '../modal/ms_classAttr?param=' + JSON.stringify(this.$data.param) + |
| | | // "&titlename=" + this.$data.title |
| | | // }); |
| | | // // this.class_attr_init(); |
| | | } else { |
| | | uni.showModal({ |
| | | title: "错误", |
| | |
| | | var result = data.result; |
| | | if (eventID != $this.$data.param.After_OK_Event.ID) |
| | | $this.scan_OKDataObjRunCustomEvent($this.$data.param.After_OK_Event.ID); |
| | | else { |
| | | //刷新 |
| | | uni.redirectTo({ |
| | | url: '../modal/ms_classAttr?param=' + JSON.stringify($this.$data.param) + |
| | | "&titlename=" + $this.$data.title |
| | | }); |
| | | } |
| | | // else { |
| | | // //刷新 |
| | | // uni.redirectTo({ |
| | | // url: '../modal/ms_classAttr?param=' + JSON.stringify($this.$data.param) + |
| | | // "&titlename=" + $this.$data.title |
| | | // }); |
| | | // } |
| | | } else { |
| | | uni.showModal({ |
| | | title: "错误8", |
| | |
| | | var result = data.result; |
| | | if (eventID != $this.$data.param.After_Trigger_Event.ID) |
| | | $this.scan_TriggerDataObjRunCustomEvent($this.$data.param.After_Trigger_Event.ID); |
| | | else { |
| | | //刷新 |
| | | uni.redirectTo({ |
| | | url: '../modal/ms_classAttr?param=' + JSON.stringify($this.$data.param) + |
| | | "&titlename=" + $this.$data.title |
| | | }); |
| | | } |
| | | // else { |
| | | // //刷新 |
| | | // uni.redirectTo({ |
| | | // url: '../modal/ms_classAttr?param=' + JSON.stringify($this.$data.param) + |
| | | // "&titlename=" + $this.$data.title |
| | | // }); |
| | | // } |
| | | } else { |
| | | uni.showModal({ |
| | | title: "错误8", |