From 388a31dd184961e4139fa38f1be34adebcbb6e5e Mon Sep 17 00:00:00 2001 From: taoge1020 Date: Wed, 20 Aug 2025 21:09:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=95=E6=A0=87=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- src/api/bidding/appointment/index.ts | 31 ++ src/api/bidding/biddingLimitList/index.ts | 63 ++++ src/api/bidding/biddingLimitList/types.ts | 201 ++++++++++ src/api/bidding/biddingUser/index.ts | 63 ++++ src/api/bidding/biddingUser/types.ts | 71 ++++ src/api/bidding/listOfWinningBids/index.ts | 63 ++++ src/api/bidding/listOfWinningBids/types.ts | 296 +++++++++++++++ .../biddingManagemen/appointment/index.vue | 318 ++++++++++++++++ .../listOfWinningBids/index.vue | 342 ++++++++++++++++++ 10 files changed, 1449 insertions(+), 1 deletion(-) create mode 100644 src/api/bidding/appointment/index.ts create mode 100644 src/api/bidding/biddingLimitList/index.ts create mode 100644 src/api/bidding/biddingLimitList/types.ts create mode 100644 src/api/bidding/biddingUser/index.ts create mode 100644 src/api/bidding/biddingUser/types.ts create mode 100644 src/api/bidding/listOfWinningBids/index.ts create mode 100644 src/api/bidding/listOfWinningBids/types.ts create mode 100644 src/views/biddingManagemen/appointment/index.vue create mode 100644 src/views/biddingManagemen/listOfWinningBids/index.vue diff --git a/.env.development b/.env.development index b59befd..6e07116 100644 --- a/.env.development +++ b/.env.development @@ -5,7 +5,7 @@ VITE_APP_TITLE = 煤科建管平台 VITE_APP_ENV = 'development' # 开发环境 -VITE_APP_BASE_API = 'http://192.168.110.180:8899' +VITE_APP_BASE_API = 'http://192.168.110.149:8899' # 无人机接口地址 diff --git a/src/api/bidding/appointment/index.ts b/src/api/bidding/appointment/index.ts new file mode 100644 index 0000000..8f58106 --- /dev/null +++ b/src/api/bidding/appointment/index.ts @@ -0,0 +1,31 @@ +import request from '@/utils/request'; + +/** + * 查询招标人员列表 + * @param query + * @returns {*} + */ + +export const biddingGetUser = (query) => { + return request({ + url: '/bidding/biddingUser/getUser', + method: 'get', + params: query + }); +}; +// 新增招投标人员 +export const AddbiddingUser = (data) => { + return request({ + url: '/bidding/biddingUser', + method: 'post', + data + }); +}; +// 新增招投标人员 +export const biddingUserList = (projectId) => { + return request({ + url: '/bidding/biddingUser/list', + method: 'get', + params: { projectId } + }); +}; diff --git a/src/api/bidding/biddingLimitList/index.ts b/src/api/bidding/biddingLimitList/index.ts new file mode 100644 index 0000000..19fc30a --- /dev/null +++ b/src/api/bidding/biddingLimitList/index.ts @@ -0,0 +1,63 @@ +import request from '@/utils/request'; +import { AxiosPromise } from 'axios'; +import { BiddingLimitListVO, BiddingLimitListForm, BiddingLimitListQuery } from '@/api/bidding/biddingLimitList/types'; + +/** + * 查询成本-投标列表 + * @param query + * @returns {*} + */ + +export const listBiddingLimitList = (query?: BiddingLimitListQuery): AxiosPromise => { + return request({ + url: '/bidding/biddingLimitList/list', + method: 'get', + params: query + }); +}; + +/** + * 查询成本-投标详细 + * @param id + */ +export const getBiddingLimitList = (id: string | number): AxiosPromise => { + return request({ + url: '/bidding/biddingLimitList/' + id, + method: 'get' + }); +}; + +/** + * 新增成本-投标 + * @param data + */ +export const addBiddingLimitList = (data: BiddingLimitListForm) => { + return request({ + url: '/bidding/biddingLimitList', + method: 'post', + data: data + }); +}; + +/** + * 修改成本-投标 + * @param data + */ +export const updateBiddingLimitList = (data: BiddingLimitListForm) => { + return request({ + url: '/bidding/biddingLimitList', + method: 'put', + data: data + }); +}; + +/** + * 删除成本-投标 + * @param id + */ +export const delBiddingLimitList = (id: string | number | Array) => { + return request({ + url: '/bidding/biddingLimitList/' + id, + method: 'delete' + }); +}; diff --git a/src/api/bidding/biddingLimitList/types.ts b/src/api/bidding/biddingLimitList/types.ts new file mode 100644 index 0000000..6c0a5fb --- /dev/null +++ b/src/api/bidding/biddingLimitList/types.ts @@ -0,0 +1,201 @@ +export interface BiddingLimitListVO { + /** + * 主键ID + */ + id: string | number; + + /** + * 项目Id + */ + projectId: string | number; + + /** + * 版本号 + */ + versions: string; + + /** + * 表名 + */ + sheet: string; + + /** + * 子ID + */ + sid: string | number; + + /** + * 父ID + */ + pid: string | number; + + /** + * 编号 + */ + num: string; + + /** + * 名称 + */ + name: string; + + /** + * 规格 + */ + specification: string; + + /** + * 单位 + */ + unit: string; + + /** + * 数量 + */ + quantity: number; + + /** + * 单价 + */ + unitPrice: number; + + /** + * 备注 + */ + remark: string; + +} + +export interface BiddingLimitListForm extends BaseEntity { + /** + * 主键ID + */ + id?: string | number; + + /** + * 项目Id + */ + projectId?: string | number; + + /** + * 版本号 + */ + versions?: string; + + /** + * 表名 + */ + sheet?: string; + + /** + * 子ID + */ + sid?: string | number; + + /** + * 父ID + */ + pid?: string | number; + + /** + * 编号 + */ + num?: string; + + /** + * 名称 + */ + name?: string; + + /** + * 规格 + */ + specification?: string; + + /** + * 单位 + */ + unit?: string; + + /** + * 数量 + */ + quantity?: number; + + /** + * 单价 + */ + unitPrice?: number; + + /** + * 备注 + */ + remark?: string; + +} + +export interface BiddingLimitListQuery extends PageQuery { + + /** + * 项目Id + */ + projectId?: string | number; + + /** + * 版本号 + */ + versions?: string; + + /** + * 表名 + */ + sheet?: string; + + /** + * 子ID + */ + sid?: string | number; + + /** + * 父ID + */ + pid?: string | number; + + /** + * 编号 + */ + num?: string; + + /** + * 名称 + */ + name?: string; + + /** + * 规格 + */ + specification?: string; + + /** + * 单位 + */ + unit?: string; + + /** + * 数量 + */ + quantity?: number; + + /** + * 单价 + */ + unitPrice?: number; + + /** + * 日期范围参数 + */ + params?: any; +} + + + diff --git a/src/api/bidding/biddingUser/index.ts b/src/api/bidding/biddingUser/index.ts new file mode 100644 index 0000000..ebeebc2 --- /dev/null +++ b/src/api/bidding/biddingUser/index.ts @@ -0,0 +1,63 @@ +import request from '@/utils/request'; +import { AxiosPromise } from 'axios'; +import { BiddingUserVO, BiddingUserForm, BiddingUserQuery } from '@/api/bidding/biddingUser/types'; + +/** + * 查询招投标人员列表 + * @param query + * @returns {*} + */ + +export const listBiddingUser = (query?: BiddingUserQuery): AxiosPromise => { + return request({ + url: '/bidding/biddingUser/list', + method: 'get', + params: query + }); +}; + +/** + * 查询招投标人员详细 + * @param id + */ +export const getBiddingUser = (id: string | number): AxiosPromise => { + return request({ + url: '/bidding/biddingUser/' + id, + method: 'get' + }); +}; + +/** + * 新增招投标人员 + * @param data + */ +export const addBiddingUser = (data: BiddingUserForm) => { + return request({ + url: '/bidding/biddingUser', + method: 'post', + data: data + }); +}; + +/** + * 修改招投标人员 + * @param data + */ +export const updateBiddingUser = (data: BiddingUserForm) => { + return request({ + url: '/bidding/biddingUser', + method: 'put', + data: data + }); +}; + +/** + * 删除招投标人员 + * @param id + */ +export const delBiddingUser = (id: string | number | Array) => { + return request({ + url: '/bidding/biddingUser/' + id, + method: 'delete' + }); +}; diff --git a/src/api/bidding/biddingUser/types.ts b/src/api/bidding/biddingUser/types.ts new file mode 100644 index 0000000..c9578c2 --- /dev/null +++ b/src/api/bidding/biddingUser/types.ts @@ -0,0 +1,71 @@ +export interface BiddingUserVO { + /** + * + */ + id: string | number; + + /** + * 项目id + */ + projectId: string | number; + + /** + * 招投标人员id + */ + userId: string | number; + + /** + * 招投标人员姓名 + */ + userName: string; + +} + +export interface BiddingUserForm extends BaseEntity { + /** + * + */ + id?: string | number; + + /** + * 项目id + */ + projectId?: string | number; + + /** + * 招投标人员id + */ + userId?: string | number; + + /** + * 招投标人员姓名 + */ + userName?: string; + +} + +export interface BiddingUserQuery extends PageQuery { + + /** + * 项目id + */ + projectId?: string | number; + + /** + * 招投标人员id + */ + userId?: string | number; + + /** + * 招投标人员姓名 + */ + userName?: string; + + /** + * 日期范围参数 + */ + params?: any; +} + + + diff --git a/src/api/bidding/listOfWinningBids/index.ts b/src/api/bidding/listOfWinningBids/index.ts new file mode 100644 index 0000000..f943e08 --- /dev/null +++ b/src/api/bidding/listOfWinningBids/index.ts @@ -0,0 +1,63 @@ +import request from '@/utils/request'; +import { AxiosPromise } from 'axios'; +import { ListOfWinningBidsVO, ListOfWinningBidsForm, ListOfWinningBidsQuery } from '@/api/bidding/listOfWinningBids/types'; + +/** + * 查询中标项目一览列表 + * @param query + * @returns {*} + */ + +export const listListOfWinningBids = (query?: ListOfWinningBidsQuery): AxiosPromise => { + return request({ + url: '/bidding/listOfWinningBids/list', + method: 'get', + params: query + }); +}; + +/** + * 查询中标项目一览详细 + * @param id + */ +export const getListOfWinningBids = (id: string | number): AxiosPromise => { + return request({ + url: '/bidding/listOfWinningBids/' + id, + method: 'get' + }); +}; + +/** + * 新增中标项目一览 + * @param data + */ +export const addListOfWinningBids = (data: ListOfWinningBidsForm) => { + return request({ + url: '/bidding/listOfWinningBids', + method: 'post', + data: data + }); +}; + +/** + * 修改中标项目一览 + * @param data + */ +export const updateListOfWinningBids = (data: ListOfWinningBidsForm) => { + return request({ + url: '/bidding/listOfWinningBids', + method: 'put', + data: data + }); +}; + +/** + * 删除中标项目一览 + * @param id + */ +export const delListOfWinningBids = (id: string | number | Array) => { + return request({ + url: '/bidding/listOfWinningBids/' + id, + method: 'delete' + }); +}; diff --git a/src/api/bidding/listOfWinningBids/types.ts b/src/api/bidding/listOfWinningBids/types.ts new file mode 100644 index 0000000..a07190f --- /dev/null +++ b/src/api/bidding/listOfWinningBids/types.ts @@ -0,0 +1,296 @@ +export interface ListOfWinningBidsVO { + /** + * + */ + id: string | number; + + /** + * 项目id + */ + projectId: string | number; + + /** + * 项目状态 + */ + projectStatus: string; + + /** + * 项目名称 + */ + projectName: string; + + /** + * 中标价(原币) + */ + winningBidOriginal: string | number; + + /** + * 汇率 + */ + exchangeRate: number; + + /** + * 币种 + */ + currency: string; + + /** + * 所属主体 + */ + subject: string; + + /** + * 中标价 + */ + winningBid: string | number; + + /** + * 中标日期 + */ + bidWinningDate: string | number; + + /** + * 投标保证金 + */ + bidDeposit: string | number; + + /** + * 是否退还 + */ + whetherSendBack: string; + + /** + * 建设单位(客户) + */ + construction: string; + + /** + * 总造价 + */ + totalCost: number; + + /** + * 立项申请人 + */ + projectApplicant: string; + + /** + * 立项部门 + */ + projectApplicantDept: string; + + /** + * 立项申请日期 + */ + projectApplicantTime: string; + + /** + * 流程状态 + */ + processStatus: string; + + /** + * 项目编号 + */ + projectNumbering: string; + +} + +export interface ListOfWinningBidsForm extends BaseEntity { + /** + * + */ + id?: string | number; + + /** + * 项目id + */ + projectId?: string | number; + + /** + * 项目状态 + */ + projectStatus?: string; + + /** + * 项目名称 + */ + projectName?: string; + + /** + * 中标价(原币) + */ + winningBidOriginal?: string | number; + + /** + * 汇率 + */ + exchangeRate?: number; + + /** + * 币种 + */ + currency?: string; + + /** + * 所属主体 + */ + subject?: string; + + /** + * 中标价 + */ + winningBid?: string | number; + + /** + * 中标日期 + */ + bidWinningDate?: string | number; + + /** + * 投标保证金 + */ + bidDeposit?: string | number; + + /** + * 是否退还 + */ + whetherSendBack?: string; + + /** + * 建设单位(客户) + */ + construction?: string; + + /** + * 总造价 + */ + totalCost?: number; + + /** + * 立项申请人 + */ + projectApplicant?: string; + + /** + * 立项部门 + */ + projectApplicantDept?: string; + + /** + * 立项申请日期 + */ + projectApplicantTime?: string; + + /** + * 流程状态 + */ + processStatus?: string; + + /** + * 项目编号 + */ + projectNumbering?: string; + +} + +export interface ListOfWinningBidsQuery extends PageQuery { + + /** + * 项目id + */ + projectId?: string | number; + + /** + * 项目状态 + */ + projectStatus?: string; + + /** + * 项目名称 + */ + projectName?: string; + + /** + * 中标价(原币) + */ + winningBidOriginal?: string | number; + + /** + * 汇率 + */ + exchangeRate?: number; + + /** + * 币种 + */ + currency?: string; + + /** + * 所属主体 + */ + subject?: string; + + /** + * 中标价 + */ + winningBid?: string | number; + + /** + * 中标日期 + */ + bidWinningDate?: string | number; + + /** + * 投标保证金 + */ + bidDeposit?: string | number; + + /** + * 是否退还 + */ + whetherSendBack?: string; + + /** + * 建设单位(客户) + */ + construction?: string; + + /** + * 总造价 + */ + totalCost?: number; + + /** + * 立项申请人 + */ + projectApplicant?: string; + + /** + * 立项部门 + */ + projectApplicantDept?: string; + + /** + * 立项申请日期 + */ + projectApplicantTime?: string; + + /** + * 流程状态 + */ + processStatus?: string; + + /** + * 项目编号 + */ + projectNumbering?: string; + + /** + * 日期范围参数 + */ + params?: any; +} + + + diff --git a/src/views/biddingManagemen/appointment/index.vue b/src/views/biddingManagemen/appointment/index.vue new file mode 100644 index 0000000..2b0074a --- /dev/null +++ b/src/views/biddingManagemen/appointment/index.vue @@ -0,0 +1,318 @@ + + + + + diff --git a/src/views/biddingManagemen/listOfWinningBids/index.vue b/src/views/biddingManagemen/listOfWinningBids/index.vue new file mode 100644 index 0000000..081054b --- /dev/null +++ b/src/views/biddingManagemen/listOfWinningBids/index.vue @@ -0,0 +1,342 @@ + + +