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
7b229c05
Commit
7b229c05
authored
Apr 29, 2020
by
康振飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工步
parent
174bf24d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
14 deletions
+21
-14
api.js
pages/technology/details/routingStep/api.js
+1
-1
edit.vue
pages/technology/details/routingStep/edit.vue
+20
-13
No files found.
pages/technology/details/routingStep/api.js
View file @
7b229c05
...
...
@@ -11,7 +11,7 @@ export default {
return
Api
.
post
(
`
${
technologyUrl
}
routingstep/create`
,
params
);
},
update
(
params
){
return
Api
.
p
os
t
(
`
${
technologyUrl
}
routingstep/update`
,
params
);
return
Api
.
p
u
t
(
`
${
technologyUrl
}
routingstep/update`
,
params
);
},
delete
(
id
)
{
return
Api
.
delete
(
`
${
technologyUrl
}
routingstep/delete`
,{
params
:{
id
:
id
}});
...
...
pages/technology/details/routingStep/edit.vue
View file @
7b229c05
...
...
@@ -3,12 +3,13 @@
<Row>
<Col
:span=
"12"
>
<FormItem
:label=
"l('stepSeq')"
prop=
"stepSeq"
>
<InputNumber
v-model=
"entity.stepSeq"
></InputNumber>
<!--
<InputNumber
v-model=
"entity.stepSeq"
></InputNumber>
-->
<Input
style=
"width:300px"
v-model=
"entity.stepSeq"
></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('name')"
prop=
"name"
>
<Input
v-model=
"entity.name"
></Input>
<Input
style=
"width:350px"
v-model=
"entity.name"
></Input>
</FormItem>
</Col>
<Col
:span=
"24"
>
...
...
@@ -18,6 +19,20 @@
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('status')"
prop=
"status"
>
<RadioGroup
v-model=
"entity.status"
>
<Radio
:label=
"1"
>
是
</Radio>
<Radio
:label=
"0"
>
否
</Radio>
</RadioGroup>
<!--
<Dictionary
style=
"width:100px"
code=
"Process.Status"
v-model=
"entity.status"
></Dictionary>
-->
</FormItem>
</Col>
<Col
:span=
"24"
>
<FormItem
:label=
"l('description')"
prop=
"description"
>
<Input
v-model=
"entity.description"
type=
"textarea"
:rows=
"5"
></Input>
</FormItem>
</Col>
<!--
<Col
:span=
"12"
>
<FormItem
:label=
"l('creationTime')"
prop=
"creationTime"
>
<DatePicker
type=
"date"
v-model=
"entity.creationTime"
></DatePicker>
</FormItem>
...
...
@@ -32,12 +47,7 @@
<InputNumber
v-model=
"entity.routingDetailId"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"24"
>
<FormItem
:label=
"l('description')"
prop=
"description"
>
<Input
v-model=
"entity.description"
type=
"textarea"
:rows=
"5"
></Input>
</FormItem>
</Col>
<!--
<Col
:span=
"12"
>
<Col
:span=
"12"
>
<FormItem
:label=
"l('creatorUserId')"
prop=
"creatorUserId"
>
<InputNumber
v-model=
"entity.creatorUserId"
></InputNumber>
</FormItem>
...
...
@@ -72,11 +82,6 @@
<InputNumber
v-model=
"entity.classId"
></InputNumber>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('status')"
prop=
"status"
>
<Dictionary
code=
"Process.Status"
v-model=
"entity.status"
></Dictionary>
</FormItem>
</Col>
<Col
:span=
"24"
>
<FormItem
:label=
"l('remark')"
prop=
"remark"
>
<Input
v-model=
"entity.remark"
type=
"textarea"
:rows=
"5"
></Input>
...
...
@@ -118,7 +123,9 @@ export default {
methods
:
{
load
(
v
)
{
Api
.
get
({
id
:
v
}).
then
(
r
=>
{
console
.
log
(
r
)
this
.
entity
=
r
.
result
;
// this.entity.status.toString
});
},
handleSubmit
()
{
...
...
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