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
91fb4120
Commit
91fb4120
authored
May 25, 2020
by
周远喜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ok
parent
62ba4b0e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
8 deletions
+14
-8
dataGrid.vue
components/page/dataGrid.vue
+8
-1
orderlist.vue
pages/produce/orderlist.vue
+6
-7
No files found.
components/page/dataGrid.vue
View file @
91fb4120
...
...
@@ -27,7 +27,7 @@
</div>
<div
class=
"fg"
ref=
"ftable"
>
<div
v-if=
"type=='card'"
class=
"table-card"
>
<Row>
<Row
:gutter=
"gutter"
>
<Col
:span=
"span"
v-for=
"(row,i) in list"
:key=
"i"
>
<slot
name=
"card"
:row=
"row"
>
<span>
{{
row
.
id
}}
</span>
...
...
@@ -237,6 +237,10 @@ export default {
return
[
"table"
,
"card"
,
"list"
].
indexOf
(
value
)
!==
-
1
;
}
},
gutter
:{
type
:
Number
,
default
:
0
},
span
:
{
type
:
Number
,
default
:
24
...
...
@@ -589,6 +593,9 @@ export default {
}
.fg {
overflow: auto;
.table-card{
overflow: hidden;
}
}
.tableCommon tr td {
line-height: 25px;
...
...
pages/produce/orderlist.vue
View file @
91fb4120
...
...
@@ -13,6 +13,7 @@
:conditions=
"easySearch"
:action=
"action"
:set=
"false"
:gutter=
"30"
>
<template
slot=
"easySearch"
>
<Form
ref=
"formInline"
:model=
"easySearch"
inline
>
...
...
@@ -280,17 +281,15 @@ export default {
</
script
>
<
style
lang=
"less"
>
.aps-r {
width: 100%;
height: 100%;
overflow: auto;
padding: 15px 0 15px 15px;
//
width: 100%;
//
height: 100%;
//
overflow: auto;
//
padding: 15px 0 15px 15px;
.body {
background: white;
border-radius: 4px;
border: #cacbd0 solid 1px;
margin-left: 40px;
margin-right: 40px;
margin-bottom: 39px;
margin-bottom: 30px;
.title-i {
padding: 0 8px;
height: 38px;
...
...
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