From 59471e0f1ad733823bda1846242eae52abaa9316 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com>
Date: Thu, 12 Oct 2023 15:03:29 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/signature/signature.vue | 52 ++++
components/v-sign/utils.js | 15 ++
components/v-sign/v-sign-action.vue | 162 ++++++++++++
components/v-sign/v-sign-pen.vue | 211 ++++++++++++++++
components/v-sign/v-sign.vue | 238 ++++++++++++++++++
pagesC/Onlinesigning/Onlinesigning.vue | 13 +-
.../contractsigningprotocol.vue | 23 +-
.../selectInstitution/selectInstitution.vue | 19 +-
8 files changed, 728 insertions(+), 5 deletions(-)
create mode 100644 components/signature/signature.vue
create mode 100644 components/v-sign/utils.js
create mode 100644 components/v-sign/v-sign-action.vue
create mode 100644 components/v-sign/v-sign-pen.vue
create mode 100644 components/v-sign/v-sign.vue
diff --git a/components/signature/signature.vue b/components/signature/signature.vue
new file mode 100644
index 0000000..5a97667
--- /dev/null
+++ b/components/signature/signature.vue
@@ -0,0 +1,52 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/components/v-sign/utils.js b/components/v-sign/utils.js
new file mode 100644
index 0000000..a5a9ab7
--- /dev/null
+++ b/components/v-sign/utils.js
@@ -0,0 +1,15 @@
+/**
+ * 判断是否未数值
+ * @param {Object} val
+ */
+export function isNumber(val) {
+ return !isNaN(Number(val))
+}
+
+/**
+ * 处理大小单位
+ * @param {Object} val
+ */
+export function formatSize(val) {
+ return isNumber(val) ? `${val}rpx` : val
+}
diff --git a/components/v-sign/v-sign-action.vue b/components/v-sign/v-sign-action.vue
new file mode 100644
index 0000000..65d11d1
--- /dev/null
+++ b/components/v-sign/v-sign-action.vue
@@ -0,0 +1,162 @@
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
diff --git a/components/v-sign/v-sign-pen.vue b/components/v-sign/v-sign-pen.vue
new file mode 100644
index 0000000..9c26a66
--- /dev/null
+++ b/components/v-sign/v-sign-pen.vue
@@ -0,0 +1,211 @@
+
+
+ {{ label }}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/components/v-sign/v-sign.vue b/components/v-sign/v-sign.vue
new file mode 100644
index 0000000..afb3020
--- /dev/null
+++ b/components/v-sign/v-sign.vue
@@ -0,0 +1,238 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/pagesC/Onlinesigning/Onlinesigning.vue b/pagesC/Onlinesigning/Onlinesigning.vue
index 0b82a02..ae058e0 100644
--- a/pagesC/Onlinesigning/Onlinesigning.vue
+++ b/pagesC/Onlinesigning/Onlinesigning.vue
@@ -103,7 +103,11 @@
-
+
+ 签约周期(年)
+
+
+
签约提醒:
@@ -200,12 +204,19 @@
crowdNoList: null,
packageList: [],
packageNoList: null,
+ signYears: null,
}
}
},
+ watch: {
+ // 'query.signYears': {
+ // handler(newVal, oldVal) {},
+ // }
+ },
methods: {
updata() {
if (this.radio == 2) {
+ if (!this.query.signYears) this.query.signYears = 1
let date = new Date();
let year = date.getFullYear();
let month = date.getMonth() + 1;
diff --git a/pagesC/contractsigningprotocol/contractsigningprotocol.vue b/pagesC/contractsigningprotocol/contractsigningprotocol.vue
index 3534a61..cc9a399 100644
--- a/pagesC/contractsigningprotocol/contractsigningprotocol.vue
+++ b/pagesC/contractsigningprotocol/contractsigningprotocol.vue
@@ -1,21 +1,40 @@
-
+
+
+ 111111111111111
+
+
+
+
+
+