|
@@ -76,23 +76,25 @@
|
|
|
八、本人承诺遵守《应考人员安全承诺书》中所有承诺内容,若因有瞒报、谎报造成新冠肺炎疫情传播的,一经查实,由本人承担相应的法律和经济责任。
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view v-if="reportStatus == 1" class="appointmentItem">
|
|
|
+ <view v-if="reportStatus == 1" class="appointmentItem ">
|
|
|
<view class="title"><text class="star_red">*</text>签名板</view>
|
|
|
<view class="dis_stys">
|
|
|
<text style="color: #999999">请在下方签名区进行签名</text>
|
|
|
<text @click="retDraw" mode="">清空</text>
|
|
|
</view>
|
|
|
<view class="handCenter">
|
|
|
- <!-- v-if="!form[item.fieldKey]" -->
|
|
|
- <canvas
|
|
|
- class="handWriting"
|
|
|
- disable-scroll="true"
|
|
|
- :catchtouchmove="true"
|
|
|
- @touchstart="uploadScaleStart"
|
|
|
- @touchmove="uploadScaleMove"
|
|
|
- @touchend="uploadScaleEnd"
|
|
|
- canvas-id="handWriting"
|
|
|
- ></canvas>
|
|
|
+ <view v-show="!address_show" class="can_vas">
|
|
|
+ <canvas
|
|
|
+ class="handWriting"
|
|
|
+ disable-scroll="true"
|
|
|
+ :catchtouchmove="true"
|
|
|
+ @touchstart="uploadScaleStart"
|
|
|
+ @touchmove="uploadScaleMove"
|
|
|
+ @touchend="uploadScaleEnd"
|
|
|
+ canvas-id="handWriting"
|
|
|
+ ></canvas>
|
|
|
+ </view>
|
|
|
+ <view v-show="address_show" class="no_true"></view>
|
|
|
<!-- <view
|
|
|
v-else
|
|
|
style="width: 100%; height: 100%; position: relative"
|
|
@@ -363,6 +365,10 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
submits() {
|
|
|
+ uni.showLoading({
|
|
|
+ title: '拼命加载中...',
|
|
|
+ mask:true,
|
|
|
+ })
|
|
|
var copyData = JSON.parse(JSON.stringify(this.activeList));
|
|
|
const index = copyData.findIndex((item) => item.checked);
|
|
|
var data = {
|
|
@@ -390,6 +396,7 @@ export default {
|
|
|
goodsId: this.goodsId,
|
|
|
orderGoodsId: this.orderGoodsId,
|
|
|
});
|
|
|
+ uni.hideLoading()
|
|
|
}
|
|
|
if (this.dataId === 2) {
|
|
|
this.$api.addApply(data).then((res) => {
|
|
@@ -400,9 +407,10 @@ export default {
|
|
|
} else {
|
|
|
uni.showToast({
|
|
|
icon: "none",
|
|
|
- title: res.data.msg,
|
|
|
+ title: res.data.msg || '预约失败,请重新预约',
|
|
|
});
|
|
|
}
|
|
|
+ uni.hideLoading()
|
|
|
});
|
|
|
}
|
|
|
this.isUploading = false
|
|
@@ -528,7 +536,7 @@ page {
|
|
|
margin-bottom: 16rpx;
|
|
|
}
|
|
|
.handCenter {
|
|
|
- .handWriting {
|
|
|
+ .handWriting, .no_true {
|
|
|
width: 100%;
|
|
|
height: 400rpx;
|
|
|
background: #fff;
|