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
2d6b980e
Commit
2d6b980e
authored
Apr 10, 2020
by
佟礼
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'product' of 39.98.128.195:zhouyx/mes-ui into product
parents
09ea4669
e99e1599
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
279 additions
and
46 deletions
+279
-46
dataGrid.vue
components/page/dataGrid.vue
+4
-0
index.vue
layouts/basic-layout/header-user/index.vue
+2
-1
dispatch.less
pages/aps/dispatch/dispatch.less
+8
-12
index.vue
pages/aps/dispatch/index.vue
+8
-6
userInfo.vue
pages/basicData/userManagent/userInfo.vue
+2
-1
approval.vue
pages/crm/statistical/costomer/approval.vue
+1
-1
index.vue
pages/crm/statistical/index.vue
+2
-1
index.vue
pages/mesPlan/index.vue
+243
-18
record.vue
pages/order/monitoring/record.vue
+1
-1
speed.vue
pages/order/monitoring/speed.vue
+3
-4
index.vue
pages/qc/dataTrace/index.vue
+5
-1
No files found.
components/page/dataGrid.vue
View file @
2d6b980e
...
@@ -42,6 +42,7 @@
...
@@ -42,6 +42,7 @@
:height=
"tableHeight"
:height=
"tableHeight"
:draggable=
"draggable"
:draggable=
"draggable"
:size=
"size"
:size=
"size"
:row-key=
"rowKey"
ref=
"table"
ref=
"table"
class=
"tableCommon"
class=
"tableCommon"
@
on-expand=
"expand"
@
on-expand=
"expand"
...
@@ -235,6 +236,9 @@ export default {
...
@@ -235,6 +236,9 @@ export default {
span
:
{
span
:
{
type
:
Number
,
type
:
Number
,
default
:
24
default
:
24
},
rowKey
:{
type
:[
String
,
Number
]
}
}
},
},
created
()
{
created
()
{
...
...
layouts/basic-layout/header-user/index.vue
View file @
2d6b980e
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
@on-click="handleClick"
@on-click="handleClick"
>
>
<Avatar
size=
"small"
:src=
"info.avatar"
v-if=
"info.avatar"
/>
<Avatar
size=
"small"
:src=
"info.avatar"
v-if=
"info.avatar"
/>
<Avatar
size=
"small"
style=
"background-color: #87d068"
v-else-if=
"!info.avatar"
icon=
"ios-person"
/>
<span
class=
"i-layout-header-user-name"
v-if=
"!isMobile"
>
{{
info
.
name
}}
</span>
<span
class=
"i-layout-header-user-name"
v-if=
"!isMobile"
>
{{
info
.
name
}}
</span>
<DropdownMenu
slot=
"list"
>
<DropdownMenu
slot=
"list"
>
<i-link
to=
"/basicData/userManagent/userInfo"
>
<i-link
to=
"/basicData/userManagent/userInfo"
>
...
@@ -35,7 +36,7 @@ import { mapState, mapActions } from "vuex";
...
@@ -35,7 +36,7 @@ import { mapState, mapActions } from "vuex";
export
default
{
export
default
{
name
:
"iHeaderUser"
,
name
:
"iHeaderUser"
,
computed
:
{
computed
:
{
...
mapState
(
"admin/user"
,
[
"info"
]),
...
mapState
(
"admin/user"
,
[
"info"
]),
...
mapState
(
"admin/layout"
,
[
"isMobile"
,
"logoutConfirm"
])
...
mapState
(
"admin/layout"
,
[
"isMobile"
,
"logoutConfirm"
])
},
},
methods
:
{
methods
:
{
...
...
pages/aps/dispatch/dispatch.less
View file @
2d6b980e
...
@@ -53,26 +53,22 @@
...
@@ -53,26 +53,22 @@
// padding-right: 0!important;
// padding-right: 0!important;
.man_body{
.man_body{
max-width: 185px;
max-width: 185px;
label
{
.checkUser
{
border-radius: 24px;
border-radius: 24px;
width: 100%;
width: 100%;
height: 50px;
height: 50px;
line-height: 47px;
line-height: 47px;
span.ivu-checkbox{
.ivu-checkbox-inner{
margin-top: -42px!important;
}
}
span{
span{
// overflow: hidden;
// text-overflow: ellipsis;
// -o-text-overflow: ellipsis;
// white-space:nowrap;
// display: inline-block;
height: 50px;
height: 50px;
}
}
.svg_name{
.svg_name{
width: 50px;
overflow: hidden;
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
white-space:nowrap;
display: block;
float: right;
width: 82%;
}
}
.svg{
.svg{
width: 70px;
width: 70px;
...
...
pages/aps/dispatch/index.vue
View file @
2d6b980e
...
@@ -99,12 +99,14 @@
...
@@ -99,12 +99,14 @@
<!--
{{
peploeId
}}
@on-change="setpepoleid" @on-change="setpepoleids"-->
<!--
{{
peploeId
}}
@on-change="setpepoleid" @on-change="setpepoleids"-->
<Row
:gutter=
"15"
>
<Row
:gutter=
"15"
>
<Col
span=
"8"
class=
"dispatch_card02"
v-for=
"(item,index) in listMan"
:key=
"index"
>
<Col
span=
"8"
class=
"dispatch_card02"
v-for=
"(item,index) in listMan"
:key=
"index"
>
<CheckboxGroup
class=
"man_body"
>
<!--
<Tooltip
:content=
"item.userName"
>
-->
<Checkbox
v-model=
"item.checked"
border
class
>
<CheckboxGroup
class=
"man_body"
>
<span
class=
"svg_name"
>
{{
item
.
userName
}}
</span>
<Checkbox
v-model=
"item.checked"
border
class=
'checkUser'
>
<span
class=
"svg"
>
{{
item
.
id
}}
</span>
<span
class=
"svg_name"
:title=
'item.userName'
>
{{
item
.
userName
}}
</span>
</Checkbox>
<!--
<span
class=
"svg"
>
{{
item
.
id
}}
</span>
-->
</CheckboxGroup>
</Checkbox>
</CheckboxGroup>
<!--
</Tooltip>
-->
</Col>
</Col>
</Row>
</Row>
</div>
</div>
...
...
pages/basicData/userManagent/userInfo.vue
View file @
2d6b980e
...
@@ -4,7 +4,8 @@
...
@@ -4,7 +4,8 @@
<p
slot=
"title"
>
个人头像
</p>
<p
slot=
"title"
>
个人头像
</p>
<div
style=
"height:415px;"
>
<div
style=
"height:415px;"
>
<p
style=
"text-align:center;padding-top:100px;"
>
<p
style=
"text-align:center;padding-top:100px;"
>
<Avatar
:src=
"avatorPath"
size=
"150"
/>
<Avatar
:src=
"avatorPath"
size=
"150"
v-if=
"avatorPath"
/>
<Avatar
size=
"150"
style=
"background-color: #87d068"
v-else-if=
"!avatorPath"
icon=
"ios-person"
/>
</p>
</p>
<p
style=
"text-align:center;padding:10px;"
>
<p
style=
"text-align:center;padding:10px;"
>
<Button
@
click=
"openModalAvatar"
>
修改头像
</Button>
<Button
@
click=
"openModalAvatar"
>
修改头像
</Button>
...
...
pages/crm/statistical/costomer/approval.vue
View file @
2d6b980e
...
@@ -31,7 +31,7 @@ export default {
...
@@ -31,7 +31,7 @@ export default {
{
key
:
'schemaName'
,
title
:
'类别'
,
align
:
'center'
},
{
key
:
'schemaName'
,
title
:
'类别'
,
align
:
'center'
},
{
key
:
'currentNodeName'
,
title
:
'环节'
,
align
:
'center'
},
{
key
:
'currentNodeName'
,
title
:
'环节'
,
align
:
'center'
},
{
key
:
'nextNodeName'
,
title
:
'下一环节'
,
align
:
'center'
},
{
key
:
'nextNodeName'
,
title
:
'下一环节'
,
align
:
'center'
},
{
key
:
'creationTime'
,
title
:
'创建时间'
,
align
:
'center'
},
{
key
:
'creationTime'
,
title
:
'创建时间'
,
align
:
'center'
,
width
:
'190'
},
{
{
key
:
'id'
,
key
:
'id'
,
title
:
'操作'
,
title
:
'操作'
,
...
...
pages/crm/statistical/index.vue
View file @
2d6b980e
...
@@ -5,7 +5,8 @@
...
@@ -5,7 +5,8 @@
<div
class=
"statistical_box"
>
<div
class=
"statistical_box"
>
<div
class=
"statistical_top"
>
<div
class=
"statistical_top"
>
<div
class=
"user_img fl"
>
<div
class=
"user_img fl"
>
<Avatar
:src=
"avatorPath"
size=
"90"
/>
<Avatar
:src=
"avatorPath"
size=
"90"
v-if=
"avatorPath"
/>
<Avatar
size=
"90"
style=
"background-color: #87d068"
v-else-if=
"!avatorPath"
icon=
"ios-person"
/>
</div>
</div>
<div
class=
"user_info fl"
>
<div
class=
"user_info fl"
>
<h3
class=
"mb10"
>
您好,
{{
userData
.
userName
}}
,欢迎登录MES系统 !
</h3>
<h3
class=
"mb10"
>
您好,
{{
userData
.
userName
}}
,欢迎登录MES系统 !
</h3>
...
...
pages/mesPlan/index.vue
View file @
2d6b980e
This diff is collapsed.
Click to expand it.
pages/order/monitoring/record.vue
View file @
2d6b980e
<
template
>
<
template
>
<div
class=
"record"
>
<div
class=
"record"
>
<DataGrid
:columns=
"columns"
ref=
"grid"
:action=
"action"
:tool=
"false"
></DataGrid>
<DataGrid
:columns=
"columns"
ref=
"grid"
:action=
"action"
:tool=
"false"
:height=
"820"
></DataGrid>
<Modal
v-model=
"detailModal"
title=
"详情"
width=
"800"
>
<Modal
v-model=
"detailModal"
title=
"详情"
width=
"800"
>
<Detail
:eid=
"curId"
/>
<Detail
:eid=
"curId"
/>
</Modal>
</Modal>
...
...
pages/order/monitoring/speed.vue
View file @
2d6b980e
<
template
>
<
template
>
<div
class=
"record"
>
<div
class=
"record"
>
<
Table
:columns=
"columns"
:data=
"result"
border
></Table
>
<
DataGrid
:columns=
"columns"
:data=
"result"
border
:tool=
'false'
:height=
"820"
></DataGrid
>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -97,9 +97,8 @@ export default {
...
@@ -97,9 +97,8 @@ export default {
{
{
key
:
"status"
,
key
:
"status"
,
type
:
"user"
,
title
:
'工单状态'
,
title
:
this
.
l
(
"status"
),
code
:
"taskList.status"
,
code
:
"plan.order.status"
,
align
:
"center"
align
:
"center"
}
}
]
]
...
...
pages/qc/dataTrace/index.vue
View file @
2d6b980e
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<div
class=
"tableBox mb10"
:style=
"
{height:tbHeight}">
<div
class=
"tableBox mb10"
:style=
"
{height:tbHeight}">
<div
class=
"table"
>
<div
class=
"table"
>
<div
v-if=
"listTask.length==0"
class=
"wu_data"
>
暂无数据
</div>
<div
v-if=
"listTask.length==0"
class=
"wu_data"
>
暂无数据
</div>
<Row
:gutter=
"16"
>
<Row
:gutter=
"16"
:style=
"
{width:rowWidth}"
>
<Col
span=
"6"
v-for=
"(item,index) in listTask"
:key=
"index"
>
<Col
span=
"6"
v-for=
"(item,index) in listTask"
:key=
"index"
>
<Card
class=
"card"
>
<Card
class=
"card"
>
<h3
slot=
"title"
>
<h3
slot=
"title"
>
...
@@ -264,6 +264,7 @@ export default {
...
@@ -264,6 +264,7 @@ export default {
total
:
0
,
//总数
total
:
0
,
//总数
conditions
:
[]
conditions
:
[]
},
},
rowWidth
:
''
,
showPagesize
:
[
20
,
50
,
100
],
showPagesize
:
[
20
,
50
,
100
],
showModel
:
false
,
showModel
:
false
,
list
:
[],
list
:
[],
...
@@ -381,6 +382,9 @@ export default {
...
@@ -381,6 +382,9 @@ export default {
.
then
(
res
=>
{
.
then
(
res
=>
{
this
.
listTask
=
res
.
result
.
items
;
this
.
listTask
=
res
.
result
.
items
;
this
.
search
.
total
=
res
.
result
.
totalCount
;
this
.
search
.
total
=
res
.
result
.
totalCount
;
if
(
this
.
listTask
.
length
<
4
){
this
.
rowWidth
=
"100%"
}
});
});
},
},
searchModel
()
{
searchModel
()
{
...
...
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