From d13be9eeb6f34a817d7ca6a6f35827e31739a4bd Mon Sep 17 00:00:00 2001 From: shengchanzhe <179998674@qq.com> Date: Fri, 24 Nov 2023 22:46:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=89=8D=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/competitor.ts | 26 +++ src/api/customer_demand.ts | 26 +++ src/api/customer_demand_solution.ts | 26 +++ src/api/project_estimate.ts | 26 +++ src/views/competitor/edit.vue | 156 +++++++++++++++++ src/views/competitor/index.vue | 128 ++++++++++++++ src/views/customer_demand/edit.vue | 156 +++++++++++++++++ src/views/customer_demand/index.vue | 147 ++++++++++++++++ src/views/customer_demand_solution/edit.vue | 142 ++++++++++++++++ src/views/customer_demand_solution/index.vue | 124 ++++++++++++++ src/views/project_estimate/edit.vue | 169 +++++++++++++++++++ src/views/project_estimate/index.vue | 140 +++++++++++++++ 12 files changed, 1266 insertions(+) create mode 100644 src/api/competitor.ts create mode 100644 src/api/customer_demand.ts create mode 100644 src/api/customer_demand_solution.ts create mode 100644 src/api/project_estimate.ts create mode 100644 src/views/competitor/edit.vue create mode 100644 src/views/competitor/index.vue create mode 100644 src/views/customer_demand/edit.vue create mode 100644 src/views/customer_demand/index.vue create mode 100644 src/views/customer_demand_solution/edit.vue create mode 100644 src/views/customer_demand_solution/index.vue create mode 100644 src/views/project_estimate/edit.vue create mode 100644 src/views/project_estimate/index.vue diff --git a/src/api/competitor.ts b/src/api/competitor.ts new file mode 100644 index 0000000..f049df4 --- /dev/null +++ b/src/api/competitor.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 竞争对手列表 +export function apiCompetitorLists(params: any) { + return request.get({ url: '/project.competitor/lists', params }) +} + +// 添加竞争对手 +export function apiCompetitorAdd(params: any) { + return request.post({ url: '/project.competitor/add', params }) +} + +// 编辑竞争对手 +export function apiCompetitorEdit(params: any) { + return request.post({ url: '/project.competitor/edit', params }) +} + +// 删除竞争对手 +export function apiCompetitorDelete(params: any) { + return request.post({ url: '/project.competitor/delete', params }) +} + +// 竞争对手详情 +export function apiCompetitorDetail(params: any) { + return request.get({ url: '/project.competitor/detail', params }) +} \ No newline at end of file diff --git a/src/api/customer_demand.ts b/src/api/customer_demand.ts new file mode 100644 index 0000000..13d40e1 --- /dev/null +++ b/src/api/customer_demand.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 客户需求列表 +export function apiCustomerDemandLists(params: any) { + return request.get({ url: '/custom.customer_demand/lists', params }) +} + +// 添加客户需求 +export function apiCustomerDemandAdd(params: any) { + return request.post({ url: '/custom.customer_demand/add', params }) +} + +// 编辑客户需求 +export function apiCustomerDemandEdit(params: any) { + return request.post({ url: '/custom.customer_demand/edit', params }) +} + +// 删除客户需求 +export function apiCustomerDemandDelete(params: any) { + return request.post({ url: '/custom.customer_demand/delete', params }) +} + +// 客户需求详情 +export function apiCustomerDemandDetail(params: any) { + return request.get({ url: '/custom.customer_demand/detail', params }) +} \ No newline at end of file diff --git a/src/api/customer_demand_solution.ts b/src/api/customer_demand_solution.ts new file mode 100644 index 0000000..7f28ee9 --- /dev/null +++ b/src/api/customer_demand_solution.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 客户需求解决方案列表 +export function apiCustomerDemandSolutionLists(params: any) { + return request.get({ url: '/custom.customer_demand_solution/lists', params }) +} + +// 添加客户需求解决方案 +export function apiCustomerDemandSolutionAdd(params: any) { + return request.post({ url: '/custom.customer_demand_solution/add', params }) +} + +// 编辑客户需求解决方案 +export function apiCustomerDemandSolutionEdit(params: any) { + return request.post({ url: '/custom.customer_demand_solution/edit', params }) +} + +// 删除客户需求解决方案 +export function apiCustomerDemandSolutionDelete(params: any) { + return request.post({ url: '/custom.customer_demand_solution/delete', params }) +} + +// 客户需求解决方案详情 +export function apiCustomerDemandSolutionDetail(params: any) { + return request.get({ url: '/custom.customer_demand_solution/detail', params }) +} \ No newline at end of file diff --git a/src/api/project_estimate.ts b/src/api/project_estimate.ts new file mode 100644 index 0000000..468d473 --- /dev/null +++ b/src/api/project_estimate.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 项目概算列表 +export function apiProjectEstimateLists(params: any) { + return request.get({ url: '/project.project_estimate/lists', params }) +} + +// 添加项目概算 +export function apiProjectEstimateAdd(params: any) { + return request.post({ url: '/project.project_estimate/add', params }) +} + +// 编辑项目概算 +export function apiProjectEstimateEdit(params: any) { + return request.post({ url: '/project.project_estimate/edit', params }) +} + +// 删除项目概算 +export function apiProjectEstimateDelete(params: any) { + return request.post({ url: '/project.project_estimate/delete', params }) +} + +// 项目概算详情 +export function apiProjectEstimateDetail(params: any) { + return request.get({ url: '/project.project_estimate/detail', params }) +} \ No newline at end of file diff --git a/src/views/competitor/edit.vue b/src/views/competitor/edit.vue new file mode 100644 index 0000000..98eed1d --- /dev/null +++ b/src/views/competitor/edit.vue @@ -0,0 +1,156 @@ + + + diff --git a/src/views/competitor/index.vue b/src/views/competitor/index.vue new file mode 100644 index 0000000..83d4783 --- /dev/null +++ b/src/views/competitor/index.vue @@ -0,0 +1,128 @@ + + + + diff --git a/src/views/customer_demand/edit.vue b/src/views/customer_demand/edit.vue new file mode 100644 index 0000000..67c0805 --- /dev/null +++ b/src/views/customer_demand/edit.vue @@ -0,0 +1,156 @@ + + + diff --git a/src/views/customer_demand/index.vue b/src/views/customer_demand/index.vue new file mode 100644 index 0000000..a8ff1ab --- /dev/null +++ b/src/views/customer_demand/index.vue @@ -0,0 +1,147 @@ + + + + diff --git a/src/views/customer_demand_solution/edit.vue b/src/views/customer_demand_solution/edit.vue new file mode 100644 index 0000000..7773877 --- /dev/null +++ b/src/views/customer_demand_solution/edit.vue @@ -0,0 +1,142 @@ + + + diff --git a/src/views/customer_demand_solution/index.vue b/src/views/customer_demand_solution/index.vue new file mode 100644 index 0000000..e4d5fcf --- /dev/null +++ b/src/views/customer_demand_solution/index.vue @@ -0,0 +1,124 @@ + + + + diff --git a/src/views/project_estimate/edit.vue b/src/views/project_estimate/edit.vue new file mode 100644 index 0000000..1ea63de --- /dev/null +++ b/src/views/project_estimate/edit.vue @@ -0,0 +1,169 @@ + + + diff --git a/src/views/project_estimate/index.vue b/src/views/project_estimate/index.vue new file mode 100644 index 0000000..33503ee --- /dev/null +++ b/src/views/project_estimate/index.vue @@ -0,0 +1,140 @@ + + + +