From 9932c177923c9ed24fa06c0bd50f023300a50e9d Mon Sep 17 00:00:00 2001
From: zmj <1493694146@qq.com>
Date: Fri, 12 Apr 2024 18:13:50 +0800
Subject: [PATCH] add
---
src/api/marketing_bid_info.ts | 26 ++
src/api/marketing_bid_result.ts | 26 ++
src/api/marketing_competitor.ts | 26 ++
src/install/directives/type.ts | 1 -
src/views/financial_borrow_money/index.vue | 2 +-
src/views/marketing_bid_evaluation/detail.vue | 45 ++--
src/views/marketing_bid_evaluation/edit.vue | 73 +++---
src/views/marketing_bid_evaluation/index.vue | 25 +-
src/views/marketing_bid_info/edit.vue | 230 ++++++++++++++++++
src/views/marketing_bid_info/index.vue | 147 +++++++++++
src/views/marketing_bid_result/edit.vue | 187 ++++++++++++++
src/views/marketing_bid_result/index.vue | 147 +++++++++++
src/views/marketing_competitor/edit.vue | 203 ++++++++++++++++
src/views/marketing_competitor/index.vue | 148 +++++++++++
14 files changed, 1224 insertions(+), 62 deletions(-)
create mode 100644 src/api/marketing_bid_info.ts
create mode 100644 src/api/marketing_bid_result.ts
create mode 100644 src/api/marketing_competitor.ts
create mode 100644 src/views/marketing_bid_info/edit.vue
create mode 100644 src/views/marketing_bid_info/index.vue
create mode 100644 src/views/marketing_bid_result/edit.vue
create mode 100644 src/views/marketing_bid_result/index.vue
create mode 100644 src/views/marketing_competitor/edit.vue
create mode 100644 src/views/marketing_competitor/index.vue
diff --git a/src/api/marketing_bid_info.ts b/src/api/marketing_bid_info.ts
new file mode 100644
index 0000000..d2e4cd3
--- /dev/null
+++ b/src/api/marketing_bid_info.ts
@@ -0,0 +1,26 @@
+import request from '@/utils/request'
+
+// 市场经营--投标管理--投标信息列表
+export function apiMarketingBidInfoLists(params: any) {
+ return request.get({ url: '/marketing.marketing_bid_info/lists', params })
+}
+
+// 添加市场经营--投标管理--投标信息
+export function apiMarketingBidInfoAdd(params: any) {
+ return request.post({ url: '/marketing.marketing_bid_info/add', params })
+}
+
+// 编辑市场经营--投标管理--投标信息
+export function apiMarketingBidInfoEdit(params: any) {
+ return request.post({ url: '/marketing.marketing_bid_info/edit', params })
+}
+
+// 删除市场经营--投标管理--投标信息
+export function apiMarketingBidInfoDelete(params: any) {
+ return request.post({ url: '/marketing.marketing_bid_info/delete', params })
+}
+
+// 市场经营--投标管理--投标信息详情
+export function apiMarketingBidInfoDetail(params: any) {
+ return request.get({ url: '/marketing.marketing_bid_info/detail', params })
+}
\ No newline at end of file
diff --git a/src/api/marketing_bid_result.ts b/src/api/marketing_bid_result.ts
new file mode 100644
index 0000000..314ec74
--- /dev/null
+++ b/src/api/marketing_bid_result.ts
@@ -0,0 +1,26 @@
+import request from '@/utils/request'
+
+// 市场经营--投标管理--投标结果列表
+export function apiMarketingBidResultLists(params: any) {
+ return request.get({ url: '/marketing.marketing_bid_result/lists', params })
+}
+
+// 添加市场经营--投标管理--投标结果
+export function apiMarketingBidResultAdd(params: any) {
+ return request.post({ url: '/marketing.marketing_bid_result/add', params })
+}
+
+// 编辑市场经营--投标管理--投标结果
+export function apiMarketingBidResultEdit(params: any) {
+ return request.post({ url: '/marketing.marketing_bid_result/edit', params })
+}
+
+// 删除市场经营--投标管理--投标结果
+export function apiMarketingBidResultDelete(params: any) {
+ return request.post({ url: '/marketing.marketing_bid_result/delete', params })
+}
+
+// 市场经营--投标管理--投标结果详情
+export function apiMarketingBidResultDetail(params: any) {
+ return request.get({ url: '/marketing.marketing_bid_result/detail', params })
+}
\ No newline at end of file
diff --git a/src/api/marketing_competitor.ts b/src/api/marketing_competitor.ts
new file mode 100644
index 0000000..4228ce2
--- /dev/null
+++ b/src/api/marketing_competitor.ts
@@ -0,0 +1,26 @@
+import request from '@/utils/request'
+
+// 市场经营--投标管理--竞争对手列表
+export function apiMarketingCompetitorLists(params: any) {
+ return request.get({ url: '/marketing.marketing_competitor/lists', params })
+}
+
+// 添加市场经营--投标管理--竞争对手
+export function apiMarketingCompetitorAdd(params: any) {
+ return request.post({ url: '/marketing.marketing_competitor/add', params })
+}
+
+// 编辑市场经营--投标管理--竞争对手
+export function apiMarketingCompetitorEdit(params: any) {
+ return request.post({ url: '/marketing.marketing_competitor/edit', params })
+}
+
+// 删除市场经营--投标管理--竞争对手
+export function apiMarketingCompetitorDelete(params: any) {
+ return request.post({ url: '/marketing.marketing_competitor/delete', params })
+}
+
+// 市场经营--投标管理--竞争对手详情
+export function apiMarketingCompetitorDetail(params: any) {
+ return request.get({ url: '/marketing.marketing_competitor/detail', params })
+}
\ No newline at end of file
diff --git a/src/install/directives/type.ts b/src/install/directives/type.ts
index 767a2ec..fff3432 100644
--- a/src/install/directives/type.ts
+++ b/src/install/directives/type.ts
@@ -7,7 +7,6 @@
export default {
mounted: async (el: HTMLElement, binding: any) => {
- console.log(el, "el");
var inputElements = el.getElementsByTagName("input")[0];
var { value } = binding;
inputElements.addEventListener("input", function (event) {
diff --git a/src/views/financial_borrow_money/index.vue b/src/views/financial_borrow_money/index.vue
index 67ff4da..5b4450e 100644
--- a/src/views/financial_borrow_money/index.vue
+++ b/src/views/financial_borrow_money/index.vue
@@ -44,7 +44,7 @@
-
+
diff --git a/src/views/marketing_bid_evaluation/detail.vue b/src/views/marketing_bid_evaluation/detail.vue
index b136342..a1361a4 100644
--- a/src/views/marketing_bid_evaluation/detail.vue
+++ b/src/views/marketing_bid_evaluation/detail.vue
@@ -6,16 +6,17 @@
- {{ formData[item.value] }}
+ {{ item.value.includes(".") ? formData[item.value.split(".")[0]][item.value.split(".")[1]] :
+ formData[item.value] }}
- {{ formData.project_overview }}
+ {{ formData.business_opportunity.project_overview }}
-
+
@@ -49,55 +50,55 @@ const popupRef = shallowRef>()
const tableData = ref([
{
label: "业务机会",
- value: "business_opportunity_name"
+ value: "business_opportunity.project_name"
},
{
label: "项目名称",
- value: "project_name"
+ value: "business_opportunity.project_name"
},
{
label: "项目前期编号",
- value: "project_code"
+ value: "business_opportunity.project_code"
},
{
label: "建设单位",
- value: "construct_company_name"
+ value: "business_opportunity.construct_company_name"
},
{
label: "建设管理单位",
- value: "management_company"
+ value: "business_opportunity.management_company"
},
{
label: "业务性质",
- value: "business_nature_text"
+ value: "business_opportunity.business_nature_text"
},
{
label: "行业性质",
- value: "industry_nature_text"
+ value: "business_opportunity.industry_nature_text"
},
{
label: "消息来源",
- value: "info_sources_text"
+ value: "business_opportunity.info_sources_text"
},
{
label: "资金来源",
- value: "fund_sources_text"
+ value: "business_opportunity.fund_sources_text"
},
{
label: "建设区域",
- value: "const_area_text"
+ value: "business_opportunity.const_area_text"
},
{
label: "项目地点",
- value: "project_address"
+ value: "business_opportunity.project_address"
},
{
label: "工程总投资",
- value: "total_investment"
+ value: "business_opportunity.total_investment"
},
{
label: "建安投资额",
- value: "jianan_investment"
+ value: "business_opportunity.jianan_investment"
},
{
@@ -106,7 +107,7 @@ const tableData = ref([
},
{
label: "投标性质",
- value: "bid__nature_text"
+ value: "bid_nature_text"
},
{
label: "投标项目编号",
@@ -160,19 +161,19 @@ const tableData = ref([
},
{
label: "负责人",
- value: "head_name"
+ value: "business_opportunity.head_name"
},
{
label: "负责部门",
- value: "dept_name"
+ value: "business_opportunity.dept_name"
},
{
label: "分管领导",
- value: "leader_name"
+ value: "business_opportunity.leader_name"
},
{
label: "联系人信息",
- value: "contacts"
+ value: "business_opportunity.contacts"
},
]
)
diff --git a/src/views/marketing_bid_evaluation/edit.vue b/src/views/marketing_bid_evaluation/edit.vue
index 47a7d7b..3461e12 100644
--- a/src/views/marketing_bid_evaluation/edit.vue
+++ b/src/views/marketing_bid_evaluation/edit.vue
@@ -7,75 +7,87 @@
基本信息
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -87,8 +99,8 @@
-
-
+
+
@@ -173,13 +185,13 @@
-
+
-
+
@@ -187,13 +199,14 @@
-
+
-
+
@@ -258,7 +271,7 @@ const formData = reactive({
business_opportunity_id: '',
business_opportunity_name: '',
bid_type: '',
- bid__nature: '',
+ bid_nature: '',
bid_code: '',
bid_margin: '',
bid_amount: '',
@@ -272,14 +285,16 @@ const formData = reactive({
bid_agency_contacts: '',
bid_agency_telephone: '',
annex: [],
+ business_opportunity: {}
})
const customEvent = (e) => {
formData.business_opportunity_id = e.id
formData.business_opportunity_name = e.project_name
- const { head_name, dept_name, leader_name, project_name, contacts, project_code, construct_company_name, management_company, industry_nature_text, business_nature_text, const_area_text, project_address, info_sources_text, fund_sources_text, total_investment, jianan_investment, project_overview } = e
- Object.assign(formData, { head_name, dept_name, leader_name, project_name, contacts, project_name, project_code, construct_company_name, management_company, industry_nature_text, business_nature_text, const_area_text, project_address, info_sources_text, fund_sources_text, total_investment, jianan_investment, project_overview })
+ formData.business_opportunity = e
+ // const { head_name, dept_name, leader_name, project_name, contacts, project_code, construct_company_name, management_company, industry_nature_text, business_nature_text, const_area_text, project_address, info_sources_text, fund_sources_text, total_investment, jianan_investment, project_overview } = e
+ // Object.assign(formData, { head_name, dept_name, leader_name, project_name, contacts, project_name, project_code, construct_company_name, management_company, industry_nature_text, business_nature_text, const_area_text, project_address, info_sources_text, fund_sources_text, total_investment, jianan_investment, project_overview })
showDialog.value = false
}
@@ -313,7 +328,7 @@ const formRules = reactive({
message: '请输入招标方式',
trigger: ['blur']
}],
- bid__nature: [{
+ bid_nature: [{
required: true,
message: '请输入投标性质',
trigger: ['blur']
diff --git a/src/views/marketing_bid_evaluation/index.vue b/src/views/marketing_bid_evaluation/index.vue
index 6ccf59c..b0fc60b 100644
--- a/src/views/marketing_bid_evaluation/index.vue
+++ b/src/views/marketing_bid_evaluation/index.vue
@@ -35,16 +35,19 @@
删除
-
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
@@ -60,6 +63,10 @@
@click="handleDetail(row)">
详情
+
+ 报名登记
+
diff --git a/src/views/marketing_bid_info/edit.vue b/src/views/marketing_bid_info/edit.vue
new file mode 100644
index 0000000..2015f5b
--- /dev/null
+++ b/src/views/marketing_bid_info/edit.vue
@@ -0,0 +1,230 @@
+
+
+
+
+
diff --git a/src/views/marketing_bid_info/index.vue b/src/views/marketing_bid_info/index.vue
new file mode 100644
index 0000000..91a4928
--- /dev/null
+++ b/src/views/marketing_bid_info/index.vue
@@ -0,0 +1,147 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+ 新增
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/marketing_bid_result/edit.vue b/src/views/marketing_bid_result/edit.vue
new file mode 100644
index 0000000..f249fd2
--- /dev/null
+++ b/src/views/marketing_bid_result/edit.vue
@@ -0,0 +1,187 @@
+
+
+
+
+
diff --git a/src/views/marketing_bid_result/index.vue b/src/views/marketing_bid_result/index.vue
new file mode 100644
index 0000000..f8d8b12
--- /dev/null
+++ b/src/views/marketing_bid_result/index.vue
@@ -0,0 +1,147 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+ 新增
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/marketing_competitor/edit.vue b/src/views/marketing_competitor/edit.vue
new file mode 100644
index 0000000..baf6272
--- /dev/null
+++ b/src/views/marketing_competitor/edit.vue
@@ -0,0 +1,203 @@
+
+
+
+
+
diff --git a/src/views/marketing_competitor/index.vue b/src/views/marketing_competitor/index.vue
new file mode 100644
index 0000000..5817a64
--- /dev/null
+++ b/src/views/marketing_competitor/index.vue
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+ 新增
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+