From 7d58b292b37a1b2a8f40f7e18ceb2e61fa95b52f Mon Sep 17 00:00:00 2001 From: zhufu <17863654727@163.com> Date: Tue, 2 Dec 2025 11:00:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=9B=E6=A0=87=E4=BB=A3=E7=90=86=E5=AF=B9?= =?UTF-8?q?=E6=8E=A5=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/demo/bidagency.ts | 45 +++ .../demo/bidagency/AccountManage/index.vue | 249 +++++++++++++ .../demo/bidagency/InsertModal/index.vue | 332 ++++++++++++++++++ src/views/demo/bidagency/index.vue | 126 +++++-- src/views/demo/bidagency/util.ts | 152 +------- 5 files changed, 722 insertions(+), 182 deletions(-) create mode 100644 src/api/demo/bidagency.ts create mode 100644 src/views/demo/bidagency/AccountManage/index.vue create mode 100644 src/views/demo/bidagency/InsertModal/index.vue diff --git a/src/api/demo/bidagency.ts b/src/api/demo/bidagency.ts new file mode 100644 index 0000000..f910039 --- /dev/null +++ b/src/api/demo/bidagency.ts @@ -0,0 +1,45 @@ +import { defHttp } from '@/utils/http/axios'; +enum Api { + // 招标代理 + LoadBiddingAgency = '/api/BiddingAgency/LoadBiddingAgency', + AddBiddingAgency = '/api/BiddingAgency/AddBiddingAgency', + EditBiddingAgency = '/api/BiddingAgency/EditBiddingAgency', + DeleteBiddingAgency = '/api/BiddingAgency/DeleteBiddingAgency', + ReviewBiddingAgency = '/api/BiddingAgency/ReviewBiddingAgency', + AddCompanyAccount = '/api/BiddingAgency/AddCompanyAccount', +} + +export function LoadBiddingAgency(params) { + return defHttp.get({ + url: Api.LoadBiddingAgency, + params, + }); +} +export function AddBiddingAgency(params) { + return defHttp.post({ + url: Api.AddBiddingAgency, + params, + }); +} +export function EditBiddingAgency(params) { + return defHttp.post({ + url: Api.EditBiddingAgency, + params, + }); +} +export function DeleteBiddingAgency(id) { + return defHttp.post({ + url: `${Api.DeleteBiddingAgency}?id=${id}`, + }); +} +export function ReviewBiddingAgency(id) { + return defHttp.post({ + url: `${Api.ReviewBiddingAgency}?id=${id}`, + }); +} +export function AddCompanyAccount(params) { + return defHttp.post({ + url: Api.AddCompanyAccount, + params, + }); +} \ No newline at end of file diff --git a/src/views/demo/bidagency/AccountManage/index.vue b/src/views/demo/bidagency/AccountManage/index.vue new file mode 100644 index 0000000..4faa4d4 --- /dev/null +++ b/src/views/demo/bidagency/AccountManage/index.vue @@ -0,0 +1,249 @@ + + + + + + 账号管理 + + + + + + + + 企业名称 + + 账号分配 + + + + + + + + + + + + + + + diff --git a/src/views/demo/bidagency/InsertModal/index.vue b/src/views/demo/bidagency/InsertModal/index.vue new file mode 100644 index 0000000..2ef5233 --- /dev/null +++ b/src/views/demo/bidagency/InsertModal/index.vue @@ -0,0 +1,332 @@ + + + + + + 添加招标代理信息 + + + + + + + + 企业名称 + + 信用代码 + + 企业法人 + + 营业执照 + + + + 上传营业执照 + + + + {{ file.name }} + + + + + + 联系人 + + 联系方式 + + 账号状态 + + + + + + + + + + + + + + + diff --git a/src/views/demo/bidagency/index.vue b/src/views/demo/bidagency/index.vue index 416e231..80ce549 100644 --- a/src/views/demo/bidagency/index.vue +++ b/src/views/demo/bidagency/index.vue @@ -21,17 +21,17 @@ - + 搜索 - + @@ -39,31 +39,33 @@ - - - + + {{ text }} - - + + - {{ text }} + {{ text == 0? '正常': '停用' }} - 修改 - 审核 - 账号管理 + 修改 + 审核 + 账号管理 @@ -79,7 +81,7 @@ v-model:current="page" v-model:pageSize="limit" show-quick-jumper - :total="500" + :total="total" @change="paginationChange" /> @@ -140,22 +142,40 @@ + + + + + +