From 270288c78e11ff310a6bb98ec6ae09cff0ee7848 Mon Sep 17 00:00:00 2001 From: zmj <1493694146@qq.com> Date: Thu, 14 Mar 2024 15:51:04 +0800 Subject: [PATCH] add --- src/components/annexUpload/index.vue | 2 +- src/components/upload/index.vue | 28 +- src/components/uploadAnnex/index.vue | 44 +++ src/views/acceptance_bill/edit.vue | 4 +- src/views/apply_with_seal/edit.vue | 13 +- .../build_process_settings copy/edit.vue | 23 +- src/views/build_process_settings/edit.vue | 20 +- src/views/consult_accept/edit.vue | 156 +------- src/views/consult_contract/edit.vue | 11 +- src/views/consult_control/edit.vue | 12 +- src/views/consult_cost/edit.vue | 11 +- src/views/consult_decision/edit.vue | 10 +- src/views/consult_declare/edit.vue | 12 +- src/views/consult_demand/edit.vue | 11 +- src/views/consult_design/edit.vue | 12 +- src/views/consult_procure/edit.vue | 12 +- src/views/consult_project/edit.vue | 11 +- src/views/consult_receive/edit.vue | 10 +- src/views/consult_scene_execute/edit.vue | 10 +- src/views/consult_scene_org/edit.vue | 12 +- src/views/consult_scene_prepare/edit.vue | 6 +- src/views/cost_approved_projects/edit.vue | 6 +- src/views/cost_projects/edit.vue | 353 +++++++++--------- src/views/custom_contacts/edit.vue | 4 +- src/views/custom_follow/edit.vue | 16 +- src/views/custom_service/edit.vue | 14 +- src/views/customer_demand/edit.vue | 4 +- src/views/customer_demand_solution/edit.vue | 5 +- .../jianli_project_progress_report/edit.vue | 6 +- .../jianli_project_progress_report/index.vue | 27 +- src/views/manage_accept_doc/edit.vue | 6 +- src/views/manage_engineering_changes/edit.vue | 6 +- src/views/manage_info_report/edit.vue | 6 +- .../manage_monthly_progress_report/edit.vue | 6 +- src/views/manage_project/edit.vue | 6 +- src/views/manage_send_doc/edit.vue | 6 +- src/views/project/edit.vue | 17 +- src/views/project_cost_adjustment/edit.vue | 1 + src/views/project_cost_budget/edit.vue | 1 + src/views/project_equipment_budget/edit.vue | 1 + .../project_expense_reimbursement/edit.vue | 1 + .../edit.vue | 1 + src/views/project_follow_up/edit.vue | 5 +- src/views/project_labor_budget/edit.vue | 2 + src/views/project_loan_apply/edit.vue | 1 + src/views/project_progress_payment/edit.vue | 4 +- src/views/project_rectification/edit.vue | 20 +- src/views/project_salary_payment/edit.vue | 4 +- src/views/project_survey_signature/edit.vue | 4 +- src/views/refundbidDeposit/edit.vue | 4 +- src/views/supervision_accept/edit.vue | 4 +- src/views/supervision_accept/index.vue | 4 +- .../supervision_commencement_report/edit.vue | 4 +- src/views/supervision_company_check/edit.vue | 4 +- .../edit.vue | 4 +- .../edit.vue | 4 +- .../supervision_contract_disclosure/edit.vue | 4 +- .../edit.vue | 4 +- .../supervision_design_disclosure/edit.vue | 4 +- src/views/supervision_diary/edit.vue | 4 +- .../edit.vue | 4 +- src/views/supervision_first_meeting/edit.vue | 4 +- src/views/supervision_inspection/edit.vue | 4 +- .../supervision_large_equipment/edit.vue | 4 +- .../edit.vue | 4 +- .../edit.vue | 4 +- .../supervision_meeting_minutes/edit.vue | 4 +- src/views/supervision_notice/edit.vue | 4 +- .../edit.vue | 4 +- src/views/supervision_planning/edit.vue | 4 +- src/views/supervision_project/edit.vue | 4 +- .../edit.vue | 4 +- .../supervision_project_case_review/edit.vue | 4 +- .../supervision_project_info_report/edit.vue | 4 +- .../supervision_project_milestones/edit.vue | 4 +- .../edit.vue | 4 +- .../edit.vue | 4 +- src/views/supervision_rules/edit.vue | 4 +- .../supervision_rules_disclosure/edit.vue | 4 +- .../edit.vue | 4 +- .../supervision_safety_warning_sign/edit.vue | 4 +- src/views/supervision_side_station/edit.vue | 4 +- .../edit.vue | 4 +- .../edit.vue | 4 +- .../supervision_witness_sampling/edit.vue | 4 +- src/views/supervision_work_contact/edit.vue | 4 +- src/views/task_allocation/edit.vue | 7 +- 87 files changed, 400 insertions(+), 718 deletions(-) create mode 100644 src/components/uploadAnnex/index.vue diff --git a/src/components/annexUpload/index.vue b/src/components/annexUpload/index.vue index 701f669..41168cf 100644 --- a/src/components/annexUpload/index.vue +++ b/src/components/annexUpload/index.vue @@ -16,7 +16,7 @@ \ No newline at end of file diff --git a/src/views/acceptance_bill/edit.vue b/src/views/acceptance_bill/edit.vue index 492eb3d..a8c421c 100644 --- a/src/views/acceptance_bill/edit.vue +++ b/src/views/acceptance_bill/edit.vue @@ -204,7 +204,9 @@ import bankaccountDialog from '@/components/bankaccount/index.vue' import salescontractDialog from '@/components/salescontract/index.vue' import { acceptancebillAdd, acceptancebillEdit, acceptancebillDetail } from '@/api/acceptance' import { toChinesNum } from "@/utils/util"; - +import { getAllProjectTypes } from '@/api/projecttype' +import { timeFormat } from '@/utils/util' +import { isEmail, isIdCard, isPhone } from '@/utils/validate' import type { PropType } from 'vue' import { deptAll } from '@/api/org/department' import { getAll } from '@/api/org/organization' diff --git a/src/views/apply_with_seal/edit.vue b/src/views/apply_with_seal/edit.vue index e2509bd..2c3d713 100644 --- a/src/views/apply_with_seal/edit.vue +++ b/src/views/apply_with_seal/edit.vue @@ -169,8 +169,7 @@ - + @@ -272,17 +271,7 @@ const submituser = (e: any) => { // 表单验证 const formRules = reactive({ - }) -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 setFormData = async (data: Record) => { diff --git a/src/views/build_process_settings copy/edit.vue b/src/views/build_process_settings copy/edit.vue index 1fa597f..6b44b8f 100644 --- a/src/views/build_process_settings copy/edit.vue +++ b/src/views/build_process_settings copy/edit.vue @@ -1,7 +1,8 @@