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
a5f26544
Commit
a5f26544
authored
Feb 17, 2023
by
孙香冬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
f7bb73e8
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
financing.ts
src/biz/enterprise/financing.ts
+2
-1
checkParamConfig.ts
src/config/checkParamConfig.ts
+3
-1
enterprise.ts
src/data/enterprise/enterprise.ts
+1
-1
No files found.
src/biz/enterprise/financing.ts
View file @
a5f26544
...
...
@@ -14,7 +14,7 @@ import { changeEnumValue, checkChange, checkParamater, extractData, getTaskId }
import
{
findEnterpriseInfoByName
,
findEnterpriseListByFuHuaQiUsccName
}
from
"../../data/enterprise/enterprise"
;
import
{
findAllFuHuaQiOperationNameMap
,
findFuHuaQiByName
}
from
"../../data/fuHuaQi/fuhuaqi"
;
import
moment
=
require
(
"moment"
);
import
{
FUHUAINDUSTRY
,
INDUSTRY
,
OUTPUTTYPE
}
from
"../../config/enum"
;
import
{
F
INANCINGROUNDS
,
F
UHUAINDUSTRY
,
INDUSTRY
,
OUTPUTTYPE
}
from
"../../config/enum"
;
/**
...
...
@@ -198,6 +198,7 @@ export async function financingList(monthData:string, fuHuaQiName:string, indust
changeData
.
fuhuaqiUscc
=
usccMap
[
info
.
fuHuaQiUscc
]
||
""
;
changeData
.
industry
=
changeEnumValue
(
INDUSTRY
,
info
.
industry
);
changeData
.
financingRounds
=
changeEnumValue
(
FINANCINGROUNDS
,
info
.
financingRounds
);
dataList
.
push
(
changeData
);
});
...
...
src/config/checkParamConfig.ts
View file @
a5f26544
...
...
@@ -51,7 +51,8 @@ export const EnterpriseParamFormConfig = {
leasedArea
:
"Number"
,
//租赁面积(平方米)
oldLogonAdd
:
"String"
,
//迁入前注册地址
timeOfImmigration
:
"Number"
,
//迁入时间
draftId
:
"String"
draftId
:
"String"
,
mainBusiness
:
"String"
//主营业务
}
/**
...
...
@@ -121,6 +122,7 @@ export const FinancingParamUpdateConfig = {
fuHuaQiInvestment
:
"Boolean"
,
//孵化器是否投资
fuHuaQiInvestmentAmount
:
"Number"
,
//孵化器投资金额(万元)
fuHuaQiInvestmentStyle
:
"Number"
,
//孵化器投资方式
financingRounds
:
"Number"
,
//融资轮次
};
...
...
src/data/enterprise/enterprise.ts
View file @
a5f26544
...
...
@@ -26,7 +26,7 @@ const enterpriseSchema = new Schema({
createTime
:
Number
,
//录入时间
enterpriseIsInPut
:{
type
:
Boolean
,
default
:
false
},
//是否是初始数据 todo 后续要弃用 兼容原始数据无法判断是否是迁入企业这个问题加的字段
draftId
:{
type
:
String
,
index
:
true
},
//草稿id 编辑的时候使用这个id 保存之后就不认这个id了
mainBusiness
:
String
,
//主营业务
mainBusiness
:
{
type
:
String
,
default
:
""
}
,
//主营业务
});
var
enterpriseModel
;
...
...
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