Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-operate-sys-cscec
Project
Project
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
fulixin
dsk-operate-sys-cscec
Commits
af04d754
Commit
af04d754
authored
Oct 11, 2023
by
tianhongyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查业主 深度搜索
parent
8140b78c
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2998 additions
and
2996 deletions
+2998
-2996
index.vue
...iews/enterpriseData/components/SearchEnterprise/index.vue
+2937
-2988
index.vue
.../views/enterpriseData/components/searchTheOwner/index.vue
+61
-8
No files found.
dsk-operate-ui/src/views/enterpriseData/components/SearchEnterprise/index.vue
View file @
af04d754
This diff is collapsed.
Click to expand it.
dsk-operate-ui/src/views/enterpriseData/components/searchTheOwner/index.vue
View file @
af04d754
...
@@ -100,10 +100,13 @@
...
@@ -100,10 +100,13 @@
</div>
</div>
</div>
</div>
<div
class=
"table-item-jf table-item-jf1"
v-if=
"tableData.length==0&& !isSkeleton"
>
<div
class=
"table-item-jf table-item-jf1
empty-table
"
v-if=
"tableData.length==0&& !isSkeleton"
>
<img
class=
"item-jf-img"
src=
"@/assets/images/kong.png"
alt=
""
>
<img
class=
"item-jf-img"
src=
"@/assets/images/kong.png"
alt=
""
>
<div
class=
"item-jf-titel"
>
抱歉,没找到相关数据!
</div>
<div
class=
"item-jf-titel"
>
暂无相关数据
</div>
<div
class=
"item-jf-text"
>
建议调整关键词或筛选条件,重新搜索!
</div>
<div
class=
"item-jf-text"
>
抱歉,暂无数据,试试更换搜索条件吧
</div>
<div
class=
"depth-search-box"
v-if=
"onlySearchEname"
>
<div
class=
"depth-search"
@
click=
"$router.push({path : `/enterpriseData/SearchEnterprise?keyword=${keys}`})"
>
深度搜索企业
</div>
</div>
</div>
</div>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
...
@@ -299,7 +302,7 @@ export default {
...
@@ -299,7 +302,7 @@ export default {
// 业主标签
// 业主标签
ownerLabels
:
[],
ownerLabels
:
[],
// 当前选中的业主标签
// 当前选中的业主标签
currentOwnerLabels
:
[
"5.1.1."
],
currentOwnerLabels
:
[],
// 业主全选状态
// 业主全选状态
checkOwnerLabel
:
false
,
checkOwnerLabel
:
false
,
// 选中两个及两个以上业主标签 添加选中条件 or任意均可 and同时具备
// 选中两个及两个以上业主标签 添加选中条件 or任意均可 and同时具备
...
@@ -355,7 +358,32 @@ export default {
...
@@ -355,7 +358,32 @@ export default {
}
;
}
;
}
,
}
,
computed
:
{
computed
:
{
// 仅搜索企业名
onlySearchEname
()
{
let
that
=
this
;
const
keys
=
{
ename
:
that
.
keys
,
tagCode
:
that
.
currentOwnerLabels
,
...
that
.
jskBidQueryDto
}
;
const
temp
=
[];
for
(
const
key
in
keys
)
{
const
type
=
Object
.
prototype
.
toString
.
call
(
keys
[
key
]);
if
(
keys
[
key
])
{
switch
(
type
)
{
case
"[object String]"
:
temp
.
push
(
key
);
break
;
case
"[object Array]"
:
keys
[
key
].
length
>
0
?
temp
.
push
(
key
)
:
null
;
break
;
default
:
break
;
}
}
}
return
temp
.
length
==
1
&&
temp
.
includes
(
"ename"
)
?
true
:
false
;
}
}
,
}
,
created
()
{
created
()
{
this
.
init
();
this
.
init
();
...
@@ -520,7 +548,7 @@ export default {
...
@@ -520,7 +548,7 @@ export default {
this
.
checkOwnerLabel
=
false
;
this
.
checkOwnerLabel
=
false
;
}
else
if
(
val
.
length
==
0
)
{
}
else
if
(
val
.
length
==
0
)
{
this
.
checkOwnerLabel
=
true
;
this
.
checkOwnerLabel
=
true
;
this
.
currentOwnerLabels
=
[
this
.
ownerLabels
[
0
].
dictValue
];
this
.
currentOwnerLabels
=
[];
}
}
if
(
val
.
length
>=
2
)
{
if
(
val
.
length
>=
2
)
{
this
.
tagCodeQueryType
=
"or"
;
this
.
tagCodeQueryType
=
"or"
;
...
@@ -653,7 +681,7 @@ export default {
...
@@ -653,7 +681,7 @@ export default {
// 搜索关键词处理
// 搜索关键词处理
if
(
this
.
keys
)
{
if
(
this
.
keys
)
{
params
.
aptitudeQueryDto
[
'ename'
]
=
this
.
keys
.
split
(
' '
)
;
params
.
aptitudeQueryDto
[
'ename'
]
=
this
.
keys
;
}
}
// 处理地区选择
// 处理地区选择
...
@@ -668,7 +696,7 @@ export default {
...
@@ -668,7 +696,7 @@ export default {
}
}
// 业主标签选中处理
// 业主标签选中处理
if
(
this
.
o
wnerLabels
.
length
>
0
)
{
if
(
this
.
currentO
wnerLabels
.
length
>
0
)
{
params
.
aptitudeQueryDto
[
"tagCode"
]
=
this
.
currentOwnerLabels
.
join
(
","
);
params
.
aptitudeQueryDto
[
"tagCode"
]
=
this
.
currentOwnerLabels
.
join
(
","
);
}
}
...
@@ -1014,6 +1042,31 @@ export default {
...
@@ -1014,6 +1042,31 @@ export default {
}
}
::
v
-
deep
.
table
-
item
-
jf
{
::
v
-
deep
.
table
-
item
-
jf
{
&
.
empty
-
table
{
padding
:
0
px
;
padding
-
bottom
:
48
px
;
.
item
-
jf
-
text
{
padding
:
0
px
;
}
.
depth
-
search
-
box
{
display
:
flex
;
align
-
items
:
center
;
justify
-
content
:
center
;
margin
-
top
:
24
px
;
}
.
depth
-
search
{
width
:
116
px
;
height
:
36
px
;
line
-
height
:
36
px
;
text
-
align
:
center
;
cursor
:
pointer
;
color
:
#
fff
;
background
:
#
0081
ff
;
border
-
radius
:
4
px
;
font
-
size
:
14
px
;
}
}
.
el
-
table
{
.
el
-
table
{
th
,
th
,
td
{
td
{
...
...
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