From 0d22ab734635c43a5a1c45e71fb2c691ebff52b2 Mon Sep 17 00:00:00 2001
From: shengchanzhe <179998674@qq.com>
Date: Sun, 14 Jan 2024 16:01:22 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86=E9=94=99?=
=?UTF-8?q?=E8=AF=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/custom_contacts/detail.vue | 33 ++++++++-----
src/views/custom_contacts/edit.vue | 9 +++-
src/views/custom_service/edit.vue | 44 ++++++++++++------
src/views/customer_demand/edit.vue | 30 ++++++++----
src/views/project_follow_up/detail.vue | 60 +++++++++++++++---------
src/views/project_follow_up/edit.vue | 64 +++++++++++++++++---------
6 files changed, 159 insertions(+), 81 deletions(-)
diff --git a/src/views/custom_contacts/detail.vue b/src/views/custom_contacts/detail.vue
index 6a86cf0..90fa226 100644
--- a/src/views/custom_contacts/detail.vue
+++ b/src/views/custom_contacts/detail.vue
@@ -5,19 +5,26 @@
-
+
-
-
-
+
+
+
diff --git a/src/views/custom_contacts/edit.vue b/src/views/custom_contacts/edit.vue
index d6a689f..71d48bb 100644
--- a/src/views/custom_contacts/edit.vue
+++ b/src/views/custom_contacts/edit.vue
@@ -44,7 +44,11 @@
-->
-
+
上传
@@ -52,7 +56,8 @@
diff --git a/src/views/custom_service/edit.vue b/src/views/custom_service/edit.vue
index 8d32886..7c033e3 100644
--- a/src/views/custom_service/edit.vue
+++ b/src/views/custom_service/edit.vue
@@ -24,14 +24,15 @@
-
+
-
-
+
+
-
+
上传
@@ -111,7 +125,8 @@
@@ -167,6 +182,7 @@ const showDialog2 = ref(false)
const custom_name = ref('')
const project_name = ref('')
const project_code = ref('')
+const contract_id = ref('')
const processed_admin_name = ref('')
const personnel = ref()
const formDataannex = reactive([])
diff --git a/src/views/customer_demand/edit.vue b/src/views/customer_demand/edit.vue
index 6364c98..c3321fc 100644
--- a/src/views/customer_demand/edit.vue
+++ b/src/views/customer_demand/edit.vue
@@ -3,16 +3,20 @@
-
-
+
+
-
+
-
+
@@ -29,7 +33,8 @@
-
+
@@ -40,7 +45,8 @@
-
+
@@ -48,7 +54,10 @@
-
+
上传
@@ -56,7 +65,8 @@
@@ -168,7 +178,7 @@ const formData = reactive({
importance: '',
recording_time: '',
demand_content: '',
- annex: '',
+ annex: [],
})
const checkPhone = (rule: any, value: any, callback: (arg0: Error) => any) => {
const phoneReg = /^1[3|4|5|7|8][0-9]{9}$/
@@ -231,7 +241,7 @@ const getDetail = async (row: Record) => {
// 提交按钮
const handleSubmit = async () => {
if (formDataannex.length > 0) {
- formData.annex = JSON.stringify(formDataannex.map((item) => item.uri))
+ formData.annex = formDataannex.map((item) => item.uri)
}
await formRef.value?.validate()
const data = { ...formData, }
diff --git a/src/views/project_follow_up/detail.vue b/src/views/project_follow_up/detail.vue
index 28a2f5c..2df6081 100644
--- a/src/views/project_follow_up/detail.vue
+++ b/src/views/project_follow_up/detail.vue
@@ -4,59 +4,75 @@
- {{ formData.custom_name }}
- {{ formData.project_name }}
- {{ formData.project_code }}
+ {{
+ formData.custom_name }}
+ {{
+ formData.project_name }}
+ {{
+ formData.project_code }}
{{ formData.executor }}
- {{ formData.contacts
+ {{
+ formData.contacts
}}
- {{ formData.contact_information
+ {{
+ formData.contact_information
}}
- {{ formData.project_role
+ {{
+ formData.project_role
}}
- {{ formData.position
+ {{
+ formData.position
}}
- {{ formData.follow_date
+ {{
+ formData.follow_date
}}
- {{ formData.theme
+ {{
+ formData.theme
}}
- {{ formData.action_description
+ {{
+ formData.action_description
}}
- {{ formData.project_assurance_text
+ {{
+ formData.project_assurance_text
}}
- {{ formData.follow_status_text
+ {{
+ formData.follow_status_text
}}
- {{ formData.follow_stage_text
+ {{
+ formData.follow_stage_text
}}
- {{ formData.notes
+ {{
+ formData.notes
- }} {{ formData.next_follow_up_date
+ }} {{ formData.next_follow_up_date
-}}
+ }}
-
-
-
文件{{ index + 1 }}查看
+
+
+ 文件{{ index + 1 }}查看
@@ -146,13 +162,11 @@ defineExpose({
getDetail
})
-
+}
diff --git a/src/views/project_follow_up/edit.vue b/src/views/project_follow_up/edit.vue
index 026f4c3..792858c 100644
--- a/src/views/project_follow_up/edit.vue
+++ b/src/views/project_follow_up/edit.vue
@@ -4,15 +4,19 @@
-
-
+
+
-
+
-
+
@@ -21,7 +25,8 @@
-
+
@@ -31,37 +36,48 @@
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -70,13 +86,18 @@
-
+
-
+
上传
@@ -84,7 +105,8 @@
@@ -186,7 +208,7 @@ const formData = reactive({
notes: '',
next_follow_up_date: '',
ceate_time: '',
- file: ''
+ file: []
})
@@ -245,7 +267,7 @@ const checkPhone = (rule: any, value: any, callback: (arg0: Error) => any) => {
// 提交按钮
const handleSubmit = async () => {
if (formDataannex.length > 0) {
- formData.file = JSON.stringify(formDataannex.map((item) => item.uri))
+ formData.file = formDataannex.map((item) => item.uri)
}
await formRef.value?.validate()