Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
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
黄庭坚
jinfa-platform
Commits
8fa47f65
Commit
8fa47f65
authored
Sep 10, 2020
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixbug
parent
ca780ffc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
48 additions
and
28 deletions
+48
-28
auditPr1.tsx
src/pages/member/memberPr1/auditPr1.tsx
+12
-7
auditPr2.tsx
src/pages/member/memberPr2/auditPr2.tsx
+12
-7
auditPrComfirm.tsx
src/pages/member/memberPrConfirm/auditPrComfirm.tsx
+12
-7
auditPrSubmit.tsx
src/pages/member/memberPrSubmit/auditPrSubmit.tsx
+12
-7
No files found.
src/pages/member/memberPr1/auditPr1.tsx
View file @
8fa47f65
...
...
@@ -55,16 +55,21 @@ const AuditPr1: React.FC<{}> = () => {
vals
.
forEach
(
val
=>
{
const
{
pcode
,
ccode
}
=
val
;
const
province
=
source
.
find
(
item
=>
item
.
code
===
pcode
);
let
str
=
province
.
name
;
// 存在 市级
if
(
ccode
&&
province
&&
province
.
children
)
{
const
city
=
province
.
children
.
find
(
item
=>
item
.
code
===
ccode
);
str
+=
`/
${
city
.
name
}
`
;
if
(
province
)
{
let
str
=
province
.
name
;
// 存在 市级
if
(
ccode
&&
province
&&
province
.
children
)
{
const
city
=
province
.
children
.
find
(
item
=>
item
.
code
===
ccode
);
if
(
city
)
{
str
+=
`/
${
city
.
name
}
`
;
}
}
ret
.
push
(
str
);
}
ret
.
push
(
str
);
});
return
ret
;
};
...
...
src/pages/member/memberPr2/auditPr2.tsx
View file @
8fa47f65
...
...
@@ -55,16 +55,21 @@ const AuditPr2: React.FC<{}> = () => {
vals
.
forEach
(
val
=>
{
const
{
pcode
,
ccode
}
=
val
;
const
province
=
source
.
find
(
item
=>
item
.
code
===
pcode
);
let
str
=
province
.
name
;
// 存在 市级
if
(
ccode
&&
province
&&
province
.
children
)
{
const
city
=
province
.
children
.
find
(
item
=>
item
.
code
===
ccode
);
str
+=
`/
${
city
.
name
}
`
;
if
(
province
)
{
let
str
=
province
.
name
;
// 存在 市级
if
(
ccode
&&
province
&&
province
.
children
)
{
const
city
=
province
.
children
.
find
(
item
=>
item
.
code
===
ccode
);
if
(
city
)
{
str
+=
`/
${
city
.
name
}
`
;
}
}
ret
.
push
(
str
);
}
ret
.
push
(
str
);
});
return
ret
;
};
...
...
src/pages/member/memberPrConfirm/auditPrComfirm.tsx
View file @
8fa47f65
...
...
@@ -55,16 +55,21 @@ const AuditPrComfirm: React.FC<{}> = () => {
vals
.
forEach
(
val
=>
{
const
{
pcode
,
ccode
}
=
val
;
const
province
=
source
.
find
(
item
=>
item
.
code
===
pcode
);
let
str
=
province
.
name
;
// 存在 市级
if
(
ccode
&&
province
&&
province
.
children
)
{
const
city
=
province
.
children
.
find
(
item
=>
item
.
code
===
ccode
);
str
+=
`/
${
city
.
name
}
`
;
if
(
province
)
{
let
str
=
province
.
name
;
// 存在 市级
if
(
ccode
&&
province
&&
province
.
children
)
{
const
city
=
province
.
children
.
find
(
item
=>
item
.
code
===
ccode
);
if
(
city
)
{
str
+=
`/
${
city
.
name
}
`
;
}
}
ret
.
push
(
str
);
}
ret
.
push
(
str
);
});
return
ret
;
};
...
...
src/pages/member/memberPrSubmit/auditPrSubmit.tsx
View file @
8fa47f65
...
...
@@ -58,16 +58,21 @@ const AuditPrSubmit: React.FC<{}> = () => {
vals
.
forEach
(
val
=>
{
const
{
pcode
,
ccode
}
=
val
;
const
province
=
source
.
find
(
item
=>
item
.
code
===
pcode
);
let
str
=
province
.
name
;
// 存在 市级
if
(
ccode
&&
province
&&
province
.
children
)
{
const
city
=
province
.
children
.
find
(
item
=>
item
.
code
===
ccode
);
str
+=
`/
${
city
.
name
}
`
;
if
(
province
)
{
let
str
=
province
.
name
;
// 存在 市级
if
(
ccode
&&
province
&&
province
.
children
)
{
const
city
=
province
.
children
.
find
(
item
=>
item
.
code
===
ccode
);
if
(
city
)
{
str
+=
`/
${
city
.
name
}
`
;
}
}
ret
.
push
(
str
);
}
ret
.
push
(
str
);
});
return
ret
;
};
...
...
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