From d8b13da38afaba3acedd06cc59e292eae1cb665c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8A=B1=E6=9C=89=E6=B8=85=E9=A6=99=E6=9C=88=E6=9C=89?= =?UTF-8?q?=E9=98=B4?= <185154740@qq.com> Date: Mon, 28 Feb 2022 09:13:37 +0800 Subject: [PATCH] 27647 --- src/mods/AppServiceOnlineNew/serviceForm.vue | 42 ++++++++++---------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/src/mods/AppServiceOnlineNew/serviceForm.vue b/src/mods/AppServiceOnlineNew/serviceForm.vue index cc15d91..2d4c60a 100644 --- a/src/mods/AppServiceOnlineNew/serviceForm.vue +++ b/src/mods/AppServiceOnlineNew/serviceForm.vue @@ -121,9 +121,9 @@ -
{{ currIndex === 3 ? '签名并提交' : '下一步' }}
+
{{ currIndex === 3 ? '提交' : '下一步' }}
- + @@ -152,14 +152,14 @@ export default { return { pageShow: false, currIndex: 2, - isShow: false, + // isShow: false, id: '', list: [], handwriting: '', isHasSignature: false, tableForm: [], info: {}, - isTouch: false, + // isTouch: false, fileManage: null, } }, @@ -184,28 +184,28 @@ export default { onReady() {}, methods: { - clear() { - this.isTouch = false - this.handwriting.retDraw() - }, + // clear() { + // this.isTouch = false + // this.handwriting.retDraw() + // }, uploadScaleStart(event) { this.handwriting.uploadScaleStart(event) }, - uploadScaleMove(event) { - this.isTouch = true - this.handwriting.uploadScaleMove(event) - }, + // uploadScaleMove(event) { + // this.isTouch = true + // this.handwriting.uploadScaleMove(event) + // }, uploadScaleEnd(event) { this.handwriting.uploadScaleEnd(event) }, submitSignature() { - if (!this.isTouch) { - return this.$toast('签名不能为空') - } + // if (!this.isTouch) { + // return this.$toast('签名不能为空') + // } this.handwriting .saveCanvas() @@ -224,8 +224,8 @@ export default { .then((res) => { if (res.code === 0) { this.signatureId = res.data - this.isShow = false - this.$toast('签名成功') + // this.isShow = false + // this.$toast('签名成功') this.$nextTick(() => { this.submitForm() @@ -463,9 +463,9 @@ export default { canvasName: 'handWriting', }) - this.$nextTick(() => { - this.isShow = true - }) + // this.$nextTick(() => { + // this.isShow = true + // }) return false }