Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zjxcxServer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
node_server
zjxcxServer
Commits
7482a4e7
Commit
7482a4e7
authored
Feb 13, 2023
by
孙香冬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
40726340
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
11 deletions
+12
-11
enterprise.ts
src/biz/enterprise/enterprise.ts
+4
-3
ojbectResultKeyConfig.ts
src/config/ojbectResultKeyConfig.ts
+8
-8
No files found.
src/biz/enterprise/enterprise.ts
View file @
7482a4e7
...
@@ -8,12 +8,12 @@ import { MoveInEnterpriseParamConfig, RegisterEnterpriseParamConfig } from "../.
...
@@ -8,12 +8,12 @@ import { MoveInEnterpriseParamConfig, RegisterEnterpriseParamConfig } from "../.
import
{
ERRORENUM
}
from
"../../config/errorEnum"
;
import
{
ERRORENUM
}
from
"../../config/errorEnum"
;
import
{
EnterpriseInfoConfig
}
from
"../../config/ojbectResultKeyConfig"
;
import
{
EnterpriseInfoConfig
}
from
"../../config/ojbectResultKeyConfig"
;
import
{
BizError
}
from
"../../util/bizError"
;
import
{
BizError
}
from
"../../util/bizError"
;
import
{
checkChange
,
checkParamater
,
extractData
,
getTaskId
}
from
"../../util/tools"
import
{
ch
angeEnumValue
,
ch
eckChange
,
checkParamater
,
extractData
,
getTaskId
}
from
"../../util/tools"
import
moment
=
require
(
"moment"
);
import
moment
=
require
(
"moment"
);
import
{
createEnterprise
,
deleteEnterprise
,
findEnterpriseCount
,
findEnterpriseByUscc
,
findEnterpriseListToPage
,
findEnterpriseListByFuHuaQiUsccName
,
查询所有已绑定过的孵化器
id
,
findEnterpriseList
}
from
"../../data/enterprise/enterprise"
;
import
{
createEnterprise
,
deleteEnterprise
,
findEnterpriseCount
,
findEnterpriseByUscc
,
findEnterpriseListToPage
,
findEnterpriseListByFuHuaQiUsccName
,
查询所有已绑定过的孵化器
id
,
findEnterpriseList
}
from
"../../data/enterprise/enterprise"
;
import
{
EnterpriseListConfig
}
from
"../../config/ojbectResultKeyConfig"
;
import
{
EnterpriseListConfig
}
from
"../../config/ojbectResultKeyConfig"
;
import
{
findAllFuHuaQi
,
findFuHuaQiByUSCC
}
from
"../../data/fuHuaQi/fuhuaqi"
;
import
{
findAllFuHuaQi
,
findFuHuaQiByUSCC
}
from
"../../data/fuHuaQi/fuhuaqi"
;
import
{
OUTPUTTYPE
}
from
"../../config/enum"
;
import
{
FUHUAINDUSTRY
,
OUTPUTTYPE
}
from
"../../config/enum"
;
/**
/**
...
@@ -177,8 +177,9 @@ export async function enterpriseList(time:string, fuHuaQiUscc:string, industry,
...
@@ -177,8 +177,9 @@ export async function enterpriseList(time:string, fuHuaQiUscc:string, industry,
let
count
=
await
findEnterpriseCount
(
selectParam
);
let
count
=
await
findEnterpriseCount
(
selectParam
);
let
dataList
=
[];
let
dataList
=
[];
dataBaseList
.
forEach
(
info
=>
{
dataBaseList
.
forEach
(
info
=>
{
let
changeData
=
extractData
(
EnterpriseListConfig
,
info
);
let
changeData
:
any
=
extractData
(
EnterpriseListConfig
,
info
);
changeData
.
industry
=
changeEnumValue
(
FUHUAINDUSTRY
,
changeData
.
industry
);
dataList
.
push
(
changeData
);
dataList
.
push
(
changeData
);
});
});
...
...
src/config/ojbectResultKeyConfig.ts
View file @
7482a4e7
...
@@ -35,7 +35,7 @@ export const EnterpriseInfoConfig = {
...
@@ -35,7 +35,7 @@ export const EnterpriseInfoConfig = {
logonAdd
:{
key
:
"注册地址"
},
//
logonAdd
:{
key
:
"注册地址"
},
//
operatingAdd
:{
key
:
"经营地址"
},
//
operatingAdd
:{
key
:
"经营地址"
},
//
leasedArea
:{
key
:
"租赁面积(平方米)"
},
leasedArea
:{
key
:
"租赁面积(平方米)"
},
timeOfImmigration
:{
key
:
"迁入时间"
},
//
timeOfImmigration
:{
key
:
"迁入时间"
,
changeDate
:
true
},
//
oldLogonAdd
:{
key
:
"迁入前注册地址"
},
//
oldLogonAdd
:{
key
:
"迁入前注册地址"
},
//
};
};
...
@@ -50,7 +50,7 @@ export const EnterpriseFinancingInfoConfig = {
...
@@ -50,7 +50,7 @@ export const EnterpriseFinancingInfoConfig = {
operatingAdd
:{
key
:
"经营地址"
},
//
operatingAdd
:{
key
:
"经营地址"
},
//
financingAmount
:{
key
:
"融资金额(万元)"
},
//
financingAmount
:{
key
:
"融资金额(万元)"
},
//
investmentInstitutionsName
:{
key
:
"投资机构名称"
},
//
investmentInstitutionsName
:{
key
:
"投资机构名称"
},
//
timeToObtainInvestment
:{
key
:
"获得投资时间"
},
//
timeToObtainInvestment
:{
key
:
"获得投资时间"
,
changeDate
:
true
},
//
fuHuaQiInvestment
:{
key
:
"孵化器是否投资"
},
fuHuaQiInvestment
:{
key
:
"孵化器是否投资"
},
fuHuaQiInvestmentAmount
:{
key
:
"孵化器投资金额(万元)"
},
//
fuHuaQiInvestmentAmount
:{
key
:
"孵化器投资金额(万元)"
},
//
fuHuaQiInvestmentStyle
:{
key
:
"孵化器投资方式"
},
//
fuHuaQiInvestmentStyle
:{
key
:
"孵化器投资方式"
},
//
...
@@ -61,13 +61,13 @@ export const EnterpriseFinancingInfoConfig = {
...
@@ -61,13 +61,13 @@ export const EnterpriseFinancingInfoConfig = {
*/
*/
export
const
EnterpriseListConfig
=
{
export
const
EnterpriseListConfig
=
{
name
:{
key
:
"企业 名称"
},
name
:{
key
:
"企业 名称"
},
createTime
:{
key
:
"入库时间 不可修改"
},
createTime
:{
key
:
"入库时间 不可修改"
,
changeDate
:
true
},
// 新注册/迁入
// 新注册/迁入
fuhuaqiUscc
:{
key
:
"孵化器统一信用代码 不可修改 这里显示运营机构的名称"
},
fuhuaqiUscc
:{
key
:
"孵化器统一信用代码 不可修改 这里显示运营机构的名称"
},
uscc
:{
key
:
"统一信用代码 也是登录账号 不可修改"
},
uscc
:{
key
:
"统一信用代码 也是登录账号 不可修改"
},
industry
:{
key
:
"行业领域[] 最多 选择三个"
},
industry
:{
key
:
"行业领域[] 最多 选择三个"
},
logonTime
:{
key
:
"注册时间"
,
changeDate
:
true
},
logonTime
:{
key
:
"注册时间"
,
changeDate
:
true
},
firstIncubationTime
:{
key
:
"首次入孵时间"
},
firstIncubationTime
:{
key
:
"首次入孵时间"
,
changeDate
:
true
},
timeOfImmigration
:{
key
:
"迁入时间"
,
changeDate
:
true
},
timeOfImmigration
:{
key
:
"迁入时间"
,
changeDate
:
true
},
isNaturalPersonHolding
:{
key
:
"是否自然人控股"
},
isNaturalPersonHolding
:{
key
:
"是否自然人控股"
},
oldLogonAdd
:{
key
:
"迁入前注册地址"
},
oldLogonAdd
:{
key
:
"迁入前注册地址"
},
...
@@ -85,11 +85,11 @@ export const FinancingListConfig = {
...
@@ -85,11 +85,11 @@ export const FinancingListConfig = {
operatingAdd
:{
key
:
"经营地址"
},
operatingAdd
:{
key
:
"经营地址"
},
financingAmount
:{
key
:
"融资金额(万元)"
},
financingAmount
:{
key
:
"融资金额(万元)"
},
investmentInstitutionsName
:{
key
:
"投资机构名称"
},
investmentInstitutionsName
:{
key
:
"投资机构名称"
},
timeToObtainInvestment
:{
key
:
"获得投资时间"
},
timeToObtainInvestment
:{
key
:
"获得投资时间"
,
changeDate
:
true
},
fuHuaQiInvestment
:{
key
:
"孵化器是否投资"
},
fuHuaQiInvestment
:{
key
:
"孵化器是否投资"
},
fuHuaQiInvestmentAmount
:{
key
:
"孵化器投资金额(万元)"
},
fuHuaQiInvestmentAmount
:{
key
:
"孵化器投资金额(万元)"
},
fuHuaQiInvestmentStyle
:{
key
:
"孵化器投资方式"
},
fuHuaQiInvestmentStyle
:{
key
:
"孵化器投资方式"
},
createTime
:{
key
:
"录入时间 不可修改"
},
createTime
:{
key
:
"录入时间 不可修改"
,
changeDate
:
true
},
}
}
/**
/**
...
@@ -135,12 +135,12 @@ export const FuHuaQiBaseDataConfig = {
...
@@ -135,12 +135,12 @@ export const FuHuaQiBaseDataConfig = {
operationName
:{
key
:
"运营机构名称"
},
operationName
:{
key
:
"运营机构名称"
},
uscc
:{
key
:
"统一信用代码"
},
uscc
:{
key
:
"统一信用代码"
},
virtualEnterpriseNum
:{
key
:
"虚拟企业数量"
},
virtualEnterpriseNum
:{
key
:
"虚拟企业数量"
},
logonTime
:{
key
:
"注册时间"
},
logonTime
:{
key
:
"注册时间"
,
changeDate
:
true
},
incubatedAcreage
:{
key
:
"在孵面积"
},
incubatedAcreage
:{
key
:
"在孵面积"
},
acreageTotal
:{
key
:
"孵化器总面积"
},
acreageTotal
:{
key
:
"孵化器总面积"
},
acreagePersonalUse
:{
key
:
"/孵化器自用面积"
},
acreagePersonalUse
:{
key
:
"/孵化器自用面积"
},
lv
:{
key
:
"孵化器级别"
},
lv
:{
key
:
"孵化器级别"
},
identificationTime
:{
key
:
"认定时间"
},
identificationTime
:{
key
:
"认定时间"
,
changeDate
:
true
},
industry
:{
key
:
"孵化领域"
},
industry
:{
key
:
"孵化领域"
},
institutionalNature
:{
key
:
"机构性质"
},
institutionalNature
:{
key
:
"机构性质"
},
liaison
:{
key
:
"联系人"
},
liaison
:{
key
:
"联系人"
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment