Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yuyixcx
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
yuyixcx
Commits
982934a3
Commit
982934a3
authored
Jun 03, 2025
by
chenjinjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
664fa41b
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
15 deletions
+17
-15
qualification.ts
src/biz/qualification.ts
+6
-2
enterprise.ts
src/config/eccParam/enterprise.ts
+3
-3
enum.ts
src/config/enum/enum.ts
+2
-2
enterprise.ts
src/config/splitResult/enterprise.ts
+5
-5
main.ts
src/main.ts
+1
-3
No files found.
src/biz/qualification.ts
View file @
982934a3
...
...
@@ -228,10 +228,12 @@ export async function enterpriseIPRList(eId, iprType) {
let
dataList
:
any
=
[];
if
(
iprList
&&
iprList
.
length
)
{
iprList
.
forEach
(
info
=>
{
let
iprTime
=
""
;
if
(
info
[
iprConf
[
2
]])
iprTime
=
moment
(
info
[
iprConf
[
2
]]).
format
(
"YYYY-MM-DD"
);
dataList
.
push
({
iprId
:
info
[
iprConf
[
0
]],
iprName
:
info
[
iprConf
[
1
]],
iprTime
:
moment
(
info
[
iprConf
[
2
]]).
format
(
"YYYY-MM-DD"
)
,
iprTime
,
timeNumber
:
new
Date
(
info
[
iprConf
[
2
]]).
valueOf
()
})
})
...
...
@@ -280,10 +282,12 @@ export async function enterpriseIPRInfo(eId, iprType, iprId) {
let
dataInfo
=
{};
if
(
Object
.
keys
(
iprInfo
).
length
)
{
let
iprTime
=
""
;
if
(
iprInfo
[
iprConf
[
2
]])
iprTime
=
moment
(
iprInfo
[
iprConf
[
2
]]).
format
(
"YYYY-MM-DD"
);
dataInfo
=
{
iprId
:
iprInfo
[
iprConf
[
0
]],
iprName
:
iprInfo
[
iprConf
[
1
]],
iprTime
:
moment
(
iprInfo
[
iprConf
[
2
]]).
format
(
"YYYY-MM-DD"
)
,
iprTime
,
iprUrl
:
JSON
.
parse
(
iprInfo
[
iprConf
[
3
]]),
}
}
...
...
src/config/eccParam/enterprise.ts
View file @
982934a3
...
...
@@ -7,14 +7,14 @@
*/
export
const
EnterpriseInfomationUpdateConfig
=
{
tongXinDiZhi
:{
type
:
"Address"
},
//通信地址
//
tongXinDiZhi:{type:"Address"},//通信地址
industry
:{
type
:
"[Number]"
},
//领域
mail
:{
type
:
"String"
},
//邮箱
liaison
:{
type
:
"String"
},
//联系人
liaisonPhone
:{
type
:
"String"
},
//联系电话
gengDuoDianHua
:{
type
:
"String"
},
//更多电话
//
gengDuoDianHua:{type:"String"},//更多电话
jianJie
:{
type
:
"String"
},
//简介
mainBusiness
:{
type
:
"String"
},
//主营业务
//
mainBusiness:{type:"String"},//主营业务
}
...
...
src/config/enum/enum.ts
View file @
982934a3
...
...
@@ -123,8 +123,8 @@ export enum SEX {
* 创始团队
*/
export
enum
ENTERPRISETEAM
{
国际一流人才
=
2
,
国内
一流
人才
海外人才
=
2
,
国内人才
}
...
...
src/config/splitResult/enterprise.ts
View file @
982934a3
...
...
@@ -13,8 +13,8 @@ export const EnterpriseBaseResConfig = {
enterpriseName
:{
key
:
"企业名称"
},
logonTime
:{
key
:
"注册日期"
},
logonAddress
:{
key
:
"注册地址"
,
isAdd
:
true
},
operatingAddress
:{
key
:
"经营地址"
},
oldLogonAddress
:{
key
:
"迁入前注册地址"
,
isAdd
:
true
},
//
operatingAddress:{key:"经营地址"},
//
oldLogonAddress:{key:"迁入前注册地址", isAdd:true},
zhuCeHao
:{
key
:
"注册号"
},
zuZhiJiGouDaiMa
:{
key
:
"组织机构代码"
},
dengJiJiGuan
:{
key
:
"登记机关"
},
...
...
@@ -23,14 +23,14 @@ export const EnterpriseBaseResConfig = {
export
const
EnterpriseInfomationResConfig
=
{
tongXinDiZhi
:{
key
:
"通信地址"
,
},
//
tongXinDiZhi:{key:"通信地址", },
industry
:{
key
:
"领域"
},
mail
:{
key
:
"邮箱"
},
liaison
:{
key
:
"联系人"
},
liaisonPhone
:{
key
:
"联系电话"
},
gengDuoDianHua
:{
key
:
"更多电话"
},
//
gengDuoDianHua:{key:"更多电话"},
jianJie
:{
key
:
"简介"
},
mainBusiness
:{
key
:
"主营业务"
}
//
mainBusiness:{key:"主营业务"}
}
...
...
src/main.ts
View file @
982934a3
import
{
TABLEID
}
from
"./config/enum/dbEnum"
;
import
{
initConfig
,
systemConfig
}
from
"./config/serverConfig"
;
import
{
httpServer
}
from
"./net/http_server"
;
import
{
randomId
}
from
"./tools/system"
;
async
function
lanuch
()
{
await
initConfig
();
httpServer
.
createServer
(
systemConfig
.
port
);
let
yid
=
randomId
(
TABLEID
.
雨艺孵化器
)
console
.
log
(
'This indicates that the server is started successfully.'
);
}
...
...
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