| | |
| | | }, true, 1).then(function (res1) { |
| | | if (res1.rtnCode == 1) { |
| | | that.tableMxData = res1.rtnData; |
| | | that.$playSound('success'); |
| | | |
| | | } else { |
| | | that.$toast.fail(res1.rtnMsg); |
| | | that.$playSound('error'); |
| | | } |
| | | }).catch(function (error) { |
| | | that.$toast.fail("网络错误,请重试!"); |
| | |
| | | |
| | | if (!that.inputValue) { |
| | | this.$toast.fail("检验值不能为空"); |
| | | that.$playSound('error'); |
| | | that.isLoading = false; |
| | | return; |
| | | } |
| | |
| | | that.$notify({ |
| | | type: 'success', message: res1.rtnMsg |
| | | }); |
| | | that.$playSound('success'); |
| | | that.refreshJYItem();//刷新检验项目 |
| | | //that.handleTabClick();//刷新检验明细面板 |
| | | //that.$refs.inputValue.focus(); |
| | | that.inputValue = null; |
| | | } else { |
| | | that.$toast.fail(res1.rtnMsg); |
| | | that.$playSound('error'); |
| | | that.inputValue = null; |
| | | } |
| | | that.isLoading = false; |
| | |
| | | }, true, 1).then(function (res1) { |
| | | if (res1.rtnData.outSum == 1) { |
| | | that.$notify({ type: 'success', message: '提交成功' }); |
| | | that.$playSound('success'); |
| | | that.init(); |
| | | } else { |
| | | that.$toast.fail(res1.rtnData.outMsg); |
| | | that.$playSound('error'); |
| | | } |
| | | that.ttrre = false |
| | | }).catch(function (error) { |
| | |
| | | }, true, 1).then(res1 => { |
| | | if (res1.rtnCode == 1) { |
| | | that.$notify({ type: 'success', message: '重新加载成功' }); |
| | | that.$playSound('success'); |
| | | that.init(); |
| | | } else { |
| | | that.$toast.fail(res1.rtnMsg); |
| | | that.$playSound('error'); |
| | | } |
| | | that.isLoading = false; |
| | | }).catch(error => { |