|
@@ -56,7 +56,7 @@
|
|
|
</view>
|
|
|
<view v-else>
|
|
|
<view>设备启动中请注意安全,如果设备工作中出现故障,请按紧急停止按钮或联系客服。</view>
|
|
|
- <view @click="callPhone">如有疑问,请联系客服:<text>400-xxx-xxx</text> </view>
|
|
|
+ <view @click="callPhone">如有疑问,请联系客服:<text>18237162131</text> </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -83,11 +83,14 @@
|
|
|
</view>
|
|
|
</u-popup>
|
|
|
<!-- 错误提示 -->
|
|
|
- <u-popup v-model="showError" :mask-close-able="false" border-radius="10" mode="center" width="500rpx" height="400rpx">
|
|
|
+ <u-popup v-model="showError" :mask-close-able="false" border-radius="10" mode="center" width="500rpx">
|
|
|
<view style="padding: 30rpx;display: flex;justify-content: center;text-align: center;">
|
|
|
<view>
|
|
|
- <u-image width="216px" height="120px" src="/static/img/start.png"></u-image>
|
|
|
- <view style="padding: 15rpx;">{{curWorkStutesText}}</view>
|
|
|
+ <u-image width="64px" height="64px" src="/static/img/end.png"></u-image>
|
|
|
+ <view style="padding: 10px 0 20px;">洗车已完成</view>
|
|
|
+ <view>
|
|
|
+ <u-button long type="success">确定</u-button>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</u-popup>
|
|
@@ -146,10 +149,10 @@ export default {
|
|
|
console.log("onLoad")
|
|
|
// 创建websocket
|
|
|
this.$store.commit('$webSocket')
|
|
|
- uni.showLoading({
|
|
|
- title: '正在连接...',
|
|
|
- mask: true
|
|
|
- })
|
|
|
+ // uni.showLoading({
|
|
|
+ // title: '正在连接...',
|
|
|
+ // mask: true
|
|
|
+ // })
|
|
|
|
|
|
// 第一次进入洗车页面
|
|
|
if(this.$store.state.vuex_orderDjs == 0){
|
|
@@ -174,7 +177,7 @@ export default {
|
|
|
// 电话客服
|
|
|
callPhone () {
|
|
|
uni.makePhoneCall({
|
|
|
- phoneNumber: '114'
|
|
|
+ phoneNumber: '18237162131'
|
|
|
})
|
|
|
},
|
|
|
// 更新当前倒计时
|
|
@@ -403,19 +406,20 @@ export default {
|
|
|
this.$store.state.vuex_workStatus = 'end';
|
|
|
this.curWorkStutesText='洗车已结束';
|
|
|
this.resetLoadingStatus();
|
|
|
- uni.showModal({
|
|
|
- title: '提示',
|
|
|
- content: '洗车已结束',
|
|
|
- showCancel: false,
|
|
|
- success: function (res) {
|
|
|
- if (res.confirm) {
|
|
|
- // 跳转到成功页面
|
|
|
- uni.redirectTo({
|
|
|
- url:"/pages/work/success/success?type=0"
|
|
|
- })
|
|
|
- }
|
|
|
- }
|
|
|
- });
|
|
|
+ // uni.showModal({
|
|
|
+ // title: '提示',
|
|
|
+ // content: '洗车已结束',
|
|
|
+ // showCancel: false,
|
|
|
+ // success: function (res) {
|
|
|
+ // if (res.confirm) {
|
|
|
+ // // 跳转到成功页面
|
|
|
+ // uni.redirectTo({
|
|
|
+ // url:"/pages/work/success/success?type=0"
|
|
|
+ // })
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // });
|
|
|
+ this.showError = true
|
|
|
// 关闭socket
|
|
|
this.$store.commit("$closeWebsocket")
|
|
|
},
|