Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
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
常超
founder_vue
Commits
adbf81fe
Commit
adbf81fe
authored
Sep 21, 2023
by
zhangzhijie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
单位效能分析调整
parent
c0b84b27
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
11 deletions
+24
-11
src/utils/util.js
+13
-0
src/views/xnpgbg/dwxnfx.vue
+11
-11
No files found.
src/utils/util.js
View file @
adbf81fe
export
default
{
export
default
{
dateToStr
(
from
)
{
let
date
=
new
Date
();
date
.
setTime
(
from
);
let
y
=
date
.
getFullYear
();
let
m
=
date
.
getMonth
()
+
1
;
m
=
m
<
10
?
"0"
+
m
:
m
;
let
d
=
date
.
getDate
();
d
=
d
<
10
?
"0"
+
d
:
d
;
return
y
+
'-'
+
m
+
'-'
+
d
;
},
/**
/**
* 时间戳转日期格式
* 时间戳转日期格式
* @param {Object} timeStamp
* @param {Object} timeStamp
...
...
src/views/xnpgbg/dwxnfx.vue
View file @
adbf81fe
...
@@ -267,20 +267,20 @@ export default {
...
@@ -267,20 +267,20 @@ export default {
this
.
initDate
(
this
.
unitList
[
index
]);
this
.
initDate
(
this
.
unitList
[
index
]);
},
},
goDetail
(
row
,
type
)
{
goDetail
(
row
,
type
)
{
console
.
log
(
row
)
console
.
log
(
type
)
if
(
type
==
"unitName"
)
{
if
(
type
==
"unitName"
)
{
this
.
formData
.
unitCode
=
row
.
unitCode
;
this
.
initDate
();
// this.initDate(row.unitCode);
// this.initDate(row.unitCode);
// this.unitList.push(row.unitCode)
// this.unitList.push(row.unitCode)
this
.
$router
.
pushToTab
({
//
this.$router.pushToTab({
path
:
'/queryDwcztj'
,
//
path: '/queryDwcztj',
query
:
{
//
query: {
unitCode
:
row
.
unitCode
,
//
unitCode: row.unitCode,
yymcdm
:
row
.
yymcdm
??
''
,
//
yymcdm: row.yymcdm ?? '',
djsjKssj
:
this
.
formData
.
djsjKssj
?
util
.
dateToStr
(
this
.
formData
.
djsjKssj
)
:
''
,
//
djsjKssj: this.formData.djsjKssj ? util.dateToStr(this.formData.djsjKssj) : '',
djsjJssj
:
this
.
formData
.
djsjJssj
?
util
.
dateToStr
(
this
.
formData
.
djsjJssj
)
:
''
//
djsjJssj: this.formData.djsjJssj ? util.dateToStr(this.formData.djsjJssj) : ''
}
//
}
})
//
})
}
else
{
}
else
{
let
yymcdm
=
''
;
let
yymcdm
=
''
;
for
(
let
i
in
this
.
queryTypeList
)
{
for
(
let
i
in
this
.
queryTypeList
)
{
...
...
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