Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yuyiAdminServer
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
yuyiAdminServer
Commits
6902b848
Commit
6902b848
authored
May 15, 2025
by
chenjinjing
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://123.207.147.179:8888/node_server/yuyiAdminServer
parents
4353b7d9
1a5d33ea
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
15 deletions
+9
-15
ruFu.ts
src/biz/ruFu.ts
+5
-14
serverConfig.ts
src/config/serverConfig.ts
+2
-1
systemClass.ts
src/config/systemClass.ts
+2
-0
No files found.
src/biz/ruFu.ts
View file @
6902b848
...
@@ -14,6 +14,7 @@ import moment = require("moment");
...
@@ -14,6 +14,7 @@ import moment = require("moment");
import
{
changeAdd
,
extractData
}
from
"../util/piecemeal"
;
import
{
changeAdd
,
extractData
}
from
"../util/piecemeal"
;
import
{
EnterpriseApplyForConfig
}
from
"../config/splitResult/enterprise"
;
import
{
EnterpriseApplyForConfig
}
from
"../config/splitResult/enterprise"
;
import
{
changeEnumValue
}
from
"../util/verificationEnum"
;
import
{
changeEnumValue
}
from
"../util/verificationEnum"
;
import
{
systemConfig
}
from
"../config/serverConfig"
;
//=======================================================新入孵企业
//=======================================================新入孵企业
...
@@ -355,14 +356,10 @@ export async function enterpriseRegisterExamineList(enterpriseName, page) {
...
@@ -355,14 +356,10 @@ export async function enterpriseRegisterExamineList(enterpriseName, page) {
eId
:
info
.
eId
,
eId
:
info
.
eId
,
enterpriseName
:
info
.
enterpriseName
,
enterpriseName
:
info
.
enterpriseName
,
randomCode
:
info
.
randomCode
,
randomCode
:
info
.
randomCode
,
leaseContractUrl
:
info
.
enterprise_leases
[
0
].
leaseContract
||
"未提交"
,
leaseContractUrl
:
`
${
systemConfig
.
fileUrl
}${
info
.
enterprise_leases
[
0
].
leaseContract
}
`
||
"未提交"
,
entryPlanUrl
:
info
.
enterprise_leases
[
0
].
entryPlan
||
"未提交"
,
entryPlanUrl
:
`
${
systemConfig
.
fileUrl
}${
info
.
enterprise_leases
[
0
].
entryPlan
}
`
||
"未提交"
,
businessLicenseUrl
:
info
.
enterprise_leases
[
0
].
businessLicense
||
"未提交"
,
businessLicenseUrl
:
`
${
systemConfig
.
fileUrl
}${
info
.
enterprise_leases
[
0
].
businessLicense
}
`
||
"未提交"
,
agreementUrl
:
info
.
enterprise_leases
[
0
].
agreement
||
"未提交"
,
agreementUrl
:
`
${
systemConfig
.
fileUrl
}${
info
.
enterprise_leases
[
0
].
agreement
}
`
||
"未提交"
,
// leaseContractUrl:getUrl(info.enterprise_leases[0].leaseContract || "未提交"),
// entryPlanUrl:getUrl(info.enterprise_leases[0].entryPlan || "未提交"),
// businessLicenseUrl:getUrl(info.enterprise_leases[0].businessLicense || "未提交"),
// agreementUrl:getUrl(info.enterprise_leases[0].agreement || "未提交"),
leaseContract
:
getFileNameAndFormat
(
info
.
enterprise_leases
[
0
].
leaseContract
),
leaseContract
:
getFileNameAndFormat
(
info
.
enterprise_leases
[
0
].
leaseContract
),
entryPlan
:
getFileNameAndFormat
(
info
.
enterprise_leases
[
0
].
entryPlan
),
entryPlan
:
getFileNameAndFormat
(
info
.
enterprise_leases
[
0
].
entryPlan
),
businessLicense
:
getFileNameAndFormat
(
info
.
enterprise_leases
[
0
].
businessLicense
),
businessLicense
:
getFileNameAndFormat
(
info
.
enterprise_leases
[
0
].
businessLicense
),
...
@@ -374,12 +371,6 @@ export async function enterpriseRegisterExamineList(enterpriseName, page) {
...
@@ -374,12 +371,6 @@ export async function enterpriseRegisterExamineList(enterpriseName, page) {
return
{
dataList
,
dataCount
:
allResList
.
length
};
return
{
dataList
,
dataCount
:
allResList
.
length
};
}
}
function
getUrl
(
fileName
:
string
|
null
|
undefined
):
string
{
if
(
fileName
===
null
||
fileName
===
undefined
||
fileName
===
"未提交"
)
{
return
"未提交"
;
}
return
fileName
;
// 直接返回原始文件路径/URL
}
/**
/**
* 入孵材料回显
* 入孵材料回显
* @param eId
* @param eId
...
...
src/config/serverConfig.ts
View file @
6902b848
...
@@ -16,7 +16,7 @@ export async function initConfig() {
...
@@ -16,7 +16,7 @@ export async function initConfig() {
if
(
!
configInfo
||
!
configInfo
.
config
)
throw
new
BizError
(
'xml中无配置'
);
if
(
!
configInfo
||
!
configInfo
.
config
)
throw
new
BizError
(
'xml中无配置'
);
else
{
else
{
let
{
port
,
sign
,
dbServer
,
imgUrl
,
imgFileUrl
,
qcc
}
=
configInfo
.
config
;
let
{
port
,
sign
,
dbServer
,
imgUrl
,
imgFileUrl
,
fileUrl
,
qcc
}
=
configInfo
.
config
;
systemConfig
.
port
=
parseInt
(
port
[
0
]);
systemConfig
.
port
=
parseInt
(
port
[
0
]);
systemConfig
.
dbSign
=
sign
[
0
];
systemConfig
.
dbSign
=
sign
[
0
];
...
@@ -24,6 +24,7 @@ export async function initConfig() {
...
@@ -24,6 +24,7 @@ export async function initConfig() {
systemConfig
.
imgUrl
=
imgUrl
[
0
];
systemConfig
.
imgUrl
=
imgUrl
[
0
];
systemConfig
.
imgFileUrl
=
imgFileUrl
[
0
];
systemConfig
.
imgFileUrl
=
imgFileUrl
[
0
];
systemConfig
.
fileUrl
=
fileUrl
[
0
];
systemConfig
.
qccKey
=
qcc
[
0
].
key
[
0
];
systemConfig
.
qccKey
=
qcc
[
0
].
key
[
0
];
systemConfig
.
qccSecretKey
=
qcc
[
0
].
SecretKey
[
0
];
systemConfig
.
qccSecretKey
=
qcc
[
0
].
SecretKey
[
0
];
...
...
src/config/systemClass.ts
View file @
6902b848
...
@@ -8,8 +8,10 @@ export class ServerConfig {
...
@@ -8,8 +8,10 @@ export class ServerConfig {
port
:
number
;
port
:
number
;
dbSign
:
String
;
dbSign
:
String
;
dbPath
:
String
;
dbPath
:
String
;
imgPath
:
string
;
imgUrl
:
String
;
imgUrl
:
String
;
imgFileUrl
:
String
;
imgFileUrl
:
String
;
fileUrl
:
String
;
/**企查查 */
/**企查查 */
qccKey
:
string
;
qccKey
:
string
;
qccSecretKey
:
string
;
qccSecretKey
:
string
;
...
...
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