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
aa489b06
Commit
aa489b06
authored
May 08, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
物料主数据详情页面
parent
b774c29f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
195 additions
and
6 deletions
+195
-6
filed.vue
components/page/filed.vue
+26
-2
details.vue
pages/materiel/masterData/details.vue
+145
-0
index.vue
pages/materiel/masterData/index.vue
+24
-4
No files found.
components/page/filed.vue
View file @
aa489b06
...
...
@@ -30,7 +30,6 @@ export default {
border-top: none;
height: 100%;
.filed-col {
border: 1px solid #ddd;
border-right: none;
margin: 0 -1px -1px -1px;
...
...
@@ -47,7 +46,6 @@ export default {
height: 100%;
}
p {
height: 100%;
word-break: break-all;
word-wrap: break-word;
...
...
@@ -67,4 +65,30 @@ export default {
}
}
}
.new-detail {
.ivu-row {
width: 100% !important;
.filed-col {
box-sizing: border-box;
line-height: 70px;
.label {
display: inline-block;
width: 100px;
text-align: right;
line-height: 40px;
float: left;
height: 100%;
font-weight: bold;
}
p {
text-align: left;
height: 100%;
word-break: break-all;
word-wrap: break-word;
line-height: 20px;
padding-top: 10px;
}
}
}
}
</
style
>
\ No newline at end of file
pages/materiel/masterData/details.vue
View file @
aa489b06
<
template
>
<Layout
class=
"data-details"
>
<Sider
hide-trigger
class=
"left-detail"
width=
"300"
>
<h4
class=
"bt"
>
标题
</h4>
<div
class=
"list-tree"
>
<div
v-for=
"(item,index) in listData"
:key=
"index"
:class=
"isactive == index ? 'addclass' : 'item-i'"
@
click=
"everyItem(item,index)"
>
{{
item
.
lable
}}
</div>
</div>
</Sider>
<Content
class=
"right-detail"
>
<div
class=
"btn"
>
<Button
type=
"primary"
>
编辑
</Button>
<div
class=
"new-detail"
>
<Row>
<Filed
:span=
"8"
:name=
"l('routingHeaderName')+':'"
>
HHJK就开始上课uioiweiwuuu你和环境
</Filed>
<Filed
:span=
"8"
:name=
"l('routingDetailName')+':'"
>
HHJK就开始上课
</Filed>
<Filed
:span=
"8"
:name=
"l('standard')+':'"
>
HHJK就开始上课uioiweiwuuu你和环境
</Filed>
<Filed
:span=
"8"
:name=
"l('routingHeaderName')+':'"
>
HHJK就开始上课
</Filed>
<Filed
:span=
"8"
:name=
"l('routingDetailName')+':'"
>
HHJK就开始上课
</Filed>
<Filed
:span=
"8"
:name=
"l('standard')+':'"
>
HHJK就开始上课
</Filed>
</Row>
<Divider
/>
<div
class=
"title-h4"
>
engineering
</div>
<Row>
<Filed
:span=
"8"
:name=
"l('routingHeaderName')+':'"
>
HHJK就开始上课
</Filed>
<Filed
:span=
"8"
:name=
"l('routingDetailName')+':'"
>
HHJK就开始上课
</Filed>
<Filed
:span=
"8"
:name=
"l('standard')+':'"
>
HHJK就开始上课uioiweiwuuu你和环境
</Filed>
<Filed
:span=
"8"
:name=
"l('routingHeaderName')+':'"
>
HHJK就开始上课
</Filed>
<Filed
:span=
"8"
:name=
"l('routingDetailName')+':'"
>
HHJK就开始上课uioiweiwuuu你和环境
</Filed>
<Filed
:span=
"8"
:name=
"l('standard')+':'"
>
HHJK就开始上课
</Filed>
</Row>
<Divider
/>
<div
class=
"title-h4"
>
engineering
</div>
<Row>
<Filed
:span=
"8"
:name=
"l('routingHeaderName')+':'"
>
HHJK就开始上课
</Filed>
<Filed
:span=
"8"
:name=
"l('routingDetailName')+':'"
>
HHJK就开始上课
</Filed>
<Filed
:span=
"8"
:name=
"l('standard')+':'"
>
HHJK就开始上课
</Filed>
<Filed
:span=
"8"
:name=
"l('routingHeaderName')+':'"
>
HHJK就开始上课uioiweiwuuu你和环境
</Filed>
<Filed
:span=
"8"
:name=
"l('routingDetailName')+':'"
>
HHJK就开始上课
</Filed>
<Filed
:span=
"8"
:name=
"l('standard')+':'"
>
HHJK就开始上课
</Filed>
</Row>
</div>
</div>
</Content>
</Layout>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
isactive
:
null
,
listData
:
[
{
lable
:
"属性"
},
{
lable
:
"图像"
},
{
lable
:
"图像"
},
{
lable
:
"图像"
},
{
lable
:
"图像"
}
]
};
},
methods
:
{
everyItem
(
li
,
i
)
{
this
.
isactive
=
i
;
},
l
(
key
)
{
key
=
"routing_qc_card"
+
"."
+
key
;
return
this
.
$t
(
key
);
}
}
};
</
script
>
<
style
lang=
"less"
>
.ivu-layout {
background-color: #f5f7f9 !important;
}
.data-details {
width: 100%;
height: 100%;
.left-detail {
background: rgba(255, 255, 255, 1);
margin-right: 10px;
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
height: 86vh;
overflow: auto;
.bt {
height: 50px;
line-height: 50px;
padding-left: 15px;
background: #f5f6fa;
}
.list-tree {
padding: 10px 0;
.item-i {
height: 40px;
line-height: 40px;
padding: 0 15px;
}
.item-i:hover {
cursor: pointer;
background: rgba(38, 128, 235, 0.4);
color: rgba(38, 128, 235, 1);
}
.addclass {
height: 40px;
line-height: 40px;
padding: 0 15px;
background: rgba(38, 128, 235, 0.4);
color: rgba(38, 128, 235, 1);
}
}
}
.right-detail {
margin-left: 10px;
padding: 10px 15px;
background: rgba(255, 255, 255, 1);
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
height: 86vh;
overflow: auto;
.btn {
text-align: right;
}
.title-h4 {
text-align: left;
height: 40px;
line-height: 40px;
color: #2680eb;
}
}
}
</
style
>
\ No newline at end of file
pages/materiel/masterData/index.vue
View file @
aa489b06
<
template
>
<div>
<Button
type=
"dashed"
>
详情
</Button>
</div>
</
template
>
\ No newline at end of file
<div
class=
"master-data"
>
<Button
type=
"dashed"
@
click=
"datail"
>
详情
</Button>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{};
},
methods
:
{
datail
()
{
this
.
$router
.
push
({
path
:
"/materiel/masterData/details"
});
}
}
};
</
script
>
<
style
lang=
"less"
scoped
>
.master-data {
width: 100%;
height: 100%;
}
</
style
>
\ No newline at end of file
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