commit
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
<script>
|
||||
module.exports = {
|
||||
name: "h5",
|
||||
name: "sysSignatureH5",
|
||||
components: {
|
||||
signature: httpVueLoader("/components/plugins/sysSignature/index.vue?v=" + new Date().getTime())
|
||||
},
|
||||
|
||||
+11
-11
@@ -70,17 +70,13 @@ layout("/layouts/platform_h5.html"){
|
||||
maxlength="100"
|
||||
show-word-limit
|
||||
></van-field>
|
||||
<van-field
|
||||
class="more-text"
|
||||
name="tf_userSign"
|
||||
label="电子签名"
|
||||
:rules="[{ required: true, message: '请签字' }]"
|
||||
required
|
||||
>
|
||||
<template #input>
|
||||
<h5-signature v-model="formData.tf_userSign"></h5-signature>
|
||||
</template>
|
||||
</van-field>
|
||||
<van-cell-group class="form-section">
|
||||
<van-field class="more-text" name="tf_userSign" label="">
|
||||
<template #input>
|
||||
<h5-signature v-model="formData.tf_userSign" slot="input"></h5-signature>
|
||||
</template>
|
||||
</van-field>
|
||||
</van-cell-group>
|
||||
</van-form>
|
||||
<div style="display: flex; justify-content: space-between; column-gap: 10px; padding: 10px">
|
||||
<van-button type="danger" block @click="handleTaskAction(6)">退回</van-button>
|
||||
@@ -146,6 +142,10 @@ layout("/layouts/platform_h5.html"){
|
||||
async handleTaskAction(val) {
|
||||
try {
|
||||
await this.$refs.formRef.validate();
|
||||
if (!this.formData.tf_userSign) {
|
||||
this.$toast.fail("请签字")
|
||||
return
|
||||
}
|
||||
this.$dialog.confirm({
|
||||
title: "提示",
|
||||
message: "您确定要提交吗?"
|
||||
|
||||
+11
-11
@@ -70,17 +70,13 @@ layout("/layouts/platform_h5.html"){
|
||||
maxlength="100"
|
||||
show-word-limit
|
||||
></van-field>
|
||||
<van-field
|
||||
class="more-text"
|
||||
name="tf_userSign"
|
||||
label="电子签名"
|
||||
:rules="[{ required: true, message: '请签字' }]"
|
||||
required
|
||||
>
|
||||
<template #input>
|
||||
<h5-signature v-model="formData.tf_userSign"></h5-signature>
|
||||
</template>
|
||||
</van-field>
|
||||
<van-cell-group class="form-section">
|
||||
<van-field class="more-text" name="tf_userSign" label="">
|
||||
<template #input>
|
||||
<h5-signature v-model="formData.tf_userSign" slot="input"></h5-signature>
|
||||
</template>
|
||||
</van-field>
|
||||
</van-cell-group>
|
||||
</van-form>
|
||||
<div style="display: flex; justify-content: space-between; column-gap: 10px; padding: 10px">
|
||||
<van-button type="danger" block @click="handleTaskAction(6)">退回</van-button>
|
||||
@@ -146,6 +142,10 @@ layout("/layouts/platform_h5.html"){
|
||||
async handleTaskAction(val) {
|
||||
try {
|
||||
await this.$refs.formRef.validate();
|
||||
if (!this.formData.tf_userSign) {
|
||||
this.$toast.fail("请签字")
|
||||
return
|
||||
}
|
||||
this.$dialog.confirm({
|
||||
title: "提示",
|
||||
message: "您确定要提交吗?"
|
||||
|
||||
+11
-11
@@ -70,17 +70,13 @@ layout("/layouts/platform_h5.html"){
|
||||
maxlength="100"
|
||||
show-word-limit
|
||||
></van-field>
|
||||
<van-field
|
||||
class="more-text"
|
||||
name="tf_userSign"
|
||||
label="电子签名"
|
||||
:rules="[{ required: true, message: '请签字' }]"
|
||||
required
|
||||
>
|
||||
<template #input>
|
||||
<h5-signature v-model="formData.tf_userSign"></h5-signature>
|
||||
</template>
|
||||
</van-field>
|
||||
<van-cell-group class="form-section">
|
||||
<van-field class="more-text" name="tf_userSign" label="">
|
||||
<template #input>
|
||||
<h5-signature v-model="formData.tf_userSign" slot="input"></h5-signature>
|
||||
</template>
|
||||
</van-field>
|
||||
</van-cell-group>
|
||||
</van-form>
|
||||
<div style="display: flex; justify-content: space-between; column-gap: 10px; padding: 10px">
|
||||
<van-button type="danger" block @click="handleTaskAction(6)">退回</van-button>
|
||||
@@ -146,6 +142,10 @@ layout("/layouts/platform_h5.html"){
|
||||
async handleTaskAction(val) {
|
||||
try {
|
||||
await this.$refs.formRef.validate();
|
||||
if (!this.formData.tf_userSign) {
|
||||
this.$toast.fail("请签字")
|
||||
return
|
||||
}
|
||||
this.$dialog.confirm({
|
||||
title: "提示",
|
||||
message: "您确定要提交吗?"
|
||||
|
||||
Reference in New Issue
Block a user