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
671e0ff5
Commit
671e0ff5
authored
Sep 09, 2021
by
西瓜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新型黑恶, 个案分页
parent
46ca22f4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
96 additions
and
21 deletions
+96
-21
src/api/specificProject/shr.js
+5
-0
src/views/specificProject/zxCase.vue
+91
-21
No files found.
src/api/specificProject/shr.js
View file @
671e0ff5
...
...
@@ -71,3 +71,8 @@ export const getTqGaShr = params =>
// 案件审核审批提交
export
const
ajsp
=
params
=>
post
(
`
${
base
.
alyIP
}
/tldjbxx/ajsp`
,
params
)
// 犯罪嫌疑人 受害人分页
export
const
tqRyFyList
=
params
=>
post
(
`
${
base
.
alyIP
}
/tldjbxx/tqRyFyList`
,
params
)
src/views/specificProject/zxCase.vue
View file @
671e0ff5
...
...
@@ -57,7 +57,7 @@
>
<template
slot-scope=
"scope"
>
<div
v-if=
"index == 0"
v-if=
"index == 0
&& !xx
"
@
click=
"goDetail(scope.row, 'xyrDetailInfor')"
style=
"
cursor: pointer;
...
...
@@ -153,7 +153,7 @@
>
<
template
slot-scope=
"scope"
>
<div
v-if=
"index == 0"
v-if=
"index == 0
&& !xx
"
@
click=
"goDetail(scope.row, 'shrDetail')"
style=
"
cursor: pointer;
...
...
@@ -213,9 +213,7 @@
<
script
>
import
FormGroupCommonPage
from
'./caseGroupConfig.vue'
import
{
deleteAsjFlws
}
from
'@/api/case/caseInform.js'
import
{
deleteAsjFlws
}
from
'@/api/case/caseInform.js'
import
{
getTldGaxxAll
,
addGaxx
,
...
...
@@ -225,7 +223,8 @@ import {
import
{
getTldShrxxList
,
deleteTldShrxx
,
tqtldshrxx
tqtldshrxx
,
tqRyFyList
}
from
'@/api/specificProject/shr.js'
import
{
getXyrList
,
...
...
@@ -241,6 +240,7 @@ export default {
},
data
()
{
return
{
typeFy
:
''
,
loading2
:
false
,
formLabelAlign
:
{},
str
:
'gaxx'
,
...
...
@@ -564,10 +564,10 @@ export default {
//犯罪嫌疑人
fzxyrList
:
{
tableList
:
[
{
label
:
'案件编号'
,
prop
:
'xxzjbh'
},
//
{
//
label: '案件编号',
//
prop: 'xxzjbh'
//
},
{
label
:
'姓名'
,
prop
:
'xm'
...
...
@@ -897,7 +897,7 @@ export default {
})
}
else
{
// 采集
this
.
loadingLr
=
false
// this.loadingLr = false
params
.
append
(
'jbxxzjbh'
,
self
.
jbxxzjbh
)
addGaxx
(
params
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
...
...
@@ -910,8 +910,16 @@ export default {
type
:
'success'
,
callback
:
()
=>
{
debugger
window
.
opener
.
location
.
reload
()
//
window.opener.location.reload()
window
.
close
()
this
.
$router
.
pushToTab
({
path
:
'/zxCase'
,
query
:
{
xxzjbh
:
res
.
data
.
xxzjbh
,
tldbh
:
this
.
$route
.
query
.
xxzjbh
,
flag
:
0
}
})
this
.
loadingLr
=
false
}
})
...
...
@@ -1285,7 +1293,7 @@ export default {
self
.
$set
(
self
.
formLabelAlign
,
'editing'
,
true
)
self
.
$forceUpdate
()
// setTimeout(() => {
self
.
loading
=
false
self
.
loading
=
false
// }, 1000)
self
.
loadingLr
=
false
// this.isEmpty()
...
...
@@ -1425,16 +1433,78 @@ export default {
},
//当前页改变事件
handleCurrentChange
(
val
,
type
)
{
if
(
type
==
'xyr'
)
{
this
.
fzxyrList
.
page
.
currentPage
=
val
this
.
$set
(
this
.
fzxyrList
,
'loading'
,
true
)
this
.
getZbfzxyr
()
}
else
if
(
type
==
'shr'
)
{
this
.
shrList
.
page
.
currentPage
=
val
this
.
$set
(
this
.
shrList
,
'loading'
,
true
)
this
.
getShr
()
debugger
if
(
!
this
.
xx
)
{
if
(
type
==
'xyr'
)
{
this
.
fzxyrList
.
page
.
currentPage
=
val
this
.
$set
(
this
.
fzxyrList
,
'loading'
,
true
)
this
.
getZbfzxyr
()
}
else
if
(
type
==
'shr'
)
{
this
.
shrList
.
page
.
currentPage
=
val
this
.
$set
(
this
.
shrList
,
'loading'
,
true
)
this
.
getShr
()
}
}
else
{
if
(
type
==
'xyr'
)
{
this
.
typeFy
=
'xyr'
this
.
fzxyrList
.
shuju
=
[]
this
.
fzxyrList
.
page
.
currentPage
=
val
this
.
$set
(
this
.
fzxyrList
,
'loading'
,
true
)
this
.
tqRyFyListFy
()
}
else
if
(
type
==
'shr'
)
{
this
.
typeFy
=
'shr'
this
.
shrList
.
shuju
=
[]
this
.
shrList
.
page
.
currentPage
=
val
this
.
$set
(
this
.
shrList
,
'loading'
,
true
)
this
.
tqRyFyListShr
()
}
}
},
// 提取的犯罪嫌疑人和受害人分页
tqRyFyListFy
()
{
var
self
=
this
tqRyFyList
({
asjbh
:
this
.
formLabelAlign
.
asjbh
,
type
:
this
.
typeFy
,
page
:
this
.
fzxyrList
.
page
.
currentPage
,
rows
:
this
.
fzxyrList
.
page
.
pageSize
}).
then
(
res
=>
{
self
.
$set
(
self
.
fzxyrList
.
page
,
'total'
,
res
.
data
.
xyrListCount
)
console
.
log
(
res
)
var
obj
=
{}
res
.
data
.
xyrList
.
forEach
(
item
=>
{
this
.
fzxyrList
.
tableList
.
forEach
(
subItem
=>
{
obj
[
subItem
.
prop
]
=
item
[
subItem
.
prop
]
})
this
.
fzxyrList
.
shuju
.
push
(
obj
)
obj
=
{}
})
this
.
$set
(
this
.
fzxyrList
,
'loading'
,
false
)
})
},
tqRyFyListShr
()
{
var
self
=
this
tqRyFyList
({
asjbh
:
this
.
formLabelAlign
.
asjbh
,
type
:
this
.
typeFy
,
page
:
this
.
shrList
.
page
.
currentPage
,
rows
:
this
.
shrList
.
page
.
pageSize
}).
then
(
res
=>
{
self
.
$set
(
self
.
shrList
.
page
,
'total'
,
res
.
data
.
shrListCount
)
console
.
log
(
res
)
var
obj
=
{}
res
.
data
.
shrList
.
forEach
(
item
=>
{
this
.
shrList
.
tableList
.
forEach
(
subItem
=>
{
obj
[
subItem
.
prop
]
=
item
[
subItem
.
prop
]
})
this
.
shrList
.
shuju
.
push
(
obj
)
obj
=
{}
})
this
.
$set
(
this
.
shrList
,
'loading'
,
false
)
})
},
//编辑
edit
(
scope
,
type
)
{
var
query
=
{
...
...
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