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
3a8b6932
Commit
3a8b6932
authored
Dec 10, 2024
by
袁家斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change
parent
2d50cef1
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
3 deletions
+27
-3
DialogApiDataTable.vue
src/components/common/DialogApiDataTable.vue
+1
-1
AreaProjectDetail.vue
src/views/DataStatis/Dialogs/AreaProjectDetail.vue
+19
-1
ZLJC.vue
src/views/DataStatis/Dialogs/GCZLDialog/ZLJC.vue
+1
-1
Index.vue
src/views/DataStatis/Index.vue
+6
-0
No files found.
src/components/common/DialogApiDataTable.vue
View file @
3a8b6932
...
...
@@ -48,7 +48,7 @@
class=
"table-pagination"
:current-page=
"currentPage"
:page-size=
"pageSize"
:page-sizes=
"[10, 20, 30, 40, 50]"
:page-sizes=
"[10, 20, 30, 40, 50
, 100
]"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"total"
@
size-change=
"handleSizeChange"
...
...
src/views/DataStatis/Dialogs/AreaProjectDetail.vue
View file @
3a8b6932
...
...
@@ -195,7 +195,11 @@
:label=
"column.label"
align=
"center"
:prop=
"column.key"
></el-table-column>
>
<
template
slot-scope=
"scope"
>
<span
:class=
"
{'red' : isRed(scope.row[column.key])}">
{{
scope
.
row
[
column
.
key
]
}}
</span>
</
template
>
</el-table-column>
</el-table>
<div
class=
"inner-title"
>
...
...
@@ -372,6 +376,17 @@ export default {
},
},
methods
:
{
isRed
(
str
){
if
(
str
)
{
let
num
=
str
.
indexOf
(
'%'
)
if
(
num
>=
0
)
{
let
str1
=
str
.
substring
(
0
,
num
)
*
1
return
str1
>
0
}
}
else
{
return
false
}
},
changeVisible
(
val
)
{
this
.
dialogVisible
=
val
;
},
...
...
@@ -630,4 +645,7 @@ export default {
line-height: 0.4rem;
vertical-align: top;
}
.red{
color: rgb(248, 98, 98);
}
</
style
>
\ No newline at end of file
src/views/DataStatis/Dialogs/GCZLDialog/ZLJC.vue
View file @
3a8b6932
...
...
@@ -58,7 +58,7 @@ export default {
},
tabnamenow
:{
type
:
String
,
default
:
''
default
:
'
ZLPD
'
}
},
data
()
{
...
...
src/views/DataStatis/Index.vue
View file @
3a8b6932
...
...
@@ -1160,6 +1160,12 @@ export default {
id
:
data
.
project_id
,
};
if
(
data
.
type
==
5
||
data
.
type
==
7
||
data
.
type
==
4
)
{
this
.
tabNameDialog
=
"ZLPD"
this
.
tabListDialog
=
[
{
name
:
"ZLPD"
,
label
:
"质量评定"
},
{
name
:
"ZLJC"
,
label
:
"质量检测"
},
];
this
.
GCZLDialogTitle
=
'工程质量详情'
this
.
GCZLVisible
=
true
;
if
(
data
.
type
==
4
)
{
this
.
$eventBus
.
$emit
(
"switchTabGC"
,
"ZLJC"
);
...
...
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