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