Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NLT-e-cigarette
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
张伯涛
NLT-e-cigarette
Commits
a02c11ac
Commit
a02c11ac
authored
Jun 30, 2022
by
zhuangxinwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
按钮颜色修改
parent
a87c2b05
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
87 additions
and
52 deletions
+87
-52
element-ui.scss
src/styles/element-ui.scss
+1
-1
element-variables.scss
src/styles/element-variables.scss
+1
-0
variables.scss
src/styles/variables.scss
+5
-2
badDefinition.vue
src/views/productionInfo/badDefinition.vue
+0
-1
repairRecord.vue
src/views/repair/repairRecord.vue
+79
-47
index.vue
src/views/system/synchronization/index.vue
+1
-1
No files found.
src/styles/element-ui.scss
View file @
a02c11ac
...
@@ -426,7 +426,7 @@ label {
...
@@ -426,7 +426,7 @@ label {
color
:
$color-theme
;
color
:
$color-theme
;
}
}
&
.success
{
&
.success
{
color
:
$color-
green
;
color
:
$color-
success
;
}
}
&
.danger
{
&
.danger
{
color
:
$color-red
;
color
:
$color-red
;
...
...
src/styles/element-variables.scss
View file @
a02c11ac
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
$--color-primary
:
$color-theme
;
$--color-primary
:
$color-theme
;
$--color-warning
:
$color-orange
;
$--color-warning
:
$color-orange
;
$--color-danger
:
$color-red
;
$--color-danger
:
$color-red
;
$--color-success
:
$color-success
;
//$--color-info: $color-theme;
//$--color-info: $color-theme;
/* 改变 icon 字体路径变量,必需 */
/* 改变 icon 字体路径变量,必需 */
...
...
src/styles/variables.scss
View file @
a02c11ac
// 主题色
// 主题色
$color-theme
:
#
46BCF3
;
$color-theme
:
#
0A82D2
;
$color-red
:
#
F57b7b
;
$color-red
:
#
D20A10
;
$color-purple
:
#ff33a9
;
$color-purple
:
#ff33a9
;
$color-orange
:
#f4ac10
;
$color-orange
:
#f4ac10
;
$color-blue
:
#409EFF
;
$color-blue
:
#409EFF
;
$color-success
:
#2BAC1C
;
// 我的单据背景色 考勤统计
// 我的单据背景色 考勤统计
$color-cambridge-blue
:
#29a2db
;
$color-cambridge-blue
:
#29a2db
;
// 我的单据背景色 考勤统计
// 我的单据背景色 考勤统计
...
...
src/views/productionInfo/badDefinition.vue
View file @
a02c11ac
...
@@ -708,7 +708,6 @@ export default {
...
@@ -708,7 +708,6 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.bad_definition
{
.bad_definition
{
font-size
:
18px
;
.placeholder
{
.placeholder
{
height
:
14px
;
height
:
14px
;
background-color
:
#F4F4F4
background-color
:
#F4F4F4
...
...
src/views/repair/repairRecord.vue
View file @
a02c11ac
<!--维修工单-->
<!--维修工单-->
<
template
>
<
template
>
<div
class=
"
bad_definition
"
>
<div
class=
"
repair_record
"
>
<div
class=
"
bad
Search"
style=
"border-bottom: 14px solid #f4f4f4"
>
<div
class=
"
rep
Search"
style=
"border-bottom: 14px solid #f4f4f4"
>
<el-form
ref=
"queryForm"
style=
"padding: 0 0 0 10px"
class=
"formClass"
:model=
"queryParams"
:inline=
"true"
label-width=
"auto"
>
<el-form
ref=
"queryForm"
style=
"padding: 0 0 0 10px"
class=
"formClass"
:model=
"queryParams"
:inline=
"true"
label-width=
"auto"
>
<el-form-item
label=
"维修单号"
prop=
"repairNo"
>
<el-form-item
label=
"维修单号"
prop=
"repairNo"
>
<div
slot=
"label"
class=
"labelClass"
>
<div
slot=
"label"
class=
"labelClass"
>
...
@@ -155,7 +155,7 @@
...
@@ -155,7 +155,7 @@
/>
/>
</el-col>
</el-col>
</el-row>
</el-row>
<el-dialog
:close-on-click-modal=
"false"
class=
"
bad
Dialog"
title=
"维修工单详情"
:visible
.
sync=
"openBad"
width=
"70%"
append-to-body
>
<el-dialog
:close-on-click-modal=
"false"
class=
"
rep
Dialog"
title=
"维修工单详情"
:visible
.
sync=
"openBad"
width=
"70%"
append-to-body
>
<el-form
v-loading=
"openLoading"
:model=
"form"
label-width=
"auto"
class=
"formClass"
>
<el-form
v-loading=
"openLoading"
:model=
"form"
label-width=
"auto"
class=
"formClass"
>
<el-row>
<el-row>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
...
@@ -164,8 +164,8 @@
...
@@ -164,8 +164,8 @@
<div
class=
"labelName"
>
维修单号
</div>
<div
class=
"labelName"
>
维修单号
</div>
<div
class=
"labelName"
>
Repair No.
</div>
<div
class=
"labelName"
>
Repair No.
</div>
</div>
</div>
<!-- <el-input v-model="form.repairNo" :disabled="true"></el-input>--
>
<el-input
v-model=
"form.repairNo"
:disabled=
"true"
/
>
<div
style=
"background-color: #E9E9E9"
>
{{ form.repairNo || '-' }}
</div
>
<!-- <div style="background-color: #E9E9E9">{{ form.repairNo || '-' }}</div>--
>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
...
@@ -174,7 +174,8 @@
...
@@ -174,7 +174,8 @@
<div
class=
"labelName"
>
状态
</div>
<div
class=
"labelName"
>
状态
</div>
<div
class=
"labelName"
>
Status
</div>
<div
class=
"labelName"
>
Status
</div>
</div>
</div>
<div
style=
"background-color: #E9E9E9"
>
{{ getFlag(form.flag) || '-' }}
</div>
<el-input
v-model=
"form.flag"
:disabled=
"true"
/>
<!-- <div style="background-color: #E9E9E9">{{ getFlag(form.flag) || '-' }}</div>-->
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
...
@@ -183,7 +184,8 @@
...
@@ -183,7 +184,8 @@
<div
class=
"labelName"
>
报修时间
</div>
<div
class=
"labelName"
>
报修时间
</div>
<div
class=
"labelName"
>
Create Date
</div>
<div
class=
"labelName"
>
Create Date
</div>
</div>
</div>
<div
style=
"background-color: #E9E9E9"
>
{{ form.createDate || '-' }}
</div>
<el-input
v-model=
"form.createDate"
:disabled=
"true"
/>
<!-- <div style="background-color: #E9E9E9">{{ form.createDate || '-' }}</div>-->
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -194,7 +196,8 @@
...
@@ -194,7 +196,8 @@
<div
class=
"labelName"
>
报修工号
</div>
<div
class=
"labelName"
>
报修工号
</div>
<div
class=
"labelName"
>
B/N
</div>
<div
class=
"labelName"
>
B/N
</div>
</div>
</div>
<div
style=
"background-color: #E9E9E9"
>
{{ form.maintainCode || '-' }}
</div>
<el-input
v-model=
"form.maintainCode"
:disabled=
"true"
/>
<!-- <div style="background-color: #E9E9E9">{{ form.maintainCode || '-' }}</div>-->
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
...
@@ -203,7 +206,8 @@
...
@@ -203,7 +206,8 @@
<div
class=
"labelName"
>
报修工站
</div>
<div
class=
"labelName"
>
报修工站
</div>
<div
class=
"labelName"
>
Position
</div>
<div
class=
"labelName"
>
Position
</div>
</div>
</div>
<div
style=
"background-color: #E9E9E9"
>
{{ form.stationName || '-' }}
</div>
<el-input
v-model=
"form.stationName"
:disabled=
"true"
/>
<!-- <div style="background-color: #E9E9E9">{{ form.stationName || '-' }}</div>-->
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
...
@@ -212,7 +216,8 @@
...
@@ -212,7 +216,8 @@
<div
class=
"labelName"
>
SN编码
</div>
<div
class=
"labelName"
>
SN编码
</div>
<div
class=
"labelName"
>
SN
</div>
<div
class=
"labelName"
>
SN
</div>
</div>
</div>
<div
style=
"background-color: #E9E9E9"
>
{{ form.sn || '-' }}
</div>
<el-input
v-model=
"form.sn"
:disabled=
"true"
/>
<!-- <div style="background-color: #E9E9E9">{{ form.sn || '-' }}</div>-->
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -223,7 +228,8 @@
...
@@ -223,7 +228,8 @@
<div
class=
"labelName"
>
不良类型
</div>
<div
class=
"labelName"
>
不良类型
</div>
<div
class=
"labelName"
>
Code
</div>
<div
class=
"labelName"
>
Code
</div>
</div>
</div>
<div
style=
"background-color: #E9E9E9"
>
{{ form.rejectType || '-' }} {{ form.rejectLabel }}
</div>
<el-input
v-model=
"form.rejectType"
:title=
"form.rejectType"
:disabled=
"true"
/>
<!-- <div style="background-color: #E9E9E9">{{ form.rejectType || '-' }} {{ form.rejectLabel }}</div>-->
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
...
@@ -232,7 +238,8 @@
...
@@ -232,7 +238,8 @@
<div
class=
"labelName"
>
不良描述
</div>
<div
class=
"labelName"
>
不良描述
</div>
<div
class=
"labelName"
>
Reject Description
</div>
<div
class=
"labelName"
>
Reject Description
</div>
</div>
</div>
<div
style=
"background-color: #E9E9E9"
>
{{ form.rejectDescription || '-' }}
</div>
<el-input
v-model=
"form.rejectDescription"
:title=
"form.rejectDescription"
:disabled=
"true"
/>
<!-- <div style="background-color: #E9E9E9">{{ form.rejectDescription || '-' }}</div>-->
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
...
@@ -241,7 +248,8 @@
...
@@ -241,7 +248,8 @@
<div
class=
"labelName"
>
维修时间
</div>
<div
class=
"labelName"
>
维修时间
</div>
<div
class=
"labelName"
>
Repair Time
</div>
<div
class=
"labelName"
>
Repair Time
</div>
</div>
</div>
<div
style=
"background-color: #E9E9E9"
>
{{ form.repairDate || '-' }}
</div>
<el-input
v-model=
"form.repairDate"
:disabled=
"true"
/>
<!-- <div style="background-color: #E9E9E9">{{ form.repairDate || '-' }}</div>-->
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -252,7 +260,8 @@
...
@@ -252,7 +260,8 @@
<div
class=
"labelName"
>
维修工号
</div>
<div
class=
"labelName"
>
维修工号
</div>
<div
class=
"labelName"
>
Repair B/N
</div>
<div
class=
"labelName"
>
Repair B/N
</div>
</div>
</div>
<div
style=
"background-color: #E9E9E9"
>
{{ form.repairCode || '-' }}
</div>
<el-input
v-model=
"form.repairCode"
:disabled=
"true"
></el-input>
<!-- <div style="background-color: #E9E9E9">{{ form.repairCode || '-' }}</div>-->
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"16"
>
<el-col
:span=
"16"
>
...
@@ -261,7 +270,8 @@
...
@@ -261,7 +270,8 @@
<div
class=
"labelName"
>
维修辅料料号
</div>
<div
class=
"labelName"
>
维修辅料料号
</div>
<div>
Auxiliary No
</div>
<div>
Auxiliary No
</div>
</div>
</div>
<div
style=
"background-color: #E9E9E9"
>
{{ form.auxiliaryMatersOne || '-' }}
</div>
<el-input
v-model=
"form.auxiliaryMatersOne"
:disabled=
"true"
></el-input>
<!-- <div style="background-color: #E9E9E9">{{ form.auxiliaryMatersOne || '-' }}</div>-->
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -272,7 +282,8 @@
...
@@ -272,7 +282,8 @@
<div
class=
"labelName"
>
备注
</div>
<div
class=
"labelName"
>
备注
</div>
<div
class=
"labelName"
>
PS
</div>
<div
class=
"labelName"
>
PS
</div>
</div>
</div>
<div
style=
"background-color: #E9E9E9"
>
{{ form.remarks || '-' }}
</div>
<el-input
v-model=
"form.remarks"
:disabled=
"true"
></el-input>
<!-- <div style="background-color: #E9E9E9">{{ form.remarks || '-' }}</div>-->
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -281,27 +292,24 @@
...
@@ -281,27 +292,24 @@
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"维修SN"
prop=
"maintainSn"
>
<el-form-item
label=
"维修SN"
prop=
"maintainSn"
>
<div
slot=
"label"
class=
"labelClass"
>
<div
slot=
"label"
class=
"labelClass"
>
<div>
维修SN
</div>
<div
class=
"labelName"
>
维修SN
</div>
<div>
Reject Type
</div>
<div
class=
"labelName"
>
Reject Type
</div>
</div>
</div>
<
div
style=
"background-color: #E9E9E9"
>
{{ item.maintainSn || '-' }}
</div
>
<
el-input
v-model=
"item.maintainSn"
:disabled=
"true"
/
>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"16"
>
<el-col
:span=
"16"
>
<el-form-item
label=
"替换SN"
prop=
"replaceSn"
>
<el-form-item
label=
"替换SN"
prop=
"replaceSn"
>
<div
slot=
"label"
class=
"labelClass"
>
<div
slot=
"label"
class=
"labelClass"
>
<div>
替换SN
</div>
<div
class=
"labelName"
>
替换SN
</div>
<div>
Reject Code
</div>
<div
class=
"labelName"
>
Reject Code
</div>
</div>
</div>
<
div
style=
"background-color: #E9E9E9"
>
{{ item.replaceSn || '-' }}
</div
>
<
el-input
v-model=
"item.replaceSn"
:disabled=
"true"
/
>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</div>
</div>
</el-row>
</el-row>
</el-form>
</el-form>
<!-- <div slot="footer" class="dialog-footer">-->
<!-- <el-button class="canleBtn" @click="cancel">关闭 Close</el-button>-->
<!-- </div>-->
</el-dialog>
</el-dialog>
</div>
</div>
</div>
</div>
...
@@ -343,32 +351,32 @@ export default {
...
@@ -343,32 +351,32 @@ export default {
openBad
:
false
,
openBad
:
false
,
form
:
{
form
:
{
// 维修单号
// 维修单号
repairNo
:
''
,
repairNo
:
'
-
'
,
// 状态
// 状态
flag
:
''
,
flag
:
'
-
'
,
// 报修时间
// 报修时间
createDate
:
''
,
createDate
:
'
-
'
,
// 报修工号
// 报修工号
maintainCode
:
''
,
maintainCode
:
'
-
'
,
// 报修工站
// 报修工站
stationName
:
''
,
stationName
:
'
-
'
,
// sn
// sn
sn
:
''
,
sn
:
''
,
// 不良类型数字
// 不良类型数字
rejectType
:
''
,
rejectType
:
'
-
'
,
// 不良类型文字
// 不良类型文字
rejectLabel
:
''
,
rejectLabel
:
'
-
'
,
// 不良描述
// 不良描述
rejectDescription
:
''
,
rejectDescription
:
'
-
'
,
// 维修时间
// 维修时间
repairDate
:
''
,
repairDate
:
'
-
'
,
// 维修工号
// 维修工号
repairCode
:
''
,
repairCode
:
'
-
'
,
// 备注
// 备注
remarks
:
''
,
remarks
:
'
-
'
,
// 维修辅料料号
// 维修辅料料号
auxiliaryMaters
:
''
,
auxiliaryMaters
:
'
-
'
,
auxiliaryMatersOne
:
''
,
auxiliaryMatersOne
:
'
-
'
,
// 维修sn, 替换sn
// 维修sn, 替换sn
materSNs
:
{
materSNs
:
{
maintainSn
:
'-'
,
maintainSn
:
'-'
,
...
@@ -434,13 +442,18 @@ export default {
...
@@ -434,13 +442,18 @@ export default {
}
}
listRepairRecordDetails
(
params
).
then
(
res
=>
{
listRepairRecordDetails
(
params
).
then
(
res
=>
{
this
.
form
=
res
.
data
this
.
form
=
res
.
data
if
(
this
.
form
.
flag
===
'1'
)
{
this
.
form
.
flag
=
'已维修'
}
else
if
(
this
.
form
.
flag
===
'0'
)
{
this
.
form
.
flag
=
'未维修'
}
this
.
form
.
auxiliaryMatersOne
=
this
.
form
.
auxiliaryMaters
.
join
(
','
)
this
.
form
.
auxiliaryMatersOne
=
this
.
form
.
auxiliaryMaters
.
join
(
','
)
const
params
=
'defectType'
const
params
=
'defectType'
getDicts
(
params
).
then
(
response
=>
{
getDicts
(
params
).
then
(
response
=>
{
this
.
positionOption
=
response
.
data
this
.
positionOption
=
response
.
data
this
.
positionOption
.
forEach
(
item
=>
{
this
.
positionOption
.
forEach
(
item
=>
{
if
(
this
.
form
.
rejectType
===
item
.
dictValue
)
{
if
(
this
.
form
.
rejectType
===
item
.
dictValue
)
{
this
.
form
.
reject
Label
=
item
.
dictLabel
this
.
form
.
reject
Type
=
this
.
form
.
rejectType
+
' '
+
item
.
dictLabel
}
}
})
})
this
.
openLoading
=
false
this
.
openLoading
=
false
...
@@ -472,13 +485,12 @@ export default {
...
@@ -472,13 +485,12 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.bad_definition
{
.repair_record
{
font-size
:
18px
;
.placeholder
{
.placeholder
{
height
:
14px
;
height
:
14px
;
background-color
:
#F4F4F4
background-color
:
#F4F4F4
}
}
.
bad
Search
{
.
rep
Search
{
.el-form-item--small
.el-form-item__label
{
.el-form-item--small
.el-form-item__label
{
line-height
:
17px
;
line-height
:
17px
;
}
}
...
@@ -494,8 +506,12 @@ export default {
...
@@ -494,8 +506,12 @@ export default {
}
}
</
style
>
</
style
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.bad_definition
{
.repair_record
{
.badSearch
{
.placeholder
{
height
:
14px
;
background-color
:
#F4F4F4
}
.repSearch
{
.el-form-item--small
.el-form-item__label
{
.el-form-item--small
.el-form-item__label
{
line-height
:
17px
;
line-height
:
17px
;
}
}
...
@@ -512,7 +528,7 @@ export default {
...
@@ -512,7 +528,7 @@ export default {
margin-left
:
0
!
important
;
margin-left
:
0
!
important
;
}
}
}
}
.
bad
Dialog
{
.
rep
Dialog
{
.labelHeight
{
.labelHeight
{
.el-form-item__label
{
.el-form-item__label
{
height
:
40px
;
height
:
40px
;
...
@@ -527,18 +543,34 @@ export default {
...
@@ -527,18 +543,34 @@ export default {
}
}
.labelClass
{
.labelClass
{
position
:
relative
;
position
:
relative
;
right
:
0
;
text-align
:
center
;
text-align
:
center
;
}
}
.labelClassRequired
{
.labelClassRequired
{
text-align
:
center
;
text-align
:
center
;
position
:
relative
;
position
:
relative
;
bottom
:
0
;
bottom
:
0
;
right
:
2px
;
right
:
0
;
}
}
.el-input
.el-input__inner
{
.el-input
.el-input__inner
{
padding
:
0
10px
;
padding
:
0
10px
;
}
}
.el-input
{
[
disabled
]
{
background-color
:
#E9E9E9
;
}
}
.el-col-8
{
position
:
relative
;
right
:
25px
;
}
.el-col-16
{
position
:
relative
;
right
:
25px
;
}
.el-col-24
{
position
:
relative
;
right
:
25px
;
}
}
}
</
style
>
</
style
>
src/views/system/synchronization/index.vue
View file @
a02c11ac
...
@@ -231,7 +231,7 @@ export default {
...
@@ -231,7 +231,7 @@ export default {
}
}
}
}
</
style
>
</
style
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.synchronization
{
.synchronization
{
.badSearch
{
.badSearch
{
.el-form-item--small
.el-form-item__label
{
.el-form-item--small
.el-form-item__label
{
...
...
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