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
92a605f3
Commit
92a605f3
authored
May 15, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
speed workshop department
parent
edb7c221
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
31 additions
and
28 deletions
+31
-28
dataGrid.vue
components/page/dataGrid.vue
+20
-21
departmentSelect.vue
components/page/departmentSelect.vue
+1
-1
workShop.vue
components/page/workShop.vue
+1
-0
index.vue
pages/order/monitoring/index.vue
+8
-6
speed.vue
pages/order/monitoring/speed.vue
+1
-0
No files found.
components/page/dataGrid.vue
View file @
92a605f3
...
...
@@ -53,23 +53,23 @@
:loading=
"loading"
></Table>
<div
class=
"table-footer"
ref=
"footer"
>
<div>
<slot
name=
"footer"
></slot>
</div>
<Page
v-if=
"page"
:total=
"search.total"
:current=
"search.page"
class=
"mr15 mt15 fr"
show-total
size=
"small"
show-elevator
show-sizer
:page-size=
"search.pageSize"
:page-size-opts=
"pageSizeOpts"
@
on-change=
"pageChange"
@
on-page-size-change=
"pageSizeChange"
/>
<div>
<slot
name=
"footer"
></slot>
</div>
<Page
v-if=
"page"
:total=
"search.total"
:current=
"search.page"
class=
"mr15 mt15 fr"
show-total
size=
"small"
show-elevator
show-sizer
:page-size=
"search.pageSize"
:page-size-opts=
"pageSizeOpts"
@
on-change=
"pageChange"
@
on-page-size-change=
"pageSizeChange"
/>
</div>
</div>
<Modal
v-if=
"high"
v-model=
"modalSearch"
title=
"高级搜索"
draggable
width=
"800"
ref=
"search"
>
...
...
@@ -130,7 +130,7 @@ export default {
search
:
{
pageIndex
:
1
,
pageSize
:
20
,
conditions
:
[]
,
conditions
:
[]
},
pageSizeOpts
:
[
20
,
50
,
100
],
tableHeight
:
0
,
...
...
@@ -529,9 +529,8 @@ export default {
});
};
}
if
(
u
.
type
==
"outputTime"
)
{
u
.
render
=
(
h
,
params
)
=>
{
if
(
u
.
type
==
"outputTime"
)
{
u
.
render
=
(
h
,
params
)
=>
{
let
values
=
u
.
key
;
return
h
(
"OutputTime"
,
{
props
:
{
...
...
components/page/departmentSelect.vue
View file @
92a605f3
<
template
>
<TreeSelect
v-model=
"dep"
:data=
"data"
@
on-change=
"change"
:disabled=
"disabled"
:multiple=
"multiple"
/>
<TreeSelect
v-model=
"dep"
:data=
"data"
@
on-change=
"change"
:disabled=
"disabled"
:multiple=
"multiple"
:transfer=
"true"
/>
</
template
>
<
script
>
...
...
components/page/workShop.vue
View file @
92a605f3
...
...
@@ -5,6 +5,7 @@
@
on-change=
"change"
:multiple=
"multiple"
clearable
transfer
>
<Option
v-for=
"item in dic"
:value=
"item.value"
:key=
"item.value"
:label=
"item.label"
>
<div>
...
...
pages/order/monitoring/index.vue
View file @
92a605f3
...
...
@@ -4,10 +4,8 @@
<template
slot=
"easySearch"
>
<Form
ref=
"formInline"
:model=
"easySearch"
inline
style=
"margin-top:5px;"
>
<FormItem
prop=
"productingpreparationpeople"
style=
"width:200px"
>
<WorkShopSelect
ref=
"userSelected"
v-model=
"easySearch.productingpreparationpeople.value"
/>
<!--
<departmentSelect
v-model=
"easySearch.productingpreparationpeople.value"
></departmentSelect>
-->
<workShop
v-model=
"easySearch.productingpreparationpeople.value"
></workShop>
</FormItem>
<FormItem
prop=
"keys"
>
<Input
placeholder=
"请输入订单编号"
v-model=
"easySearch.keys.value"
/>
...
...
@@ -28,7 +26,7 @@
<Record
:eid=
"recordId"
/>
</Modal>
<Modal
v-model=
"SpeedModal"
title=
"工单信息"
fullscreen
footer-hide
class=
"recordM"
>
<Speed
:result=
"result"
:load=
"loading"
:executeId=
"dispatchExecuteId"
:orderId=
"orderId"
/>
<Speed
:result=
"result"
:load=
"loading"
@
on-close=
"clsoeSpeedModal"
:executeId=
"dispatchExecuteId"
:orderId=
"orderId"
/>
</Modal>
<Modal
v-model=
"recycleModal"
title=
"确定回收订单"
width=
"600"
class=
"suspend"
>
<Form
ref=
"form"
:model=
"recovery"
:rules=
"rulesRecycle"
:label-width=
"120"
>
...
...
@@ -545,7 +543,10 @@ export default {
}
});
},
clsoeSpeedModal
()
{
this
.
SpeedModal
=
false
;
},
suspend
(
row
)
{
console
.
log
(
row
);
this
.
suspendModal
=
true
;
...
...
@@ -634,4 +635,5 @@ export default {
.ivu-btn-group {
height: 21px !important;
}
</
style
>
\ No newline at end of file
pages/order/monitoring/speed.vue
View file @
92a605f3
...
...
@@ -353,6 +353,7 @@ export default {
.
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$Message
.
success
(
"分卡成功"
);
this
.
$emit
(
"on-close"
)
}
else
{
this
.
$Message
.
error
(
"分卡失败"
);
}
...
...
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