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
1d136ce5
Commit
1d136ce5
authored
Mar 31, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
order
parent
ddf03567
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
931 additions
and
7 deletions
+931
-7
base.less
assets/css/base.less
+1
-1
storeHouseLeft.vue
components/modalTree/storeHouseLeft.vue
+1
-1
orderManager.vue
pages/order/orderManager.vue
+5
-5
base.css
src/assets/css/base.css
+924
-0
No files found.
assets/css/base.less
View file @
1d136ce5
...
...
@@ -1156,7 +1156,7 @@ html [type=button] {
}
}
.tree {
height: calc(100% - 1
0
0px);
height: calc(100% - 1
5
0px);
overflow: auto;
}
}
...
...
components/modalTree/storeHouseLeft.vue
View file @
1d136ce5
...
...
@@ -16,7 +16,7 @@
</Button>
</ButtonGroup>
</h3>
<div
class=
"tree"
>
<div
class=
"tree"
>
<Tree
ref=
"tree"
:data=
"tree"
...
...
pages/order/orderManager.vue
View file @
1d136ce5
...
...
@@ -5,7 +5,7 @@
<h3
class=
"zh-title"
>
产品结构
</h3>
<div
class=
"zh-box"
>
<Input
search
placeholder=
"请输入查询条件"
v-model=
"treeInputSearch"
/>
<Tree
:data=
"searchList"
:style=
"
{height:(treeHeight-
9
5)+'px'}" style="overflow:auto;width:215px;" @on-select-change="selectTreeNode">
</Tree>
<Tree
:data=
"searchList"
:style=
"
{height:(treeHeight-
11
5)+'px'}" style="overflow:auto;width:215px;" @on-select-change="selectTreeNode">
</Tree>
</div>
</div>
</Sider>
...
...
@@ -217,21 +217,21 @@ export default {
}
},
created
()
{
this
.
treeHeight
=
window
.
innerHeight
-
1
0
0
this
.
treeHeight
=
window
.
innerHeight
-
1
5
0
},
async
fetch
({
store
,
params
})
{
await
store
.
dispatch
(
'loadDictionary'
)
// 加载数据字典
},
mounted
()
{
this
.
initTree
()
this
.
tableHeight
=
window
.
innerHeight
-
16
0
this
.
tableHeight
=
window
.
innerHeight
-
22
0
this
.
$refs
.
CustomTable
.
getTableHeight
(
this
.
tableHeight
)
window
.
onresize
=
()
=>
{
///浏览器窗口大小变化
return
(()
=>
{
window
.
screenHeight
=
window
.
innerHeight
this
.
treeHeight
=
window
.
screenHeight
-
1
0
0
this
.
tableHeight
=
window
.
screenHeight
-
16
0
this
.
treeHeight
=
window
.
screenHeight
-
1
5
0
this
.
tableHeight
=
window
.
screenHeight
-
22
0
this
.
$refs
.
CustomTable
.
getTableHeight
(
this
.
tableHeight
)
})()
}
...
...
src/assets/css/base.css
0 → 100644
View file @
1d136ce5
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