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
9231cad3
Commit
9231cad3
authored
Apr 01, 2020
by
周远喜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ok
parent
e5ee917f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
index.vue
pages/processDesign/productTree/index.vue
+8
-8
No files found.
pages/processDesign/productTree/index.vue
View file @
9231cad3
...
...
@@ -270,7 +270,7 @@ export default {
var
url
=
`
${
designUrl
}
/productlevel/getallselecttreenew`
service
.
get
(
`
${
url
}
`
).
then
(
response
=>
{
that
.
$refs
.
addproduct
.
data1
=
(
response
.
data
.
result
)
that
.
$refs
.
addproduct
.
data1
=
(
response
.
result
)
})
...
...
@@ -404,7 +404,7 @@ export default {
}
var
url
=
`
${
designUrl
}
/productinfo/createorupdate`
service
.
post
(
`
${
url
}
`
,
JSON
.
stringify
({
ProductInfo
:
this
.
formValidate0
})).
then
(
response
=>
{
if
(
response
.
data
.
success
){
if
(
response
.
success
){
this
.
$Message
.
success
(
'保存成功'
)
this
.
loadProduct
()
//this.loadlevel()
...
...
@@ -443,13 +443,13 @@ export default {
url
=
`
${
designUrl
}
/productlevel/delete?id=
${
this
.
lid
}
`
}
service
.
delete
(
`
${
url
}
`
).
then
(
response
=>
{
if
(
response
.
data
.
result
.
status
)
{
if
(
response
.
result
.
status
)
{
this
.
$Message
.
success
(
'删除成功'
)
this
.
loadProduct
()
this
.
loadlevel
()
}
else
{
this
.
$Message
.
error
(
response
.
data
.
result
.
message
)
this
.
$Message
.
error
(
response
.
result
.
message
)
}
}).
catch
((
error
)
=>
{
this
.
$Message
.
error
()
...
...
@@ -470,7 +470,7 @@ export default {
loadlevel
(){
var
url
=
`
${
designUrl
}
/productlevel/gettree`
service
.
get
(
`
${
url
}
`
).
then
(
response
=>
{
this
.
leveldata
=
response
.
data
.
result
this
.
leveldata
=
response
.
result
})
},
cancelClick
(){
...
...
@@ -532,7 +532,7 @@ export default {
this
.
$refs
.
addclass
.
list
.
push
({
label
:
`
${
name
}
`
,
value
:
this
.
clickindexLevel
})
var
url
=
`
${
designUrl
}
/productlevel/getselecttree`
service
.
get
(
`
${
url
}
`
,
{
params
:{
id
:
this
.
clickindexLevel
}
}).
then
(
response
=>
{
this
.
$refs
.
addclass
.
data
=
response
.
data
.
result
this
.
$refs
.
addclass
.
data
=
response
.
result
})
}
else
{
this
.
$refs
.
addclass
.
formValidate
.
upid
=
0
...
...
@@ -581,14 +581,14 @@ export default {
}
this
.
formValidate1
=
this
.
$refs
.
addclass
.
formValidate
service
.
post
(
`
${
url
}
`
,
JSON
.
stringify
({
ProductLevel
:
this
.
formValidate1
})).
then
(
response
=>
{
if
(
response
.
data
.
result
.
status
){
if
(
response
.
result
.
status
){
this
.
$Message
.
success
(
'保存成功'
)
this
.
loadlevel
()
this
.
loadProduct
()
this
.
modal2
=
false
}
else
{
this
.
$Message
.
error
(
response
.
data
.
result
.
message
)
this
.
$Message
.
error
(
response
.
result
.
message
)
}
}).
catch
(
error
=>
{
this
.
$Message
.
error
(
'保存失败'
)
...
...
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