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
7f90e627
Commit
7f90e627
authored
Dec 06, 2024
by
张牧越
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
33f8370f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
8 deletions
+27
-8
dataStatis.js
src/api/dataStatis.js
+1
-3
AreaProjectDetail.vue
src/views/DataStatis/Dialogs/AreaProjectDetail.vue
+25
-4
Index.vue
src/views/DataStatis/Index.vue
+1
-1
No files found.
src/api/dataStatis.js
View file @
7f90e627
...
@@ -171,11 +171,9 @@ export async function getZLJCList(id) {
...
@@ -171,11 +171,9 @@ export async function getZLJCList(id) {
// 获取区域详情接口
// 获取区域详情接口
export
async
function
getAreaDetail
(
projectId
)
{
export
async
function
getAreaDetail
(
projectId
)
{
return
await
request
({
return
await
request
({
url
:
`/site/index/whole/
${
86
}
`
,
url
:
`/site/index/whole/
${
projectId
}
`
,
method
:
'get'
,
method
:
'get'
,
})
})
}
}
...
...
src/views/DataStatis/Dialogs/AreaProjectDetail.vue
View file @
7f90e627
...
@@ -85,8 +85,12 @@
...
@@ -85,8 +85,12 @@
</div>
</div>
</div>
</div>
<div
class=
"score-detail"
>
<div
class=
"score-detail"
>
<!-- -->
<el-table
<el-table
border
class=
"dialog-data-table"
:data=
"question_info"
>
border
class=
"dialog-data-table"
:data=
"question_info"
@
row-click=
"showQuestion"
>
<el-table-column
<el-table-column
label=
"问题总数"
label=
"问题总数"
align=
"center"
align=
"center"
...
@@ -308,12 +312,20 @@
...
@@ -308,12 +312,20 @@
</el-table>
</el-table>
</div>
</div>
</div>
</div>
<ZFJGDialog
:data=
"currentRowData"
:visible=
"ZFJGVisible"
@
change-visible=
"(val) => (ZFJGVisible = val)"
></ZFJGDialog>
</Dialog>
</Dialog>
</template>
</template>
<
script
>
<
script
>
import
{
getAreaDetail
}
from
"@/api/dataStatis"
;
import
{
getAreaDetail
}
from
"@/api/dataStatis"
;
import
ZFJGDialog
from
"./ZFJGDialog.vue"
;
export
default
{
export
default
{
name
:
"AreaProjectDetail"
,
name
:
"AreaProjectDetail"
,
components
:
{
ZFJGDialog
},
props
:
{
props
:
{
data
:
{
data
:
{
type
:
Object
,
type
:
Object
,
...
@@ -345,6 +357,8 @@ export default {
...
@@ -345,6 +357,8 @@ export default {
columns
:
[],
columns
:
[],
allData
:
[],
allData
:
[],
check_info
:
[],
check_info
:
[],
ZFJGVisible
:
false
,
currentRowData
:
{},
};
};
},
},
computed
:
{
computed
:
{
...
@@ -493,9 +507,16 @@ export default {
...
@@ -493,9 +507,16 @@ export default {
key
:
`unqualified_percent
${
item
.
key
}
`
,
key
:
`unqualified_percent
${
item
.
key
}
`
,
});
});
});
});
console
.
log
(
this
.
columns
);
this
.
columns
=
[...
this
.
columns
];
this
.
columns
=
[...
this
.
columns
];
console
.
log
(
arr
,
"arr"
);
},
showQuestion
()
{
this
.
currentRowData
=
{
id
:
this
.
data
.
id
,
regulation_score
:
this
.
project_info
.
regulation_score
,
project_name
:
this
.
project_info
.
project_name
,
};
this
.
ZFJGVisible
=
true
;
},
},
},
},
mounted
()
{},
mounted
()
{},
...
...
src/views/DataStatis/Index.vue
View file @
7f90e627
...
@@ -244,7 +244,7 @@
...
@@ -244,7 +244,7 @@
@
change-visible=
"(val) => (areaDialogVisible = val)"
@
change-visible=
"(val) => (areaDialogVisible = val)"
></AreaProjectDetail>
></AreaProjectDetail>
<div
class=
"bottom-area"
>
<div
class=
"bottom-area"
>
<Section2
title=
"
严重问题
预警"
class=
"bottom-section"
>
<Section2
title=
"
工程
预警"
class=
"bottom-section"
>
<STable2
<STable2
:headers=
"header5"
:headers=
"header5"
:table-data=
"data5"
:table-data=
"data5"
...
...
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