From 9374ccfb147e2838b253c24b9e546aab1bf98c12 Mon Sep 17 00:00:00 2001 From: weiz <736250432@qq.com> Date: Tue, 19 Mar 2024 17:06:03 +0800 Subject: [PATCH 1/4] update --- src/views/bid_bidding_decision/index.vue | 33 +++++++--------- src/views/bid_buy_bidding_document/index.vue | 40 ++++++++++---------- src/views/bid_document_examination/index.vue | 23 ++++++----- src/views/bid_result/index.vue | 33 +++++++--------- 4 files changed, 59 insertions(+), 70 deletions(-) diff --git a/src/views/bid_bidding_decision/index.vue b/src/views/bid_bidding_decision/index.vue index 4efeaaf..31431a3 100644 --- a/src/views/bid_bidding_decision/index.vue +++ b/src/views/bid_bidding_decision/index.vue @@ -2,15 +2,15 @@
- - - - - + + + + + @@ -46,23 +46,19 @@ - - + + - + - - - + @@ -93,8 +89,7 @@ import { usePaging } from '@/hooks/usePaging' import { useDictData } from '@/hooks/useDictOptions' import { apiBidBiddingDecisionLists, apiBidBiddingDecisionDetail } from '@/api/bid_bidding_decision' -import { timeFormat } from '@/utils/util' -import feedback from '@/utils/feedback' +import { apiProjectSearch } from '@/api/project' import EditPopup from './edit.vue' import DetailPopup from './detail.vue' const detailRef = shallowRef>() @@ -107,10 +102,9 @@ const showDtail = ref(false) // 查询条件 const queryParams = reactive({ - bidding_project_fund_source: '', bid_type: "", - project_name: "", + project_id: "", code: "", custom_name: "", }) @@ -154,4 +148,3 @@ if (route.query?.listId) { handledetail({ id: route.query.listId }) } - diff --git a/src/views/bid_buy_bidding_document/index.vue b/src/views/bid_buy_bidding_document/index.vue index fd0ce3c..a0ff0a3 100644 --- a/src/views/bid_buy_bidding_document/index.vue +++ b/src/views/bid_buy_bidding_document/index.vue @@ -2,11 +2,15 @@
- - - - + + + + + + + + @@ -16,13 +20,8 @@ placeholder="请输入招标公司名称" /> - - - - - - - + 查询 @@ -44,11 +43,12 @@ - - + + - + @@ -66,7 +66,8 @@ - + 详情 @@ -86,9 +87,7 @@ import { usePaging } from '@/hooks/usePaging' import { useDictData } from '@/hooks/useDictOptions' import { apiBidBuyBiddingDocumentLists, apiBidBuyBiddingDocumentDetail } from '@/api/bid_buy_bidding_document' -import { timeFormat } from '@/utils/util' -import { apiProjectLists } from '@/api/project' -import feedback from '@/utils/feedback' +import { apiProjectSearch } from '@/api/project' import EditPopup from './edit.vue' import DetailPopup from './detail.vue' const detailRef = shallowRef>() @@ -106,8 +105,7 @@ const queryParams = reactive({ bid_document_no: '', invite_tenders_company_name: '', bid_company_name: '', - code: '', - project_name: '', + bid_decision_code: '', custom_name: '', }) diff --git a/src/views/bid_document_examination/index.vue b/src/views/bid_document_examination/index.vue index af7a015..24eda4e 100644 --- a/src/views/bid_document_examination/index.vue +++ b/src/views/bid_document_examination/index.vue @@ -2,11 +2,14 @@
- - - - + + + + + + + + @@ -34,9 +37,9 @@ + - 删除 --> - + 详情 @@ -77,6 +81,7 @@ import { apiBidDocumentExaminationDetail } from '@/api/bid_document_examination' import { apiBidBuyBiddingDocumentLists } from '@/api/bid_buy_bidding_document' +import { apiProjectSearch } from '@/api/project' import feedback from '@/utils/feedback' import EditPopup from './edit.vue' import DetailPopup from './detail.vue' @@ -94,7 +99,8 @@ const documentList = ref([]) // 查询条件 const queryParams = reactive({ - buy_bidding_document_id: '', + bid_document_no: '', + code: '', is_need_deposit: '' }) @@ -160,4 +166,3 @@ if (route.query?.listId) { documentlists() getLists() - diff --git a/src/views/bid_result/index.vue b/src/views/bid_result/index.vue index ac761b9..1b0bcaa 100644 --- a/src/views/bid_result/index.vue +++ b/src/views/bid_result/index.vue @@ -2,20 +2,13 @@
- - - - - + + - - - - + + - 查询 重置 @@ -29,17 +22,17 @@ 新增 - + 删除
- - - + + @@ -56,7 +49,8 @@ 编辑 - + 删除 @@ -82,7 +76,7 @@ import { apiBidResultLists, apiBidResultDelete, apiBidResultDetail } from '@/api import { apiBidDocumentExaminationLists } from '@/api/bid_document_examination' -import { apiProjectLists } from '@/api/project' +import { apiProjectSearch } from '@/api/project' import feedback from '@/utils/feedback' import EditPopup from './edit.vue' import DetailPopup from './detail.vue' @@ -96,7 +90,7 @@ const projectList = ref([]) const documentList = ref([]) // 查询条件 const queryParams = reactive({ - bid_document_examination_id: '', + bid_document_examination_code: '', project_id: '' }) @@ -165,4 +159,3 @@ documentlists() projectlist() getLists() - From acad0b892f3ef3f696f38170f02fedd28c716155 Mon Sep 17 00:00:00 2001 From: weiz <736250432@qq.com> Date: Tue, 19 Mar 2024 17:13:12 +0800 Subject: [PATCH 2/4] update --- src/views/bid_result/index.vue | 1 - src/views/quotation/index.vue | 17 ++++++----------- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/src/views/bid_result/index.vue b/src/views/bid_result/index.vue index 1b0bcaa..c747e16 100644 --- a/src/views/bid_result/index.vue +++ b/src/views/bid_result/index.vue @@ -33,7 +33,6 @@ - diff --git a/src/views/quotation/index.vue b/src/views/quotation/index.vue index fb6ad59..0250316 100644 --- a/src/views/quotation/index.vue +++ b/src/views/quotation/index.vue @@ -2,14 +2,11 @@
- - - - + + - - + + @@ -42,8 +39,8 @@ + - @@ -81,8 +78,7 @@ import { usePaging } from '@/hooks/usePaging' import { useDictData } from '@/hooks/useDictOptions' import { apiQuotationLists, apiQuotationDelete, apiQuotationDetail } from '@/api/quotation' -import { apiCustomLists } from '@/api/custom' -import { timeFormat } from '@/utils/util' +import { apiCustomSearch } from '@/api/custom' import feedback from '@/utils/feedback' import EditPopup from './edit.vue' import DetailPopup from './detail.vue' @@ -160,4 +156,3 @@ const customerlist = async () => { customerlist() getLists() - From a085fd8c17f9fd5d165c70d3aa508459d17543f2 Mon Sep 17 00:00:00 2001 From: weiz <736250432@qq.com> Date: Tue, 19 Mar 2024 17:22:11 +0800 Subject: [PATCH 3/4] update --- src/api/quotation.ts | 19 +++++++---- src/views/quotation/index.vue | 9 ----- src/views/quotation_detail/index.vue | 49 ++-------------------------- 3 files changed, 15 insertions(+), 62 deletions(-) diff --git a/src/api/quotation.ts b/src/api/quotation.ts index 3bda79d..d0ec226 100644 --- a/src/api/quotation.ts +++ b/src/api/quotation.ts @@ -1,26 +1,31 @@ -import request from '@/utils/request' +import request from "@/utils/request"; // 报价单列表 export function apiQuotationLists(params: any) { - return request.get({ url: '/quotation.quotation/lists', params }) + return request.get({ url: "/quotation.quotation/lists", params }); } // 添加报价单 export function apiQuotationAdd(params: any) { - return request.post({ url: '/quotation.quotation/add', params }) + return request.post({ url: "/quotation.quotation/add", params }); } // 编辑报价单 export function apiQuotationEdit(params: any) { - return request.post({ url: '/quotation.quotation/edit', params }) + return request.post({ url: "/quotation.quotation/edit", params }); } // 删除报价单 export function apiQuotationDelete(params: any) { - return request.post({ url: '/quotation.quotation/delete', params }) + return request.post({ url: "/quotation.quotation/delete", params }); } // 报价单详情 export function apiQuotationDetail(params: any) { - return request.get({ url: '/quotation.quotation/detail', params }) -} \ No newline at end of file + return request.get({ url: "/quotation.quotation/detail", params }); +} + +//apiQuotationSearch +export function apiQuotationSearch(params: any) { + return request.get({ url: "/quotation.quotation/datas", params }); +} diff --git a/src/views/quotation/index.vue b/src/views/quotation/index.vue index 0250316..2995ed3 100644 --- a/src/views/quotation/index.vue +++ b/src/views/quotation/index.vue @@ -87,7 +87,6 @@ const editRef = shallowRef>() // 是否显示编辑框 const showEdit = ref(false) const showDtail = ref(false) -const customerList = ref([]) // 查询条件 const queryParams = reactive({ @@ -140,19 +139,11 @@ const handleDelete = async (id: number | any[]) => { // 详情 const handleDetail = async (data: any) => { let res = await apiQuotationDetail({ id: data.id }) - showDtail.value = true await nextTick() detailRef.value?.open() detailRef.value?.setFormData(res) } -//获取客户列表 -const customerlist = async () => { - let res = await apiCustomLists({ page_size: 9999, page_no: 1 }) - customerList.value = res.lists -} - -customerlist() getLists() diff --git a/src/views/quotation_detail/index.vue b/src/views/quotation_detail/index.vue index 16e64fd..cf989ab 100644 --- a/src/views/quotation_detail/index.vue +++ b/src/views/quotation_detail/index.vue @@ -2,14 +2,9 @@
- - - - - + + - 查询 重置 @@ -40,9 +35,7 @@ - -
@@ -56,31 +49,17 @@ From 031a77c930737347180be415a31f0b23a5071a4e Mon Sep 17 00:00:00 2001 From: weiz <736250432@qq.com> Date: Tue, 19 Mar 2024 17:56:57 +0800 Subject: [PATCH 4/4] update --- src/views/customer_demand/detail.vue | 26 ---------- src/views/customer_demand/edit.vue | 35 -------------- src/views/project/components/Overview.vue | 4 -- src/views/project/detail.vue | 10 ---- src/views/project/edit.vue | 58 +---------------------- 5 files changed, 2 insertions(+), 131 deletions(-) diff --git a/src/views/customer_demand/detail.vue b/src/views/customer_demand/detail.vue index 769e363..1818030 100644 --- a/src/views/customer_demand/detail.vue +++ b/src/views/customer_demand/detail.vue @@ -5,10 +5,6 @@ - {{ formData.org_name }} - {{ formData.dept_name }} {{ formData.custom_name }} {{ formData.update_user_name - - }} {{ formData.update_time - - - }} - -
@@ -66,7 +55,6 @@ style="margin-left: 5px;display: block;"> 文件{{ index + 1 }}查看 -
@@ -113,7 +101,6 @@ -