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
865e0541
Commit
865e0541
authored
Sep 15, 2023
by
旭艳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
执行派工样式调整
parent
0632db86
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
11 deletions
+43
-11
index.vue
...ews/assemblyPlanManagement/instructionsDispatch/index.vue
+6
-7
index.vue
...views/assemblyPlanManagement/instructionsIssued/index.vue
+37
-4
No files found.
applications/dee-mes/src/views/assemblyPlanManagement/instructionsDispatch/index.vue
View file @
865e0541
...
@@ -131,8 +131,6 @@ export default {
...
@@ -131,8 +131,6 @@ export default {
group
:
''
group
:
''
},
},
groupList
:
[],
groupList
:
[],
group
:
''
,
groupType
:
''
,
groupUserList
:
[],
groupUserList
:
[],
activeName
:
0
,
activeName
:
0
,
defaultPercent
:
80
,
defaultPercent
:
80
,
...
@@ -148,11 +146,9 @@ export default {
...
@@ -148,11 +146,9 @@ export default {
{
title
:
'指令号'
,
key
:
'extProcessPlan.serialNumber'
,
align
:
'left'
},
{
title
:
'指令号'
,
key
:
'extProcessPlan.serialNumber'
,
align
:
'left'
},
{
title
:
'指令名称'
,
key
:
'extProcessPlan.name'
,
align
:
'left'
},
{
title
:
'指令名称'
,
key
:
'extProcessPlan.name'
,
align
:
'left'
},
{
title
:
'工时定额'
,
key
:
'extProcessPlan.workHour'
,
align
:
'left'
},
{
title
:
'工时定额'
,
key
:
'extProcessPlan.workHour'
,
align
:
'left'
},
{
title
:
'工艺员'
,
key
:
'extProcessPlan.note'
,
align
:
'left'
},
{
title
:
'工艺员'
,
key
:
'extProcessPlan.note
Name
'
,
align
:
'left'
},
{
title
:
'计划开始'
,
key
:
'scheduledStart'
,
align
:
'left'
},
{
title
:
'计划开始'
,
key
:
'scheduledStart'
,
align
:
'left'
},
{
title
:
'计划结束'
,
key
:
'scheduledEnd'
,
align
:
'left'
},
{
title
:
'计划结束'
,
key
:
'scheduledEnd'
,
align
:
'left'
}
{
title
:
'下达时间'
,
key
:
'scheduledStart'
,
align
:
'left'
},
{
title
:
'下达班组长'
,
key
:
'scheduledEnd'
,
align
:
'left'
}
],
],
tableData
:
[],
tableData
:
[],
pagination
:
{
pagination
:
{
...
@@ -323,6 +319,9 @@ export default {
...
@@ -323,6 +319,9 @@ export default {
this
.
getTableData
()
this
.
getTableData
()
},
},
getTableData
()
{
getTableData
()
{
this
.
tableData
=
[]
this
.
groupUserList
=
[]
this
.
mainUserId
=
null
if
(
this
.
activeName
===
'1'
)
{
if
(
this
.
activeName
===
'1'
)
{
if
(
this
.
$refs
.
detailComAlready
)
{
if
(
this
.
$refs
.
detailComAlready
)
{
this
.
$refs
.
detailComAlready
.
$children
[
0
].
getData
()
this
.
$refs
.
detailComAlready
.
$children
[
0
].
getData
()
...
@@ -448,7 +447,7 @@ export default {
...
@@ -448,7 +447,7 @@ export default {
this
.
groupUserList
.
push
(
item
)
this
.
groupUserList
.
push
(
item
)
})
})
this
.
groupUserTotal
=
res
.
items
.
totalElements
this
.
groupUserTotal
=
res
.
items
.
totalElements
this
.
groupUserList
[
0
].
isSelect
=
true
//
this.groupUserList[0].isSelect = true
}
}
})
})
},
},
...
...
applications/dee-mes/src/views/assemblyPlanManagement/instructionsIssued/index.vue
View file @
865e0541
...
@@ -101,6 +101,10 @@
...
@@ -101,6 +101,10 @@
</el-tooltip>
</el-tooltip>
</div>
</div>
</div>
</div>
<div
class=
"more-bar"
>
<span
v-if=
"groupDropList.length
<
groupTotal
"
class=
"more"
@
click=
"getMoreData"
>
加载更多
</span>
<span
v-else
>
已全部加载!
</span>
</div>
</div>
</div>
</
template
>
</
template
>
</split-pane>
</split-pane>
...
@@ -138,7 +142,7 @@ export default {
...
@@ -138,7 +142,7 @@ export default {
{
title
:
'指令号'
,
key
:
'extProcessPlan.serialNumber'
,
align
:
'left'
},
{
title
:
'指令号'
,
key
:
'extProcessPlan.serialNumber'
,
align
:
'left'
},
{
title
:
'指令名称'
,
key
:
'extProcessPlan.name'
,
align
:
'left'
},
{
title
:
'指令名称'
,
key
:
'extProcessPlan.name'
,
align
:
'left'
},
{
title
:
'工时定额'
,
key
:
'extProcessPlan.workHour'
,
align
:
'left'
},
{
title
:
'工时定额'
,
key
:
'extProcessPlan.workHour'
,
align
:
'left'
},
{
title
:
'工艺员'
,
key
:
'extProcessPlan.note'
,
align
:
'left'
},
{
title
:
'工艺员'
,
key
:
'extProcessPlan.note
Name
'
,
align
:
'left'
},
{
title
:
'计划开始'
,
key
:
'scheduledStart'
,
align
:
'left'
},
{
title
:
'计划开始'
,
key
:
'scheduledStart'
,
align
:
'left'
},
{
title
:
'计划结束'
,
key
:
'scheduledEnd'
,
align
:
'left'
}
{
title
:
'计划结束'
,
key
:
'scheduledEnd'
,
align
:
'left'
}
],
],
...
@@ -192,7 +196,9 @@ export default {
...
@@ -192,7 +196,9 @@ export default {
}
}
}
}
}
}
]
],
groupPage
:
1
,
groupTotal
:
0
}
}
},
},
computed
:
{
computed
:
{
...
@@ -468,6 +474,8 @@ export default {
...
@@ -468,6 +474,8 @@ export default {
},
},
getGroupList
()
{
getGroupList
()
{
const
params
=
{
const
params
=
{
'pageFrom'
:
this
.
groupPage
,
'pageSize'
:
10
,
'searchItems'
:
{
'searchItems'
:
{
'children'
:
[
'children'
:
[
{
{
...
@@ -524,11 +532,19 @@ export default {
...
@@ -524,11 +532,19 @@ export default {
post
(
'/ExtProcessSkill/getSkillWorkDetail'
,
params
).
then
(
res
=>
{
post
(
'/ExtProcessSkill/getSkillWorkDetail'
,
params
).
then
(
res
=>
{
if
(
res
.
items
&&
res
.
items
.
content
)
{
if
(
res
.
items
&&
res
.
items
.
content
)
{
this
.
groupDropList
=
res
.
items
.
content
this
.
groupDropList
=
res
.
items
.
content
this
.
$set
(
this
,
'group'
,
res
.
items
.
content
[
0
]
&&
res
.
items
.
content
[
0
].
id
||
''
)
this
.
groupTotal
=
res
.
items
.
totalElements
this
.
$set
(
this
,
'groupType'
,
res
.
items
.
content
[
0
]
&&
res
.
items
.
content
[
0
].
subTypeName
||
''
)
// this.$set(this, 'group', res.items.content[0] && res.items.content[0].id || '')
// this.$set(this, 'groupType', res.items.content[0] && res.items.content[0].subTypeName || '')
}
}
})
})
},
},
getMoreData
()
{
const
num
=
Math
.
ceil
(
this
.
groupTotal
/
10
)
if
(
this
.
groupPage
<=
num
)
{
this
.
groupPage
++
this
.
getGroupList
()
}
},
getHandledValue
(
num
)
{
getHandledValue
(
num
)
{
return
num
<
10
?
'0'
+
num
:
num
return
num
<
10
?
'0'
+
num
:
num
},
},
...
@@ -601,6 +617,23 @@ export default {
...
@@ -601,6 +617,23 @@ export default {
height
:
calc
(
100%
-
100px
);
height
:
calc
(
100%
-
100px
);
overflow-y
:
scroll
;
overflow-y
:
scroll
;
margin-bottom
:
20px
;
margin-bottom
:
20px
;
.more-bar
{
margin
:
10px
auto
;
text-align
:
center
;
font-size
:
12px
;
color
:
#999
;
.more
{
margin
:
auto
;
margin-top
:
20px
;
height
:
26px
;
line-height
:
26px
;
padding
:
0
20px
;
background
:
#cf9236
;
border-radius
:
13px
;
display
:
inline-block
;
cursor
:
pointer
;
}
}
.group-list-box
{
.group-list-box
{
box-sizing
:
border-box
;
box-sizing
:
border-box
;
background
:
url("/images/tasks.png")
no-repeat
;
background
:
url("/images/tasks.png")
no-repeat
;
...
...
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