Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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
周远喜
mes-ui
Commits
173e37d6
Commit
173e37d6
authored
Nov 03, 2020
by
zhanglongtao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改页面提交显示
parent
411856b4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
index.vue
pages/produce/workHour/index.vue
+7
-7
No files found.
pages/produce/workHour/index.vue
View file @
173e37d6
...
@@ -80,13 +80,13 @@
...
@@ -80,13 +80,13 @@
<Ellipsis
:text=
"row.mesCode"
:lines=
"1"
tooltip
transfer
/>
<Ellipsis
:text=
"row.mesCode"
:lines=
"1"
tooltip
transfer
/>
</Col>
</Col>
<Col
:span=
"4"
>
<Col
:span=
"4"
>
<div
class=
"statuBg"
:style=
"tdStyle(row.status)"
></div>
<div
class=
"statuBg"
:style=
"tdStyle(row.s
ubWorkHourS
tatus)"
></div>
<div
class=
"boxTitle"
>
<div
class=
"boxTitle"
>
<div
class=
"text"
>
<div
class=
"text"
>
<state
<state
code=
"
taskList
.status"
code=
"
workHour
.status"
ref=
"state"
ref=
"state"
:value=
"row.status"
:value=
"row.s
ubWorkHourS
tatus"
type=
"text"
type=
"text"
:color=
"false"
:color=
"false"
></state>
></state>
...
@@ -225,11 +225,11 @@ export default {
...
@@ -225,11 +225,11 @@ export default {
align
:
"left"
,
align
:
"left"
,
},
},
{
{
key
:
"status"
,
key
:
"s
ubWorkHourS
tatus"
,
title
:
this
.
l
(
"status"
)
,
title
:
"subWorkHourStatus"
,
align
:
"center"
,
align
:
"center"
,
high
:
true
,
high
:
true
,
code
:
"
taskList
.status"
,
code
:
"
workHour
.status"
,
width
:
120
,
width
:
120
,
},
},
{
{
...
@@ -360,7 +360,7 @@ export default {
...
@@ -360,7 +360,7 @@ export default {
},
},
tdStyle
(
val
)
{
tdStyle
(
val
)
{
//动态根据状态值加载状态值对应的颜色
//动态根据状态值加载状态值对应的颜色
let
temDic
=
this
.
$store
.
getters
.
dictionaryByKey
(
"
taskList
.status"
);
let
temDic
=
this
.
$store
.
getters
.
dictionaryByKey
(
"
workHour
.status"
);
let
temColor
=
"#666"
;
let
temColor
=
"#666"
;
temDic
.
forEach
((
data
)
=>
{
temDic
.
forEach
((
data
)
=>
{
if
(
Number
(
data
.
code
)
==
val
)
{
if
(
Number
(
data
.
code
)
==
val
)
{
...
...
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