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
shenshaokai
jinfa-platform
Commits
95be5490
Commit
95be5490
authored
Apr 26, 2022
by
前端-许佳敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复直接关闭审核合同时会自动返回上一页
parent
b6fdfcab
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
6 deletions
+9
-6
package.json
package.json
+1
-0
index.tsx
src/pages/contract/components/examine/index.tsx
+3
-3
index.tsx
src/pages/contract/coordination/details/index.tsx
+1
-1
index.tsx
src/pages/contract/coordination/sign/index.tsx
+1
-1
index.tsx
src/pages/contract/manage/details/index.tsx
+3
-1
No files found.
package.json
View file @
95be5490
...
...
@@ -58,6 +58,7 @@
"start:v2-220418"
:
"cross-env PRO_ENV=v2-220418 yarn start"
,
"start-fast"
:
"cross-env NODE_OPTIONS=--max_old_space_size=4096 UMI_ENV=local umi dev"
,
"start-fast:v2-220418"
:
"cross-env PRO_ENV=v2-220418 yarn start-fast"
,
"start-fast:v2-ali-demo"
:
"cross-env PRO_ENV=v2-ali-demo yarn start-fast"
,
"start:ali"
:
"cross-env PRO_ENV=v2-ali-demo yarn start"
},
"lint-staged"
:
{
...
...
src/pages/contract/components/examine/index.tsx
View file @
95be5490
...
...
@@ -120,14 +120,14 @@ const Examine: React.FC<Iprops> = ({
console
.
log
(
'Failed:'
,
errorInfo
);
};
/* 回调 */
const
fetchData
=
(
val
)
=>
{
const
fetchData
=
(
val
?
)
=>
{
if
(
val
==
'onCancel'
)
{
getfetchData
({
ExamineFlag
:
false
,
code
:
9999
})
}
else
{
console
.
log
(
'
确认
'
)
console
.
log
(
'
关闭弹窗
'
)
}
}
const
uploadProps
=
{
...
...
@@ -196,7 +196,7 @@ const Examine: React.FC<Iprops> = ({
<
Radio
value=
{
0
}
>
{
disagree
}
</
Radio
>
</
Radio
.
Group
>
</
Form
.
Item
>
<
Form
.
Item
label=
{
isPass
?
intl
.
formatMessage
({
id
:
'contract.shenhetongguoyuanyin'
})
:
intl
.
formatMessage
({
id
:
'contract.shen
buhe
tongguoyuanyin'
})
}
rules=
{
[{
required
:
true
,
message
:
intl
.
formatMessage
({
id
:
'contract.qingxuanzezuofeiriqi'
})
}]
}
>
<
Form
.
Item
label=
{
isPass
?
intl
.
formatMessage
({
id
:
'contract.shenhetongguoyuanyin'
})
:
intl
.
formatMessage
({
id
:
'contract.shen
hebu
tongguoyuanyin'
})
}
rules=
{
[{
required
:
true
,
message
:
intl
.
formatMessage
({
id
:
'contract.qingxuanzezuofeiriqi'
})
}]
}
>
</
Form
.
Item
>
<
Form
.
Item
label=
''
name=
"opinion"
rules=
{
[{
required
:
isPass
?
false
:
true
,
message
:
intl
.
formatMessage
({
id
:
'contract.shenhetongguoyijian'
})
}]
}
>
<
TextArea
placeholder=
{
intl
.
formatMessage
({
id
:
'contract.zaicishurunideyuanyin'
})
}
maxLength=
{
120
}
/>
...
...
src/pages/contract/coordination/details/index.tsx
View file @
95be5490
...
...
@@ -497,7 +497,7 @@ const Details = (props: any) => {
<
Radio
value=
{
0
}
>
{
intl
.
formatMessage
({
id
:
'contract.butongguo'
})
}
</
Radio
>
</
Radio
.
Group
>
</
Form
.
Item
>
<
Form
.
Item
label=
{
isPass
?
intl
.
formatMessage
({
id
:
'contract.shenhetongguoyuanyin'
})
:
intl
.
formatMessage
({
id
:
'contract.shen
buhe
tongguoyuanyin'
})
}
rules=
{
[{
required
:
true
,
message
:
intl
.
formatMessage
({
id
:
'contract.qingxuanzezuofeiriqi'
})
}]
}
>
<
Form
.
Item
label=
{
isPass
?
intl
.
formatMessage
({
id
:
'contract.shenhetongguoyuanyin'
})
:
intl
.
formatMessage
({
id
:
'contract.shen
hebu
tongguoyuanyin'
})
}
rules=
{
[{
required
:
true
,
message
:
intl
.
formatMessage
({
id
:
'contract.qingxuanzezuofeiriqi'
})
}]
}
>
</
Form
.
Item
>
<
Form
.
Item
label=
''
name=
"opinion"
rules=
{
[{
required
:
isPass
?
false
:
true
,
message
:
intl
.
formatMessage
({
id
:
'contract.shenhebutongguoyijian'
})
}]
}
>
...
...
src/pages/contract/coordination/sign/index.tsx
View file @
95be5490
...
...
@@ -231,7 +231,7 @@ const Sign = () => {
<
Radio
value=
{
0
}
>
{
intl
.
formatMessage
({
id
:
'contract.butongguo'
})
}
</
Radio
>
</
Radio
.
Group
>
</
Form
.
Item
>
<
Form
.
Item
label=
{
isPass
?
intl
.
formatMessage
({
id
:
'contract.shenhetongguoyuanyin'
})
:
intl
.
formatMessage
({
id
:
'contract.shen
buhe
tongguoyuanyin'
})
}
rules=
{
[{
required
:
true
,
message
:
intl
.
formatMessage
({
id
:
'contract.qingxuanzezuofeiriqi'
})
}]
}
>
<
Form
.
Item
label=
{
isPass
?
intl
.
formatMessage
({
id
:
'contract.shenhetongguoyuanyin'
})
:
intl
.
formatMessage
({
id
:
'contract.shen
hebu
tongguoyuanyin'
})
}
rules=
{
[{
required
:
true
,
message
:
intl
.
formatMessage
({
id
:
'contract.qingxuanzezuofeiriqi'
})
}]
}
>
</
Form
.
Item
>
<
Form
.
Item
label=
''
name=
"opinion"
rules=
{
[{
required
:
true
,
message
:
intl
.
formatMessage
({
id
:
'contract.shenhetongguoyijian'
})
}]
}
>
...
...
src/pages/contract/manage/details/index.tsx
View file @
95be5490
...
...
@@ -290,9 +290,11 @@ const Details = (props: any) => {
/* 提交审核的回调 */
const
getfetchData
=
(
data
)
=>
{
// console.log(data,'2132131')
if
(
data
.
code
===
1000
)
{
history
.
goBack
()
}
setIsModalVisible
(
data
.
ExamineFlag
)
// return;
// setIsModalVisible(data.ExamineFlag)
// if (data.code === 1000) {
// ref.current.reload()
// setTimeout(() => {
...
...
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