Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-WEB
Project
Project
Details
Activity
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
TFMOM
TF-MOM-WEB
Commits
ee71c89d
Commit
ee71c89d
authored
Dec 05, 2023
by
“lixuyan”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改el-tree的状态颜色
parent
f59bca27
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
stationPlanList.vue
...PlanManagement/stationPlanMaintenance/stationPlanList.vue
+11
-11
No files found.
applications/dee-mes/src/views/assemblyPlanManagement/stationPlanMaintenance/stationPlanList.vue
View file @
ee71c89d
...
...
@@ -32,12 +32,12 @@
:expand-on-click-node=
"false"
@
node-click=
"handleNodeClick"
>
<span
slot-scope=
"
{ node, data }" class="custom-tree-node"
:class="data.state"
>
<span
slot-scope=
"
{ node, data }" class="custom-tree-node">
<span
class=
"tree-row"
>
<i
:class=
"'tree' + node.level"
/>
<span
v-if=
"node.level === 1"
class=
"label"
:title=
"data.serialNumber"
>
{{
data
.
serialNumber
}}
</span>
<span
v-if=
"node.level === 2"
>
{{
data
.
serialNumber
+
','
+
data
.
name
}}
</span>
<span
v-if=
"node.level === 3"
>
{{
data
.
target
.
serialNumber
+
','
+
data
.
target
.
name
}}
</span>
<span
v-if=
"node.level === 3"
:class=
"[data.target.wrProduction?data.target.wrProduction[0].planState:'']"
>
{{
data
.
target
.
serialNumber
+
','
+
data
.
target
.
name
}}
</span>
</span>
</span>
</el-tree>
...
...
@@ -441,23 +441,23 @@ export default {
.label
{
vertical-align
:
middle
;
}
.Issued
.custom-tree-node
,
.Run
.custom-tree-node
,
.New
.custom-tree-node
,
.Yes
.custom-tree-node
,
.Delivery
.custom-tree-node
{
.Issued
,
.Run
,
.New
,
.Yes
,
.Delivery
{
color
:
#0000ff
;
}
.Finish
.custom-tree-node
{
.Finish
{
color
:
#008000
;
}
.Reserved
.custom-tree-node
{
.Reserved
{
color
:
#ff0000
;
}
.Not
.custom-tree-node
{
.Not
{
color
:
#999999
;
}
.Paused
.custom-tree-node
{
.Paused
{
color
:
#ffff00
;
}
}
...
...
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