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
9584543b
Commit
9584543b
authored
Apr 28, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
details
parent
bf640b11
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
21 deletions
+42
-21
details.vue
pages/technology/details.vue
+38
-21
index.vue
pages/technology/details/routingqccard/index.vue
+4
-0
No files found.
pages/technology/details.vue
View file @
9584543b
<
style
lang=
"less"
>
@import
'./technolog.less'
;
@import
"./technolog.less"
;
</
style
>
<
template
>
<Layout
class=
"details_box"
>
<Header>
<h4
class=
"details_top tc"
>
<a
class=
"back_href"
@
click=
"back"
>
<Icon
type=
"ios-undo-outline"
/>
返回工艺规程
</a>
<div>
工艺信息:
{{
info
}}
</div>
</h4>
<div
class=
"details_body"
>
<Menu
mode=
"horizontal"
theme=
"light"
active-name=
"1"
>
<MenuItem
name=
"1"
to=
"/technology/details/working"
>
工序
</MenuItem>
<MenuItem
name=
"2"
to=
"/technology/details/routingqccard"
>
质控卡
</MenuItem>
<MenuItem
name=
"3"
to=
"/technology/details/routingsupporting"
>
工艺BOM
</MenuItem>
<MenuItem
name=
"4"
to=
"/technology/details/setup/setupDetails"
>
生产准备
</MenuItem>
</Menu>
</div>
</Header>
<Layout
class=
"bottom_box"
>
<nuxt-child
keep-alive
></nuxt-child>
</Layout>
<Layout
class=
"details_box"
>
<Header>
<h4
class=
"details_top tc"
>
<a
class=
"back_href"
@
click=
"back"
>
<Icon
type=
"ios-undo-outline"
/>
返回工艺规程
</a>
<div>
工艺信息:
{{
info
}}
</div>
</h4>
<div
class=
"details_body"
>
<Menu
mode=
"horizontal"
theme=
"light"
active-name=
"1"
>
<MenuItem
name=
"1"
to=
"/technology/details/working"
>
工序
</MenuItem>
<MenuItem
name=
"2"
to=
"/technology/details/routingqccard"
>
质控卡
</MenuItem>
<MenuItem
name=
"3"
to=
"/technology/details/routingsupporting"
>
工艺BOM
</MenuItem>
<MenuItem
name=
"4"
to=
"/technology/details/setup/setupDetails"
>
生产准备
</MenuItem>
</Menu>
</div>
</Header>
<Layout
class=
"bottom_box"
>
<nuxt-child
keep-alive
:info=
"info"
></nuxt-child>
</Layout>
</Layout>
</
template
>
<
script
>
import
Api
from
"./api"
;
export
default
{
components
:
{},
data
()
{
...
...
@@ -31,7 +34,8 @@ export default {
showMenu
:
true
,
treeHeight
:
''
,
actNum
:
'1'
,
info
:
"aaaa"
,
info
:
""
,
urlQccard
:
''
,
}
},
created
()
{
...
...
@@ -42,6 +46,8 @@ export default {
await
store
.
dispatch
(
'loadDictionary'
)
// 加载数据字典
},
mounted
()
{
this
.
getRoutingheaderInfo
()
window
.
onresize
=
()
=>
{
///浏览器窗口大小变化
return
(()
=>
{
...
...
@@ -51,12 +57,23 @@ export default {
},
computed
:
{
},
methods
:
{
getRoutingheaderInfo
()
{
let
params
=
{
id
:
this
.
$http
.
common
.
getquerystring
(
'id'
)
}
Api
.
get
(
params
).
then
(
r
=>
{
this
.
info
=
r
.
result
.
name
}).
catch
(
err
=>
{
this
.
$Message
.
error
(
"连接错误"
)
})
},
back
(){
this
.
$router
.
push
({
name
:
"technology"
,
// params: { transmitData: lemData }
});
},
}
}
,
}
</
script
>
pages/technology/details/routingqccard/index.vue
View file @
9584543b
<
template
>
<div>
{{
info
}}
<DataGrid
:columns=
"columns"
ref=
"grid"
:action=
"action"
>
<template
slot=
"easySearch"
>
<Form
ref=
"formInline"
:model=
"easySearch"
inline
>
...
...
@@ -39,6 +40,9 @@ export default {
author
:
"henq"
,
description
:
"routing_qc_card 4/27/2020 10:31:00 AM"
},
props
:
{
info
:
{
type
:
String
}
},
data
()
{
return
{
action
:
Api
.
index
,
...
...
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