Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Y
yishuju-ui
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
何远江
yishuju-ui
Commits
a197a352
Commit
a197a352
authored
Apr 18, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
案件分派汇总
parent
f2326c99
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
16 deletions
+49
-16
ActiveUser.vue
src/views/home/components/ActiveUser.vue
+10
-1
index.vue
src/views/property/analy-table/index.vue
+39
-15
No files found.
src/views/home/components/ActiveUser.vue
View file @
a197a352
<
template
>
<
template
>
<!-- 未来30天访问量趋势预测图 -->
<!-- 未来30天访问量趋势预测图 -->
<div
class=
"region"
style=
"margin-right: 10px; width: calc(50% - 10px)"
>
<div
class=
"region"
style=
"margin-right: 10px; width: calc(50% - 10px)"
>
<div
class=
"echarts"
>
<div
class=
"card-header"
>
<div
class=
"title flex justify-between w-full"
>
<h4
class=
"box-title"
>
近12个月回款金额
</h4>
</div>
</div>
<div
class=
"echarts"
style=
"height: calc(100% - 30px);"
>
<ECharts
:option=
"option"
:resize=
"false"
/>
<ECharts
:option=
"option"
:resize=
"false"
/>
</div>
</div>
</div>
</div>
...
@@ -130,9 +135,13 @@
...
@@ -130,9 +135,13 @@
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.card-header
{
padding
:
0
18px
!
important
;
}
.echarts
{
.echarts
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
padding-left
:
5px
;
:deep
(
.line-chart-bg
)
{
:deep
(
.line-chart-bg
)
{
box-sizing
:
border-box
;
box-sizing
:
border-box
;
display
:
flex
;
display
:
flex
;
...
...
src/views/property/analy-table/index.vue
View file @
a197a352
...
@@ -34,6 +34,7 @@
...
@@ -34,6 +34,7 @@
import
{
inject
,
nextTick
}
from
'vue'
;
import
{
inject
,
nextTick
}
from
'vue'
;
import
{
computed
}
from
'vue'
;
import
{
computed
}
from
'vue'
;
import
{
ElMessageBox
,
ElMessage
,
ElButton
,
ElTag
}
from
'element-plus'
;
import
{
ElMessageBox
,
ElMessage
,
ElButton
,
ElTag
}
from
'element-plus'
;
import
{
getdepartmentTree
}
from
'@/api/departmentManage'
;
import
{
onMounted
}
from
'vue'
;
import
{
onMounted
}
from
'vue'
;
import
{
getAppEnvConfig
}
from
'@/utils/env'
;
import
{
getAppEnvConfig
}
from
'@/utils/env'
;
import
{
getCollectorStatsVo
,
getCollectorNoDistributeStatsVo
,
getCollectorProvinceStatsVo
}
from
'@/api/analy'
;
import
{
getCollectorStatsVo
,
getCollectorNoDistributeStatsVo
,
getCollectorProvinceStatsVo
}
from
'@/api/analy'
;
...
@@ -51,7 +52,9 @@
...
@@ -51,7 +52,9 @@
);
);
const
envs
=
getAppEnvConfig
();
const
envs
=
getAppEnvConfig
();
const
{
userInfo
}
=
useUserStore
();
const
{
userInfo
}
=
useUserStore
();
const
departlist
=
ref
([]);
const
userStore
=
useUserStore
();
console
.
log
(
'userStore'
,
userStore
)
import
{
reactive
,
ref
}
from
'vue'
;
import
{
reactive
,
ref
}
from
'vue'
;
const
downloadfile
=
inject
(
'download'
);
const
downloadfile
=
inject
(
'download'
);
...
@@ -149,21 +152,37 @@
...
@@ -149,21 +152,37 @@
firstLoad
.
value
=
false
firstLoad
.
value
=
false
if
(
activeName
.
value
===
'催员持案汇总'
)
{
if
(
activeName
.
value
===
'催员持案汇总'
)
{
config
[
'columns'
]
=
[{
config
[
'columns'
]
=
[{
title
:
'催员姓名'
,
title
:
'催员姓名'
,
field
:
'collectorName'
,
field
:
'collectorName'
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
width
:
120
,
width
:
120
,
search
:
{
el
:
'input'
,
props
:
{
clearable
:
true
},
key
:
'cpeName'
,
labelWidth
:
105
},
search
:
{
el
:
'input'
,
props
:
{
clearable
:
true
},
key
:
'cpeName'
,
labelWidth
:
105
},
},
{
showOverflow
:
'tooltip'
,
field
:
'tenantName'
,
enum
:
()
=>
getTenantPage
({
current
:
1
,
size
:
999999999
,
status
:
'enable'
}),
search
:
{
el
:
'select'
,
props
:
{
filterable
:
true
},
key
:
'tenant'
,
labelWidth
:
105
},
fieldNames
:
{
label
:
'name'
,
value
:
'id'
},
title
:
'调解中心'
,
width
:
120
,
}]
}]
if
(
userStore
.
userInfo
?.
roles
&&
userStore
.
userInfo
?.
roles
.
find
(
i
=>
i
.
roleCode
===
'admin'
))
{
config
[
'columns'
].
push
({
showOverflow
:
'tooltip'
,
field
:
'tenantName'
,
enum
:
()
=>
getTenantPage
({
current
:
1
,
size
:
999999999
,
status
:
'enable'
}),
search
:
{
el
:
'select'
,
props
:
{
filterable
:
true
},
key
:
'tenant'
,
labelWidth
:
105
},
fieldNames
:
{
label
:
'name'
,
value
:
'id'
},
title
:
'调解中心'
,
width
:
120
,
})
}
else
if
(
userStore
.
userInfo
?.
roles
&&
userStore
.
userInfo
?.
roles
.
find
(
i
=>
i
.
roleCode
===
'tenantAdmin'
))
{
config
[
'columns'
].
push
({
field
:
'departmentName'
,
title
:
'部门'
,
width
:
160
,
enum
:
departlist
,
fieldNames
:
{
label
:
'name'
,
value
:
'id'
},
search
:
{
el
:
'tree-select'
,
props
:
{
filterable
:
true
,
checkStrictly
:
true
},
labelWidth
:
85
,
key
:
'departmentId'
,
}
})
}
}
else
if
(
activeName
.
value
===
'未分派案件汇总'
)
{
}
else
if
(
activeName
.
value
===
'未分派案件汇总'
)
{
config
[
'columns'
]
=
[{
config
[
'columns'
]
=
[{
title
:
'委案类型'
,
title
:
'委案类型'
,
...
@@ -189,6 +208,11 @@
...
@@ -189,6 +208,11 @@
onMounted
(()
=>
{
onMounted
(()
=>
{
query
();
query
();
getdepartmentTree
().
then
((
res
)
=>
{
if
(
res
.
success
)
{
departlist
.
value
=
res
.
result
;
}
});
});
});
</
script
>
</
script
>
\ No newline at end of file
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