From 1e615d876d7b5f023cf2f4efca23f141ee74b74f Mon Sep 17 00:00:00 2001
From: "Lihong@123456" <1090591095@qq.com>
Date: Fri, 25 Sep 2020 18:22:37 +0800
Subject: [PATCH] 9/25
---
src/api/demand.js | 42 ++++
src/api/enterprise.js | 49 +++++
src/views/enterprise/demand.vue | 135 +++++++++++-
src/views/enterprise/enterprise.vue | 323 +++++++++++++++++++++++++++-
4 files changed, 544 insertions(+), 5 deletions(-)
create mode 100644 src/api/demand.js
create mode 100644 src/api/enterprise.js
diff --git a/src/api/demand.js b/src/api/demand.js
new file mode 100644
index 0000000..60e07be
--- /dev/null
+++ b/src/api/demand.js
@@ -0,0 +1,42 @@
+import request from '@/utils/request'
+const demand = 'enterprise/demand'
+const demandPublish = 'enterprise/demandPublish'
+export function demandQuery(data) {
+ return request({
+ url: `/gateway${demand}/demandQuery`,
+ method: 'post',
+ data: {
+ param: {
+ pageNum: data.pageNum,
+ pageSize: data.pageSize
+ }
+ }
+ })
+ }
+
+export function updateDemandStatus(data) {
+ return request({
+ url: `/gateway${demand}/updateDemandStatus`,
+ method: 'post',
+ data: {
+ param: {
+ id: data.id,
+ dealStatus: data.dealStatus
+ }
+ }
+ })
+ }
+
+export function demandPublishAdd(data) {
+ return request({
+ url: `/gateway${demandPublish}/demandPublishAdd`,
+ method: 'post',
+ data: {
+
+ content: data.content,
+ demandId: data.id,
+ type: data.type
+
+ }
+ })
+ }
\ No newline at end of file
diff --git a/src/api/enterprise.js b/src/api/enterprise.js
new file mode 100644
index 0000000..8912de0
--- /dev/null
+++ b/src/api/enterprise.js
@@ -0,0 +1,49 @@
+import request from '@/utils/request'
+const enterprisecategory = '/enterprise/enterpriseCategory'
+const enterprise = '/enterprise/enterprise'
+const enterpriseScore= '/enterprise/enterpriseScore'
+const enterpriseAdditional='enterprise/enterpriseAdditional'
+export function enterpriseCategoryQueryAll(id) {
+ return request({
+ url: `/gateway${enterprisecategory}/enterpriseCategoryQueryAll`,
+ method: 'post',
+ data: {
+ param: {
+ enterpriseId: id
+ }
+ }
+ })
+ }
+
+export function enterpriseQueryAll(data) {
+ return request({
+ url: `/gateway${enterprise}/enterpriseQueryAll`,
+ method: 'post',
+ data: {
+ param: {
+ pageNum: data.pageNum,
+ pageSize: data.pageSize
+ }
+ }
+ })
+ }
+
+export function enterpriseAdditionalQueryById(id) {
+ return request({
+ url: `/gateway${enterpriseAdditional}/enterpriseAdditionalQueryById`,
+ method: 'post',
+ data: {
+ id: id
+ }
+ })
+ }
+
+export function enterpriseScoreQueryById(id) {
+ return request({
+ url: `/gateway${enterpriseScore}/enterpriseScoreQueryById`,
+ method: 'post',
+ data: {
+ id: id
+ }
+ })
+ }
diff --git a/src/views/enterprise/demand.vue b/src/views/enterprise/demand.vue
index fb10623..c3b20b2 100644
--- a/src/views/enterprise/demand.vue
+++ b/src/views/enterprise/demand.vue
@@ -1,19 +1,148 @@
- 企业需求管理界面
+
+
+
+ {{ row.contactPhone }}
+
+
+
+
+ {{ row.contacts }}
+
+
+
+
+ {{ row.content}}
+
+
+
+
+ {{ row.createdAt }}
+
+
+
+
+ {{ row.dealStatus }}
+
+
+
+
+ {{ row.id}}
+
+
+
+
+ {{ row.name }}
+
+
+
+
+ {{ row.type }}
+
+
+
+
+ {{ row.updatedAt }}
+
+
+
+
+ 修改处理状态
+ 发榜
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
diff --git a/src/views/enterprise/enterprise.vue b/src/views/enterprise/enterprise.vue
index 8a2f873..a66151a 100644
--- a/src/views/enterprise/enterprise.vue
+++ b/src/views/enterprise/enterprise.vue
@@ -1,14 +1,333 @@
- 企业信息管理界面
+
+
+
+
+
+
+ 搜索
+
+
+
+
+
+ {{ row.id }}
+
+
+
+
+ {{ row.name }}
+
+
+
+
+ {{ row.incubator}}
+
+
+
+
+ 企业测评详情
+ 企业详细信息
+ 企业标签
+
+
+
+
+
+
+
+
+ {{row.category}}
+
+
+
+
+ {{row.createdAt}}
+
+
+
+
+ {{row.id}}
+
+
+
+
+ {{row.name}}
+
+
+
+
+
+
+
+
+
+ 有
+ 无
+
+
+
+
+ 是
+ 否
+
+
+
+
+ {{ row.grossSalesOne }}
+
+
+
+
+ {{ row.grossSalesThree }}
+
+
+
+
+ {{ row.grossSalesTwo }}
+
+
+
+
+ 是
+ 否
+
+
+
+
+ {{ row.highNewTechnologyFee }}
+
+
+
+
+ {{ row.id }}
+
+
+
+
+ 是
+ 否
+
+
+
+
+ {{ row.illegalAct }}
+
+
+
+
+ {{ row.intellectualPropertyRightII }}
+
+
+
+
+ 其他
+ 电子信息技术
+ 生物与医药技术
+ 航空航天技术
+ 新材料技术
+ 高新技术服务技术
+ 新能源及节能技术
+ 资源与环境技术
+ 高新技术改造传统产业
+
+
+
+
+ {{ row.name }}
+
+
+
+
+ 否
+ 是
+
+
+
+
+ {{ row.rdexpensesOne }}
+
+
+
+
+ {{ row.rdexpensesThree }}
+
+
+
+
+ {{ row.rdexpensesTwo }}
+
+
+
+
+ 是
+ 否
+
+
+
+
+ {{ row.technicians }}
+
+
+
+
+ 是
+ 否
+
+
+
+
+ {{ row.totalAssets }}
+
+
+
+
+ {{ row.totalCostExpensesOne }}
+
+
+
+
+ {{ row.totalCostExpensesThree }}
+
+
+
+
+ {{ row.illegalAct }}
+
+
+
+
+ {{ row.workforce }}
+
+
+
+
+
+
+
+
+
+ {{ row.id }}
+
+
+
+
+ {{ row.reason }}
+
+
+
+
+
+ 通过
+ 未通过
+
+
+
+
+ {{ row.type }}
+
+
+
+
+ {{ row.type }}
+
+
+
+
+
+
-