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
61683344
Commit
61683344
authored
Feb 17, 2023
by
孙香冬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
a698f931
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
base.ts
src/biz/fuHuqQi/base.ts
+6
-3
admin.ts
src/routers/admin.ts
+4
-3
No files found.
src/biz/fuHuqQi/base.ts
View file @
61683344
...
...
@@ -149,11 +149,13 @@ export async function updateOrganizationData(uscc:string, param) {
* @param page 页数
* @returns
*/
export
async
function
fuHuaQiBaseList
(
lv
:
number
,
institutionalNature
:
number
,
industry
:
number
,
page
:
number
)
{
export
async
function
fuHuaQiBaseList
(
lv
:
number
,
institutionalNature
:
number
,
industry
:
number
,
operationModel
:
number
,
foundingTeam
:
number
,
page
:
number
)
{
let
selectParam
:
any
=
{};
if
(
lv
)
selectParam
.
lv
=
lv
;
if
(
institutionalNature
)
selectParam
.
institutionalNature
=
institutionalNature
;
if
(
industry
)
selectParam
.
industry
=
industry
;
if
(
operationModel
)
selectParam
.
operationModel
=
operationModel
;
if
(
foundingTeam
)
selectParam
.
foundingTeam
=
foundingTeam
;
let
enterpriseMap
=
await
groupFindEnterprise
();
//企业总数
...
...
@@ -187,12 +189,13 @@ export async function fuHuaQiBaseList(lv:number, institutionalNature:number, ind
changeData
.
operationModel
=
changeData
.
operationModel
.
replace
(
"_"
,
"+"
);
}
changeData
.
foundingTeam
Str
=
"无"
;
changeData
.
foundingTeam
=
"无"
;
if
(
changeData
.
foundingTeam
&&
changeData
.
foundingTeam
.
length
)
{
changeData
.
foundingTeam
.
forEach
(
item
=>
{
item
.
type
=
tools
.
changeEnumValue
(
TEAM
,
item
.
type
);
//人才类型
item
.
type
=
tools
.
changeEnumValue
(
TEAM
,
item
.
foundingTeam
);
//人才类型
item
.
memberSex
=
tools
.
changeEnumValue
(
SEX
,
item
.
memberSex
);
//成员性别
item
.
memberDEGREE
=
tools
.
changeEnumValue
(
DEGREE
,
item
.
memberDEGREE
);
//成员最高学历
// item.memberDEGREE = tools.changeEnumValue(DEGREE, item.foundingTeamStr);//成员最高学历
/* 这里兼容了一下,团队类型数据库里存到了每一个人的信息里 以防后续要修改 */
changeData
.
foundingTeamStr
=
item
.
type
;
});
...
...
src/routers/admin.ts
View file @
61683344
...
...
@@ -58,11 +58,12 @@ async function fuHuaQiBaseList(req, res) {
institutionalNature
:
'Number'
,
//机构性质
operationModel
:
"Number"
,
//运营模式
foundingTeam
:
"Number"
,
//创业团队
industry
:
'Number'
,
page
:
'Number'
industry
:
'Number'
,
page
:
'Number'
};
let
{
lv
,
institutionalNature
,
industry
,
page
}
=
checkParamaterType
(
reqConf
,
req
.
body
);
let
{
lv
,
institutionalNature
,
industry
,
operationModel
,
foundingTeam
,
page
}
=
checkParamaterType
(
reqConf
,
req
.
body
);
let
result
=
await
baseBiz
.
fuHuaQiBaseList
(
lv
,
institutionalNature
,
industry
,
page
);
let
result
=
await
baseBiz
.
fuHuaQiBaseList
(
lv
,
institutionalNature
,
industry
,
operationModel
,
foundingTeam
,
page
);
res
.
success
(
result
);
}
...
...
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