Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
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
Administrator
dsk-cr20g
Commits
e3c81112
Commit
e3c81112
authored
Aug 25, 2023
by
danfuman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
8a089c53
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
4 deletions
+15
-4
index.vue
dsk-operate-ui/src/views/custom/overview/index.vue
+2
-2
index.vue
dsk-operate-ui/src/views/index.vue
+13
-2
No files found.
dsk-operate-ui/src/views/custom/overview/index.vue
View file @
e3c81112
...
...
@@ -216,8 +216,8 @@
defaultValue
:
new
Date
(),
pickerValue
:
[],
params
:{
startTime
:
this
.
formatDate
(
new
Date
())
,
endTime
:
this
.
formatDate
(
new
Date
())
startTime
:
''
,
endTime
:
''
,
},
data
:{
open
:
false
...
...
dsk-operate-ui/src/views/index.vue
View file @
e3c81112
...
...
@@ -262,7 +262,7 @@
:timeList=
"timeList"
v-model=
"queryParams2.time"
timeValue=
"近七天"
placeholder=
"中标日期
"
:placeholder=
"timePlaceholder
"
@
handle-search=
"changeSelect3"
/>
</el-form-item>
</el-form>
...
...
@@ -670,7 +670,7 @@ export default {
provinceId
:
''
,
projects
:[],
amount
:
''
,
time
:
''
,
time
:
[
this
.
formatDate
(
new
Date
(
new
Date
().
getTime
()
-
3600
*
1000
*
24
*
7
)),
this
.
formatDate
(
new
Date
())]
,
pageNum
:
1
,
pageSize
:
10
},
...
...
@@ -686,6 +686,7 @@ export default {
dxmzbState
:
true
,
zhaobiaoIsSkeleton
:
true
,
placeholder
:
'中标金额'
,
timePlaceholder
:
'中标日期'
,
show_page
:
true
,
MaxPage
:
500
,
};
...
...
@@ -1303,10 +1304,12 @@ export default {
if
(
this
.
activeName
===
'first'
){
this
.
getBigWinningBidsPage
()
this
.
placeholder
=
'中标金额'
this
.
timePlaceholder
=
'中标日期'
}
if
(
this
.
activeName
===
'second'
){
this
.
getBigBidPage
()
this
.
placeholder
=
'总投资'
this
.
timePlaceholder
=
'发布日期'
}
},
handleClickTab1
(){},
...
...
@@ -1417,6 +1420,14 @@ export default {
}
}
},
// 时间格式化
formatDate
(
timeStr
)
{
let
date
=
new
Date
(
Number
(
timeStr
))
let
year
=
date
.
getFullYear
()
let
month
=
String
(
date
.
getMonth
()
+
1
).
padStart
(
2
,
0
)
let
day
=
String
(
date
.
getDate
()).
padStart
(
2
,
0
)
return
`
${
year
}
-
${
month
}
-
${
day
}
`
},
}
};
</
script
>
...
...
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