Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
900ae288
Commit
900ae288
authored
Jun 12, 2023
by
“yiyousong”
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.scsmile.cn/zxf/smart_gov_platform
parents
ff94eb3d
8a3923ce
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17695 additions
and
5745 deletions
+17695
-5745
portal-manager-ui/admin/package-lock.json
portal-manager-ui/admin/package-lock.json
+11721
-30
portal-manager-ui/admin/src/api/dataActuary.js
portal-manager-ui/admin/src/api/dataActuary.js
+5
-1
portal-manager-ui/admin/src/views/dataActuary/business/analysiscontent/index.vue
.../src/views/dataActuary/business/analysiscontent/index.vue
+3
-3
portal-manager-ui/admin/src/views/dataActuary/business/index.vue
...manager-ui/admin/src/views/dataActuary/business/index.vue
+54
-44
portal-manager-ui/admin/src/views/dataActuary/business/index_bak.vue
...ger-ui/admin/src/views/dataActuary/business/index_bak.vue
+169
-0
portal-manager-ui/admin/yarn.lock
portal-manager-ui/admin/yarn.lock
+5743
-5667
No files found.
portal-manager-ui/admin/package-lock.json
View file @
900ae288
This diff is collapsed.
Click to expand it.
portal-manager-ui/admin/src/api/dataActuary.js
View file @
900ae288
...
@@ -60,4 +60,8 @@ export function productLlist(params) {
...
@@ -60,4 +60,8 @@ export function productLlist(params) {
// 热力图对应的页面
// 热力图对应的页面
export
function
pageLlist
(
params
)
{
export
function
pageLlist
(
params
)
{
return
http
.
post
(
`
${
baseURL
}
/zwfw/page/info/list`
,
params
);
return
http
.
post
(
`
${
baseURL
}
/zwfw/page/info/list`
,
params
);
}
}
\ No newline at end of file
// 通过业务名查询列表
export
function
userSiteBus
(
params
)
{
return
http
.
get
(
`
${
BASEURL
}
/inter/statistic/busIdForName`
,
params
);
}
portal-manager-ui/admin/src/views/dataActuary/business/analysiscontent/index.vue
View file @
900ae288
...
@@ -98,7 +98,7 @@ import {getBusInfoById} from '@/api/dataActuary.js'
...
@@ -98,7 +98,7 @@ import {getBusInfoById} from '@/api/dataActuary.js'
],
],
lineData
:
{},
lineData
:
{},
useNumber
:
'
0
'
,
useNumber
:
'
0
'
,
check
Name
:
''
,
check
Id
:
''
,
formState
:
{},
formState
:
{},
testWay
:[]
testWay
:[]
}
}
...
@@ -110,14 +110,14 @@ import {getBusInfoById} from '@/api/dataActuary.js'
...
@@ -110,14 +110,14 @@ import {getBusInfoById} from '@/api/dataActuary.js'
'
$route.query
'
:
{
'
$route.query
'
:
{
immediate
:
true
,
immediate
:
true
,
handler
(
newVal
,
oldVal
){
handler
(
newVal
,
oldVal
){
this
.
check
Name
=
newVal
.
name
this
.
check
Id
=
newVal
.
id
this
.
getAnalysisData
()
this
.
getAnalysisData
()
}
}
}
}
},
},
methods
:
{
methods
:
{
async
getAnalysisData
()
{
async
getAnalysisData
()
{
const
res
=
await
getBusInfoById
({
bus
_name
:
this
.
checkName
,
selected
:
this
.
useNumber
||
0
})
const
res
=
await
getBusInfoById
({
bus
id
:
this
.
checkId
,
siteid
:
localStorage
.
getItem
(
'
siteId
'
)
})
if
(
res
.
code
==
1
){
if
(
res
.
code
==
1
){
if
(
res
.
data
.
phone
)
this
.
testWay
.
push
(
'
手机号
'
)
if
(
res
.
data
.
phone
)
this
.
testWay
.
push
(
'
手机号
'
)
if
(
res
.
data
.
idcardtake
)
this
.
testWay
.
push
(
'
身份证
'
)
if
(
res
.
data
.
idcardtake
)
this
.
testWay
.
push
(
'
身份证
'
)
...
...
portal-manager-ui/admin/src/views/dataActuary/business/index.vue
View file @
900ae288
<
template
>
<
template
>
<div
class=
"Container"
>
<div
class=
"Container"
>
<div
class=
"main"
>
<div
class=
"main"
>
<div
class=
"first_card"
>
<div
class=
"first_card"
>
<div
class=
"breadMenu"
>
<div
class=
"breadMenu"
>
<Breadcrumb/>
<Breadcrumb/>
</div>
<div
class=
"searchBox"
>
<a-auto-complete
v-model=
"businessName"
:data-source=
"dataSource"
optionLabelProp=
"value"
style=
"width: 35.625rem"
placeholder=
"请输入业务名称搜索"
@
select=
"onSelect"
@
search=
"onSearch"
/>
<a-button
type=
"primary"
class=
"addclass"
v-if=
"!btnShow"
@
click=
"startAnalysis"
>
开始分析
</a-button>
<a-button
type=
"primary"
class=
"addclass"
v-else
@
click=
"backBase"
>
返回
</a-button>
</div>
</div>
</div>
<div
class=
"searchBox"
>
<div
class=
"content_view"
>
<a-auto-complete
<router-view
keep-alive
/>
v-model=
"businessName"
:data-source=
"dataSource"
optionLabelProp=
"value"
style=
"width: 35.625rem"
placeholder=
"请输入业务名称搜索"
@
select=
"onSelect"
@
search=
"onSearch"
/>
<a-button
type=
"primary"
class=
"addclass"
@
click=
"startAnalysis"
>
开始分析
</a-button>
<a-button
type=
"primary"
class=
"addclass"
v-if=
"btnShow"
@
click=
"backBase"
>
返回
</a-button>
</div>
</div>
</div>
</div>
<div
class=
"content_view"
>
<router-view
/>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
_
from
'
lodash
'
;
import
_
from
'
lodash
'
import
axios
from
'
axios
'
;
import
axios
from
'
axios
'
import
Breadcrumb
from
"
./breadcrumb/index.vue
"
;
import
Breadcrumb
from
"
./breadcrumb/index.vue
"
;
import
{
userSiteBus
}
from
'
@/api/dataActuary
'
export
default
{
export
default
{
components
:{
components
:{
Breadcrumb
Breadcrumb
},
},
...
@@ -39,21 +39,29 @@
...
@@ -39,21 +39,29 @@
// 搜索框
// 搜索框
businessName
:
''
,
businessName
:
''
,
dataSource
:
[],
dataSource
:
[],
sourceList
:[],
dataList
:
[],
dataList
:
[],
btnShow
:
false
,
btnShow
:
false
,
}
}
},
},
mounted
()
{
mounted
()
{
this
.
getList
()
this
.
getList
()
},
},
methods
:{
created
(){
startAnalysis
()
{
},
computed
:{
},
methods
:{
startAnalysis
()
{
if
(
!
this
.
businessName
){
if
(
!
this
.
businessName
){
this
.
$message
.
error
(
'
请输入业务名称搜索
'
)
this
.
$message
.
error
(
'
请输入业务名称搜索
'
)
}
else
{
}
else
{
this
.
$router
.
push
({
path
:
'
analysiscontent
'
,
query
:{
name
:
this
.
businessName
}})
let
item
=
this
.
sourceList
.
filter
(
i
=>
{
return
i
.
name
==
this
.
businessName
})[
0
]
this
.
btnShow
=
true
if
(
item
){
this
.
$router
.
push
({
path
:
'
analysiscontent
'
,
query
:{
id
:
item
.
id
}})
this
.
btnShow
=
true
}
}
}
},
},
backBase
()
{
backBase
()
{
...
@@ -72,20 +80,24 @@
...
@@ -72,20 +80,24 @@
},
},
onSearch
:
_
.
debounce
(
function
(
val
){
onSearch
:
_
.
debounce
(
function
(
val
){
this
.
dataSource
=
[]
this
.
dataSource
=
[]
this
.
dataList
.
forEach
(
item
=>
{
userSiteBus
({
siteid
:
localStorage
.
getItem
(
'
siteId
'
),
bus_name
:
val
}).
then
(
res
=>
{
if
(
item
.
indexOf
(
val
)
!==
-
1
){
if
(
res
.
code
==
1
)
{
this
.
dataSource
.
push
(
item
)
this
.
sourceList
=
res
.
data
;
res
.
data
.
forEach
(
r
=>
{
this
.
dataSource
.
push
(
r
.
name
);
});
}
}
})
})
},
100
0
),
},
0
),
onSelect
(
val
){
onSelect
(
val
){
this
.
businessName
=
val
this
.
businessName
=
val
}
}
}
},
}
}
</
script
>
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
@headerH: 4.5rem;
@headerH: 4.5rem;
.Container {
.Container {
height: 100% !important;
height: 100% !important;
...
@@ -159,6 +171,4 @@
...
@@ -159,6 +171,4 @@
.content_view{
.content_view{
padding: 0 5rem;
padding: 0 5rem;
}
}
</
style
>
</
style
>
\ No newline at end of file
portal-manager-ui/admin/src/views/dataActuary/business/index_bak.vue
0 → 100644
View file @
900ae288
<
template
>
<div
class=
"Container"
>
<div
class=
"main"
>
<div
class=
"first_card"
>
<div
class=
"breadMenu"
>
<Breadcrumb/>
</div>
<div
class=
"searchBox"
>
<!--
<a-auto-complete
v-model=
"businessName"
:data-source=
"dataSource"
optionLabelProp=
"value"
style=
"width: 35.625rem"
placeholder=
"请输入业务名称搜索"
@
select=
"onSelect"
@
search=
"onSearch"
/>
-->
<!--
<a-select
show-search
placeholder=
"请输入业务名称搜索"
style=
"width: 35.625rem"
:default-active-first-option=
"false"
:show-arrow=
"false"
:filter-option=
"false"
allowClear
:not-found-content=
"null"
:options=
"peopleArr"
@
search=
"peopelListFn"
@
change=
"handleChange"
>
</a-select>
-->
<a-button
type=
"primary"
class=
"addclass"
v-if=
"!btnShow"
@
click=
"startAnalysis"
>
开始分析
</a-button>
<a-button
type=
"primary"
class=
"addclass"
v-else
@
click=
"backBase"
>
返回
</a-button>
</div>
</div>
<div
class=
"content_view"
>
<router-view
keep-alive
/>
</div>
</div>
</div>
</
template
>
<
script
>
import
_
from
'
lodash
'
;
import
axios
from
'
axios
'
;
import
Breadcrumb
from
"
./breadcrumb/index.vue
"
;
export
default
{
components
:{
Breadcrumb
},
data
()
{
return
{
// 搜索框
businessName
:
''
,
dataSource
:
[],
dataList
:
[],
btnShow
:
false
,
}
},
mounted
()
{
this
.
getList
()
},
methods
:{
startAnalysis
()
{
if
(
!
this
.
businessName
){
this
.
$message
.
error
(
'
请输入业务名称搜索
'
)
}
else
{
this
.
$router
.
push
({
path
:
'
analysiscontent
'
,
query
:{
name
:
this
.
businessName
}})
this
.
btnShow
=
true
}
},
backBase
()
{
this
.
$router
.
push
({
path
:
'
basecontent
'
})
this
.
btnShow
=
false
this
.
businessName
=
''
},
async
getList
(){
await
axios
.
get
(
'
http://192.168.0.98:8090/inter/statistic/busList
'
,{
params
:
{
siteid
:
1
}}).
then
((
res
)
=>
{
if
(
res
&&
res
.
status
==
200
){
res
.
data
.
data
.
forEach
(
item
=>
{
this
.
dataList
.
push
(
item
.
name
)
})
}
})
},
onSearch
:
_
.
debounce
(
function
(
val
){
this
.
dataSource
=
[]
this
.
dataList
.
forEach
(
item
=>
{
if
(
item
.
indexOf
(
val
)
!==
-
1
){
this
.
dataSource
.
push
(
item
)
}
})
},
1000
),
onSelect
(
val
){
this
.
businessName
=
val
}
}
}
</
script
>
<
style
lang=
"less"
scoped
>
@headerH: 4.5rem;
.Container {
height: 100% !important;
// background: #fac;
background: #f5f5f5;
display: flex;
flex-direction: column;
.main {
// background: #afc;
border-radius: 6px;
flex: 1;
overflow-y: auto;
overflow-x: hidden;
}
&::before {
content: "";
display: block;
width: 100%;
height: @headerH;
background: rgb(59, 135, 255);
background: -moz-linear-gradient(
174deg,
rgba(59, 135, 255, 1) 24%,
rgba(108, 53, 247, 1) 85%
);
background: -webkit-linear-gradient(
174deg,
rgba(59, 135, 255, 1) 24%,
rgba(108, 53, 247, 1) 85%
);
background: linear-gradient(
174deg,
rgba(59, 135, 255, 1) 24%,
rgba(108, 53, 247, 1) 85%
);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3b87ff",endColorstr="#6c35f7",GradientType=1);
}
/deep/.ant-tabs-nav {
.ant-tabs-tab {
margin: 0 !important;
}
}
/deep/.ant-tabs-tab {
font-size: 14px !important;
& + .ant-tabs-tab {
margin: 0 !important;
margin-left: 0.7rem !important;
}
}
/deep/.ant-tabs-bar{
margin: 0;
}
}
.first_card{
background: #FFF;
margin-bottom: .9375rem;
}
.breadMenu{
height: 2.8125rem;
line-height: 2.8125rem;
padding: 0 5rem;
border-bottom: 1px solid rgba(226, 226, 226, 1);
}
.searchBox{
height: 6.25rem;
display: flex;
justify-content: center;
align-items: center;
}
.content_view{
padding: 0 5rem;
}
</
style
>
\ No newline at end of file
portal-manager-ui/admin/yarn.lock
View file @
900ae288
This diff is collapsed.
Click to expand it.
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