From 2c7e66c9fbbbf99f2b45fdb061dd44a8bd600ccb Mon Sep 17 00:00:00 2001
From: zmj <1493694146@qq.com>
Date: Fri, 15 Mar 2024 15:18:37 +0800
Subject: [PATCH] add
---
src/views/customer_demand/edit.vue | 11 +---
src/views/customer_demand_solution/edit.vue | 10 ----
src/views/data_reception/edit.vue | 2 -
src/views/project/edit.vue | 10 ----
src/views/project_commission/edit.vue | 54 +++++++++++++------
src/views/project_commission_detail/edit.vue | 6 +++
src/views/project_follow_up/edit.vue | 9 ----
src/views/project_salary_payment/edit.vue | 13 +----
.../task_handling_three_level_review/edit.vue | 6 +--
9 files changed, 49 insertions(+), 72 deletions(-)
diff --git a/src/views/customer_demand/edit.vue b/src/views/customer_demand/edit.vue
index 109cbb3..a0776f7 100644
--- a/src/views/customer_demand/edit.vue
+++ b/src/views/customer_demand/edit.vue
@@ -57,7 +57,6 @@
-
@@ -75,14 +74,8 @@ import { getAll } from '@/api/org/organization'
import projectTable from "@/components/project/index.vue"
import { apiCustomerDemandAdd, apiCustomerDemandEdit, apiCustomerDemandDetail } from '@/api/customer_demand'
import { useDictData } from '@/hooks/useDictOptions'
-// 上传文件
-import annexUpload from "@/components/annexUpload/index.vue"
-const handleAvatarSuccess_four = (response: any) => {
- // @ts-ignore
- response.code != 0 ? formData.annex.push({ uri: response.data.uri, name: response.data.name }) : ElMessage.error(response.msg);
-};
-// 删除上传的文件
-const delFileFn = (index: number) => { formData.annex.splice(index, 1) }
+
+
let props = defineProps({
project: Object
diff --git a/src/views/customer_demand_solution/edit.vue b/src/views/customer_demand_solution/edit.vue
index b64017c..166c7f6 100644
--- a/src/views/customer_demand_solution/edit.vue
+++ b/src/views/customer_demand_solution/edit.vue
@@ -77,16 +77,6 @@ import { apiCustomerDemandSolutionAdd, apiCustomerDemandSolutionEdit, apiCustome
import { timeFormat } from '@/utils/util'
import type { PropType } from 'vue'
-
-// 上传文件
-import annexUpload from "@/components/annexUpload/index.vue"
-const handleAvatarSuccess_four = (response: any) => {
- formData.annex ||= []
- // @ts-ignore
- response.code != 0 ? formData.annex.push({ uri: response.data.uri, name: response.data.name }) : ElMessage.error(response.msg);
-};
-// 删除上传的文件
-const delFileFn = (index: number) => { formData.annex.splice(index, 1) }
// 表单数据
const formData = reactive({
id: '',
diff --git a/src/views/data_reception/edit.vue b/src/views/data_reception/edit.vue
index 14a8250..d3c798b 100644
--- a/src/views/data_reception/edit.vue
+++ b/src/views/data_reception/edit.vue
@@ -81,7 +81,6 @@
-
@@ -94,7 +93,6 @@
-
diff --git a/src/views/project/edit.vue b/src/views/project/edit.vue
index c8fa2ce..523a4e0 100644
--- a/src/views/project/edit.vue
+++ b/src/views/project/edit.vue
@@ -229,7 +229,6 @@
-
@@ -249,15 +248,6 @@ import Popup from '@/components/popup/index.vue'
import { apiProjectAdd, apiProjectEdit, apiProjectDetail } from '@/api/project'
import { getAllProjectTypes } from '@/api/projecttype'
import type { PropType } from 'vue'
-// 上传文件
-import annexUpload from "@/components/annexUpload/index.vue"
-const handleAvatarSuccess_four = (response: any) => {
- formData.annex ||= []
- // @ts-ignore
- response.code != 0 ? formData.annex.push({ uri: response.data.uri, name: response.data.name }) : ElMessage.error(response.msg);
-};
-// 删除上传的文件
-const delFileFn = (index: number) => { formData.annex.splice(index, 1) }
diff --git a/src/views/project_commission/edit.vue b/src/views/project_commission/edit.vue
index f27decc..fe10721 100644
--- a/src/views/project_commission/edit.vue
+++ b/src/views/project_commission/edit.vue
@@ -2,7 +2,7 @@