Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
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
Administrator
dsk-cr20g
Commits
d25c54e2
Commit
d25c54e2
authored
Oct 12, 2023
by
tianhongyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix 查业主
parent
b429f045
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
40 deletions
+43
-40
index.vue
.../views/enterpriseData/components/searchTheOwner/index.vue
+43
-40
No files found.
dsk-operate-ui/src/views/enterpriseData/components/searchTheOwner/index.vue
View file @
d25c54e2
...
@@ -111,10 +111,10 @@
...
@@ -111,10 +111,10 @@
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<div
class=
"table-item-jf table-item"
v-if=
"!isSkeleton&&tableData.length>0"
@
mouseleave=
"showClaim = false"
>
<div
class=
"table-item-jf table-item"
v-if=
"!isSkeleton&&tableData.length>0"
>
<el-table
:data=
"tableData"
:header-cell-style=
"{ background:'#f0f3fa',color: 'rgba(35,35,35,0.8)'}"
v-horizontal-scroll=
"'hover'"
<el-table
:data=
"tableData"
:header-cell-style=
"{ background:'#f0f3fa',color: 'rgba(35,35,35,0.8)'}"
v-horizontal-scroll=
"'hover'"
class=
"table-item1 fixed-table"
border
highlight-current-row
:header-row-class-name=
"setHeaderRow"
:cell-class-name=
"setCellClass"
class=
"table-item1 fixed-table"
border
highlight-current-row
:header-row-class-name=
"setHeaderRow"
:cell-class-name=
"setCellClass"
:header-cell-class-name=
"setCellClass"
@
cell-mouse-enter=
"addColumnClass"
@
sort-change=
"sortChange"
>
:header-cell-class-name=
"setCellClass"
@
sort-change=
"sortChange"
>
<el-table-column
type=
"index"
label=
"序号"
fixed
width=
"60"
:resizable=
"false"
>
<el-table-column
type=
"index"
label=
"序号"
fixed
width=
"60"
:resizable=
"false"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
...
@@ -124,11 +124,13 @@
...
@@ -124,11 +124,13 @@
<el-table-column
label=
"公司名称"
fixed
width=
"380"
:resizable=
"false"
>
<el-table-column
label=
"公司名称"
fixed
width=
"380"
:resizable=
"false"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
class=
"renling"
:class=
"
{'show-claim' : showClaim}">
<div
class=
"renling"
>
<div
style=
"display:flex;flex-align:center"
>
<router-link
:to=
"scope.row.other ? `/enterprise/$
{encodeStr(scope.row.id)}` : `/company/${encodeStr(scope.row.id)}`" tag="a"
<router-link
:to=
"scope.row.other ? `/enterprise/$
{encodeStr(scope.row.id)}` : `/company/${encodeStr(scope.row.id)}`" tag="a"
class="list-titel-a" v-html="scope.row.name">
</router-link>
class="list-titel-a" v-html="scope.row.name">
</router-link>
<!-- 优质甲方tag标签 -->
<!-- 优质甲方tag标签 -->
<div
class=
"high-quality-enterprise"
v-if=
"scope.row.other"
>
{{
scope
.
row
.
other
}}
</div>
<div
class=
"high-quality-enterprise"
v-if=
"scope.row.other"
>
{{
scope
.
row
.
other
}}
</div>
</div>
<div
class=
"renling-btn"
@
click=
"claimbtn(scope.row)"
>
<div
class=
"renling-btn"
@
click=
"claimbtn(scope.row)"
>
<p
v-if=
"scope.row.claimStatus==0"
class=
"renling-img-true"
></p>
<p
v-if=
"scope.row.claimStatus==0"
class=
"renling-img-true"
></p>
<p
v-else
class=
"renling-img-false"
></p>
<p
v-else
class=
"renling-img-false"
></p>
...
@@ -145,47 +147,54 @@
...
@@ -145,47 +147,54 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"法定代表人"
width=
"85"
:resizable=
"false"
>
<el-table-column
label=
"法定代表人"
min-
width=
"85"
:resizable=
"false"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
legalPerson
||
"--"
}}
{{
scope
.
row
.
legalPerson
||
"--"
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"注册资本"
width=
"118"
:resizable=
"false"
:sortable=
"'custom'"
prop=
"registeredCapitalStr"
>
<el-table-column
label=
"注册资本"
min-
width=
"118"
:resizable=
"false"
:sortable=
"'custom'"
prop=
"registeredCapitalStr"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
style=
"text-align:right;white-space: nowrap;"
>
{{
scope
.
row
.
registeredCapitalStr
?
`${scope.row.registeredCapitalStr
}
万元`
:
"--"
}}
<div
style=
"text-align:right;white-space: nowrap;"
>
{{
parseFloat
(
scope
.
row
.
registeredCapitalStr
)
?
`${scope.row.registeredCapitalStr
}
万元`
:
"--"
}}
<
/div
>
<
/div
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"企业注册地区"
width
=
"215"
:
resizable
=
"false"
>
<
el
-
table
-
column
label
=
"企业注册地区"
min
-
width
=
"215"
:
resizable
=
"false"
>
<
template
slot
-
scope
=
"scope"
>
<
template
slot
-
scope
=
"scope"
>
{{
scope
.
row
.
domicile
||
"--"
}}
{{
scope
.
row
.
domicile
||
"--"
}}
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"历史发包数量"
width
=
"107"
:
resizable
=
"false"
:
sortable
=
"'custom'"
prop
=
"inviteTenderCount"
>
<
el
-
table
-
column
label
=
"历史发包数量"
min
-
width
=
"107"
:
resizable
=
"false"
:
sortable
=
"'custom'"
prop
=
"inviteTenderCount"
>
<
template
slot
-
scope
=
"scope"
>
<
template
slot
-
scope
=
"scope"
>
{{
scope
.
row
.
inviteTenderCount
?
`${scope.row.inviteTenderCount
}
个`
:
"--"
}}
<
router
-
link
v
-
if
=
"scope.row.inviteTenderCount"
:
to
=
"scope.row.other ? `/enterprise/${encodeStr(scope.row.id)
}
?path=hiscontract` : `/company/${encodeStr(scope.row.id)
}
?path=hiscontract`"
tag
=
"a"
class
=
"list-titel-a"
>
{{
scope
.
row
.
inviteTenderCount
?
`${scope.row.inviteTenderCount
}
个`
:
"--"
}}
<
/router-link
>
<
span
v
-
else
>--<
/span
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"历史发包总金额"
width
=
"120"
:
resizable
=
"false"
:
sortable
=
"'custom'"
prop
=
"inviteTenderSumAmount"
>
<
el
-
table
-
column
label
=
"历史发包总金额"
min
-
width
=
"120"
:
resizable
=
"false"
:
sortable
=
"'custom'"
prop
=
"inviteTenderSumAmount"
>
<
template
slot
-
scope
=
"scope"
>
<
template
slot
-
scope
=
"scope"
>
<
div
style
=
"text-align:right;white-space: nowrap;"
>
{{
scope
.
row
.
inviteTenderSumAmount
?
`${scope.row.inviteTenderSumAmount
}
万元`
:
"--"
}}
<
div
style
=
"text-align:right;white-space: nowrap;"
>
{{
scope
.
row
.
inviteTenderSumAmount
?
`${scope.row.inviteTenderSumAmount
}
万元`
:
"--"
}}
<
/div
>
<
/div
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"最近一次招标"
width
=
"107"
:
resizable
=
"false"
:
sortable
=
"'custom'"
prop
=
"inviteTenderLastTime"
>
<
el
-
table
-
column
label
=
"最近一次招标"
min
-
width
=
"107"
:
resizable
=
"false"
:
sortable
=
"'custom'"
prop
=
"inviteTenderLastTime"
>
<
template
slot
-
scope
=
"scope"
>
<
template
slot
-
scope
=
"scope"
>
{{
scope
.
row
.
inviteTenderLastTime
||
"--"
}}
<
router
-
link
v
-
if
=
"scope.row.inviteTenderLastTime"
:
to
=
"scope.row.other ? `/enterprise/${encodeStr(scope.row.id)
}
?path=announcement` : `/company/${encodeStr(scope.row.id)
}
?path=announcement`"
tag
=
"a"
class
=
"list-titel-a"
>
{{
scope
.
row
.
inviteTenderLastTime
||
"--"
}}
<
/router-link
>
<
span
v
-
else
>--<
/span
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"重点项目"
width
=
"107"
:
resizable
=
"false"
:
sortable
=
"'custom'"
prop
=
"importantProjectCount"
>
<
el
-
table
-
column
label
=
"重点项目"
min
-
width
=
"107"
:
resizable
=
"false"
:
sortable
=
"'custom'"
prop
=
"importantProjectCount"
>
<
template
slot
-
scope
=
"scope"
>
<
template
slot
-
scope
=
"scope"
>
<
router
-
link
v
-
if
=
"scope.row.importantProjectCount"
<
router
-
link
v
-
if
=
"scope.row.importantProjectCount"
:
to
=
"scope.row.other ? `/enterprise/${encodeStr(scope.row.id)
}
?path=majorProject` : `/company/${encodeStr(scope.row.id)
}
?path=majorProject`"
:
to
=
"scope.row.other ? `/enterprise/${encodeStr(scope.row.id)
}
?path=majorProject` : `/company/${encodeStr(scope.row.id)
}
?path=majorProject`"
...
@@ -203,7 +212,7 @@
...
@@ -203,7 +212,7 @@
<
/template
>
<
/template
>
<
/el-table-column> --
>
<
/el-table-column> --
>
<
el
-
table
-
column
label
=
"拟建项目"
width
=
"107"
:
resizable
=
"false"
:
sortable
=
"'custom'"
prop
=
"approvalProjectCount"
>
<
el
-
table
-
column
label
=
"拟建项目"
min
-
width
=
"107"
:
resizable
=
"false"
:
sortable
=
"'custom'"
prop
=
"approvalProjectCount"
>
<
template
slot
-
scope
=
"scope"
>
<
template
slot
-
scope
=
"scope"
>
<
router
-
link
v
-
if
=
"scope.row.approvalProjectCount"
<
router
-
link
v
-
if
=
"scope.row.approvalProjectCount"
:
to
=
"scope.row.other ? `/enterprise/${encodeStr(scope.row.id)
}
?path=proposed` : `/company/${encodeStr(scope.row.id)
}
?path=proposed`"
:
to
=
"scope.row.other ? `/enterprise/${encodeStr(scope.row.id)
}
?path=proposed` : `/company/${encodeStr(scope.row.id)
}
?path=proposed`"
...
@@ -212,7 +221,7 @@
...
@@ -212,7 +221,7 @@
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"招标计划"
width
=
"107"
:
resizable
=
"false"
:
sortable
=
"'custom'"
prop
=
"bidPlanCount"
>
<
el
-
table
-
column
label
=
"招标计划"
min
-
width
=
"107"
:
resizable
=
"false"
:
sortable
=
"'custom'"
prop
=
"bidPlanCount"
>
<
template
slot
-
scope
=
"scope"
>
<
template
slot
-
scope
=
"scope"
>
<
router
-
link
v
-
if
=
"scope.row.bidPlanCount"
<
router
-
link
v
-
if
=
"scope.row.bidPlanCount"
:
to
=
"scope.row.other ? `/enterprise/${encodeStr(scope.row.id)
}
?path=biddingplan` : `/company/${encodeStr(scope.row.id)
}
?path=biddingplan`"
:
to
=
"scope.row.other ? `/enterprise/${encodeStr(scope.row.id)
}
?path=biddingplan` : `/company/${encodeStr(scope.row.id)
}
?path=biddingplan`"
...
@@ -221,7 +230,7 @@
...
@@ -221,7 +230,7 @@
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"招标公告"
width
=
"107"
:
resizable
=
"false"
:
sortable
=
"'custom'"
prop
=
"jskBidCount"
>
<
el
-
table
-
column
label
=
"招标公告"
min
-
width
=
"107"
:
resizable
=
"false"
:
sortable
=
"'custom'"
prop
=
"jskBidCount"
>
<
template
slot
-
scope
=
"scope"
>
<
template
slot
-
scope
=
"scope"
>
<
router
-
link
v
-
if
=
"scope.row.jskBidCount"
<
router
-
link
v
-
if
=
"scope.row.jskBidCount"
:
to
=
"scope.row.other ? `/enterprise/${encodeStr(scope.row.id)
}
?path=announcement` : `/company/${encodeStr(scope.row.id)
}
?path=announcement`"
:
to
=
"scope.row.other ? `/enterprise/${encodeStr(scope.row.id)
}
?path=announcement` : `/company/${encodeStr(scope.row.id)
}
?path=announcement`"
...
@@ -233,7 +242,7 @@
...
@@ -233,7 +242,7 @@
<
/el-table
>
<
/el-table
>
<
/div
>
<
/div
>
<
div
class
=
"pagination clearfix"
v
-
show
=
"total>0"
>
<
div
class
=
"pagination clearfix"
v
-
show
=
"total>0"
>
<
el
-
pagination
background
:
page
-
size
=
"pageSize"
:
current
-
page
=
"pageNum"
@
current
-
change
=
"handleCurrentChange"
layout
=
"prev, pager, next"
<
el
-
pagination
background
:
page
-
size
=
"pageSize"
:
current
-
page
.
sync
=
"pageNum"
@
current
-
change
=
"handleCurrentChange"
layout
=
"prev, pager, next"
:
total
=
"total"
>
:
total
=
"total"
>
<
/el-pagination
>
<
/el-pagination
>
<
/div
>
<
/div
>
...
@@ -382,12 +391,6 @@ export default {
...
@@ -382,12 +391,6 @@ export default {
created
()
{
created
()
{
this
.
init
();
this
.
init
();
}
,
}
,
beforeDestroy
()
{
const
dom
=
document
.
querySelector
(
".owner-table-list-header"
);
if
(
dom
)
{
dom
.
removeEventListener
(
"mouseover"
,
this
.
headerMouseover
,
false
);
}
}
,
methods
:
{
methods
:
{
// 生成查询条件
// 生成查询条件
createSearchConditions
()
{
createSearchConditions
()
{
...
@@ -465,8 +468,7 @@ export default {
...
@@ -465,8 +468,7 @@ export default {
const
result
=
await
api
.
searchOwnerUnitListApi
(
params
);
const
result
=
await
api
.
searchOwnerUnitListApi
(
params
);
if
(
result
.
code
==
200
)
{
if
(
result
.
code
==
200
)
{
this
.
tableData
=
result
.
data
?.
list
?
result
.
data
.
list
:
[];
this
.
tableData
=
result
.
data
?.
list
?
result
.
data
.
list
:
[];
this
.
total
=
res
.
data
?.
total
?
(
res
.
data
?.
total
>
10000
?
10000
:
res
.
data
?.
total
)
:
0
;
this
.
total
=
res
.
data
?.
total
?
res
.
data
?.
total
:
0
;
this
.
addHeaderListener
();
}
}
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
log
(
error
);
console
.
log
(
error
);
...
@@ -627,8 +629,12 @@ export default {
...
@@ -627,8 +629,12 @@ export default {
this
.
search
();
this
.
search
();
}
,
}
,
handleCurrentChange
(
pageNum
)
{
handleCurrentChange
(
pageNum
)
{
if
(
pageNum
>
500
)
{
pageNum
=
1
;
this
.
$message
.
warning
(
"对不起最多只能访问500页"
);
}
this
.
pageNum
=
pageNum
;
this
.
pageNum
=
pageNum
;
this
.
search
(
pageNum
,
this
.
pageSize
);
this
.
search
(
this
.
pageNum
,
this
.
pageSize
);
}
,
}
,
handleSizeChange
(
pageSize
)
{
handleSizeChange
(
pageSize
)
{
this
.
pageSize
=
pageSize
;
this
.
pageSize
=
pageSize
;
...
@@ -729,8 +735,7 @@ export default {
...
@@ -729,8 +735,7 @@ export default {
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
this
.
isSkeleton
=
false
;
this
.
isSkeleton
=
false
;
this
.
tableData
=
res
.
data
?.
list
?
res
.
data
.
list
:
[];
this
.
tableData
=
res
.
data
?.
list
?
res
.
data
.
list
:
[];
this
.
total
=
res
.
data
?.
total
?
(
res
.
data
?.
total
>
10000
?
10000
:
res
.
data
?.
total
)
:
0
;
this
.
total
=
res
.
data
?.
total
?
res
.
data
?.
total
:
0
;
this
.
addHeaderListener
();
}
}
}
).
catch
(
error
=>
{
}
).
catch
(
error
=>
{
}
);
}
);
...
@@ -1101,12 +1106,6 @@ export default {
...
@@ -1101,12 +1106,6 @@ export default {
font
-
size
:
12
px
;
font
-
size
:
12
px
;
}
}
}
}
.
el
-
table__fixed
{
.
el
-
table__fixed
-
header
-
wrapper
{
pointer
-
events
:
none
;
}
}
}
}
padding
:
0
px
16
px
;
padding
:
0
px
16
px
;
.
list
-
titel
-
a
{
.
list
-
titel
-
a
{
...
@@ -1137,8 +1136,9 @@ export default {
...
@@ -1137,8 +1136,9 @@ export default {
.
renling
{
.
renling
{
display
:
flex
;
display
:
flex
;
align
-
items
:
center
;
align
-
items
:
center
;
justify
-
content
:
space
-
between
;
.
list
-
titel
-
a
{
.
list
-
titel
-
a
{
width
:
264
px
;
max
-
width
:
264
px
;
margin
-
right
:
12
px
;
margin
-
right
:
12
px
;
}
}
.
renling
-
btn
{
.
renling
-
btn
{
...
@@ -1191,9 +1191,12 @@ export default {
...
@@ -1191,9 +1191,12 @@ export default {
font
-
size
:
12
px
;
font
-
size
:
12
px
;
margin
-
right
:
25
px
;
margin
-
right
:
25
px
;
white
-
space
:
nowrap
;
white
-
space
:
nowrap
;
align
-
self
:
flex
-
start
;
}
}
}
&
.
show
-
claim
{
.
enterprise
-
name
-
column
{
&
:
hover
{
.
renling
-
btn
{
.
renling
-
btn
{
opacity
:
1
;
opacity
:
1
;
}
}
...
...
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