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
bc99d9da
Commit
bc99d9da
authored
Mar 30, 2022
by
lp784568205
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增了跳转可视化的按钮
parent
e0a08d53
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
18 deletions
+34
-18
src/components/bshChildrenQuery.vue
+34
-18
No files found.
src/components/bshChildrenQuery.vue
View file @
bc99d9da
...
...
@@ -10,7 +10,7 @@
<div
v-if=
"pageBs != 'rgcbDetail'"
class=
"Content paneDiv paneDiv2"
style=
"margin: 10px 22px;
border-radius: 4px !important;
"
style=
"margin: 10px 22px;
border-radius: 4px !important
"
>
<div
class=
"cxtjWrap"
>
<el-form
...
...
@@ -566,11 +566,11 @@
<i
class=
"el-icon-edit-outline"
></i>
详情
</span>
<span
v-
if=
"pageBs == 'dnabzcbxs' && cxFormData.bzgx == 1
"
v-
show=
"pageBs == 'dnabzcbxs' && cxFormData.cblx == '0306'
"
style=
"cursor: pointer; color: #096cc9"
@
click=
"
rowClick
(scope.row, scope.column)"
@
click=
"
toRelation
(scope.row, scope.column)"
>
<i
class=
"el-icon-edit-outline"
></i>
详情
<i
class=
"el-icon-edit-outline"
></i>
可视化分析
</span>
</
template
>
</el-table-column>
...
...
@@ -783,6 +783,14 @@ export default {
// }
// })
},
toRelation
(
row
,
column
)
{
this
.
$router
.
pushToTab
({
path
:
"ceshi"
,
query
:
{
data
:
row
,
},
});
},
goDetail
(
scope
,
type
)
{
if
(
type
==
"detail"
)
{
this
.
$router
.
pushToTab
({
...
...
@@ -968,11 +976,15 @@ export default {
if
(
val
)
{
this
.
formData
.
sfhgpdbz
=
""
;
}
if
(
this
.
pageBs
==
"ztsjfxtj"
&&
this
.
cxFormData
.
ssjzMin
<
10
&&
this
.
cxFormData
.
ssjzMin
!=
""
)
{
if
(
this
.
pageBs
==
"ztsjfxtj"
&&
this
.
cxFormData
.
ssjzMin
<
10
&&
this
.
cxFormData
.
ssjzMin
!=
""
)
{
this
.
$message
.
error
(
"仅供损失十万及以上重大侵财案件专题查询"
);
}
else
{
if
(
this
.
pageBs
==
"ztsjfxtj"
)
{
this
.
$emit
(
"cleanHistoryArr"
)
if
(
this
.
pageBs
==
"ztsjfxtj"
)
{
this
.
$emit
(
"cleanHistoryArr"
)
;
this
.
$parent
.
loading
=
true
;
}
this
.
formData
.
page
=
1
;
...
...
@@ -1029,8 +1041,8 @@ export default {
response
.
data
.
iTotalRecords
/
self
.
page_size
);
}
else
{
if
(
response
.
data
.
rows
.
length
==
0
)
{
this
.
$message
.
error
(
"暂无数据显示"
)
if
(
response
.
data
.
rows
.
length
==
0
)
{
this
.
$message
.
error
(
"暂无数据显示"
)
;
}
let
xData
=
response
.
data
.
rows
.
map
((
i
)
=>
({
name
:
i
.
name
,
...
...
@@ -1053,7 +1065,11 @@ export default {
// value: i.numWpa,
// }));
//添加到histoy数组
this
.
$parent
.
historyArr
.
push
({
x
:
xData
,
data
:
data
,
cxFormData2
:
this
.
cxFormData
});
this
.
$parent
.
historyArr
.
push
({
x
:
xData
,
data
:
data
,
cxFormData2
:
this
.
cxFormData
,
});
//刷新图
this
.
$parent
.
getCharts
(
xData
,
data
);
}
...
...
@@ -1070,7 +1086,7 @@ export default {
},
checkNumber
(
val
)
{
console
.
log
(
val
);
if
(
val
!=
""
&&
val
<
10
)
{
if
(
val
!=
""
&&
val
<
10
)
{
this
.
$message
.
info
(
"仅供损失十万及以上重大侵财案件专题查询"
);
}
},
...
...
@@ -1084,14 +1100,14 @@ export default {
axios
.
get
(
`JsonData/
${
val
.
codeTree
}
.json`
)
.
then
((
res
)
=>
{
if
(
val
.
codeTree
==
'CODE_XZQH'
)
{
if
(
val
.
codeTree
==
"CODE_XZQH"
)
{
let
newArr
=
res
.
data
.
rows
;
let
userInfo
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"userInfo"
));
let
unicode
=
userInfo
.
unitcode
;
if
(
unicode
!=
'010000000000'
)
{
if
(
unicode
!=
"010000000000"
)
{
newArr
=
res
.
data
.
rows
.
filter
((
i
)
=>
{
return
unicode
.
indexOf
(
i
.
id
)
==
0
;
})
})
;
}
self
.
$set
(
val
,
"codeOptions"
,
newArr
);
}
else
{
...
...
@@ -1122,12 +1138,12 @@ export default {
watch
:
{
"cxFormData.bzgx"
:
{
handler
(
val
)
{
if
(
val
==
0
&&
this
.
pageBs
==
'dnabzcbxs'
)
{
this
.
propdefaultFormThead
=
[
...
this
.
cxDefaultFormThead
]
if
(
val
==
0
&&
this
.
pageBs
==
"dnabzcbxs"
)
{
this
.
propdefaultFormThead
=
[
...
this
.
cxDefaultFormThead
];
this
.
propCxUrl
=
this
.
cxUrl
;
this
.
doQuery
(
"yes"
);
}
else
if
(
val
==
1
&&
this
.
pageBs
==
'dnabzcbxs'
)
{
this
.
propdefaultFormThead
=
[
...
this
.
cxDefaultFormTheads
]
}
else
if
(
val
==
1
&&
this
.
pageBs
==
"dnabzcbxs"
)
{
this
.
propdefaultFormThead
=
[
...
this
.
cxDefaultFormTheads
];
this
.
propCxUrl
=
this
.
childrenUrl
;
this
.
doQuery
(
"yes"
);
}
...
...
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