Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
merchant-manage-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
merchant-manage-ui
Commits
f27a592b
Commit
f27a592b
authored
Apr 03, 2023
by
张子雨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 合同列表时间展示问题
parent
51590935
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
2 deletions
+21
-2
app.js
src/app.js
+1
-2
index.jsx
src/pages/businessManage/info/index.jsx
+1
-0
index.jsx
src/pages/contractView/index.jsx
+19
-0
No files found.
src/app.js
View file @
f27a592b
/* eslint-disable no-console */
import
*
as
Sentry
from
'
@sentry/react
'
;
import
localStorage
from
'
@/utils/localStorage
'
;
// process.env.SENTRY_ENV !== 'test' 加上测试环境不会报错
if
(
process
.
env
.
NODE_ENV
===
'
production
'
&&
process
.
env
.
SENTRY_ENV
!==
'
test
'
)
{
if
(
process
.
env
.
NODE_ENV
===
'
production
'
)
{
try
{
Sentry
.
init
({
dsn
:
'
https://b3f60c62e1234e26a5b851b9f26fba07@sentry.q-gp.com/34
'
,
...
...
src/pages/businessManage/info/index.jsx
View file @
f27a592b
...
...
@@ -362,6 +362,7 @@ class BusinessInfo extends Component {
<
Checkbox
.
Group
options=
{
businessModel
}
onChange=
{
e
=>
this
.
onChangeBusinessModel
(
e
)
}
disabled=
{
+
mainCategoryId
===
carID
}
/>,
)
}
</
FormItem
>
...
...
src/pages/contractView/index.jsx
View file @
f27a592b
...
...
@@ -38,6 +38,25 @@ const ContractView = () => {
key
:
'
signDate
'
,
align
:
'
center
'
,
hideInSearch
:
true
,
render
:
(
val
,
data
)
=>
{
if
(
val
?.
length
)
{
let
date
=
''
;
val
.
forEach
((
item
,
index
)
=>
{
if
(
item
&&
item
.
toString
().
length
===
1
)
{
item
=
`0
${
item
}
`
;
}
if
([
0
,
1
].
includes
(
index
))
{
date
+=
`
${
item
}
-`
;
}
else
if
([
3
,
4
].
includes
(
index
))
{
date
+=
`
${
item
}
:`
;
}
else
{
date
+=
`
${
item
}
`
;
}
});
return
date
;
}
return
'
-
'
;
},
},
{
title
:
'
合同状态
'
,
...
...
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