diff --git a/src/components/flowDetail/index.vue b/src/components/flowDetail/index.vue index 78f1fe3..18a6517 100644 --- a/src/components/flowDetail/index.vue +++ b/src/components/flowDetail/index.vue @@ -1,7 +1,11 @@ diff --git a/src/views/bid_document_examination/edit.vue b/src/views/bid_document_examination/edit.vue index 38d330d..4c17493 100644 --- a/src/views/bid_document_examination/edit.vue +++ b/src/views/bid_document_examination/edit.vue @@ -232,6 +232,7 @@ + + + @@ -143,11 +145,13 @@ defineExpose({ getDetail }) - +} + diff --git a/src/views/bidbbond/index.vue b/src/views/bidbbond/index.vue index f2b7805..479e10e 100644 --- a/src/views/bidbbond/index.vue +++ b/src/views/bidbbond/index.vue @@ -145,6 +145,9 @@ const handledetail = async (data: any) => { detailRef.value?.setFormData(res) } +if (route.query?.listId) { + handledetail({ id: route.query.listId }) +} getLists() diff --git a/src/views/contract_negotiation/detail.vue b/src/views/contract_negotiation/detail.vue index bfb9a4c..142f96f 100644 --- a/src/views/contract_negotiation/detail.vue +++ b/src/views/contract_negotiation/detail.vue @@ -6,73 +6,94 @@ - {{ formData.contract_name + {{ + formData.contract_name }} - {{ formData.contract_code + {{ + formData.contract_code }} - {{ formData.project_name + {{ + formData.project_name }} - {{ formData.custom_name + {{ + formData.custom_name }} - {{ formData.contract_type + {{ + formData.contract_type }} - {{ formData.contract_pricing_method + {{ + formData.contract_pricing_method }} - {{ formData.contract_date + {{ + formData.contract_date }} - {{ formData.business_director + {{ + formData.business_director }} - {{ formData.negotiation_name + {{ + formData.negotiation_name }} - {{ formData.negotiation_no + {{ + formData.negotiation_no }} - {{ formData.negotiation_type_text + {{ + formData.negotiation_type_text }} - {{ formData.labor_costs + {{ + formData.labor_costs }} - {{ formData.material_costs + {{ + formData.material_costs }} - {{ formData.warranty_amount + {{ + formData.warranty_amount }} - {{ formData.warranty_expire_date + {{ + formData.warranty_expire_date }} - {{ formData.profit + {{ + formData.profit }} - {{ formData.profit_rate + {{ + formData.profit_rate }} - {{ formData.negotiation_content + {{ + formData.negotiation_content }} - {{ formData.negotiation_detail + {{ + formData.negotiation_detail }}
-
- 文件{{ index + 1 }}查看 +
+ 文件{{ index + 1 }}查看
@@ -82,8 +103,10 @@
-
- 文件{{ index + 1 }}查看 +
+ 文件{{ index + 1 }}查看
@@ -92,6 +115,8 @@
+ +
diff --git a/src/views/contract_negotiation/index.vue b/src/views/contract_negotiation/index.vue index 7b3b56b..d7876e1 100644 --- a/src/views/contract_negotiation/index.vue +++ b/src/views/contract_negotiation/index.vue @@ -155,7 +155,11 @@ const handleDetail = async (data: any) => { detailRef.value?.open() detailRef.value?.setFormData(res) } - +import { useRoute } from "vue-router"; +const route = useRoute() +if (route.query?.listId) { + handledetail({ id: route.query.listId }) +} getLists() diff --git a/src/views/finance_payment_apply/detail.vue b/src/views/finance_payment_apply/detail.vue index 3e9b507..5a404d9 100644 --- a/src/views/finance_payment_apply/detail.vue +++ b/src/views/finance_payment_apply/detail.vue @@ -146,8 +146,10 @@ + + diff --git a/src/views/finance_payment_apply/index.vue b/src/views/finance_payment_apply/index.vue index 98c0640..864f1b0 100644 --- a/src/views/finance_payment_apply/index.vue +++ b/src/views/finance_payment_apply/index.vue @@ -180,7 +180,9 @@ const getlist1 = () => { }) } getlist1() - +if (route.query?.listId) { + handledetail({ id: route.query.listId }) +} getLists() diff --git a/src/views/finance_payment_plan/detail.vue b/src/views/finance_payment_plan/detail.vue index 6403753..1e626c7 100644 --- a/src/views/finance_payment_plan/detail.vue +++ b/src/views/finance_payment_plan/detail.vue @@ -85,6 +85,8 @@ + + diff --git a/src/views/finance_payment_plan/index.vue b/src/views/finance_payment_plan/index.vue index 9d3437f..7dce7be 100644 --- a/src/views/finance_payment_plan/index.vue +++ b/src/views/finance_payment_plan/index.vue @@ -165,6 +165,11 @@ const getlist1 = () => { list.value = res.lists }) } + + +if (route.query?.listId) { + handledetail({ id: route.query.listId }) +} getlist1() getLists() diff --git a/src/views/finance_receipt_record/detail.vue b/src/views/finance_receipt_record/detail.vue index 26189cd..2fb631d 100644 --- a/src/views/finance_receipt_record/detail.vue +++ b/src/views/finance_receipt_record/detail.vue @@ -101,6 +101,8 @@ + + diff --git a/src/views/finance_receipt_record/index.vue b/src/views/finance_receipt_record/index.vue index ee8022a..be4af50 100644 --- a/src/views/finance_receipt_record/index.vue +++ b/src/views/finance_receipt_record/index.vue @@ -152,6 +152,10 @@ const handledetail = async (data: any) => { } +if (route.query?.listId) { + handledetail({ id: route.query.listId }) +} + getLists() diff --git a/src/views/flows/edit.vue b/src/views/flows/edit.vue index 3109532..f85bc37 100644 --- a/src/views/flows/edit.vue +++ b/src/views/flows/edit.vue @@ -50,8 +50,8 @@ 固定审批 - 授权审批人 - 可回退审批 + diff --git a/src/views/material_purchase_request/detail.vue b/src/views/material_purchase_request/detail.vue index fd91dee..840457e 100644 --- a/src/views/material_purchase_request/detail.vue +++ b/src/views/material_purchase_request/detail.vue @@ -4,17 +4,22 @@ - {{ formData.project_name }} - {{ formData.project_code }} - {{ formData.material_purchase_request_code }} - {{ formData.remark + {{ + formData.project_name }} + {{ + formData.project_code }} + {{ + formData.material_purchase_request_code }} + {{ + formData.remark }}
- 文件{{ index + 1 }}查看 + 文件{{ index + 1 }}查看
@@ -44,8 +49,12 @@
- +
+ +
@@ -174,5 +183,4 @@ defineExpose({ :deep(.my-label) { width: 150px; -} - +} diff --git a/src/views/material_purchase_request/index.vue b/src/views/material_purchase_request/index.vue index 053f52a..8d91bd3 100644 --- a/src/views/material_purchase_request/index.vue +++ b/src/views/material_purchase_request/index.vue @@ -138,6 +138,9 @@ const handledetail = async (data: any) => { } +if (route.query?.listId) { + handledetail({ id: route.query.listId }) +} diff --git a/src/views/project_cost_adjustment/edit.vue b/src/views/project_cost_adjustment/edit.vue index 52fa8dd..9285bbb 100644 --- a/src/views/project_cost_adjustment/edit.vue +++ b/src/views/project_cost_adjustment/edit.vue @@ -39,6 +39,8 @@ + + @@ -95,7 +97,8 @@ const formData = reactive({ "remark": "", "annex": [], project_name: "", - approve_detail: {} + approve_detail: {}, + approve_id: 0, }) const flowFn = (e: any) => { diff --git a/src/views/project_cost_adjustment/index.vue b/src/views/project_cost_adjustment/index.vue index c3bec63..0d08d2c 100644 --- a/src/views/project_cost_adjustment/index.vue +++ b/src/views/project_cost_adjustment/index.vue @@ -51,7 +51,7 @@ -
+
@@ -115,6 +115,11 @@ const handleDelete = async (id: number | any[]) => { await apiProjectCostAdjustmentDelete({ id }) getLists() } +import { useRoute } from "vue-router"; +const route = useRoute() +if (route.query?.listId) { + handleEdit({ id: route.query.listId }) +} getLists() diff --git a/src/views/project_cost_budget/edit.vue b/src/views/project_cost_budget/edit.vue index 439a36f..73af8f3 100644 --- a/src/views/project_cost_budget/edit.vue +++ b/src/views/project_cost_budget/edit.vue @@ -94,6 +94,8 @@ + + @@ -162,7 +164,8 @@ const formData = reactive({ "remark": "" } ], - approve_detail: {} + approve_detail: {}, + approve_id: 0, }) const flowFn = (e: any) => { formData.approve_detail = e diff --git a/src/views/project_cost_budget/index.vue b/src/views/project_cost_budget/index.vue index 5a26c73..d330435 100644 --- a/src/views/project_cost_budget/index.vue +++ b/src/views/project_cost_budget/index.vue @@ -119,6 +119,11 @@ const handleDelete = async (id: number | any[]) => { await apiProjectCostBudgetDelete({ id }) getLists() } +import { useRoute } from "vue-router"; +const route = useRoute() +if (route.query?.listId) { + handleEdit({ id: route.query.listId }) +} getLists() diff --git a/src/views/project_equipment_budget/edit.vue b/src/views/project_equipment_budget/edit.vue index 30619a8..8c614e2 100644 --- a/src/views/project_equipment_budget/edit.vue +++ b/src/views/project_equipment_budget/edit.vue @@ -95,6 +95,8 @@
+ + @@ -172,7 +174,8 @@ const formData = reactive({ "remark": "" } ], - approve_detail: {} + approve_detail: {}, + approve_id: 0 }) const flowFn = (e: any) => { formData.approve_detail = e diff --git a/src/views/project_equipment_budget/index.vue b/src/views/project_equipment_budget/index.vue index c58965d..fad291f 100644 --- a/src/views/project_equipment_budget/index.vue +++ b/src/views/project_equipment_budget/index.vue @@ -54,7 +54,7 @@ -
+
@@ -119,6 +119,11 @@ const handleDelete = async (id: number | any[]) => { await apiProjectEquipmentBudgetDelete({ id }) getLists() } +import { useRoute } from "vue-router"; +const route = useRoute() +if (route.query?.listId) { + handleEdit({ id: route.query.listId }) +} getLists() diff --git a/src/views/project_expense_reimbursement/index.vue b/src/views/project_expense_reimbursement/index.vue index 1c48bba..42545b8 100644 --- a/src/views/project_expense_reimbursement/index.vue +++ b/src/views/project_expense_reimbursement/index.vue @@ -55,7 +55,7 @@
-
+
@@ -123,7 +123,11 @@ const handleDelete = async (id: number | any[]) => { await apiProjectExpenseReimbursementDelete({ id }) getLists() } - +import { useRoute } from "vue-router"; +const route = useRoute() +if (route.query?.listId) { + // handledetail({ id: route.query.listId }) +} getLists() diff --git a/src/views/project_labor_budget/index.vue b/src/views/project_labor_budget/index.vue index a1cfc9e..ec85133 100644 --- a/src/views/project_labor_budget/index.vue +++ b/src/views/project_labor_budget/index.vue @@ -122,7 +122,11 @@ const handleDelete = async (id: number | any[]) => { await apiProjectLaborBudgetDelete({ id }) getLists() } - +import { useRoute } from "vue-router"; +const route = useRoute() +if (route.query?.listId) { + handledetail({ id: route.query.listId }) +} getLists() diff --git a/src/views/project_loan_apply/index.vue b/src/views/project_loan_apply/index.vue index eec56c2..a2aab0e 100644 --- a/src/views/project_loan_apply/index.vue +++ b/src/views/project_loan_apply/index.vue @@ -128,7 +128,11 @@ const handleDelete = async (id: number | any[]) => { await apiProjectLoanApplyDelete({ id }) getLists() } - +import { useRoute } from "vue-router"; +const route = useRoute() +if (route.query?.listId) { + // handledetail({ id: route.query.listId }) +} getLists() diff --git a/src/views/project_material_budget/index.vue b/src/views/project_material_budget/index.vue index 44bb9c1..0020a1c 100644 --- a/src/views/project_material_budget/index.vue +++ b/src/views/project_material_budget/index.vue @@ -7,7 +7,8 @@ - + @@ -23,7 +24,8 @@ 新增 - + 删除 @@ -44,7 +46,8 @@ 编辑 - + 删除 @@ -137,7 +140,11 @@ const handledetail = async (data: any) => { detailRef.value?.setFormData(res) } - +import { useRoute } from "vue-router"; +const route = useRoute() +if (route.query?.listId) { + handledetail({ id: route.query.listId }) +} getLists() diff --git a/src/views/project_settlement/index.vue b/src/views/project_settlement/index.vue index ef0fafc..1d2442e 100644 --- a/src/views/project_settlement/index.vue +++ b/src/views/project_settlement/index.vue @@ -136,7 +136,11 @@ const handledetail = async (data: any) => { detailRef.value?.open() detailRef.value?.setFormData(res) } - +import { useRoute } from "vue-router"; +const route = useRoute() +if (route.query?.listId) { + handledetail({ id: route.query.listId }) +} getLists() diff --git a/src/views/project_subcontract_settlement/index.vue b/src/views/project_subcontract_settlement/index.vue index b48bbf5..2335005 100644 --- a/src/views/project_subcontract_settlement/index.vue +++ b/src/views/project_subcontract_settlement/index.vue @@ -137,7 +137,11 @@ const handledetail = async (data: any) => { detailRef.value?.setFormData(res) } - +import { useRoute } from "vue-router"; +const route = useRoute() +if (route.query?.listId) { + handledetail({ id: route.query.listId }) +} getLists() diff --git a/src/views/project_subpackage_budget/index.vue b/src/views/project_subpackage_budget/index.vue index 0075053..2c127a6 100644 --- a/src/views/project_subpackage_budget/index.vue +++ b/src/views/project_subpackage_budget/index.vue @@ -125,7 +125,11 @@ const handledetail = async (data: any) => { detailRef.value?.setFormData(res) } - +import { useRoute } from "vue-router"; +const route = useRoute() +if (route.query?.listId) { + handledetail({ id: route.query.listId }) +} getLists() diff --git a/src/views/project_total_budget/index.vue b/src/views/project_total_budget/index.vue index 8b69bd8..50ad7ec 100644 --- a/src/views/project_total_budget/index.vue +++ b/src/views/project_total_budget/index.vue @@ -160,7 +160,11 @@ const handledetail = async (data: any) => { detailRef.value?.open() detailRef.value?.setFormData(res) } - +import { useRoute } from "vue-router"; +const route = useRoute() +if (route.query?.listId) { + handledetail({ id: route.query.listId }) +} getLists() diff --git a/src/views/project_travel_reimbursement/index.vue b/src/views/project_travel_reimbursement/index.vue index 0abdc12..fdbbd37 100644 --- a/src/views/project_travel_reimbursement/index.vue +++ b/src/views/project_travel_reimbursement/index.vue @@ -62,7 +62,7 @@
-
+
@@ -132,6 +132,11 @@ const handleDelete = async (id: number | any[]) => { getLists() } +import { useRoute } from "vue-router"; +const route = useRoute() +if (route.query?.listId) { + // handledetail({ id: route.query.listId }) +} getLists() diff --git a/src/views/project_trip_apply/index.vue b/src/views/project_trip_apply/index.vue index 311620d..95f5bda 100644 --- a/src/views/project_trip_apply/index.vue +++ b/src/views/project_trip_apply/index.vue @@ -136,6 +136,11 @@ const handleDelete = async (id: number | any[]) => { await apiProjectTripApplyDelete({ id }) getLists() } +import { useRoute } from "vue-router"; +const route = useRoute() +if (route.query?.listId) { + // handledetail({ id: route.query.listId }) +} getLists() diff --git a/src/views/recordsPayment/index.vue b/src/views/recordsPayment/index.vue index 672b153..dd86dc3 100644 --- a/src/views/recordsPayment/index.vue +++ b/src/views/recordsPayment/index.vue @@ -143,7 +143,11 @@ const handledetail = async (data: any) => { detailRef.value?.open() detailRef.value?.setFormData(res) } - +import { useRoute } from "vue-router"; +const route = useRoute() +if (route.query?.listId) { + handledetail({ id: route.query.listId }) +} getLists() diff --git a/src/views/refund/index.vue b/src/views/refund/index.vue index 9b52203..f12fe3d 100644 --- a/src/views/refund/index.vue +++ b/src/views/refund/index.vue @@ -144,7 +144,11 @@ const handledetail = async (data: any) => { detailRef.value?.setFormData(res) } - +import { useRoute } from "vue-router"; +const route = useRoute() +if (route.query?.listId) { + handledetail({ id: route.query.listId }) +} getLists() diff --git a/src/views/refundbidDeposit/index.vue b/src/views/refundbidDeposit/index.vue index 24dfcb8..955773c 100644 --- a/src/views/refundbidDeposit/index.vue +++ b/src/views/refundbidDeposit/index.vue @@ -141,7 +141,11 @@ const handledetail = async (data: any) => { detailRef.value?.setFormData(res) } - +import { useRoute } from "vue-router"; +const route = useRoute() +if (route.query?.listId) { + handledetail({ id: route.query.listId }) +} getLists() diff --git a/src/views/remittance/index.vue b/src/views/remittance/index.vue index 80a777b..077bdc1 100644 --- a/src/views/remittance/index.vue +++ b/src/views/remittance/index.vue @@ -153,7 +153,11 @@ const handledetail = async (data: any) => { detailRef.value?.setFormData(res) } - +import { useRoute } from "vue-router"; +const route = useRoute() +if (route.query?.listId) { + handledetail({ id: route.query.listId }) +} getLists() diff --git a/src/views/subcontracting_contract_negotiation/index.vue b/src/views/subcontracting_contract_negotiation/index.vue index caad473..7d48a1f 100644 --- a/src/views/subcontracting_contract_negotiation/index.vue +++ b/src/views/subcontracting_contract_negotiation/index.vue @@ -147,7 +147,11 @@ const handledetail = async (data: any) => { detailRef.value?.setFormData(res) } - +import { useRoute } from "vue-router"; +const route = useRoute() +if (route.query?.listId) { + handledetail({ id: route.query.listId }) +} getLists()