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
b24cda5d
Commit
b24cda5d
authored
Aug 15, 2023
by
danfuman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
7c63410d
Changes
21
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
17664 additions
and
17208 deletions
+17664
-17208
groupAccount.js
dsk-operate-ui/src/api/detail/groupAccount/groupAccount.js
+16
-9
dataRegion.json
dsk-operate-ui/src/assets/json/dataRegion.json
+16870
-16959
index.js
dsk-operate-ui/src/router/index.js
+1
-2
Sidebar.vue
...te-ui/src/views/detail/groupAccount/component/Sidebar.vue
+1
-2
members.vue
...te-ui/src/views/detail/groupAccount/component/members.vue
+308
-33
performance.vue
...i/src/views/detail/groupAccount/component/performance.vue
+154
-67
qualifications.vue
...rc/views/detail/groupAccount/component/qualifications.vue
+32
-55
qualificationsDetail.vue
...ws/detail/groupAccount/component/qualificationsDetail.vue
+106
-0
index.vue
dsk-operate-ui/src/views/detail/groupAccount/index.vue
+33
-43
CustomMoneySelect.vue
.../src/views/detail/party-a/component/CustomMoneySelect.vue
+92
-17
CustomTimeSelect.vue
...i/src/views/detail/party-a/component/CustomTimeSelect.vue
+20
-1
HeadForm.vue
...perate-ui/src/views/detail/party-a/component/HeadForm.vue
+9
-9
Sidebar.vue
...operate-ui/src/views/detail/party-a/component/Sidebar.vue
+0
-1
sameRegion.vue
...i/src/views/detail/party-a/urbanLnvestment/sameRegion.vue
+0
-1
regionalEconomy.vue
...i/src/views/macro/economies/component/regionalEconomy.vue
+3
-0
index.vue
dsk-operate-ui/src/views/macro/enterprises/index.vue
+1
-1
jzqyfx.vue
...ui/src/views/macro/nationalEconomies/component/jzqyfx.vue
+7
-0
qgjjdq.vue
...ui/src/views/macro/nationalEconomies/component/qgjjdq.vue
+1
-1
index.vue
dsk-operate-ui/src/views/macro/nationalEconomies/index.vue
+1
-1
index.vue
dsk-operate-ui/src/views/macro/urban/index.vue
+8
-5
vue.config.js
dsk-operate-ui/vue.config.js
+1
-1
No files found.
dsk-operate-ui/src/api/detail/groupAccount/groupAccount.js
View file @
b24cda5d
...
@@ -17,28 +17,35 @@ export function memberCount(data) {
...
@@ -17,28 +17,35 @@ export function memberCount(data) {
data
:
data
data
:
data
})
})
}
}
// 集团
成员
资质列表
// 集团资质列表
export
function
memberC
ertificateList
(
data
)
{
export
function
c
ertificateList
(
data
)
{
return
request
({
return
request
({
url
:
'/combine/info/certificateList'
,
url
:
'/combine/info/certificateList'
,
method
:
'post'
,
method
:
'post'
,
data
:
data
data
:
data
})
})
}
}
// 集团资质列表-详情
// 集团业绩列表
export
function
memberCertificateList
(
data
)
{
export
function
businessList
(
data
)
{
return
request
({
return
request
({
url
:
'/combine/info/businessList'
,
url
:
'/combine/info/member/certificateList'
,
method
:
'post'
,
data
:
data
})
}
// 集团资质分组统计
export
function
certificateCount
(
data
)
{
return
request
({
url
:
'/combine/info/group/certificateCount'
,
method
:
'post'
,
method
:
'post'
,
data
:
data
data
:
data
})
})
}
}
// 集团
资质
列表
// 集团
业绩
列表
export
function
certificate
List
(
data
)
{
export
function
business
List
(
data
)
{
return
request
({
return
request
({
url
:
'/combine/info/
certificate
List'
,
url
:
'/combine/info/
business
List'
,
method
:
'post'
,
method
:
'post'
,
data
:
data
data
:
data
})
})
...
...
dsk-operate-ui/src/assets/json/dataRegion.json
View file @
b24cda5d
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dsk-operate-ui/src/router/index.js
View file @
b24cda5d
...
@@ -106,13 +106,12 @@ export const constantRoutes = [
...
@@ -106,13 +106,12 @@ export const constantRoutes = [
path
:
'/groupAccount'
,
path
:
'/groupAccount'
,
component
:
Layout
,
component
:
Layout
,
hidden
:
true
,
hidden
:
true
,
name
:
'Enterprise'
,
redirect
:
'noredirect'
,
redirect
:
'noredirect'
,
children
:
[
children
:
[
{
{
path
:
'/groupAccount/:id'
,
path
:
'/groupAccount/:id'
,
component
:
()
=>
import
(
'@/views/detail/groupAccount/index'
),
component
:
()
=>
import
(
'@/views/detail/groupAccount/index'
),
name
:
'
g
roupAccount'
,
name
:
'
G
roupAccount'
,
meta
:
{
title
:
'集团户详情'
,
icon
:
'enterprise'
,
noCache
:
false
},
meta
:
{
title
:
'集团户详情'
,
icon
:
'enterprise'
,
noCache
:
false
},
}
}
]
]
...
...
dsk-operate-ui/src/views/detail/groupAccount/component/Sidebar.vue
View file @
b24cda5d
...
@@ -75,13 +75,12 @@ export default {
...
@@ -75,13 +75,12 @@ export default {
return
sideHeight
return
sideHeight
},
},
routeIndex
(){
routeIndex
(){
let
idx
=
this
.
getRouteIdx
(
''
,
this
.
pathName
)
||
'0
-0
'
let
idx
=
this
.
getRouteIdx
(
''
,
this
.
pathName
)
||
'0'
return
idx
return
idx
}
}
},
},
created
()
{
created
()
{
this
.
defaultRoute
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
sideRoute
))
this
.
defaultRoute
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
sideRoute
))
},
},
watch
:{
watch
:{
...
...
dsk-operate-ui/src/views/detail/groupAccount/component/members.vue
View file @
b24cda5d
...
@@ -7,7 +7,44 @@
...
@@ -7,7 +7,44 @@
:total=
"tableDataTotal"
:total=
"tableDataTotal"
:isExcel=
"false"
:isExcel=
"false"
@
handle-search=
"handleSearch"
@
handle-search=
"handleSearch"
/>
>
<template
slot=
"slot"
>
<div
class=
"search-box"
>
<span
class=
"search-box-t"
:class=
" queryParams.companyType||
queryParams.companyTypes.length > 0 ? 'search-box-ta' : ''"
@
click=
"handleSearch1"
>
筛选
<i
:class=
"searchState ? 'el-icon-caret-top' : 'el-icon-caret-bottom'"
></i></span>
<div
v-show=
"searchState"
ref=
"showContent"
class=
"search-main"
>
<div
class=
"item"
>
<span
class=
"wrap_label"
>
科技型企业
</span>
<div
class=
"item_ckquery"
>
<!--
<span
:class=
"
{color_text:queryParams.companyTypes.length == 0}" @click="changeBeCurrent('','companyTypes')">全部
</span>
-->
<template
v-for=
"(item,index) in kjxqy"
>
<span
:class=
"
{color_text:queryParams.companyTypes.includes(item.value)}" @click="changeBeCurrent(item.value,'companyTypes')">
{{
item
.
name
}}
</span>
</
template
>
</div>
</div>
<div
class=
"item"
>
<span
class=
"wrap_label"
>
企业类型
</span>
<div
class=
"item_ckquery"
>
<!--<span :class="{color_text:queryParams.companyTypes.length == 0}" @click="changeBeCurrent('','companyTypes')">全部</span>-->
<
template
v-for=
"(item,index) in qyType"
>
<span
:class=
"
{color_text:item.dictValue == queryParams.companyType}" @click="handleChange('1',item.dictValue)">
{{
item
.
dictLabel
}}
</span>
</
template
>
</div>
</div>
<div
class=
"item"
>
<span
class=
"wrap_label"
>
持股比例
</span>
<div
class=
"item_ckquery"
>
<
template
v-for=
"(item,index) in cgblList"
>
<span
:class=
"
{color_text:item == cgblName}" @click="handleChange('2',item)">
{{
item
}}
</span>
</
template
>
</div>
</div>
</div>
</div>
</template>
</head-form>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<tables
<tables
v-if=
"!isSkeleton"
v-if=
"!isSkeleton"
...
@@ -30,20 +67,16 @@
...
@@ -30,20 +67,16 @@
</template>
</template>
<
script
>
<
script
>
import
Skeleton
from
"./skeleton"
import
{
encodeStr
}
from
"@/assets/js/common"
import
Tables
from
"../../party-a/component/Tables"
import
HeadForm
from
"../../party-a/component/HeadForm"
import
{
memberList
,
memberCount
}
from
'@/api/detail/groupAccount/groupAccount'
import
{
memberList
,
memberCount
}
from
'@/api/detail/groupAccount/groupAccount'
import
dataRegion
from
'@/assets/json/dataRegion'
import
{
getDictType
}
from
'@/api/main'
import
mixin
from
'../../party-a/mixins/mixin'
export
default
{
export
default
{
name
:
'members'
,
name
:
'members'
,
props
:
[
'companyId'
],
props
:
[
'companyId'
],
components
:{
mixins
:
[
mixin
],
Skeleton
,
Tables
,
HeadForm
},
data
(){
data
(){
return
{
return
{
encodeStr
,
isSkeleton
:
true
,
isSkeleton
:
true
,
tableLoading
:
false
,
tableLoading
:
false
,
isDetails
:
false
,
isDetails
:
false
,
...
@@ -51,7 +84,9 @@
...
@@ -51,7 +84,9 @@
queryParams
:
{
queryParams
:
{
combineId
:
'81de7ca2a967d91c2afad9cb5fc30e6d'
,
combineId
:
'81de7ca2a967d91c2afad9cb5fc30e6d'
,
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
20
pageSize
:
20
,
companyTypes
:[],
companyType
:
''
,
},
},
forData
:
[
forData
:
[
{
label
:
'企业名称'
,
prop
:
'companyName'
,
minWidth
:
'200'
,
slot
:
true
},
{
label
:
'企业名称'
,
prop
:
'companyName'
,
minWidth
:
'200'
,
slot
:
true
},
...
@@ -64,8 +99,11 @@
...
@@ -64,8 +99,11 @@
],
],
formData
:
[
formData
:
[
{
type
:
4
,
fieldName
:
'combineMemberLevel'
,
value
:
''
,
placeholder
:
'成员层级'
,
options
:[]},
{
type
:
4
,
fieldName
:
'combineMemberLevel'
,
value
:
''
,
placeholder
:
'成员层级'
,
options
:[]},
{
type
:
4
,
fieldName
:
'combineMemberLevel'
,
value
:
''
,
placeholder
:
'主营业务'
,
options
:[]},
{
type
:
4
,
fieldName
:
'businessType'
,
value
:
''
,
placeholder
:
'主营业务'
,
options
:[]},
{
type
:
3
,
fieldName
:
'keys'
,
value
:
''
,
placeholder
:
'输入关键词查询'
},
{
type
:
7
,
fieldName
:
'province'
,
value
:
''
,
props
:
{
multiple
:
true
},
placeholder
:
'地区'
,
options
:[]},
{
type
:
6
,
fieldName
:
'money'
,
value
:
''
,
placeholder
:
'注册资本'
,
startMoney
:
'minAmount'
,
endMoney
:
'maxAmount'
,
moneyList
:[]
},
{
type
:
0
,
fieldName
:
'penalizeReasonType'
,
value
:
''
,
placeholder
:
'筛选'
,
options
:
[]},
{
type
:
3
,
fieldName
:
'searchValue'
,
value
:
''
,
placeholder
:
'输入关键词查询'
},
],
],
cycj
:[
cycj
:[
{
{
...
@@ -121,57 +159,209 @@
...
@@ -121,57 +159,209 @@
],
],
tableData
:[],
tableData
:[],
tableDataTotal
:
0
,
tableDataTotal
:
0
,
searchState
:
false
,
moneyList
:
[
'1000万以下'
,
'1000万-5000万'
,
'5000万-1亿'
,
'1亿-10亿'
,
'10亿以上'
,
'自定义'
],
qyType
:[],
cgblList
:[
'100%'
,
'50%以上'
,
'20%以上'
,
'5%以上'
,
'1%-5%'
],
cgblName
:
''
}
},
watch
:{
searchState
:{
handler
(
newVal
,
olVal
)
{
if
(
newVal
)
{
setTimeout
(()
=>
{
document
.
addEventListener
(
'click'
,
this
.
handleSearch1
);
},
0
);
}
else
{
document
.
removeEventListener
(
'click'
,
this
.
handleSearch1
);
}
}
}
}
},
},
created
()
{
created
()
{
this
.
handleQuery
()
this
.
handleQuery
()
this
.
getMemberCount
()
this
.
getMemberCount
()
this
.
dataRegion
()
this
.
formData
[
0
].
options
=
this
.
cycj
;
this
.
formData
[
0
].
options
=
this
.
cycj
;
this
.
formData
[
3
].
moneyList
=
this
.
moneyList
;
//企业类型
getDictType
(
'company_type_new'
).
then
(
result
=>
{
let
data
=
result
.
code
==
200
?
result
.
data
:[];
this
.
qyType
=
data
;
})
},
},
methods
:
{
methods
:
{
//主营业务
//主营业务
getMemberCount
(){
getMemberCount
(){
memberCount
({
combineId
:
this
.
queryParams
.
combineId
}).
then
(
res
=>
{
memberCount
({
combineId
:
this
.
queryParams
.
combineId
}).
then
(
res
=>
{
let
data
=
res
.
data
let
data
=
res
.
data
let
list
=
[]
for
(
let
key
in
data
){
for
(
let
key
in
data
){
this
.
formData
[
1
].
options
.
push
({
list
.
push
({
name
:
key
+
'('
+
data
[
key
]
+
')'
,
name
:
key
+
'('
+
data
[
key
]
+
')'
,
value
:
key
,
value
:
key
,
key
:
data
[
key
],
disabled
:
data
[
key
]
!=
0
?
false
:
true
})
})
}
}
list
.
sort
(
function
(
a
,
b
)
{
return
b
.
key
-
a
.
key
;
});
this
.
formData
[
1
].
options
=
list
})
})
},
},
// 筛选
handleSearch1
(
event
){
// this.searchState=!this.searchState;
let
dom
=
this
.
$refs
.
showContent
;
if
(
!
dom
.
contains
(
event
.
target
))
{
this
.
searchState
=
!
this
.
searchState
;
document
.
removeEventListener
(
'click'
,
this
.
handleQuery
);
}
},
handleQuery
(
params
){
handleQuery
(
params
){
this
.
isSkeleton
=
true
let
data
=
this
.
getAreaList
(
params
||
this
.
queryParams
)
let
data
=
params
?
params
:
this
.
queryParams
memberList
(
data
).
then
(
res
=>
{
memberList
(
data
).
then
(
res
=>
{
this
.
tableData
=
res
.
rows
this
.
tableData
=
res
.
rows
this
.
tableDataTotal
=
res
.
total
this
.
tableDataTotal
=
res
.
total
this
.
isSkeleton
=
false
this
.
isSkeleton
=
false
})
})
},
},
formParams
(){
//地区
async
dataRegion
()
{
var
str
=
[];
for
(
let
x
=
0
;
x
<
3
;
x
++
)
{
for
(
let
i
=
0
;
i
<
dataRegion
.
length
;
i
++
)
{
if
(
dataRegion
[
i
].
regionLevel
==
x
+
1
&&
x
+
1
==
1
)
{
str
.
push
({
'id'
:
dataRegion
[
i
].
id
,
"label"
:
dataRegion
[
i
].
regionName
,
"short"
:
dataRegion
[
i
].
short
,
"value"
:
dataRegion
[
i
].
parentId
,
"children"
:
[]
});
}
else
if
(
dataRegion
[
i
].
regionLevel
==
x
+
1
&&
x
+
1
==
2
)
{
for
(
let
j
=
0
;
j
<
str
.
length
;
j
++
)
{
if
(
str
[
j
].
id
==
dataRegion
[
i
].
parentId
)
{
str
[
j
].
children
.
push
({
'id'
:
dataRegion
[
i
].
id
,
"label"
:
dataRegion
[
i
].
regionName
,
"short"
:
dataRegion
[
i
].
short
,
"value"
:
dataRegion
[
i
].
parentId
,
"children"
:
[]
});
}
}
}
else
if
(
dataRegion
[
i
].
regionLevel
==
x
+
1
&&
x
+
1
==
3
)
{
for
(
let
j
=
0
;
j
<
str
.
length
;
j
++
)
{
for
(
let
k
=
0
;
k
<
str
[
j
].
children
.
length
;
k
++
)
{
if
(
str
[
j
].
children
[
k
].
id
==
dataRegion
[
i
].
parentId
)
{
str
[
j
].
children
[
k
].
children
.
push
({
'id'
:
dataRegion
[
i
].
id
,
"label"
:
dataRegion
[
i
].
regionName
,
"short"
:
dataRegion
[
i
].
short
,
"value"
:
dataRegion
[
i
].
parentId
// "children":[]
});
}
}
}
}
}
}
this
.
addressList
=
str
;
this
.
formData
[
2
].
options
=
str
;
},
},
handleSearch
(){
changeBeCurrent
(
index
,
name
)
{
if
(
index
){
let
i
=
this
.
queryParams
[
name
].
indexOf
(
index
)
if
(
i
==
-
1
){
this
.
queryParams
[
name
].
push
(
index
);
}
else
{
this
.
queryParams
[
name
].
splice
(
i
,
1
);
}
}
else
{
this
.
queryParams
[
name
]
=
[]
}
this
.
handleQuery
();
// this.$forceUpdate();
},
handleChange
(
key
,
name
)
{
if
(
key
===
'1'
){
if
(
name
===
this
.
queryParams
.
companyType
){
this
.
queryParams
.
companyType
=
''
}
else
{
this
.
queryParams
.
companyType
=
name
}
}
if
(
key
===
'2'
){
if
(
name
===
this
.
cgblName
){
this
.
cgblName
=
''
}
else
{
this
.
cgblName
=
name
;
}
if
(
this
.
cgblName
){
if
(
name
===
'100%'
){
this
.
queryParams
.
minStockPercent
=
1
}
if
(
name
===
'50%以上'
){
this
.
queryParams
.
minStockPercent
=
0.5
}
if
(
name
===
'20%以上'
){
this
.
queryParams
.
minStockPercent
=
0.2
}
if
(
name
===
'5%以上'
){
this
.
queryParams
.
minStockPercent
=
0.05
}
if
(
name
===
'1%-5%'
){
this
.
queryParams
.
minStockPercent
=
0.01
this
.
queryParams
.
maxStockPercent
=
0.05
}
}
else
{
this
.
queryParams
.
minStockPercent
=
''
this
.
queryParams
.
maxStockPercent
=
''
}
}
this
.
handleQuery
();
},
},
//分页
getAreaList
(
params
){
handleCurrentChange
(
e
){
if
(
params
.
province
&&
params
.
province
.
length
>
0
){
let
params
=
this
.
formParams
()
let
arr
=
this
.
$children
[
0
].
$refs
.
cascader
[
0
].
getCheckedNodes
()
params
.
pageNum
=
e
let
provinceIds
=
[],
cityIds
=
[],
areaIds
=
[]
this
.
queryParams
.
pageNum
=
e
for
(
var
i
in
arr
)
{
// this.handleQuery(params)
if
(
arr
[
i
].
parent
)
{
if
(
!
arr
[
i
].
parent
.
checked
)
{
if
(
arr
[
i
].
hasChildren
||
arr
[
i
].
level
==
2
){
cityIds
.
push
(
arr
[
i
].
data
.
id
)
}
else
{
areaIds
.
push
(
arr
[
i
].
data
.
id
)
}
}
}
else
{
provinceIds
.
push
(
arr
[
i
].
data
.
id
)
}
}
delete
params
.
province
provinceIds
.
length
>
0
?
params
.
provinceIds
=
provinceIds
:
''
cityIds
.
length
>
0
?
params
.
cityIds
=
cityIds
:
''
areaIds
.
length
>
0
?
params
.
areaIds
=
areaIds
:
''
}
return
params
},
},
handleSizeChange
(
e
){
sortChange
({
column
,
prop
,
order
}){
this
.
queryParams
.
field
=
prop
if
(
column
.
order
===
"ascending"
){
this
.
queryParams
.
order
=
'asc'
}
else
if
(
column
.
order
===
"descending"
){
this
.
queryParams
.
order
=
'desc'
}
else
{
this
.
queryParams
.
order
=
''
this
.
queryParams
.
field
=
''
}
this
.
pageIndex
=
1
;
this
.
handleQuery
()
},
},
//排序
sortChange
(
e
){
let
item
=
this
.
forData
.
find
(
item
=>
item
.
prop
===
e
.
prop
)
this
.
queryParams
.
sort
=
item
[
e
.
order
]
this
.
handleSearch
()
}
}
}
}
}
</
script
>
</
script
>
...
@@ -187,5 +377,90 @@
...
@@ -187,5 +377,90 @@
margin-right
:
24px
;
margin-right
:
24px
;
}
}
}
}
.search-box
{
display
:
inline-block
;
border-radius
:
4px
;
border
:
1px
solid
#D9D9D9
;
width
:
82px
;
/*cursor: pointer;*/
position
:
relative
;
.search-box-t
{
font-size
:
14px
;
font-weight
:
400
;
line-height
:
32px
;
color
:
#232323
;
margin-right
:
8px
;
text-align
:
center
;
width
:
82px
;
display
:
inline-block
;
cursor
:
pointer
;
i
{
color
:
rgba
(
35
,
35
,
35
,
0
.4
);
margin-left
:
5px
}
}
.search-box-ta
{
color
:
#0081FF
;
i
{
color
:
#0081FF
;
}
}
.search-main
{
background
:
#ffffff
;
box-shadow
:
0px
4px
10px
0px
rgba
(
0
,
0
,
0
,
0
.1
);
border-radius
:
4px
;
width
:
640px
;
//height: 337px;
padding
:
16px
;
position
:
absolute
;
top
:
34px
;
left
:
0
;
z-index
:
2001
;
.item
{
margin-bottom
:
5px
;
display
:
flex
;
/*align-items: center;*/
font-size
:
14px
;
.wrap_label
{
color
:
rgba
(
35
,
35
,
35
,
0
.8
);
margin-right
:
12px
;
line-height
:
30px
;
width
:
77px
;
text-align
:
right
;
/*float: left;*/
}
.item_ckquery
{
position
:
relative
;
width
:
520px
;
/*float: left;*/
/*flex: 1;*/
span
{
color
:
#232323
;
padding
:
3px
6px
;
margin-bottom
:
5px
;
display
:
inline-block
;
cursor
:
pointer
;
margin-right
:
8px
;
}
.color_text
{
background
:
#F3F4F5
;
border-radius
:
4px
;
color
:
#0081FF
;
}
.select-active
{
color
:
#0081FF
;
}
}
.cascader-region
{
position
:
absolute
;
left
:
0
;
top
:
-6px
;
opacity
:
0
;
line-height
:
22px
;
}
}
}
}
}
}
</
style
>
</
style
>
dsk-operate-ui/src/views/detail/groupAccount/component/performance.vue
View file @
b24cda5d
...
@@ -7,7 +7,11 @@
...
@@ -7,7 +7,11 @@
:total=
"tableDataTotal"
:total=
"tableDataTotal"
:isExcel=
"false"
:isExcel=
"false"
@
handle-search=
"handleSearch"
@
handle-search=
"handleSearch"
/>
>
<template
slot=
"slot"
>
</
template
>
</head-form>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<tables
<tables
v-if=
"!isSkeleton"
v-if=
"!isSkeleton"
...
@@ -21,28 +25,37 @@
...
@@ -21,28 +25,37 @@
@
handle-current-change=
"handleCurrentChange"
@
handle-current-change=
"handleCurrentChange"
@
sort-change=
"sortChange"
@
sort-change=
"sortChange"
>
>
<template
slot=
"companyCount"
slot-scope=
"scope"
>
<
template
slot=
"bidTime"
slot-scope=
"scope"
>
<div
v-html=
"scope.row.companyCount || '--'"
></div>
<div>
{{
formatDate
(
scope
.
row
.
bidTime
)
}}
</div>
</
template
>
<
template
slot=
"companyName"
slot-scope=
"scope"
>
<router-link
:to=
"scope.row.uipId?`/enterprise/$
{encodeStr(scope.row.companyId)}`:`/company/${encodeStr(scope.row.companyId)}`" tag="a" class="a-link" v-if="scope.row.companyId
&&
scope.row.companyName" v-html="scope.row.companyName">
</router-link>
<div
v-else
v-html=
"scope.row.companyName || '--'"
></div>
</
template
>
<
template
slot=
"projectName"
slot-scope=
"scope"
>
<router-link
:to=
"`/biddetail/$
{scope.row.projectId}`" tag="a" class="a-link" v-if="scope.row.projectId" v-html="scope.row.projectName">
</router-link>
<div
v-else
v-html=
"scope.row.projectName || '--'"
></div>
</
template
>
<
template
slot=
"projectUnit"
slot-scope=
"scope"
>
<router-link
:to=
"scope.row.projectUnitUipId?`/enterprise/$
{encodeStr(scope.row.projectUnitId)}`:`/company/${encodeStr(scope.row.projectUnitId)}`" tag="a" class="a-link" v-if="scope.row.projectUnitId
&&
scope.row.projectUnit" v-html="scope.row.projectUnit">
</router-link>
<div
v-else
v-html=
"scope.row.projectUnit || '--'"
></div>
</
template
>
</
template
>
</tables>
</tables>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
Skeleton
from
"./skeleton"
import
mixin
from
'../../party-a/mixins/mixin'
import
{
encodeStr
}
from
"@/assets/js/common"
import
{
businessList
}
from
'@/api/detail/groupAccount/groupAccount'
import
Tables
from
"../../party-a/component/Tables"
import
dataRegion
from
'@/assets/json/dataRegion'
import
HeadForm
from
"../../party-a/component/HeadForm"
import
{
getDictType
}
from
'@/api/main'
import
{
memberCertificateList
}
from
'@/api/detail/groupAccount/groupAccount'
export
default
{
export
default
{
name
:
'qualifications'
,
name
:
'qualifications'
,
props
:
[
'companyId'
],
props
:
[
'companyId'
],
components
:{
mixins
:
[
mixin
],
Skeleton
,
Tables
,
HeadForm
components
:{},
},
data
(){
data
(){
return
{
return
{
encodeStr
,
isSkeleton
:
true
,
isSkeleton
:
true
,
tableLoading
:
false
,
tableLoading
:
false
,
isDetails
:
false
,
isDetails
:
false
,
...
@@ -53,80 +66,154 @@
...
@@ -53,80 +66,154 @@
pageSize
:
20
pageSize
:
20
},
},
forData
:
[
forData
:
[
{
label
:
'中标时间'
,
prop
:
'qualificationName'
,
minWidth
:
'100'
},
{
label
:
'中标时间'
,
prop
:
'bidTime'
,
slot
:
true
,
minWidth
:
'100'
},
{
label
:
'中标成员'
,
prop
:
'companyCount'
,
slot
:
true
,
minWidth
:
'150'
},
{
label
:
'中标成员'
,
prop
:
'companyName'
,
slot
:
true
,
minWidth
:
'150'
},
{
label
:
'项目名称'
,
prop
:
'companyCount'
,
slot
:
true
,
minWidth
:
'200'
},
{
label
:
'持股比例(%)'
,
prop
:
'stockPercent'
,
minWidth
:
'150'
},
{
label
:
'中标金额(万元)'
,
prop
:
'companyCount'
,
minWidth
:
'150'
},
{
label
:
'项目名称'
,
prop
:
'projectName'
,
slot
:
true
,
minWidth
:
'200'
},
{
label
:
'中标地区'
,
prop
:
'companyCount'
,
minWidth
:
'100'
},
{
label
:
'中标金额(万元)'
,
prop
:
'bidAmount'
,
minWidth
:
'150'
},
{
label
:
'业绩类型'
,
prop
:
'companyCount'
,
minWidth
:
'100'
},
{
label
:
'中标地区'
,
prop
:
'address'
,
minWidth
:
'100'
},
{
label
:
'项目类型'
,
prop
:
'companyCount'
,
minWidth
:
'100'
},
{
label
:
'业绩类型'
,
prop
:
'boundType'
,
minWidth
:
'100'
},
{
label
:
'业主单位'
,
prop
:
'companyCount'
,
slot
:
true
,
minWidth
:
'200'
},
{
label
:
'项目类型'
,
prop
:
'projectType'
,
minWidth
:
'100'
},
{
label
:
'业主单位'
,
prop
:
'projectUnit'
,
slot
:
true
,
minWidth
:
'200'
},
],
],
formData
:
[
formData
:
[
{
type
:
4
,
fieldName
:
'combineMemberLevel'
,
value
:
''
,
placeholder
:
'筛选'
,
options
:[]},
{
type
:
7
,
fieldName
:
'combineMemberLevel'
,
value
:
''
,
props
:
{
multiple
:
true
},
placeholder
:
'项目地区'
,
options
:[]},
],
{
type
:
5
,
fieldName
:
'time'
,
value
:
''
,
placeholder
:
'中标时间'
,
startTime
:
'startBidTime'
,
endTime
:
'endBidTime'
,
timeList
:[]
},
cycj
:[
{
type
:
6
,
fieldName
:
'money'
,
value
:
''
,
placeholder
:
'中标金额'
,
startMoney
:
'minAmount'
,
endMoney
:
'maxAmount'
,
moneyList
:[]
},
{
{
type
:
4
,
fieldName
:
'boundTypes'
,
value
:
''
,
placeholder
:
'业绩类型'
,
options
:
[]},
name
:
'子集团'
,
{
type
:
4
,
fieldName
:
'projectTypes'
,
value
:
''
,
placeholder
:
'项目类型'
,
options
:
[]},
value
:
'子集团'
{
type
:
1
,
fieldName
:
'cgbl'
,
value
:
''
,
placeholder
:
'持股比例'
,
options
:
[]},
},
{
type
:
3
,
fieldName
:
'searchValue'
,
value
:
''
,
placeholder
:
'搜索中标成员名称/项目名称'
},
{
name
:
'集团本身'
,
value
:
'集团本身'
},
{
name
:
'一级子公司'
,
value
:
'一级子公司'
},
{
name
:
'二级子公司'
,
value
:
'二级子公司'
},
{
name
:
'三级子公司'
,
value
:
'三级子公司'
},
],
],
tableData
:[],
tableData
:[],
tableDataTotal
:
0
,
tableDataTotal
:
0
,
addressList
:
[],
cgblList
:
[
{
name
:
'100%'
,
value
:
'100%'
},
{
name
:
'50%以上'
,
value
:
'50%以上'
},
{
name
:
'20%以上'
,
value
:
'20%以上'
},
{
name
:
'5%以上'
,
value
:
'5%以上'
},
{
name
:
'1%-5%'
,
value
:
'1%-5%'
},
],
timeList
:
[
'近三天'
,
'近七天'
,
'近半月'
,
'自定义'
],
moneyList
:
[
'5000万以下'
,
'5000万-1亿'
,
'1亿-5亿'
,
'5亿-10亿'
,
'10亿以上'
,
'自定义'
],
}
}
},
},
created
()
{
created
()
{
this
.
dataRegion
()
this
.
handleQuery
()
this
.
handleQuery
()
this
.
formData
[
0
].
options
=
this
.
cycj
;
this
.
formData
[
1
].
timeList
=
this
.
timeList
;
this
.
formData
[
2
].
moneyList
=
this
.
moneyList
;
this
.
formData
[
5
].
options
=
this
.
cgblList
;
//业绩类型
getDictType
(
'bound_type'
).
then
(
result
=>
{
let
data
=
result
.
code
==
200
?
result
.
data
:[];
if
(
data
.
length
>
0
){
for
(
var
i
=
0
;
i
<
data
.
length
;
i
++
){
this
.
formData
[
3
].
options
.
push
({
name
:
data
[
i
].
dictLabel
,
value
:
data
[
i
].
dictValue
,
})
}
}
})
//项目类型
getDictType
(
'project_type_new'
).
then
(
result
=>
{
let
data
=
result
.
code
==
200
?
result
.
data
:[];
if
(
data
.
length
>
0
){
for
(
var
i
=
0
;
i
<
data
.
length
;
i
++
){
this
.
formData
[
4
].
options
.
push
({
name
:
data
[
i
].
dictLabel
,
value
:
data
[
i
].
dictValue
,
})
}
}
})
},
},
methods
:
{
methods
:
{
handleQuery
(
params
){
handleQuery
(
params
){
this
.
isSkeleton
=
true
this
.
isSkeleton
=
true
let
data
=
params
?
params
:
this
.
queryParams
let
data
=
params
?
params
:
this
.
queryParams
;
memberCertificateList
(
data
).
then
(
res
=>
{
if
(
data
.
cgbl
){
this
.
tableData
=
res
.
rows
if
(
data
.
cgbl
===
'100%'
){
data
.
minStockPercent
=
1
}
if
(
data
.
cgbl
===
'50%以上'
){
data
.
minStockPercent
=
0.5
}
if
(
data
.
cgbl
===
'20%以上'
){
data
.
minStockPercent
=
0.2
}
if
(
data
.
cgbl
===
'5%以上'
){
data
.
minStockPercent
=
0.05
}
if
(
data
.
cgbl
===
'1%-5%'
){
data
.
minStockPercent
=
0.01
data
.
maxStockPercent
=
0.05
}
delete
data
.
cgbl
}
businessList
(
data
).
then
(
res
=>
{
this
.
tableData
=
res
.
code
==
200
?
res
.
rows
:[]
this
.
tableDataTotal
=
res
.
total
this
.
tableDataTotal
=
res
.
total
this
.
isSkeleton
=
false
this
.
isSkeleton
=
false
})
})
},
},
formParams
(){
formatDate
(
timestamp
)
{
var
time
=
new
Date
(
timestamp
)
let
year
=
time
.
getFullYear
();
let
month
=
time
.
getMonth
()
+
1
>=
10
?
parseInt
(
time
.
getMonth
()
+
1
)
:
"0"
+
parseInt
(
time
.
getMonth
()
+
1
);
let
day
=
time
.
getDate
()
>=
10
?
time
.
getDate
()
:
"0"
+
time
.
getDate
();
return
year
+
'-'
+
month
+
'-'
+
day
},
},
handleSearch
(){
//地区
async
dataRegion
()
{
var
str
=
[];
for
(
let
x
=
0
;
x
<
3
;
x
++
)
{
for
(
let
i
=
0
;
i
<
dataRegion
.
length
;
i
++
)
{
if
(
dataRegion
[
i
].
regionLevel
==
x
+
1
&&
x
+
1
==
1
)
{
str
.
push
({
'id'
:
dataRegion
[
i
].
id
,
"label"
:
dataRegion
[
i
].
regionName
,
"short"
:
dataRegion
[
i
].
short
,
"value"
:
dataRegion
[
i
].
parentId
,
"children"
:
[]
});
}
else
if
(
dataRegion
[
i
].
regionLevel
==
x
+
1
&&
x
+
1
==
2
)
{
for
(
let
j
=
0
;
j
<
str
.
length
;
j
++
)
{
if
(
str
[
j
].
id
==
dataRegion
[
i
].
parentId
)
{
str
[
j
].
children
.
push
({
'id'
:
dataRegion
[
i
].
id
,
"label"
:
dataRegion
[
i
].
regionName
,
"short"
:
dataRegion
[
i
].
short
,
"value"
:
dataRegion
[
i
].
parentId
,
"children"
:
[]
});
}
}
}
else
if
(
dataRegion
[
i
].
regionLevel
==
x
+
1
&&
x
+
1
==
3
)
{
for
(
let
j
=
0
;
j
<
str
.
length
;
j
++
)
{
for
(
let
k
=
0
;
k
<
str
[
j
].
children
.
length
;
k
++
)
{
if
(
str
[
j
].
children
[
k
].
id
==
dataRegion
[
i
].
parentId
)
{
str
[
j
].
children
[
k
].
children
.
push
({
'id'
:
dataRegion
[
i
].
id
,
"label"
:
dataRegion
[
i
].
regionName
,
"short"
:
dataRegion
[
i
].
short
,
"value"
:
dataRegion
[
i
].
parentId
// "children":[]
});
}
}
}
}
}
}
this
.
addressList
=
str
;
this
.
formData
[
0
].
options
=
str
;
},
},
//分页
handleCurrentChange
(
e
){
let
params
=
this
.
formParams
()
params
.
pageNum
=
e
this
.
queryParams
.
pageNum
=
e
// this.handleQuery(params)
},
handleSizeChange
(
e
){
},
//排序
sortChange
(
e
){
let
item
=
this
.
forData
.
find
(
item
=>
item
.
prop
===
e
.
prop
)
this
.
queryParams
.
sort
=
item
[
e
.
order
]
this
.
handleSearch
()
}
}
}
}
}
</
script
>
</
script
>
...
...
dsk-operate-ui/src/views/detail/groupAccount/component/qualifications.vue
View file @
b24cda5d
...
@@ -22,35 +22,38 @@
...
@@ -22,35 +22,38 @@
@
sort-change=
"sortChange"
@
sort-change=
"sortChange"
>
>
<template
slot=
"companyCount"
slot-scope=
"scope"
>
<template
slot=
"companyCount"
slot-scope=
"scope"
>
<div
v-html=
"scope.row.companyCount || '--'"
></div>
<div
style=
"cursor: pointer;color: #0081FF;"
@
click=
"handleClick($event, scope.row)"
v-html=
"scope.row.companyCount || '--'"
></div>
</
template
>
</
template
>
</tables>
</tables>
<qualifications-detail
v-if=
"isDetails"
:data=
"rowData"
:title=
"title"
@
cancel=
"isDetails=false"
/>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
Skeleton
from
"./skeleton"
import
mixin
from
'../../party-a/mixins/mixin'
import
{
encodeStr
}
from
"@/assets/js/common"
import
{
certificateList
,
certificateCount
}
from
'@/api/detail/groupAccount/groupAccount'
import
Tables
from
"../../party-a/component/Tables"
import
QualificationsDetail
from
'./qualificationsDetail'
import
HeadForm
from
"../../party-a/component/HeadForm"
import
{
memberCertificateList
}
from
'@/api/detail/groupAccount/groupAccount'
export
default
{
export
default
{
name
:
'qualifications'
,
name
:
'qualifications'
,
props
:
[
'companyId'
],
props
:
[
'companyId'
,
'companyInfo'
],
mixins
:
[
mixin
],
components
:{
components
:{
Skeleton
,
Tables
,
HeadForm
QualificationsDetail
},
},
data
(){
data
(){
return
{
return
{
encodeStr
,
isSkeleton
:
true
,
isSkeleton
:
true
,
tableLoading
:
false
,
tableLoading
:
false
,
isDetails
:
false
,
isDetails
:
false
,
defaultSort
:
{
prop
:
'time'
,
order
:
'descending'
},
defaultSort
:
{
prop
:
'time'
,
order
:
'descending'
},
queryParams
:
{
queryParams
:
{
combineId
:
'81de7ca2a967d91c2afad9cb5fc30e6d
'
,
combineId
:
'54355f88a5b16d3e52f74931f5567853
'
,
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
2
0
pageSize
:
1
0
},
},
forData
:
[
forData
:
[
{
label
:
'资质名称'
,
prop
:
'qualificationName'
},
{
label
:
'资质名称'
,
prop
:
'qualificationName'
},
...
@@ -59,68 +62,42 @@
...
@@ -59,68 +62,42 @@
formData
:
[
formData
:
[
{
type
:
4
,
fieldName
:
'combineMemberLevel'
,
value
:
''
,
placeholder
:
'筛选'
,
options
:[]},
{
type
:
4
,
fieldName
:
'combineMemberLevel'
,
value
:
''
,
placeholder
:
'筛选'
,
options
:[]},
],
],
cycj
:[
{
name
:
'子集团'
,
value
:
'子集团'
},
{
name
:
'集团本身'
,
value
:
'集团本身'
},
{
name
:
'一级子公司'
,
value
:
'一级子公司'
},
{
name
:
'二级子公司'
,
value
:
'二级子公司'
},
{
name
:
'三级子公司'
,
value
:
'三级子公司'
},
],
tableData
:[],
tableData
:[],
tableDataTotal
:
0
,
tableDataTotal
:
0
,
title
:
''
,
rowData
:
''
}
}
},
},
created
()
{
created
()
{
this
.
handleQuery
()
this
.
handleQuery
()
this
.
formData
[
0
].
options
=
this
.
cycj
;
this
.
getCertificateList
()
},
},
methods
:
{
methods
:
{
handleQuery
(
params
){
handleQuery
(
params
){
this
.
isSkeleton
=
true
this
.
isSkeleton
=
true
let
data
=
params
?
params
:
this
.
queryParams
let
data
=
params
?
params
:
this
.
queryParams
memberC
ertificateList
(
data
).
then
(
res
=>
{
c
ertificateList
(
data
).
then
(
res
=>
{
this
.
tableData
=
res
.
rows
this
.
tableData
=
res
.
rows
this
.
tableDataTotal
=
res
.
total
this
.
tableDataTotal
=
res
.
total
this
.
isSkeleton
=
false
this
.
isSkeleton
=
false
})
})
},
},
formParams
(){
getCertificateList
(){
certificateCount
({
combineId
:
this
.
queryParams
.
combineId
}).
then
(
res
=>
{
},
let
data
=
res
.
data
handleSearch
(){
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
){
this
.
formData
[
0
].
options
.
push
({
},
name
:
data
[
i
].
qualificationName
+
'('
+
data
[
i
].
companyCount
+
')'
,
//分页
value
:
data
[
i
].
qualificationType
,
handleCurrentChange
(
e
){
})
let
params
=
this
.
formParams
()
}
params
.
pageNum
=
e
})
this
.
queryParams
.
pageNum
=
e
// this.handleQuery(params)
},
},
handleSizeChange
(
e
){
handleClick
(
e
,
data
)
{
this
.
title
=
this
.
companyInfo
.
companyName
+
data
.
qualificationName
+
'('
+
data
.
companyCount
+
')'
this
.
rowData
=
data
this
.
isDetails
=
true
},
},
//排序
sortChange
(
e
){
let
item
=
this
.
forData
.
find
(
item
=>
item
.
prop
===
e
.
prop
)
this
.
queryParams
.
sort
=
item
[
e
.
order
]
this
.
handleSearch
()
}
}
}
}
}
</
script
>
</
script
>
...
...
dsk-operate-ui/src/views/detail/groupAccount/component/qualificationsDetail.vue
0 → 100644
View file @
b24cda5d
<
template
>
<div
class=
"client-details"
>
<el-drawer
:visible
.
sync=
"drawer"
size=
"40%"
custom-class=
"client-drawer"
:with-header=
"false"
@
closed=
"cancel"
>
<tables
:indexFixed=
"true"
:tableLoading=
"tableLoading"
:tableData=
"tableData"
:forData=
"forData"
:tableDataTotal=
"tableDataTotal"
:queryParams=
"queryParams"
@
handle-current-change=
"handleCurrentChange"
style=
"margin: 12px;"
>
<template
slot=
"companyName"
slot-scope=
"scope"
>
<router-link
:to=
"scope.row.uipId?`/enterprise/$
{encodeStr(scope.row.companyId)}`:`/company/${encodeStr(scope.row.companyId)}`" tag="a" class="a-link" v-if="scope.row.companyId
&&
scope.row.companyName" v-html="scope.row.companyName">
</router-link>
<div
v-else
v-html=
"scope.row.companyName || '--'"
></div>
</
template
>
</tables>
</el-drawer>
</div>
</template>
<
script
>
import
mixin
from
'../../party-a/mixins/mixin'
import
{
memberCertificateList
}
from
'@/api/detail/groupAccount/groupAccount'
export
default
{
props
:
[
'data'
,
'title'
],
components
:
{
},
mixins
:
[
mixin
],
data
()
{
return
{
drawer
:
false
,
queryParams
:
{
id
:
this
.
data
.
id
,
pageNum
:
1
,
pageSize
:
10
},
formData
:
[
{
type
:
3
,
fieldName
:
'keys'
,
value
:
''
,
placeholder
:
'输入项目/工程名称查询'
,
options
:
[]},
],
forData
:
[
{
label
:
'拥有该资质成员'
,
prop
:
'companyName'
,
slot
:
true
},
{
label
:
'成员共有资质(个)'
,
prop
:
'certificateCount'
},
],
//列表
tableLoading
:
false
,
tableData
:[],
tableDataTotal
:
0
,
amountTotal
:
0
}
},
created
()
{
this
.
drawer
=
true
this
.
handleQuery
()
},
methods
:
{
async
handleQuery
(
params
)
{
this
.
tableLoading
=
true
let
param
=
params
?
params
:
this
.
queryParams
let
res
=
await
memberCertificateList
(
param
)
this
.
tableLoading
=
false
if
(
res
.
code
==
200
){
this
.
tableData
=
res
.
rows
}
this
.
tableDataTotal
=
res
.
total
// this.amountTotal = res.totalAmount
},
handlePic
(
url
,
isPic
){
isPic
?
url
=
'https://imgs.jiansheku.com/'
+
url
:
''
if
(
url
){
window
.
open
(
url
,
"_blank"
)
}
},
linkTo
(
scope
){
this
.
drawer
=
false
this
.
$router
.
push
(
`/biddetail/
${
scope
.
row
.
id
}
`
)
},
cancel
()
{
this
.
$emit
(
'cancel'
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.client-details
{
::v-deep
.client-drawer
{
background
:
#FFFFFF
;
}
.tip-img
{
width
:
14px
;
height
:
14px
;
margin-right
:
4px
;
cursor
:
pointer
;
}
}
</
style
>
dsk-operate-ui/src/views/detail/groupAccount/index.vue
View file @
b24cda5d
<
template
>
<
template
>
<div
class=
"app-container group-container"
>
<div
class=
"app-container group-container"
>
<Header
:company-id=
"companyId"
:companyInfo=
"companyInfo"
:cooDetail=
"cooDetail"
v-if=
"companyId"
:isCompany=
"isCompany"
/>
<div
class=
"header-container"
>
<div
class=
"flex-box part-header"
>
<img
class=
"header-logo"
:src=
"require('@/assets/images/detail/company_logo.png')"
>
{{
name
||
'--'
}}
</div>
</div>
<div
class=
"flex-box group-main"
>
<div
class=
"flex-box group-main"
>
<div
class=
"group-left"
>
<div
class=
"group-left"
>
<side-bar
ref=
"sidebar"
@
currentPath=
"showPartPage"
:pathName=
"currentPath.pathName"
:
partBoxHeight=
"partBoxHeight"
:
customerId=
"customerId"
/>
<side-bar
ref=
"sidebar"
@
currentPath=
"showPartPage"
:pathName=
"currentPath.pathName"
:customerId=
"customerId"
/>
</div>
</div>
<div
class=
"group-right"
>
<div
class=
"group-right"
>
<div
id=
"groupBox"
v-if=
"c
ompany
Id"
>
<div
id=
"groupBox"
v-if=
"c
ustomer
Id"
>
<Members
v-if=
"currentPath.pathName=='members'"
:company-id=
"companyId"
:isSkeleton=
"isSkeleton"
:companyInfo=
"companyInfo"
/>
<Members
v-if=
"currentPath.pathName=='members'"
:company-id=
"companyId"
:isSkeleton=
"isSkeleton"
:companyInfo=
"companyInfo"
/>
<Qualifications
v-if=
"currentPath.pathName=='qualifications'"
:company-id=
"companyId"
:isSkeleton=
"isSkeleton"
:companyInfo=
"companyInfo"
/>
<Qualifications
v-if=
"currentPath.pathName=='qualifications'"
:company-id=
"companyId"
:isSkeleton=
"isSkeleton"
:companyInfo=
"companyInfo"
/>
<Performance
v-if=
"currentPath.pathName=='performance'"
:company-id=
"companyId"
:isSkeleton=
"isSkeleton"
:companyInfo=
"companyInfo"
/>
<Performance
v-if=
"currentPath.pathName=='performance'"
:company-id=
"companyId"
:isSkeleton=
"isSkeleton"
:companyInfo=
"companyInfo"
/>
...
@@ -18,7 +23,6 @@
...
@@ -18,7 +23,6 @@
<
script
>
<
script
>
import
{
idRemark
}
from
'@/api/common'
import
{
idRemark
}
from
'@/api/common'
import
Header
from
"../party-a/component/Header"
import
SideBar
from
"./component/Sidebar"
import
SideBar
from
"./component/Sidebar"
import
Members
from
"./component/members"
import
Members
from
"./component/members"
import
Qualifications
from
"./component/qualifications"
import
Qualifications
from
"./component/qualifications"
...
@@ -28,29 +32,31 @@
...
@@ -28,29 +32,31 @@
export
default
{
export
default
{
name
:
'GroupAccount'
,
name
:
'GroupAccount'
,
components
:{
components
:{
Header
,
SideBar
,
Members
,
Qualifications
,
Performance
SideBar
,
Members
,
Qualifications
,
Performance
},
},
data
(){
data
(){
return
{
return
{
companyId
:
''
,
//企业Id(测试默认3068)
companyId
:
'
3068
'
,
//企业Id(测试默认3068)
customerId
:
''
,
//企业Id(测试默认'a00d582a6041f32c16aac804e4924736')
customerId
:
''
,
//企业Id(测试默认'a00d582a6041f32c16aac804e4924736')
companyInfo
:
{},
companyInfo
:
{},
cooDetail
:
{},
cooDetail
:
{},
currentPath
:
{
currentPath
:
{
pathName
:
'members'
//默认展示页
pathName
:
'members'
//默认展示页
},
},
partBoxHeight
:
null
,
isCompany
:
false
,
isCompany
:
false
,
isSkeleton
:
false
,
name
:
''
}
}
},
},
created
()
{
created
()
{
if
(
this
.
$route
.
params
.
id
)
{
// 获取companyId
if
(
this
.
$route
.
params
.
id
)
{
// customerId
let
companyId
=
this
.
$route
.
params
.
id
this
.
customerId
=
this
.
$route
.
params
.
id
this
.
getCompanyId
(
companyId
)
}
if
(
this
.
$route
.
query
.
path
)
{
// 获取跳转对应板块
this
.
currentPath
.
pathName
=
this
.
$route
.
query
.
path
}
}
// if (this.$route.query.path) { // 获取跳转对应板块
// this.currentPath.pathName = this.$route.query.path
// }
// this.$route.query.name=''
this
.
name
=
this
.
$route
.
query
.
name
?
this
.
$route
.
query
.
name
:
'中建集团'
},
},
mounted
(){
mounted
(){
},
},
...
@@ -58,36 +64,6 @@
...
@@ -58,36 +64,6 @@
showPartPage
(
e
){
showPartPage
(
e
){
this
.
currentPath
=
e
this
.
currentPath
=
e
},
},
// 解密
async
getCompanyId
(
companyId
){
let
{
data
}
=
await
idRemark
({
mark
:
companyId
})
if
(
data
){
this
.
companyId
=
data
this
.
$nextTick
(()
=>
{
this
.
listenSider
()
})
this
.
handleQuery
();
}
},
async
handleQuery
()
{
this
.
isSkeleton
=
true
;
let
res
=
await
infoHeader
({
companyId
:
this
.
companyId
})
if
(
res
.
code
==
200
){
this
.
isSkeleton
=
false
;
this
.
companyInfo
=
res
.
data
||
{}
// if(this.companyInfo && this.companyInfo.companyName){
// this.$nextTick(()=>{
// document.getElementById('tagTitle').innerText = this.companyInfo.companyName
// })
// }
}
},
listenSider
(){
const
_this
=
this
,
erd
=
elementResizeDetectorMaker
(),
partBox
=
document
.
getElementById
(
"groupBox"
)
erd
.
listenTo
(
partBox
,
element
=>
{
_this
.
partBoxHeight
=
partBox
.
offsetHeight
})
},
}
}
}
}
</
script
>
</
script
>
...
@@ -109,4 +85,18 @@
...
@@ -109,4 +85,18 @@
background
:
#FFFFFF
;
background
:
#FFFFFF
;
border-radius
:
4px
;
border-radius
:
4px
;
}
}
.part-header
{
font-size
:
16px
;
font-weight
:
bold
;
color
:
#232323
;
background
:
#FFFFFF
;
padding
:
14px
16px
;
margin-top
:
12px
;
border-radius
:
4px
;
.header-logo
{
width
:
28px
;
height
:
28px
;
margin-right
:
16px
;
}
}
</
style
>
</
style
>
dsk-operate-ui/src/views/detail/party-a/component/CustomMoneySelect.vue
View file @
b24cda5d
...
@@ -12,8 +12,27 @@
...
@@ -12,8 +12,27 @@
<div
class=
"arrow"
></div>
<div
class=
"arrow"
></div>
<div
@
click=
"handleClick(option)"
:class=
"['option', value==option?'active':'']"
:key=
"i"
v-for=
"(option, i) in options"
>
<div
@
click=
"handleClick(option)"
:class=
"['option', value==option?'active':'']"
:key=
"i"
v-for=
"(option, i) in options"
>
<
template
v-if=
"option == '自定义'"
>
<
template
v-if=
"option == '自定义'"
>
<div
class=
"number-box"
>
<!--
<div
class=
"number-box"
>
-->
<input
type=
"number"
v-model=
"startMoney"
class=
"number-input"
clearable
>
至
<input
v-model=
"endMoney"
class=
"number-input"
type=
"text"
clearable
>
万元
<el-button
@
click
.
stop=
"handleConfirm"
class=
"number-button"
type=
"primary"
>
确定
</el-button>
<!--
<input
type=
"number"
v-model=
"startMoney"
class=
"number-input"
clearable
>
至
<input
v-model=
"endMoney"
class=
"number-input"
type=
"text"
clearable
>
万元
<el-button
@
click
.
stop=
"handleConfirm"
class=
"number-button"
type=
"primary"
>
确定
</el-button>
-->
<!--
</div>
-->
<div
style=
"position: relative"
>
自定义
<div
class=
"popper_box"
style=
"position: absolute"
v-if=
"value === '自定义'"
>
<div
class=
"popper_wrap"
>
从
<el-input
class=
"popper_input"
type=
"number"
clearable
v-model=
"startMoney"
></el-input>
万
</div>
<div
class=
"popper_wrap"
>
到
<el-input
class=
"popper_input"
type=
"number"
clearable
v-model=
"endMoney"
></el-input>
万
</div>
<div
style=
""
>
<el-button
size=
"mini"
@
click
.
stop=
"cancellation"
>
取消
</el-button>
<el-button
type=
"primary"
size=
"mini"
@
click
.
stop=
"handleConfirm"
>
确定
</el-button>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
...
@@ -88,11 +107,11 @@ export default {
...
@@ -88,11 +107,11 @@ export default {
// const flag = document.getElementById('custom-money-select').contains(e.target)
// const flag = document.getElementById('custom-money-select').contains(e.target)
!
flag
?
this
.
isSelectOption
=
false
:
''
!
flag
?
this
.
isSelectOption
=
false
:
''
if
(
this
.
value
==
'自定义'
&&
!
this
.
startMoney
&&
!
this
.
endMoney
)
{
//
if(this.value == '自定义' && !this.startMoney && !this.endMoney) {
this
.
value
=
''
//
this.value = ''
this
.
$emit
(
'input'
,
''
)
//
this.$emit('input', '')
this
.
$emit
(
'handle-search'
)
//
this.$emit('handle-search')
}
//
}
},
true
)
},
true
)
},
},
// 清除
// 清除
...
@@ -120,33 +139,42 @@ export default {
...
@@ -120,33 +139,42 @@ export default {
this
.
value
=
value
this
.
value
=
value
let
moneyStr
=
''
let
moneyStr
=
''
if
(
value
==
'自定义'
)
{
if
(
value
==
'自定义'
)
{
this
.
value
=
'自定义'
this
.
value
=
'自定义'
;
}
else
{
}
else
{
this
.
startMoney
=
''
this
.
startMoney
=
''
this
.
endMoney
=
''
this
.
endMoney
=
''
this
.
isSelectOption
=
false
this
.
isSelectOption
=
false
switch
(
value
)
{
switch
(
value
)
{
case
'10亿以上'
:
moneyStr
=
[
100000
]
break
;
case
'一亿以上'
:
case
'一亿以上'
:
moneyStr
=
[
10000
]
moneyStr
=
[
10000
]
break
;
break
;
case
'1亿-10亿'
:
moneyStr
=
[
10000
,
100000
]
break
;
case
'1亿-5亿'
:
moneyStr
=
[
10000
,
50000
]
break
;
case
'5000万-1亿'
:
case
'5000万-1亿'
:
moneyStr
=
[
5000
,
10000
]
moneyStr
=
[
5000
,
10000
]
break
;
break
;
case
'1000万-5000万'
:
case
'1000万-5000万'
:
moneyStr
=
[
1000
,
5000
]
moneyStr
=
[
1000
,
5000
]
break
;
break
;
case
'10亿以上'
:
moneyStr
=
[
100000
]
break
;
case
'1亿-10亿'
:
moneyStr
=
[
10000
,
100000
]
break
;
case
'2000万-1亿'
:
case
'2000万-1亿'
:
moneyStr
=
[
2000
,
10000
]
moneyStr
=
[
2000
,
10000
]
break
;
break
;
case
'400万-2000万'
:
case
'400万-2000万'
:
moneyStr
=
[
400
,
2000
]
moneyStr
=
[
400
,
2000
]
break
;
break
;
case
'5000万以下'
:
moneyStr
=
[,
5000
]
break
;
case
'1000万以下'
:
moneyStr
=
[,
1000
]
break
;
case
'400万以下'
:
case
'400万以下'
:
moneyStr
=
[,
400
]
moneyStr
=
[,
400
]
break
;
break
;
...
@@ -158,6 +186,13 @@ export default {
...
@@ -158,6 +186,13 @@ export default {
this
.
$emit
(
'handle-search'
)
this
.
$emit
(
'handle-search'
)
}
}
},
},
// 自定义取消
cancellation
(){
this
.
isSelectOption
=
false
this
.
value
=
''
this
.
$emit
(
'input'
,
''
)
this
.
$emit
(
'handle-search'
)
},
// 自定义确认点击后的回调
// 自定义确认点击后的回调
handleConfirm
()
{
handleConfirm
()
{
this
.
isSelectOption
=
false
this
.
isSelectOption
=
false
...
@@ -271,7 +306,7 @@ export default {
...
@@ -271,7 +306,7 @@ export default {
.option
{
.option
{
padding
:
0
24px
0
16px
;
padding
:
0
24px
0
16px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
width
:
40
0px
;
width
:
14
0px
;
height
:
36px
;
height
:
36px
;
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
...
@@ -294,8 +329,6 @@ export default {
...
@@ -294,8 +329,6 @@ export default {
overflow
:
hidden
;
overflow
:
hidden
;
white-space
:
nowrap
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
width
:
206px
;
border
:
1px
solid
#DCDCDC
;
border-radius
:
2px
;
border-radius
:
2px
;
&
:
:-
webkit-outer-spin-button
,
&
:
:-
webkit-outer-spin-button
,
...
@@ -360,5 +393,47 @@ export default {
...
@@ -360,5 +393,47 @@ export default {
line-height
:
30px
;
line-height
:
30px
;
margin-left
:
10px
;
margin-left
:
10px
;
}
}
.popper_box
{
position
:
absolute
;
left
:
128px
;
bottom
:
-15px
;
background
:
#ffffff
;
width
:
186px
;
color
:
#606266
;
text-indent
:
0
;
padding
:
16px
;
padding-top
:
0px
;
border
:
1px
solid
#e0e0e0
;
.popper_wrap
{
margin-top
:
16px
;
display
:
inline-block
;
.popper_input
{
width
:
100px
;
display
:
inline-block
;
margin
:
0px
8px
;
line-height
:
34px
;
}
.el-input__inner
{
width
:
100px
;
}
}
input
:
:-
webkit-outer-spin-button
,
input
::-
webkit-inner-spin-button
{
-webkit-appearance
:
none
!
important
;
}
input
[
type
=
'number'
]
{
-moz-appearance
:
textfield
;
}
}
.popper_box
div
:last-child
{
display
:
flex
;
justify-content
:
center
;
margin-top
:
16px
;
}
}
}
</
style
>
</
style
>
dsk-operate-ui/src/views/detail/party-a/component/CustomTimeSelect.vue
View file @
b24cda5d
...
@@ -57,6 +57,10 @@ export default {
...
@@ -57,6 +57,10 @@ export default {
dateTo
:
{
dateTo
:
{
type
:
String
,
type
:
String
,
default
:
''
default
:
''
},
timeList
:
{
type
:
Array
,
default
:
()
=>
[],
}
}
},
},
computed
:
{
computed
:
{
...
@@ -103,6 +107,9 @@ export default {
...
@@ -103,6 +107,9 @@ export default {
this
.
defaultValue
=
new
Date
(
this
.
dateTo
)
this
.
defaultValue
=
new
Date
(
this
.
dateTo
)
}
}
this
.
handleAppClick
()
this
.
handleAppClick
()
if
(
this
.
timeList
&&
this
.
timeList
.
length
>
0
){
this
.
options
=
this
.
timeList
}
},
},
methods
:
{
methods
:
{
// 时间格式化
// 时间格式化
...
@@ -159,6 +166,18 @@ export default {
...
@@ -159,6 +166,18 @@ export default {
let
startTime
=
''
let
startTime
=
''
let
endTime
=
new
Date
()
let
endTime
=
new
Date
()
switch
(
value
)
{
switch
(
value
)
{
case
'近三天'
:
startTime
=
new
Date
(
endTime
.
getTime
()
-
3600
*
1000
*
24
*
3
)
timeStr
=
[
this
.
formatDate
(
startTime
),
this
.
formatDate
(
endTime
)]
break
;
case
'近七天'
:
startTime
=
new
Date
(
endTime
.
getTime
()
-
3600
*
1000
*
24
*
7
)
timeStr
=
[
this
.
formatDate
(
startTime
),
this
.
formatDate
(
endTime
)]
break
;
case
'近半月'
:
startTime
=
new
Date
(
endTime
.
getTime
()
-
3600
*
1000
*
24
*
15
)
timeStr
=
[
this
.
formatDate
(
startTime
),
this
.
formatDate
(
endTime
)]
break
;
case
'近1年'
:
case
'近1年'
:
startTime
=
new
Date
().
setFullYear
(
new
Date
().
getFullYear
()
-
1
)
startTime
=
new
Date
().
setFullYear
(
new
Date
().
getFullYear
()
-
1
)
if
(
this
.
dateTo
){
if
(
this
.
dateTo
){
...
@@ -309,7 +328,7 @@ export default {
...
@@ -309,7 +328,7 @@ export default {
.el-picker-panel.el-date-range-picker.el-popper
{
.el-picker-panel.el-date-range-picker.el-popper
{
left
:
0
!
important
;
left
:
0
!
important
;
top
:
205px
!
important
;
/*top: 205px !important;*/
}
}
.popper__arrow
{
.popper__arrow
{
...
...
dsk-operate-ui/src/views/detail/party-a/component/HeadForm.vue
View file @
b24cda5d
...
@@ -51,12 +51,13 @@
...
@@ -51,12 +51,13 @@
style=
"max-width: 170px"
style=
"max-width: 170px"
:placeholder=
"form.placeholder"
:placeholder=
"form.placeholder"
@
change=
"changeSelect"
>
@
change=
"changeSelect"
>
<el-option
v-for=
"(item, index) in form.options"
:key=
"index"
:label=
"item.name"
:value=
"item.value"
/>
<el-option
v-for=
"(item, index) in form.options"
:key=
"index"
:label=
"item.name"
:value=
"item.value"
:disabled=
"item.disabled"
/>
</el-select>
</el-select>
</
template
>
</
template
>
<!-- 时间、自定义 -->
<!-- 时间、自定义 -->
<
template
v-else-if=
"form.type==5"
>
<
template
v-else-if=
"form.type==5"
>
<custom-time-select
<custom-time-select
:timeList=
"form.timeList"
v-model=
"form.value"
v-model=
"form.value"
:placeholder=
"form.placeholder"
:placeholder=
"form.placeholder"
:dateFrom=
"form.dateFrom ? form.dateFrom : ''"
:dateFrom=
"form.dateFrom ? form.dateFrom : ''"
...
@@ -81,7 +82,6 @@
...
@@ -81,7 +82,6 @@
@
change=
"changeSelect"
@
change=
"changeSelect"
:placeholder=
"form.placeholder"
:placeholder=
"form.placeholder"
collapse-tags
collapse-tags
style=
"margin-top: -1px;"
clearable
></el-cascader>
clearable
></el-cascader>
</
template
>
</
template
>
<!-- 自定义 -->
<!-- 自定义 -->
...
@@ -145,7 +145,7 @@ export default {
...
@@ -145,7 +145,7 @@ export default {
}
}
},
},
created
()
{
created
()
{
console
.
log
(
this
.
formData
)
},
},
components
:
{
components
:
{
CustomTimeSelect
,
CustomTimeSelect
,
...
@@ -176,22 +176,22 @@ export default {
...
@@ -176,22 +176,22 @@ export default {
}
}
::v-deep
.el-input__inner
{
::v-deep
.el-input__inner
{
border
:
1px
solid
#D9D9D9
;
border
:
1px
solid
#D9D9D9
;
height
:
3
2
px
;
height
:
3
4
px
;
line-height
:
3
2
px
;
line-height
:
3
4
px
;
padding-right
:
27px
;
padding-right
:
27px
;
}
}
::v-deep
.el-form-item
{
::v-deep
.el-form-item
{
margin-right
:
8px
!
important
;
margin-right
:
8px
!
important
;
}
}
::v-deep
.el-input--medium
.el-input__icon
{
::v-deep
.el-input--medium
.el-input__icon
{
line-height
:
3
2
px
;
line-height
:
3
4
px
;
}
}
::v-deep
.el-cascader
{
::v-deep
.el-cascader
{
height
:
3
2
px
;
height
:
3
4
px
;
line-height
:
3
2
px
;
line-height
:
3
4
px
;
.el-input
{
.el-input
{
input
{
input
{
height
:
3
2
px
!
important
;
height
:
3
4
px
!
important
;
}
}
}
}
.el-cascader__tags
{
.el-cascader__tags
{
...
...
dsk-operate-ui/src/views/detail/party-a/component/Sidebar.vue
View file @
b24cda5d
...
@@ -147,7 +147,6 @@ export default {
...
@@ -147,7 +147,6 @@ export default {
},
},
created
()
{
created
()
{
this
.
defaultRoute
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
sideRoute
))
this
.
defaultRoute
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
sideRoute
))
},
},
watch
:{
watch
:{
statisticObj
:{
statisticObj
:{
...
...
dsk-operate-ui/src/views/detail/party-a/urbanLnvestment/sameRegion.vue
View file @
b24cda5d
...
@@ -288,7 +288,6 @@ export default {
...
@@ -288,7 +288,6 @@ export default {
this
.
uipGroupDatalist
=
res
.
data
this
.
uipGroupDatalist
=
res
.
data
})
})
},
},
changeXZDJ
(
index
)
{
changeXZDJ
(
index
)
{
this
.
queryParams
.
uipExecutiveLevel
=
index
;
this
.
queryParams
.
uipExecutiveLevel
=
index
;
this
.
changes
()
this
.
changes
()
...
...
dsk-operate-ui/src/views/macro/economies/component/regionalEconomy.vue
View file @
b24cda5d
...
@@ -717,6 +717,9 @@ export default {
...
@@ -717,6 +717,9 @@ export default {
// province:this.dataQuery.province,
// province:this.dataQuery.province,
// }
// }
// })
// })
console
.
log
(
this
.
dataQuery
.
provinceId
)
console
.
log
(
this
.
dataQuery
.
province
)
// return
this
.
$router
.
push
({
name
:
'Urban'
,
this
.
$router
.
push
({
name
:
'Urban'
,
params
:
{
params
:
{
provinceId
:
this
.
dataQuery
.
provinceId
,
provinceId
:
this
.
dataQuery
.
provinceId
,
...
...
dsk-operate-ui/src/views/macro/enterprises/index.vue
View file @
b24cda5d
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
element-loading-text=
"Loading"
element-loading-text=
"Loading"
border
border
fit
fit
height=
"640"
max-
height=
"640"
@
sort-change=
"sortChange"
@
sort-change=
"sortChange"
highlight-current-row
highlight-current-row
v-if=
"tableDataTotal > 0 && !isSkeleton"
v-if=
"tableDataTotal > 0 && !isSkeleton"
...
...
dsk-operate-ui/src/views/macro/nationalEconomies/component/jzqyfx.vue
View file @
b24cda5d
...
@@ -587,6 +587,13 @@
...
@@ -587,6 +587,13 @@
},
},
itemStyle
:{
itemStyle
:{
color
:
"#FFAB44"
,
color
:
"#FFAB44"
,
normal
:
{
label
:
{
show
:
true
},
color
:
"#FFAB44"
,
lineStyle
:
{
color
:
"#FFAB44"
}
}
},
},
//设置面积区域为渐变效果
//设置面积区域为渐变效果
areaStyle
:
{
areaStyle
:
{
...
...
dsk-operate-ui/src/views/macro/nationalEconomies/component/qgjjdq.vue
View file @
b24cda5d
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
element-loading-text=
"Loading"
element-loading-text=
"Loading"
@
sort-change=
"sortChange"
@
sort-change=
"sortChange"
border
border
height=
"640"
max-
height=
"640"
highlight-current-row
highlight-current-row
v-if=
"tableDataTotal > 0 && !isSkeleton"
v-if=
"tableDataTotal > 0 && !isSkeleton"
:default-sort =
"
{prop: 'gdp', order: 'descending'}"
:default-sort =
"
{prop: 'gdp', order: 'descending'}"
...
...
dsk-operate-ui/src/views/macro/nationalEconomies/index.vue
View file @
b24cda5d
...
@@ -28,7 +28,7 @@ export default {
...
@@ -28,7 +28,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
activeName
:
'
third
'
activeName
:
'
first
'
}
}
},
},
created
()
{
created
()
{
...
...
dsk-operate-ui/src/views/macro/urban/index.vue
View file @
b24cda5d
...
@@ -153,7 +153,7 @@
...
@@ -153,7 +153,7 @@
element-loading-text=
"Loading"
element-loading-text=
"Loading"
@
sort-change=
"sortChange"
@
sort-change=
"sortChange"
border
border
height=
"640"
max-
height=
"640"
fit
fit
highlight-current-row
highlight-current-row
>
>
...
@@ -162,8 +162,8 @@
...
@@ -162,8 +162,8 @@
</el-table-column>
</el-table-column>
<el-table-column
prop=
"companyName"
label=
"公司名称"
width=
"300"
fixed
>
<el-table-column
prop=
"companyName"
label=
"公司名称"
width=
"300"
fixed
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<
router-link
:to=
"`/groupAccount/$
{encodeStr(scope.row.companyId)}`" tag="a" class="a-link companyName" v-html="scope.row.companyName" >
</router-link
>
<
!--
<router-link
:to=
"`/groupAccount/$
{encodeStr(scope.row.companyId)}`" tag="a" class="a-link companyName" v-html="scope.row.companyName" >
</router-link>
--
>
<
!--
<router-link
:to=
"`/enterprise/$
{encodeStr(scope.row.companyId)}`" tag="a" class="a-link companyName" v-html="scope.row.companyName" >
</router-link>
--
>
<
router-link
:to=
"`/enterprise/$
{encodeStr(scope.row.companyId)}`" tag="a" class="a-link companyName" v-html="scope.row.companyName" >
</router-link
>
<span
@
click=
"handleClick(scope.row)"
class=
"table-span"
style=
"color: #3D3D3D;cursor: pointer;"
v-if=
"scope.row.claimStatus === null || scope.row.claimStatus === 1"
><img
src=
"@/assets/images/urban/rl_icon1.png"
/>
认领
</span>
<span
@
click=
"handleClick(scope.row)"
class=
"table-span"
style=
"color: #3D3D3D;cursor: pointer;"
v-if=
"scope.row.claimStatus === null || scope.row.claimStatus === 1"
><img
src=
"@/assets/images/urban/rl_icon1.png"
/>
认领
</span>
<span
@
click=
"cancelClaim(scope.row.companyName)"
class=
"table-span"
style=
"color: rgba(35,35,35,0.4);cursor: pointer;"
v-if=
"scope.row.claimStatus === 0"
><img
src=
"@/assets/images/urban/rl_icon2.png"
/>
已认领
</span>
<span
@
click=
"cancelClaim(scope.row.companyName)"
class=
"table-span"
style=
"color: rgba(35,35,35,0.4);cursor: pointer;"
v-if=
"scope.row.claimStatus === 0"
><img
src=
"@/assets/images/urban/rl_icon2.png"
/>
已认领
</span>
</
template
>
</
template
>
...
@@ -250,7 +250,7 @@
...
@@ -250,7 +250,7 @@
<el-dialog
:visible
.
sync=
"claimVisible"
width=
"244"
custom-class=
'dialog-claim'
:show-close=
"false"
>
<el-dialog
:visible
.
sync=
"claimVisible"
width=
"244"
custom-class=
'dialog-claim'
:show-close=
"false"
>
<div>
认领成功,是否完善客户信息?
</div>
<div>
认领成功,是否完善客户信息?
</div>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"
innerVisible = tru
e"
>
<el-button
@
click=
"
claimVisible = fals
e"
>
<router-link
:to=
"`/enterprise/${encodeStr(companyId)}?customerId=${customerId}&path=business`"
tag=
"a"
>
<router-link
:to=
"`/enterprise/${encodeStr(companyId)}?customerId=${customerId}&path=business`"
tag=
"a"
>
立即完善
立即完善
</router-link>
</router-link>
...
@@ -365,7 +365,10 @@ export default {
...
@@ -365,7 +365,10 @@ export default {
created
()
{
created
()
{
this
.
dataRegion
()
this
.
dataRegion
()
this
.
getType
()
this
.
getType
()
this
.
dataQuery
=
this
.
$route
.
query
;
this
.
dataQuery
=
this
.
$route
.
params
;
// console.log(this.dataQuery)
// console.log(this.$route.query)
// console.log(this.$route.params)
if
(
this
.
dataQuery
.
provinceId
){
if
(
this
.
dataQuery
.
provinceId
){
if
(
Array
.
isArray
(
this
.
dataQuery
.
province
)){
if
(
Array
.
isArray
(
this
.
dataQuery
.
province
)){
this
.
province
=
this
.
dataQuery
.
province
[
0
];
this
.
province
=
this
.
dataQuery
.
province
[
0
];
...
...
dsk-operate-ui/vue.config.js
View file @
b24cda5d
...
@@ -37,7 +37,7 @@ module.exports = {
...
@@ -37,7 +37,7 @@ module.exports = {
target
:
`http://47.104.91.229:9099/prod-api`
,
target
:
`http://47.104.91.229:9099/prod-api`
,
// target: `http://122.9.160.122:9011`,
// target: `http://122.9.160.122:9011`,
// target: `http://192.168.60.126:9011`,
// target: `http://192.168.60.126:9011`,
// target: `http://192.168.60.
27:8766
`,
// target: `http://192.168.60.
126:9098
`,
changeOrigin
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
[
'^'
+
process
.
env
.
VUE_APP_BASE_API
]:
''
[
'^'
+
process
.
env
.
VUE_APP_BASE_API
]:
''
...
...
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