Browse Source

bug 修复

lilei 4 years ago
parent
commit
a7e7261b99
2 changed files with 9 additions and 4 deletions
  1. 2 2
      App.vue
  2. 7 2
      pages/work/index/index.vue

+ 2 - 2
App.vue

@@ -1,6 +1,6 @@
 <script>
-	// const uat_URL = 'https://carwash.test.zyucgj.com/cw-wechat/' // 预发布
-	const uat_URL = 'http://192.168.16.103:8103/cw-wechat/' // 本地
+	const uat_URL = 'https://carwash.test.zyucgj.com/cw-wechat/' // 预发布
+	// const uat_URL = 'http://192.168.16.103:8103/cw-wechat/' // 本地
 	const pro_URL = 'https://carwash.zyucgj.com/cw-wecaht/'  // 生产
 	const buildType = 0 // 打包环境对应类型,1 生产 0 预发布
 	const buildURL = buildType ? pro_URL : uat_URL // 打包后实际对应的url

+ 7 - 2
pages/work/index/index.vue

@@ -286,11 +286,16 @@ export default {
 				}
 				// 急停
 				if(e.data.level == 'A'){
-					if(e.data.msgCode=="JJTZ"||e.data.msgCode=="XCX_JJTZ"){
+					if(e.data.msgCode=="JJTZ"){
+						
+					}
+					// 小程序紧急急停
+					else if(e.data.msgCode=="XCX_JJTZ"){
 						this.curWorkStutesText= e.data.msgCodeInfo
 						// 显示复位提示弹框
 						this.showReset()
-					}else{
+					}
+					else{
 						if(this.status == 'working'){
 							this.devError()
 						}else{