Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Q
quality-dynamic
Project
Project
Details
Activity
Releases
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
张牧越
quality-dynamic
Commits
b319eaca
Commit
b319eaca
authored
Dec 04, 2024
by
张牧越
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
底部接口添加
parent
b632451c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
10 deletions
+19
-10
dataStatis.js
src/api/dataStatis.js
+9
-1
DialogApiDataTable.vue
src/components/common/DialogApiDataTable.vue
+0
-1
Index.vue
src/views/DataStatis/Index.vue
+10
-8
No files found.
src/api/dataStatis.js
View file @
b319eaca
...
...
@@ -95,4 +95,12 @@ export async function getProjectList(params, noloading) {
params
,
noloading
:
noloading
,
})
}
\ No newline at end of file
}
// 获取严重问题列表
export
async
function
getImportantQuestion
()
{
return
await
request
({
url
:
`/site/index/getLevel`
,
method
:
'get'
,
})
}
src/components/common/DialogApiDataTable.vue
View file @
b319eaca
...
...
@@ -155,6 +155,5 @@ export default {
display
:
flex
;
flex-direction
:
column
;
height
:
100%
;
flex-grow
:
1
;
}
</
style
>
\ No newline at end of file
src/views/DataStatis/Index.vue
View file @
b319eaca
...
...
@@ -196,6 +196,7 @@ import {
getScoreByCity
,
getScoreStatusByCity
,
getProjectList
,
getImportantQuestion
,
}
from
"@/api/dataStatis"
;
import
{
mapState
}
from
"vuex"
;
...
...
@@ -466,32 +467,30 @@ export default {
{
name
:
"工程名称"
,
props
:
"project_name"
,
width
:
"45%"
,
headerStyle
:
{},
style
:
{},
width
:
"55%"
,
align
:
"left"
,
},
{
name
:
"所属区域"
,
props
:
"
pr
name"
,
width
:
"
2
0%"
,
props
:
"
city_
name"
,
width
:
"
1
0%"
,
headerStyle
:
{},
style
:
{},
align
:
"left"
,
},
{
name
:
"当前问题总数"
,
props
:
"
zfjg
"
,
props
:
"
question_total
"
,
width
:
"10%"
,
},
{
name
:
"严重问题数量"
,
props
:
"
zlglzd
"
,
props
:
"
level_count
"
,
width
:
"10%"
,
},
{
name
:
"最近严重预警时间"
,
props
:
"
zzzg
"
,
props
:
"
update_time
"
,
width
:
"15%"
,
},
],
...
...
@@ -554,6 +553,9 @@ export default {
this
.
data2
=
res
.
data
.
data
;
this
.
data3
=
res
.
data
.
data
;
});
getImportantQuestion
().
then
((
res
)
=>
{
this
.
data5
=
res
.
data
;
});
// getYearQuestion().then((res) => {
// this.data1 = res.data;
// });
...
...
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