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
9a300667
Commit
9a300667
authored
Nov 09, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
detail height
parent
3e99b4c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
detail.vue
pages/produce/workHourManage/detail.vue
+11
-1
No files found.
pages/produce/workHourManage/detail.vue
View file @
9a300667
<
template
>
<
template
>
<div>
<div>
<DataGrid
:columns=
"columns"
ref=
"grid"
:data=
"data"
:set=
"false"
>
<DataGrid
:columns=
"columns"
ref=
"grid"
:data=
"data"
:set=
"false"
:height=
"tableHeight"
>
<template
slot=
"easySearch"
>
<template
slot=
"easySearch"
>
<p
class=
"pl10"
>
{{
this
.
l
(
'userTitle'
)
}}
:
<span
class=
"mr20"
>
{{
entity
.
userTitle
}}
</span>
{{
this
.
l
(
'userTitle'
)
}}
:
<span
class=
"mr20"
>
{{
entity
.
userCardNo
}}
</span>
{{
this
.
l
(
'totalWorkHour'
)
}}
:
<span
class=
"mr20"
>
{{
entity
.
totalWorkHour
}}
</span>
{{
this
.
l
(
'planQuantity'
)
}}
:
<span
class=
"mr20"
>
{{
entity
.
planQuantity
}}
</span>
{{
this
.
l
(
'qualified'
)
}}
:
<span
class=
"mr20"
>
{{
entity
.
qualified
}}
</span></p>
<p
class=
"pl10"
>
{{
this
.
l
(
'userTitle'
)
}}
:
<span
class=
"mr20"
>
{{
entity
.
userTitle
}}
</span>
{{
this
.
l
(
'userTitle'
)
}}
:
<span
class=
"mr20"
>
{{
entity
.
userCardNo
}}
</span>
{{
this
.
l
(
'totalWorkHour'
)
}}
:
<span
class=
"mr20"
>
{{
entity
.
totalWorkHour
}}
</span>
{{
this
.
l
(
'planQuantity'
)
}}
:
<span
class=
"mr20"
>
{{
entity
.
planQuantity
}}
</span>
{{
this
.
l
(
'qualified'
)
}}
:
<span
class=
"mr20"
>
{{
entity
.
qualified
}}
</span></p>
</
template
>
</
template
>
...
@@ -62,6 +62,7 @@ export default {
...
@@ -62,6 +62,7 @@ export default {
],
],
data
:
[],
data
:
[],
tableHeight
:
''
,
};
};
},
},
props
:
{
props
:
{
...
@@ -79,12 +80,21 @@ export default {
...
@@ -79,12 +80,21 @@ export default {
})
{
})
{
await
store
.
dispatch
(
"loadDictionary"
);
// 加载数据字典
await
store
.
dispatch
(
"loadDictionary"
);
// 加载数据字典
},
},
created
()
{
this
.
tableHeight
=
window
.
innerHeight
-
240
},
mounted
()
{
mounted
()
{
if
(
this
.
row
!=
null
&&
this
.
row
!=
{})
{
if
(
this
.
row
!=
null
&&
this
.
row
!=
{})
{
this
.
entity
=
this
.
row
this
.
entity
=
this
.
row
this
.
load
(
this
.
eid
);
this
.
load
(
this
.
eid
);
}
}
window
.
onresize
=
()
=>
{
///浏览器窗口大小变化
return
(()
=>
{
window
.
screenHeight
=
window
.
innerHeight
this
.
tableHeight
=
window
.
screenHeight
-
240
})()
}
},
},
methods
:
{
methods
:
{
load
(
v
)
{
load
(
v
)
{
...
...
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