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
c05407e6
Commit
c05407e6
authored
Oct 15, 2021
by
liyuhang19990520
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
9dbe99c4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
53 additions
and
17 deletions
+53
-17
src/api/zczl/zczl.js
+15
-3
src/components/ptCxForm_components.vue
+9
-1
src/views/xxtk/gzry/addGzry.vue
+10
-5
src/views/zczl/zczl/zczltj.vue
+19
-8
No files found.
src/api/zczl/zczl.js
View file @
c05407e6
/*
* @Author: your name
* @Date: 2021-10-15 10:55:
07
* @LastEditTime: 2021-10-15 1
0:55:08
* @Date: 2021-10-15 10:55:
14
* @LastEditTime: 2021-10-15 1
5:32:03
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\api\zczl\
zcz
l.js
* @FilePath: \founder_vue\src\api\zczl\
xxg
l.js
*/
import
{
get
,
post
,
postform
,
postdown
}
from
"@/utils/http.js"
;
import
base
from
"@/api/base"
;
//导出侦查指令统计Excel
export
const
exportZczlExcel
=
params
=>
postdown
(
`
${
base
.
alyIP
}
/zczl/exportZczlExcel`
,
params
);
//人像比对详情
// export const rxdbDetail = params =>
// post(`${base.alyIP}/rxbz/queryByXxzjbh`, params);
src/components/ptCxForm_components.vue
View file @
c05407e6
...
...
@@ -268,7 +268,8 @@
pageBs != 'glbsh' &&
pageBs != 'txl' &&
pageBs != 'gzzkyxs' &&
pageBs != 'llygl'
pageBs != 'llygl' &&
pageBs != 'zczltj'
"
>
<i
class=
"el-icon-plus"
></i>
新增
...
...
@@ -276,6 +277,13 @@
<el-button
type=
"primary"
size=
"mini"
v-if=
"pageBs == 'zczltj'"
@
click=
"$emit('zczltjExport', formData)"
>
导出
</el-button
>
<el-button
type=
"primary"
size=
"mini"
v-if=
"pageBs == 'zdxxgl'"
@
click=
"$emit('drzjhd')"
>
excel导入交易活动
</el-button
...
...
src/views/xxtk/gzry/addGzry.vue
View file @
c05407e6
...
...
@@ -12,7 +12,12 @@
<
script
>
import
formCompontent
from
"@c/form.vue"
;
import
{
insertGzry
,
updateGzry
,
selectGzryById
,
selectgzryZp
}
from
"@/api/xxtk/gzry.js"
;
import
{
insertGzry
,
updateGzry
,
selectGzryById
,
selectgzryZp
,
}
from
"@/api/xxtk/gzry.js"
;
import
{
xydx
}
from
"@/utils/params.js"
;
export
default
{
name
:
"addGzry"
,
...
...
@@ -25,7 +30,7 @@ export default {
propFormField
:
[
//基本信息
{
title
:
"
关注人员
"
,
title
:
""
,
id
:
1
,
objStr
:
""
,
index
:
0
,
...
...
@@ -124,9 +129,9 @@ export default {
spinner
:
"el-icon-loading"
,
background
:
"rgba(255, 255, 255, 0.7)"
,
});
//
selectgzryZp({
//
glxxXxzjbh: this.$route.query.xxzjbh
//
}).then((res) => {});
selectgzryZp
({
glxxXxzjbh
:
this
.
$route
.
query
.
xxzjbh
}).
then
((
res
)
=>
{});
selectGzryById
({
xxzjbh
:
this
.
$route
.
query
.
xxzjbh
,
}).
then
((
res
)
=>
{
...
...
src/views/zczl/zczl/zczltj.vue
View file @
c05407e6
...
...
@@ -11,6 +11,7 @@
@
edit=
"edit"
@
dele=
"dele"
@
toInfor=
"toInfor"
@
zczltjExport=
"zczltjExport"
ref=
"rightContent"
></right-content>
</div>
...
...
@@ -18,7 +19,7 @@
<
script
>
import
rightContent
from
"@c/ptCxForm_components.vue"
;
import
{
deleteKyxsxx
}
from
"@/api/rlqbxs
.js"
;
import
{
exportZczlExcel
}
from
"@/api/zczl/zczl
.js"
;
export
default
{
name
:
"rlqbxsxx"
,
components
:
{
...
...
@@ -29,15 +30,10 @@ export default {
header
:
"侦察指令统计"
,
pageBs
:
"zczltj"
,
cxFormData
:
{
zlwh
:
""
,
ywlx
:
""
,
fbsj_s
:
""
,
fbsj_e
:
""
,
ywbh
:
""
,
zljsdwdm
:
""
,
zlsy
:
""
,
spsftg
:
""
,
isFirst
:
""
,
isZjdw
:
""
,
searchDwdm
:
""
,
limit
:
10
,
page
:
1
,
},
...
...
@@ -154,6 +150,21 @@ export default {
query
:
{
xxzjbh
:
scope
.
row
.
xxzjbh
},
});
},
zczltjExport
(
data
)
{
let
params
=
new
FormData
();
params
.
append
(
"fbsj_s"
,
data
.
fbsj_s
);
params
.
append
(
"fbsj_e"
,
data
.
fbsj_e
);
exportZczlExcel
(
params
).
then
((
res
)
=>
{
let
blob
=
new
Blob
([
res
],
{
type
:
"application/vnd.ms-excel"
,
});
let
objUrl
=
URL
.
createObjectURL
(
blob
);
let
a
=
document
.
createElement
(
"a"
);
a
.
setAttribute
(
"href"
,
objUrl
);
a
.
setAttribute
(
"download"
,
"xxx.xls"
);
a
.
click
();
});
},
dele
(
scope
)
{
console
.
log
(
scope
);
this
.
$confirm
(
"此操作将永久删除该文件, 是否继续?"
,
"提示"
,
{
...
...
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