소스 검색

语音判断增加

caojunjie 4 년 전
부모
커밋
b4fd92a4eb
3개의 변경된 파일15개의 추가작업 그리고 4개의 파일을 삭제
  1. 8 3
      pages/home/Scan-code-out/index.vue
  2. 7 1
      pages/home/scancode/scancodeout.vue
  3. BIN
      static/mp3/repeat-out.mp3

+ 8 - 3
pages/home/Scan-code-out/index.vue

@@ -44,9 +44,6 @@
 					</view>
 				</view>
 			</view>
-			<view class="content-four">
-				注:请完善请完善请完善请完善请完善请完善请完善
-			</view>
 		</view>
 		<u-toast ref="repeat" position="bottom" />
 		<view class="tail" @click="location">
@@ -111,6 +108,14 @@
 			},
 			Submit() {
 				this.show = true;
+				let data = {
+						storeId:this.$store.state.storeInfo.storeId,
+						userId:this.$store.state.storeInfo.userId,
+						scanAddress: this.whole.address, //地址
+						longitude: this.whole.degree.x,
+						latitude: this.whole.degree.y,
+						materialList: this.datalist
+					}
 				request({
 					url: '/storeScan/storeScanOutTyres',
 					method: 'Post',

+ 7 - 1
pages/home/scancode/scancodeout.vue

@@ -292,7 +292,7 @@
 								}
 								if (res.data.code == 520) {
 									
-									let name = 'notallow'
+									let name = 'repeat-out'
 									this.tipss(res, name)
 									return
 								}
@@ -485,6 +485,12 @@
 								this.tipss(res, name)
 								return
 							}
+							if (res.data.code == 520) {
+								
+								let name = 'repeat-out'
+								this.tipss(res, name)
+								return
+							}
 							if (res.data.code == 500) {
 								
 								let name = 'error'

BIN
static/mp3/repeat-out.mp3