Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_vue
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
胡宝山
template_vue
Commits
df7e6560
Commit
df7e6560
authored
Mar 08, 2024
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整预览图片初始大小
parent
077a11bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
136 additions
and
82 deletions
+136
-82
checkList.vue
src/views/checkList.vue
+136
-82
No files found.
src/views/checkList.vue
View file @
df7e6560
...
...
@@ -136,6 +136,9 @@
@
click=
"clearForm(index)"
/>
</div>
<div
class=
"contentDiv"
>
</div>
<div
class=
"Value"
>
<TextToolTip
:text=
"item.differenceValue"
:max-length=
"8"
:disabled-show=
"false"
/></div>
...
...
@@ -189,34 +192,35 @@
<!-- 下方列表-->
<div
class=
"recordOneContent"
>
<div
v-for=
"(item,index) in recode2"
:key=
"index"
:class=
"index === 0? 'oneContent': 'Content'"
>
<div
class=
"number"
>
{{
index
+
11
}}
</div>
<div
class=
"recordData"
>
<el-input
v-model=
"item.recordData"
:maxlength=
"7"
:disabled=
"controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1'
<div
class=
"oneDiv"
>
<div
class=
"number"
>
{{
index
+
11
}}
</div>
<div
class=
"recordData"
>
<el-input
v-model=
"item.recordData"
:maxlength=
"7"
:disabled=
"controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1'
|| (controlsForm.controls == '3' && controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
@
input=
"handleData2Input(index)"
/>
@
input=
"handleData2Input(index)"
/>
<i
v-show=
"!(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1'||
<i
v-show=
"!(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1'||
(controlsForm.controls == '3' && controlsForm.approveStatus === '1') ||
(controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' ))"
class=
"el-icon-circle-close"
style=
"color: #5cbce5"
@
click=
"clearInspectionFormTwo(index)"
/>
</div>
<div
class=
"Value"
>
<TextToolTip
:text=
"item.differenceValue"
:max-length=
"8"
:disabled-show=
"false"
/></div>
<div
class=
"averageValue"
>
<TextToolTip
:text=
"item.differenceValue1"
:max-length=
"8"
:disabled-show=
"false"
/>
</div>
<div
class=
"compareValue"
>
<TextToolTip
:text=
"item.differenceValue2"
:max-length=
"8"
:disabled-show=
"false"
/>
class=
"el-icon-circle-close"
style=
"color: #5cbce5"
@
click=
"clearInspectionFormTwo(index)"
/>
</div>
</div>
<div
class=
"Value"
>
<TextToolTip
:text=
"item.differenceValue"
:max-length=
"8"
:disabled-show=
"false"
/></div>
<div
class=
"averageValue"
>
<TextToolTip
:text=
"item.differenceValue1"
:max-length=
"8"
:disabled-show=
"false"
/>
</div>
<div
class=
"compareValue"
>
<TextToolTip
:text=
"item.differenceValue2"
:max-length=
"8"
:disabled-show=
"false"
/>
</div>
</div>
</div>
...
...
@@ -2811,38 +2815,76 @@ export default {
display
:
flex
;
margin-top
:
16px
;
padding-bottom
:
16px
;
.oneDiv
{
width
:
25%
;
display
:
flex
;
.number
{
width
:
9px
;
font-size
:
14px
;
font-family
:
Microsoft
YaHei
,
Microsoft
YaHei-400
;
font-weight
:
400
;
color
:
#606266
;
display
:
flex
;
align-items
:
center
;
}
.compareValue
{
margin-left
:
25%
;
.recordData
{
display
:
flex
;
width
:
80%
;
margin-left
:
11%
;
.el-icon-circle-close
{
display
:
flex
;
align-items
:
center
;
margin-left
:
10px
;
cursor
:
pointer
;
}
}
}
.Value
{
//margin-left: 20px;
//margin-top: 8px;
width
:
25%
;
display
:
flex
;
justify-content
:
center
;
padding-right
:
3%
;
height
:
18px
;
font-size
:
14px
;
font-family
:
Microsoft
YaHei
,
Microsoft
YaHei-400
;
font-weight
:
400
;
color
:
#606266
;
text-align
:
LEFT
;
color
:
#0057ff
;
//margin-left: 5%;
margin-top
:
-3%
;
}
.averageValue
{
//margin-left: 12%;
font-family
:
Microsoft
YaHei
,
Microsoft
YaHei-400
;
font-weight
:
400
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
padding-right
:
11%
;
font-size
:
14px
;
text-align
:
LEFT
;
color
:
#0057ff
;
width
:
25%
;
margin-top
:
-3%
;
}
.
number
{
width
:
9px
;
.
compareValue
{
//margin-left: 25%
;
font-size
:
14px
;
font-family
:
Microsoft
YaHei
,
Microsoft
YaHei-400
;
font-weight
:
400
;
color
:
#606266
;
display
:
flex
;
padding-left
:
2%
;
justify-content
:
center
;
align-items
:
center
;
}
.recordData
{
display
:
flex
;
margin-left
:
3%
;
width
:
25%
;
.el-icon-circle-close
{
display
:
flex
;
align-items
:
center
;
margin-left
:
10px
;
cursor
:
pointer
;
}
}
}
.Content
{
...
...
@@ -2850,69 +2892,81 @@ export default {
margin-top
:
16px
;
padding-bottom
:
16px
;
//justify-content: center;
.number
{
width
:
9px
;
font-size
:
14px
;
font-family
:
Microsoft
YaHei
,
Microsoft
YaHei-400
;
font-weight
:
400
;
color
:
#606266
;
display
:
flex
;
align-items
:
center
;
}
.recordData
{
//margin-left: 4%;
//margin-right: 2%;
.oneDiv
{
width
:
25%
;
margin-left
:
3%
;
height
:
32px
;
border-radius
:
4px
;
display
:
flex
;
.el-icon-circle-close
{
.number
{
width
:
9px
;
font-size
:
14px
;
font-family
:
Microsoft
YaHei
,
Microsoft
YaHei-400
;
font-weight
:
400
;
color
:
#606266
;
display
:
flex
;
align-items
:
center
;
margin-left
:
10px
;
cursor
:
pointer
;
}
.recordData
{
//margin-left: 4%;
//margin-right: 2%;
width
:
80%
;
margin-left
:
11%
;
height
:
32px
;
border-radius
:
4px
;
display
:
flex
;
.el-icon-circle-close
{
display
:
flex
;
align-items
:
center
;
margin-left
:
10px
;
cursor
:
pointer
;
}
}
}
.Value
{
//margin-left: 20px;
//margin-top: 8px;
width
:
64px
;
width
:
25%
;
display
:
flex
;
justify-content
:
center
;
padding-right
:
3%
;
height
:
18px
;
font-size
:
14px
;
font-family
:
Microsoft
YaHei
,
Microsoft
YaHei-400
;
font-weight
:
400
;
text-align
:
LEFT
;
color
:
#0057ff
;
margin-left
:
5%
;
//
margin-left: 5%;
margin-top
:
-3%
;
}
}
.averageValue
{
margin-left
:
12%
;
font-family
:
Microsoft
YaHei
,
Microsoft
YaHei-400
;
font-weight
:
400
;
font-size
:
14px
;
text-align
:
LEFT
;
color
:
#0057ff
;
width
:
64px
;
margin-top
:
-3%
;
.averageValue
{
//margin-left: 12%;
font-family
:
Microsoft
YaHei
,
Microsoft
YaHei-400
;
font-weight
:
400
;
display
:
flex
;
justify-content
:
center
;
padding-right
:
11%
;
font-size
:
14px
;
text-align
:
LEFT
;
color
:
#0057ff
;
width
:
25%
;
margin-top
:
-3%
;
}
}
.compareValue
{
font-size
:
14px
;
font-family
:
Microsoft
YaHei
,
Microsoft
YaHei-400
;
font-weight
:
400
;
color
:
#606266
;
margin-left
:
11%
;
display
:
flex
;
align-items
:
center
;
.compareValue
{
width
:
25%
;
font-size
:
14px
;
font-family
:
Microsoft
YaHei
,
Microsoft
YaHei-400
;
font-weight
:
400
;
padding-right
:
19
.2%
;
color
:
#606266
;
//margin-left: 11%;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
}
}
}
...
...
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