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
411856b4
Commit
411856b4
authored
Nov 02, 2020
by
zhanglongtao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工时分配列表页面
parent
639c8047
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
568 additions
and
4 deletions
+568
-4
api.js
pages/produce/execute/api.js
+3
-0
index.vue
pages/produce/execute/taskTime/index.vue
+11
-3
search.vue
pages/produce/search.vue
+2
-1
api.js
pages/produce/workHour/api.js
+15
-0
index.vue
pages/produce/workHour/index.vue
+537
-0
No files found.
pages/produce/execute/api.js
View file @
411856b4
...
...
@@ -74,6 +74,9 @@ export default {
subupdatehours
(
params
)
{
// 编辑 提交修改的工时
return
Api
.
post
(
`
${
technologyUrl
}
workhours/updatecount`
,
params
);
},
workhourstatus
(
params
){
// 修改工时状态为提交
return
Api
.
get
(
`
${
PlanUrl
}
/orderexecutenew/workhourstatus`
,
params
);
},
//工时分配--删除一条
deletehours
(
params
)
{
return
Api
.
delete
(
`
${
technologyUrl
}
workhours/delete?id=`
+
params
);
...
...
pages/produce/execute/taskTime/index.vue
View file @
411856b4
...
...
@@ -48,6 +48,7 @@
item
.
workHour
}}
</span>
<InputNumber
style=
"margin: 10px 0"
v-show=
"item.showInputWorkHour"
:max=
"maxHour"
:min=
"1"
...
...
@@ -319,15 +320,22 @@ export default {
}
Api
.
subupdatehours
(
this
.
cardMan
).
then
((
res
)
=>
{
if
(
res
.
success
)
{
this
.
$Message
.
success
(
"已提交"
);
this
.
laodHorse
();
let
id
=
this
.
$route
.
query
.
id
;
Api
.
workhourstatus
({
Id
:
id
}).
then
((
res
)
=>
{
if
(
res
.
success
)
{
this
.
$Message
.
success
(
"已提交"
);
this
.
laodHorse
();
}
else
{
this
.
$Message
.
error
(
"提交失败..."
);
}
});
}
else
{
this
.
$Message
.
error
(
"提交失败..."
);
}
});
},
editCancel
()
{
this
.
laodHorse
()
this
.
laodHorse
()
;
},
cancel
()
{
this
.
addmodal
=
false
;
...
...
pages/produce/search.vue
View file @
411856b4
...
...
@@ -68,9 +68,10 @@ export default {
routingHeaderId
:
{
op
:
"Equal"
,
value
:
null
,
show
:
false
},
routingDetailId
:
{
op
:
"Equal"
,
value
:
null
,
show
:
false
},
dispatchStatus
:{
op
:
"Equal"
,
value
:
null
,
show
:
true
},
//工单状态
status
:
{
op
:
"Equal"
,
value
:
null
,
show
:
true
},
//订单状态
status
:
{
op
:
"Equal"
,
value
:
null
,
show
:
true
},
//订单状态
beginTime
:
{
op
:
"Range"
,
value
:
null
,
show
:
true
},
endTime
:
{
op
:
"Range"
,
value
:
null
,
show
:
true
},
submitState
:{
op
:
"Equal"
,
value
:
null
,
show
:
true
},
}
};
},
...
...
pages/produce/workHour/api.js
0 → 100644
View file @
411856b4
import
Api
from
'@/plugins/request'
export
default
{
index
:
`
${
PlanUrl
}
/orderexecutenew/paged_img_work_hour`
,
paged
(
params
)
{
return
Api
.
post
(
`
${
PlanUrl
}
/orderexecutenew/paged_img_work_hour`
,
params
);
},
// getCardList(params) {
// return Api.post(`${PlanUrl}/orderexecutenew/list`, params);
// },
// //过程质量填报表
// getentryqcrecordlist_new(params) {
// return Api.get(`${PlanUrl}orderexecutequalityrecord/getentryqcrecordlist_new`, params);
// },
}
\ No newline at end of file
pages/produce/workHour/index.vue
0 → 100644
View file @
411856b4
This diff is collapsed.
Click to expand it.
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