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
0cd92975
Commit
0cd92975
authored
Apr 11, 2022
by
gao_yingdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
多维查询,分页
parent
f582a282
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
76 additions
and
58 deletions
+76
-58
src/utils/jccx.js
+6
-6
src/utils/params.js
+6
-6
src/views/jccx/ajTable.vue
+52
-44
src/views/jccx/qgjcxx.vue
+5
-1
src/views/jccx/qsjccx.vue
+7
-1
No files found.
src/utils/jccx.js
View file @
0cd92975
...
...
@@ -4129,12 +4129,12 @@ let cxYchyZjhmData = [
id
:
'ryda'
,
class
:
'iconfont iconhecha-xiangxixuanzhong'
},
{
name
:
'关系挖掘'
,
path
:
''
,
id
:
'gxwj'
,
class
:
'iconfont iconxinzengbuchong'
}
//
{
//
name: '关系挖掘',
//
path: '',
//
id: 'gxwj',
//
class: 'iconfont iconxinzengbuchong'
//
}
]
export
{
...
...
src/utils/params.js
View file @
0cd92975
...
...
@@ -4204,12 +4204,12 @@ let cxYchyZjhmData = [
id
:
'ryda'
,
class
:
'iconfont iconhecha-xiangxixuanzhong'
},
{
name
:
'关系挖掘'
,
path
:
''
,
id
:
'gxwj'
,
class
:
'iconfont iconxinzengbuchong'
}
//
{
//
name: '关系挖掘',
//
path: '',
//
id: 'gxwj',
//
class: 'iconfont iconxinzengbuchong'
//
}
]
...
...
src/views/jccx/ajTable.vue
View file @
0cd92975
<
template
>
<div
id=
"ajTable"
>
<el-dialog
title=
"案件信息"
:visible
.
sync=
"dialogFyxxVisible"
width=
"1050px"
class=
"jyDialog"
center
@
close=
"closeDialog"
>
<el-table
:data=
"fyxxTable"
style=
"width: 100%"
highlight-current-row
<el-dialog
title=
"案件信息"
:visible
.
sync=
"dialogFyxxVisible"
width=
"1050px"
class=
"jyDialog"
center
@
close=
"closeDialog"
>
<el-table
:data=
"fyxxTable"
style=
"width: 100%"
highlight-current-row
>
<el-table-column
align=
"center"
:min-width=
"
...
...
@@ -26,20 +29,26 @@
><a
href=
"javascript:void(0);"
onclick=
'javascript:this.parentNode.style.display="none";this.parentNode.nextSibling.style.display="block"'
style=
"display: inline-block;width: 100%;text-align: right;color: #3692c6;font-weight:600;"
style=
"
display: inline-block;
width: 100%;
text-align: right;
color: #3692c6;
font-weight: 600;
"
id=
"open"
>
展开
</a
>
</div>
<div
class=
"ajxq_n"
style=
"display:none;
"
>
<div
class=
"ajxq_n"
style=
"display: none
"
>
<span
style=
"display: block;
"
style=
"display: block
"
v-html=
"scope.row[columnTitle.prop]"
></span
><a
href=
"javascript:void(0);"
onclick=
'javascript:this.parentNode.style.display="none";this.parentNode.previousSibling.style.display="block"'
style=
"float:right;color: #3692c6;font-weight:600;
"
style=
"float: right; color: #3692c6; font-weight: 600
"
id=
"stop"
>
收起
</a
>
...
...
@@ -58,66 +67,65 @@
:current-page
.
sync=
"currentPage1"
:page-size=
"page_size"
layout=
"prev, pager, next"
:small=
"true
"
:total=
"fyTableLength"
>
:total=
"fyTableLength
"
>
</el-pagination>
</el-dialog>
</div>
</template>
<
script
>
export
default
{
export
default
{
name
:
"ajTable"
,
props
:
{
props
:
{
DefaultAjFormThead
:
{
type
:
Array
,
default
:
()
=>
[]
default
:
()
=>
[],
},
ajTableVisi
:
Boolean
,
ajTableVisi
:
Boolean
,
cxcsAjList
:
{
type
:
Array
,
default
:
()
=>
[]
default
:
()
=>
[],
},
fyTableLength
:
Number
,
},
data
()
{
data
()
{
return
{
currentPage1
:
1
,
page_size
:
10
,
fyTableLength
:
0
,
dialogFyxxVisible
:
this
.
ajTableVisi
,
fyxxTable
:
this
.
cxcsAjList
,
ajThead
:
this
.
DefaultAjFormThead
}
currentPage1
:
1
,
page_size
:
5
,
fyTableLength
:
this
.
fyTableLength
,
dialogFyxxVisible
:
this
.
ajTableVisi
,
fyxxTable
:
this
.
cxcsAjList
,
ajThead
:
this
.
DefaultAjFormThead
,
};
},
methods
:
{
closeDialog
()
{
let
self
=
this
;
methods
:
{
closeDialog
()
{
let
self
=
this
;
//self.dialogFyxxVisible=false;
self
.
currentPage1
=
1
;
self
.
$emit
(
"close"
,
false
)
self
.
$emit
(
"close"
,
false
);
},
handleCurrentChange
(
val
){
handleCurrentChange
(
val
)
{
debugger
let
self
=
this
;
self
.
currentPage1
=
val
;
self
.
$emit
(
"aginQuery"
,
self
.
currentPage1
)
}
self
.
$emit
(
"aginQuery"
,
self
.
currentPage1
);
},
watch
:{
ajTableVisi
(
val
){
debugger
let
self
=
this
;
self
.
dialogFyxxVisible
=
val
;
},
cxcsAjList
(
val
){
this
.
fyxxTable
=
val
;
}
watch
:
{
ajTableVisi
(
val
)
{
debugger
;
let
self
=
this
;
self
.
dialogFyxxVisible
=
val
;
},
mounted
()
{
}
}
cxcsAjList
(
val
)
{
this
.
fyxxTable
=
val
;
},
},
mounted
()
{},
};
</
script
>
<
style
scoped
>
</
style
>
src/views/jccx/qgjcxx.vue
View file @
0cd92975
...
...
@@ -68,7 +68,9 @@
<aj-table
v-show=
"ajTableVisi"
:ajTableVisi=
"ajTableVisi"
:fyTableLength=
'fyTableLength'
:cxcsAjList=
"cxcsAjList"
@
aginQuery=
'aginQuery'
@
close=
"close"
:DefaultAjFormThead=
"DefaultAjFormThead"
></aj-table>
...
...
@@ -194,7 +196,8 @@ export default {
rows
:
5
,
index
:
"asjnm_xyr"
},
cxcsAjList
:
[]
fyTableLength
:
0
,
cxcsAjList
:
[],
};
},
methods
:
{
...
...
@@ -250,6 +253,7 @@ export default {
request
.
zacsAjDoQuery
(
JSON
.
stringify
(
self
.
cxcsAjQuery
)).
then
(
res
=>
{
if
(
res
.
success
===
true
)
{
self
.
cxcsAjList
=
[];
self
.
fyTableLength
=
res
.
data
.
total
self
.
cxcsAjList
=
res
.
data
.
rows
;
}
else
{
self
.
$message
({
...
...
src/views/jccx/qsjccx.vue
View file @
0cd92975
...
...
@@ -69,6 +69,8 @@
:ajTableVisi=
"ajTableVisi"
:cxcsAjList=
"cxcsAjList"
@
close=
"close"
@
aginQuery=
'aginQuery'
:fyTableLength=
'fyTableLength'
:DefaultAjFormThead=
"DefaultAjFormThead"
></aj-table>
</div>
...
...
@@ -193,7 +195,8 @@ export default {
rows
:
5
,
index
:
"asjnm_xyr"
},
cxcsAjList
:
[]
cxcsAjList
:
[],
fyTableLength
:
0
,
};
},
methods
:
{
...
...
@@ -244,12 +247,14 @@ export default {
self
.
ajTableVisi
=
flag
;
},
zacsAjDoQuery
()
{
debugger
//作案多次,列表显示图标,点击弹框查询此人做过的多个案子
let
self
=
this
;
request
.
zacsAjDoQuery
(
JSON
.
stringify
(
self
.
cxcsAjQuery
)).
then
(
res
=>
{
if
(
res
.
success
===
true
)
{
self
.
cxcsAjList
=
[];
self
.
cxcsAjList
=
res
.
data
.
rows
;
self
.
fyTableLength
=
res
.
data
.
total
}
else
{
self
.
$message
({
type
:
"error"
,
...
...
@@ -259,6 +264,7 @@ export default {
});
},
aginQuery
(
page
)
{
debugger
//翻页 时候 的查询
this
.
cxcsAjQuery
.
page
=
page
;
this
.
zacsAjDoQuery
();
...
...
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