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
20bb7d43
Commit
20bb7d43
authored
May 08, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
techenology
parent
cd8255a0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
40 additions
and
21 deletions
+40
-21
departmentSelect.vue
components/page/departmentSelect.vue
+2
-1
zh-CN.js
i18n/locale/zh-CN.js
+6
-0
add.vue
pages/technology/add.vue
+20
-11
index.vue
pages/technology/index.vue
+12
-9
No files found.
components/page/departmentSelect.vue
View file @
20bb7d43
...
@@ -56,7 +56,8 @@ export default {
...
@@ -56,7 +56,8 @@ export default {
item
=
items
[
0
];
item
=
items
[
0
];
}
}
this
.
$emit
(
"on-change"
,
v
,
item
)
this
.
$emit
(
"on-change"
,
v
,
item
)
}
},
},
},
watch
:
{
watch
:
{
value
:
{
value
:
{
...
...
i18n/locale/zh-CN.js
View file @
20bb7d43
...
@@ -1171,9 +1171,11 @@ export default {
...
@@ -1171,9 +1171,11 @@ export default {
name
:
'工艺名称'
,
name
:
'工艺名称'
,
code
:
'工艺编号'
,
code
:
'工艺编号'
,
productId
:
'产品id'
,
productId
:
'产品id'
,
productName
:
'产品名称'
,
version
:
'版本'
,
version
:
'版本'
,
author
:
'编制人'
,
author
:
'编制人'
,
departmentId
:
'主制车间'
,
departmentId
:
'主制车间'
,
departmentName
:
'主制车间'
,
isMain
:
'主工艺'
,
isMain
:
'主工艺'
,
upId
:
'父工艺'
,
upId
:
'父工艺'
,
upDetailId
:
'上级工序'
,
upDetailId
:
'上级工序'
,
...
@@ -1191,6 +1193,10 @@ export default {
...
@@ -1191,6 +1193,10 @@ export default {
phase
:
'阶段'
,
phase
:
'阶段'
,
versionid
:
'版本ID'
,
versionid
:
'版本ID'
,
isSendPpm
:
'发送PPM'
,
isSendPpm
:
'发送PPM'
,
creationTime
:
'创建时间'
,
creatorUserId
:
'创建人'
,
lastModificationTime
:
'最近修改时间'
,
lastModifierUserId
:
'最近修改人'
,
},
},
routing_detail
:{
routing_detail
:{
id
:
''
,
id
:
''
,
...
...
pages/technology/add.vue
View file @
20bb7d43
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
</Col>
</Col>
<Col
:span=
"8"
>
<Col
:span=
"8"
>
<FormItem
:label=
"l('productId')"
prop=
"productId"
>
<FormItem
:label=
"l('productId')"
prop=
"productId"
>
<ProductSelect
v-model=
"entity.productId"
></ProductSelect>
<ProductSelect
v-model=
"entity.productId"
@
on-change=
"proChange"
></ProductSelect>
</FormItem>
</FormItem>
</Col>
</Col>
...
@@ -40,27 +40,22 @@
...
@@ -40,27 +40,22 @@
<Input
v-model=
"entity.version"
></Input>
<Input
v-model=
"entity.version"
></Input>
</FormItem>
</FormItem>
</Col>
</Col>
<Col
:span=
"8"
>
<FormItem
:label=
"l('author')"
prop=
"author"
>
<UserSelect
v-model=
"entity.author"
></UserSelect>
</FormItem>
</Col>
<Col
:span=
"8"
>
<Col
:span=
"8"
>
<FormItem
:label=
"l('departmentId')"
prop=
"departmentId"
>
<FormItem
:label=
"l('departmentId')"
prop=
"departmentId"
>
<departmentSelect
v-model=
"entity.departmentId"
></departmentSelect>
<departmentSelect
v-model=
"entity.departmentId"
@
on-change=
"departChange"
></departmentSelect>
</FormItem>
</FormItem>
</Col>
</Col>
<Col
:span=
"
5
"
>
<Col
:span=
"
8
"
>
<FormItem
:label=
"l('isMain')"
prop=
"isMain"
>
<FormItem
:label=
"l('isMain')"
prop=
"isMain"
>
<Dictionary
code=
"Process.state"
v-model=
"entity.isMain"
type=
"radio"
></Dictionary>
<Dictionary
code=
"Process.state"
v-model=
"entity.isMain"
type=
"radio"
></Dictionary>
</FormItem>
</FormItem>
</Col>
</Col>
<Col
:span=
"
6
"
>
<Col
:span=
"
8
"
>
<FormItem
:label=
"l('isSendPpm')"
prop=
"isSendPpm"
>
<FormItem
:label=
"l('isSendPpm')"
prop=
"isSendPpm"
>
<Dictionary
code=
"Process.Status"
v-model=
"entity.isSendPpm"
type=
"radio"
></Dictionary>
<Dictionary
code=
"Process.Status"
v-model=
"entity.isSendPpm"
type=
"radio"
></Dictionary>
</FormItem>
</FormItem>
</Col>
</Col>
<Col
:span=
"
5
"
>
<Col
:span=
"
8
"
>
<FormItem
:label=
"l('isEffect')"
prop=
"isEffect"
>
<FormItem
:label=
"l('isEffect')"
prop=
"isEffect"
>
<Dictionary
code=
"Process.Status"
v-model=
"entity.isEffect"
type=
"radio"
></Dictionary>
<Dictionary
code=
"Process.Status"
v-model=
"entity.isEffect"
type=
"radio"
></Dictionary>
</FormItem>
</FormItem>
...
@@ -123,7 +118,13 @@
...
@@ -123,7 +118,13 @@
<FormItem
:label=
"l('versionid')"
prop=
"versionid"
>
<FormItem
:label=
"l('versionid')"
prop=
"versionid"
>
<InputNumber
v-model=
"entity.versionid"
></InputNumber>
<InputNumber
v-model=
"entity.versionid"
></InputNumber>
</FormItem>
</FormItem>
</Col>
-->
</Col>
<Col
:span=
"8"
>
<FormItem
:label=
"l('author')"
prop=
"author"
>
<UserSelect
v-model=
"entity.author"
></UserSelect>
</FormItem>
</Col>
-->
<Col
:span=
"24"
>
<Col
:span=
"24"
>
<FormItem
:label=
"l('remark')"
prop=
"remark"
>
<FormItem
:label=
"l('remark')"
prop=
"remark"
>
<i-quill
v-model=
"entity.remark"
:height=
"300"
border
v-paste=
"handleImg"
/>
<i-quill
v-model=
"entity.remark"
:height=
"300"
border
v-paste=
"handleImg"
/>
...
@@ -304,6 +305,14 @@ export default {
...
@@ -304,6 +305,14 @@ export default {
l
(
key
)
{
l
(
key
)
{
key
=
"routingHeader"
+
"."
+
key
;
key
=
"routingHeader"
+
"."
+
key
;
return
this
.
$t
(
key
);
return
this
.
$t
(
key
);
},
proChange
(
v
,
items
)
{
alert
(
v
+
"__"
+
JSON
.
stringify
(
items
))
},
departChange
(
v
,
items
)
{
alert
(
v
+
"__"
+
JSON
.
stringify
(
items
))
}
}
},
},
watch
:
{
watch
:
{
...
...
pages/technology/index.vue
View file @
20bb7d43
...
@@ -153,7 +153,7 @@ export default {
...
@@ -153,7 +153,7 @@ export default {
high
:
true
high
:
true
},
},
{
key
:
"version"
,
title
:
this
.
l
(
"version"
),
align
:
"left"
,
high
:
true
},
{
key
:
"version"
,
title
:
this
.
l
(
"version"
),
align
:
"left"
,
high
:
true
},
{
key
:
"
author"
,
title
:
this
.
l
(
"author"
),
align
:
"left"
,
high
:
true
},
{
key
:
"
creatorUserId"
,
title
:
this
.
l
(
"author"
),
align
:
"left"
,
high
:
true
,
type
:
"user"
},
{
{
key
:
"departmentId"
,
key
:
"departmentId"
,
title
:
this
.
l
(
"departmentId"
),
title
:
this
.
l
(
"departmentId"
),
...
@@ -161,14 +161,7 @@ export default {
...
@@ -161,14 +161,7 @@ export default {
align
:
"left"
,
align
:
"left"
,
high
:
true
high
:
true
},
},
{
key
:
"isMain"
,
title
:
this
.
l
(
"isMain"
),
align
:
"center"
,
width
:
80
,
high
:
true
,
code
:
"Process.state"
},
// { key:"upId",title:this.l("upId") ,align:"left" ,high:true },
// { key:"upId",title:this.l("upId") ,align:"left" ,high:true },
// { key:"upDetailId",title:this.l("upDetailId") ,hide:true ,align:"left" ,high:true },
// { key:"upDetailId",title:this.l("upDetailId") ,hide:true ,align:"left" ,high:true },
{
{
...
@@ -191,6 +184,7 @@ export default {
...
@@ -191,6 +184,7 @@ export default {
align
:
"center"
,
align
:
"center"
,
width
:
80
,
width
:
80
,
high
:
true
,
high
:
true
,
hide
:
true
,
code
:
"Process.Status"
code
:
"Process.Status"
},
},
{
{
...
@@ -205,6 +199,7 @@ export default {
...
@@ -205,6 +199,7 @@ export default {
title
:
this
.
l
(
"phase"
),
title
:
this
.
l
(
"phase"
),
align
:
"left"
,
align
:
"left"
,
high
:
true
,
high
:
true
,
hide
:
true
,
code
:
"Process.Routing.phase"
code
:
"Process.Routing.phase"
},
},
{
{
...
@@ -214,6 +209,14 @@ export default {
...
@@ -214,6 +209,14 @@ export default {
hide
:
true
,
hide
:
true
,
code
:
"Process.Routing.version"
code
:
"Process.Routing.version"
},
},
{
key
:
"isMain"
,
title
:
this
.
l
(
"isMain"
),
align
:
"center"
,
width
:
80
,
high
:
true
,
code
:
"Process.state"
},
{
{
key
:
"isSendPpm"
,
key
:
"isSendPpm"
,
title
:
this
.
l
(
"isSendPpm"
),
title
:
this
.
l
(
"isSendPpm"
),
...
...
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