Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wenHuaBu_adminServer
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
wenHuaBu_adminServer
Commits
33fbf67c
Commit
33fbf67c
authored
Apr 26, 2024
by
lixinming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
15e28321
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
officialWebsite.ts
src/biz/officialWebsite.ts
+1
-1
xueHuiLingDao.ts
src/biz/portal/xueHui/xueHuiLingDao.ts
+2
-2
register.ts
src/biz/register.ts
+2
-2
router.ts
src/routers/portal/router.ts
+4
-4
No files found.
src/biz/officialWebsite.ts
View file @
33fbf67c
...
@@ -162,7 +162,7 @@ export async function xueHuiGaiKuang() {
...
@@ -162,7 +162,7 @@ export async function xueHuiGaiKuang() {
let
xueHuiLingDaoData
=
await
find
(
TABLEENUM
.
学会领导
,
{}
);
let
xueHuiLingDaoData
=
await
find
(
TABLEENUM
.
学会领导
,
{}
);
xueHuiLingDaoData
.
sort
((
a
,
b
)
=>
{
return
a
.
rank
-
b
.
rank
});
xueHuiLingDaoData
.
sort
((
a
,
b
)
=>
{
return
a
.
rank
-
b
.
rank
});
xueHuiLingDaoData
.
forEach
(
info
=>
{
xueHuiLingDaoData
.
forEach
(
info
=>
{
let
item
:
any
=
extractData
(
info
,
[
"name"
,
"position"
,
"
miniI
mgUrl"
,
"desc"
]);
let
item
:
any
=
extractData
(
info
,
[
"name"
,
"position"
,
"
i
mgUrl"
,
"desc"
]);
item
.
position
=
changeEnumValue
(
XUEHUILINGDAOZHIWEI
,
item
.
position
);
item
.
position
=
changeEnumValue
(
XUEHUILINGDAOZHIWEI
,
item
.
position
);
result
.
xueHuiLingDao
.
push
(
item
);
result
.
xueHuiLingDao
.
push
(
item
);
});
});
...
...
src/biz/portal/xueHui/xueHuiLingDao.ts
View file @
33fbf67c
...
@@ -95,7 +95,7 @@ export async function preview({}) {
...
@@ -95,7 +95,7 @@ export async function preview({}) {
let
dataList
=
[];
let
dataList
=
[];
dbList
.
forEach
(
info
=>
{
dbList
.
forEach
(
info
=>
{
let
item
:
any
=
extractData
(
info
,
[
"id"
,
"rank"
,
"name"
,
"position"
,
"
miniI
mgUrl"
,
"desc"
]);
let
item
:
any
=
extractData
(
info
,
[
"id"
,
"rank"
,
"name"
,
"position"
,
"
i
mgUrl"
,
"desc"
]);
item
.
position
=
changeEnumValue
(
XUEHUILINGDAOZHIWEI
,
item
.
position
);
item
.
position
=
changeEnumValue
(
XUEHUILINGDAOZHIWEI
,
item
.
position
);
dataList
.
push
(
item
);
dataList
.
push
(
item
);
});
});
...
@@ -113,7 +113,7 @@ export async function preview({}) {
...
@@ -113,7 +113,7 @@ export async function preview({}) {
export
async
function
info
(
secureArgs
:
any
)
{
export
async
function
info
(
secureArgs
:
any
)
{
let
{
id
}
=
secureArgs
;
let
{
id
}
=
secureArgs
;
let
oldInfo
=
await
findOnce
(
TABLEENUM
.
学会领导
,
{
id
});
let
oldInfo
=
await
findOnce
(
TABLEENUM
.
学会领导
,
{
id
});
let
dataInfo
=
extractData
(
oldInfo
,
[
"id"
,
"rank"
,
"name"
,
"position"
,
"
miniI
mgUrl"
,
"desc"
]);
let
dataInfo
=
extractData
(
oldInfo
,
[
"id"
,
"rank"
,
"name"
,
"position"
,
"
i
mgUrl"
,
"desc"
]);
return
{
dataInfo
};
return
{
dataInfo
};
}
}
src/biz/register.ts
View file @
33fbf67c
...
@@ -308,7 +308,7 @@ export async function memberRegisterSendCode({phone}) {
...
@@ -308,7 +308,7 @@ export async function memberRegisterSendCode({phone}) {
*/
*/
const
UnitBasicConfig
=
[
"userId"
,
"unitName"
,
"sheng"
,
"shi"
,
"qu"
,
"addres"
,
"uscc"
,
"legalPerson"
,
"legalPersonPhone"
,
"legalPersonMail"
,
const
UnitBasicConfig
=
[
"userId"
,
"unitName"
,
"sheng"
,
"shi"
,
"qu"
,
"addres"
,
"uscc"
,
"legalPerson"
,
"legalPersonPhone"
,
"legalPersonMail"
,
"contactPerson"
,
"contactPersonDuties"
,
"contactPersonPhone"
,
"uusinessLicenseUrl"
];
"contactPerson"
,
"contactPersonDuties"
,
"contactPersonPhone"
,
"uusinessLicenseUrl"
,
"unitMail"
];
const
UnitConfig
=
[
"unitMemberType"
,
"yuanXiaoBanXueLeiXing"
,
"yuanXiaoZhuGuanBuMen"
,
"yuanXiaoFuZeRen"
,
"yuanXiaoFuZeRenZhiWu"
,
"yuanXiaoBanGongFuZeRenZhiWu"
,
const
UnitConfig
=
[
"unitMemberType"
,
"yuanXiaoBanXueLeiXing"
,
"yuanXiaoZhuGuanBuMen"
,
"yuanXiaoFuZeRen"
,
"yuanXiaoFuZeRenZhiWu"
,
"yuanXiaoBanGongFuZeRenZhiWu"
,
"yuanXiaoFuZeRenDianHua"
,
"yuanXiaoBanGongFuZeRen"
,
"yuanXiaoBanGongFuZeRenDianHua"
,
"ZhuYaoFuZeRenYouXiang"
,
"yuanXiaoKeYanFuZeRen"
,
"yuanXiaoKeYanFuZeRenDianHua"
,
"yuanXiaoFuZeRenDianHua"
,
"yuanXiaoBanGongFuZeRen"
,
"yuanXiaoBanGongFuZeRenDianHua"
,
"ZhuYaoFuZeRenYouXiang"
,
"yuanXiaoKeYanFuZeRen"
,
"yuanXiaoKeYanFuZeRenDianHua"
,
"jiaoXueFuZeRenXinMing"
,
"yuanXiaoXueShengZongRenShu"
,
"yuanXiaoJiaoZhiGongZongRenShu"
,
"jiaoXueFuZeRenDianHua"
,
"kaishezhuanYe"
,
"danWeiJianJie"
];
"jiaoXueFuZeRenXinMing"
,
"yuanXiaoXueShengZongRenShu"
,
"yuanXiaoJiaoZhiGongZongRenShu"
,
"jiaoXueFuZeRenDianHua"
,
"kaishezhuanYe"
,
"danWeiJianJie"
];
...
@@ -343,7 +343,7 @@ export async function unitMemberEcho3({id}) {
...
@@ -343,7 +343,7 @@ export async function unitMemberEcho3({id}) {
let
oldInfo
=
await
findOnce
(
TABLEENUM
.
用户表
,
{
userId
:
id
},
[
"userId"
,
"applicationForm"
]);
let
oldInfo
=
await
findOnce
(
TABLEENUM
.
用户表
,
{
userId
:
id
},
[
"userId"
,
"applicationForm"
]);
if
(
!
oldInfo
||
!
oldInfo
.
userId
)
throw
new
BizError
(
ERRORENUM
.
目标数据不存在
);
if
(
!
oldInfo
||
!
oldInfo
.
userId
)
throw
new
BizError
(
ERRORENUM
.
目标数据不存在
);
let
dataInfo
:
any
=
extractData
(
oldInfo
,
[
"applicationForm"
]);
let
dataInfo
:
any
=
extractData
(
oldInfo
,
[
"applicationForm"
]);
dataInfo
.
defaultApplicationForm
=
"http
://192.168.0.105:40012/单位会员情况统计表.docx
"
;
dataInfo
.
defaultApplicationForm
=
"http
s://cefa-exam.oss-cn-beijing.aliyuncs.com/public/%E5%8D%95%E4%BD%8D%E4%BC%9A%E5%91%98%E6%83%85%E5%86%B5%E7%BB%9F%E8%AE%A1%E8%A1%A8.docx?Expires=1714044309&OSSAccessKeyId=TMP.3KeeLL9N8Dqf4H3NtckLxQ92VhuFr4XnmF673gTUjgsQHXK5GLLXMXVNCY4JjXUwRs5uqHamQbv3DdYqi4BKkMhcTYyyPS&Signature=b%2BJhkE%2BHEBhuVPQlqVsPoxDJoMQ%3D
"
;
return
{
dataInfo
};
return
{
dataInfo
};
}
}
...
...
src/routers/portal/router.ts
View file @
33fbf67c
...
@@ -73,8 +73,8 @@ export const Config = {
...
@@ -73,8 +73,8 @@ export const Config = {
rank
:{
type
:
"Number"
,
desc
:
"排序"
},
rank
:{
type
:
"Number"
,
desc
:
"排序"
},
name
:{
typs
:
"String"
,
desc
:
"名称"
},
name
:{
typs
:
"String"
,
desc
:
"名称"
},
position
:{
type
:
"Number"
,
desc
:
"职位"
},
position
:{
type
:
"Number"
,
desc
:
"职位"
},
//
imgUrl:{type:"String", desc:"大图地址"},
imgUrl
:{
type
:
"String"
,
desc
:
"大图地址"
},
miniImgUrl
:{
type
:
"String"
,
desc
:
"小图地址"
},
//
miniImgUrl:{type:"String", desc:"小图地址"},
desc
:{
type
:
"String"
,
desc
:
"说明"
},
desc
:{
type
:
"String"
,
desc
:
"说明"
},
},
},
desc
:
"表单"
desc
:
"表单"
...
@@ -91,8 +91,8 @@ export const Config = {
...
@@ -91,8 +91,8 @@ export const Config = {
rank
:{
type
:
"Number"
,
desc
:
"排序"
},
rank
:{
type
:
"Number"
,
desc
:
"排序"
},
name
:{
typs
:
"String"
,
desc
:
"名称"
},
name
:{
typs
:
"String"
,
desc
:
"名称"
},
position
:{
type
:
"Number"
,
desc
:
"职位"
},
position
:{
type
:
"Number"
,
desc
:
"职位"
},
//
imgUrl:{type:"String", desc:"大图地址"},
imgUrl
:{
type
:
"String"
,
desc
:
"大图地址"
},
miniImgUrl
:{
type
:
"String"
,
desc
:
"小图地址"
},
//
miniImgUrl:{type:"String", desc:"小图地址"},
desc
:{
type
:
"String"
,
desc
:
"说明"
},
desc
:{
type
:
"String"
,
desc
:
"说明"
},
},
},
desc
:
"表单"
desc
:
"表单"
...
...
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