| | |
| | | inspectedResult:JSON.stringify(this.inspectData) |
| | | }, 'json').then(res => { |
| | | if (res.code === 0) { |
| | | uni.$u.toast('检查成功') |
| | | this.$u.toast('检查成功') |
| | | this.form={} |
| | | this.ClickLoading = false; |
| | | this.inspectData=[] |
| | |
| | | this.logoutShow = false; |
| | | this.TaskCoalList() |
| | | } else { |
| | | uni.$u.toast(res.msg ? res.msg : '检查失败') |
| | | this.ClickLoading = false; |
| | | this.show = false; |
| | | this.logoutShow = false; |
| | | this.$u.toast(res.msg || '检查失败') |
| | | |
| | | } |
| | | }) |
| | | }else{ |
| | | uni.$u.toast('必须全部检测') |
| | | this.$u.toast('必须全部检测') |
| | | } |
| | | }, |
| | | logoutCancel() { |
| | |
| | | this.form={} |
| | | this.inspectData=[] |
| | | this.certificateImg="" |
| | | if(uni.getStorageSync('door', this.door)){ |
| | | this.TaskCoalList(); |
| | | } |
| | | }, |
| | | popClick() { |
| | | this.logoutShow = true; |