1
wangxinhui
2025-06-10 bb66bf9372783cfb1af35a5384fdc69cc9c56a9f
代码管理/淮安PDA/pages/stash/outraworderboxing.vue
@@ -83,10 +83,10 @@
         this.getData();
      },
      methods: {
         voiceSpeech(src) {
            innerAudioContext.src = src; // '../../static/success.mp3';
            innerAudioContext.play();
         },
         // voiceSpeech(src) {
         //    innerAudioContext.src = src; // '../../static/success.mp3';
         //    innerAudioContext.play();
         // },
         getData() {
            var postData = {
               MainData: {
@@ -126,19 +126,19 @@
                        this.matInfos = [];
                        this.sn = res.data.serialNumber;
                        this.matInfos.push(res.data);
                        if (res.message) {
                        if (!res.status) {
                           this.$refs.uToast.show({
                              title: res.message,
                              type: "error"
                           })
                           setTimeout(() => {
                              this.voiceSpeech('../../static/fail.mp3');
                           }, 100);
                           // setTimeout(() => {
                           //    this.voiceSpeech('../../static/fail.mp3');
                           // }, 100);
                           return;
                        }
                        setTimeout(() => {
                           this.voiceSpeech('../../static/success.mp3');
                        }, 100);
                        // setTimeout(() => {
                        //    this.voiceSpeech('../../static/success.mp3');
                        // }, 100);
                     } else {
                        this.matInfos = [];
                        this.sns = [];
@@ -146,9 +146,9 @@
                           title: res.message,
                           type: "error"
                        })
                        setTimeout(() => {
                           this.voiceSpeech('../../static/fail.mp3');
                        }, 100);
                        // setTimeout(() => {
                        //    this.voiceSpeech('../../static/fail.mp3');
                        // }, 100);
                     }
                  })
               }