From d69b0f5c0e46154470c76e940569e4c012e53d8d Mon Sep 17 00:00:00 2001 From: zmj <1493694146@qq.com> Date: Thu, 16 May 2024 14:35:13 +0800 Subject: [PATCH] add --- src/views/contract_ledger/index.vue | 18 +----------------- .../marketing_handover_contract/index.vue | 7 +++---- 2 files changed, 4 insertions(+), 21 deletions(-) diff --git a/src/views/contract_ledger/index.vue b/src/views/contract_ledger/index.vue index 3e56f10..ee403c1 100644 --- a/src/views/contract_ledger/index.vue +++ b/src/views/contract_ledger/index.vue @@ -46,7 +46,6 @@ 详情 - + 下载 @@ -89,7 +87,6 @@ import { usePaging } from '@/hooks/usePaging' import { useDictData } from '@/hooks/useDictOptions' import { apiContractLedgerLists, apiMarketingContract, apiMarketingContractdownload } from '@/api/contract_ledger' import feedback from '@/utils/feedback' -import detailConfig from './detail.js' import supervision_project from "@/views/supervision_project/detail.js" import manage_project from "@/views/manage_project/detail.js" import consult_project from "@/views/consult_project/detail.js" @@ -102,12 +99,10 @@ import { apiConsultProjectDetail } from '@/api/consult_project' import { apiCostProjectDetail } from '@/api/cost_project' const targetDetail = ref({}) - const detailRef = shallowRef>() // // 是否显示编辑框 const showDetail = ref(false) - // 查询条件 const queryParams = reactive({ contract_name: "", @@ -115,13 +110,6 @@ const queryParams = reactive({ contract_type: '', }) -// 选中数据 -const selectData = ref([]) - - - -// 获取字典数据 -const { dictData } = useDictData('cost_consultation_business_nature,cost_contract_type') // 分页相关 const { pager, getLists, resetParams, resetPage } = usePaging({ @@ -165,9 +153,6 @@ const handleDetail = async (row: any) => { } } - - - // 下载 const handleDown = async (id: number | any[]) => { let res = await apiMarketingContractdownload({ id }) @@ -175,6 +160,5 @@ const handleDown = async (id: number | any[]) => { a.href = res.url a.click() } -// console.log(supervision_project, '1212') getLists() diff --git a/src/views/marketing_handover_contract/index.vue b/src/views/marketing_handover_contract/index.vue index 5cea704..0b06370 100644 --- a/src/views/marketing_handover_contract/index.vue +++ b/src/views/marketing_handover_contract/index.vue @@ -52,14 +52,12 @@ - + - +