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 @@ + + + + + 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 @@
- -