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
c048cd24
Commit
c048cd24
authored
Oct 31, 2023
by
zhangzhijie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
功能效能评估报错问题修复
parent
e6236cd2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
9 deletions
+23
-9
src/utils/util.js
+13
-0
src/views/xnpgbg/dwxnfx.vue
+10
-9
No files found.
src/utils/util.js
View file @
c048cd24
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
...
...
src/views/xnpgbg/dwxnfx.vue
View file @
c048cd24
...
...
@@ -102,15 +102,14 @@
</el-table-column
>
<el-table-column
align=
"center"
label=
"案件侦办"
>
<
template
slot-scope=
"{ row }"
><span
class=
"names"
@
click=
"goDetail(row, 'ajzbCount')"
>
{{
row
.
ajzbCount
}}
</span></
template
>
</el-table-column
>
<!-- <el-table-column align="center" label="案件侦办"-->
<!-- >-->
<!-- <template slot-scope="{ row }"-->
<!-- ><span class="names" @click="goDetail(row, 'ajzbCount')">{{-->
<!-- row.ajzbCount-->
<!-- }}</span></template-->
<!-- >-->
<!-- </el-table-column>-->
<el-table-column
align=
"center"
label=
"证据材料检查"
>
<
template
slot-scope=
"{ row }"
...
...
@@ -383,6 +382,8 @@ export default {
this
.
initDate
();
},
exportFile
()
{
this
.
formData
.
djsjJssj
=
util
.
dateToStr
(
this
.
formData
.
djsjJssj
);
this
.
formData
.
djsjKssj
=
util
.
dateToStr
(
this
.
formData
.
djsjKssj
);
const
{
djsjJssj
,
djsjKssj
,
unitCode
,
yymcdm
}
=
this
.
formData
this
.
qeruestFile
(
`/ywsjTj/exportDwczTj?djsjJssj=
${
djsjJssj
}
&djsjKssj=
${
djsjKssj
}
&unitCode=
${
unitCode
}
&yymcdm=
${
yymcdm
}
`
).
then
((
res
)
=>
{
let
blob
=
new
Blob
([
res
]);
...
...
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