Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bms-vue-obear
Project
Project
Details
Activity
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
daywrite
bms-vue-obear
Commits
5a1a3d7d
Commit
5a1a3d7d
authored
May 22, 2019
by
daywrite
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.实施阶段
parent
1f9b5f34
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
form.vue
src/components/setting_list/implement_type/form.vue
+0
-0
implement_type_list.vue
...nents/setting_list/implement_type/implement_type_list.vue
+1
-1
modal.vue
src/components/setting_list/implement_type/modal.vue
+4
-2
No files found.
src/components/setting_list/implement/form.vue
→
src/components/setting_list/implement
_type
/form.vue
View file @
5a1a3d7d
File moved
src/components/setting_list/implement_type/implement_type_list.vue
View file @
5a1a3d7d
...
...
@@ -38,7 +38,7 @@
<
script
>
import
SearchHeader
from
'../../common/searchHeader'
import
BreadCrumb
from
'../BreadCrumb'
import
FormModal
from
'.
./implement
/modal'
import
FormModal
from
'./modal'
import
Pagenation
from
'../pagenation'
import
{
requestAPI
,
...
...
src/components/setting_list/implement/modal.vue
→
src/components/setting_list/implement
_type
/modal.vue
View file @
5a1a3d7d
...
...
@@ -70,12 +70,14 @@ export default {
save
()
{
let
_params
=
Object
.
assign
({},
setModule
(
this
.
model
,
'ImplementTypes'
))
let
_apiUrl
=
!
this
.
model
.
id
?
api
.
saveNewimplementType
:
api
.
saveEditimplementType
let
_apiUrl
=
!
this
.
model
.
id
?
api
[
`saveNew
${
this
.
t
}${
this
.
tt
}
`
]
:
api
[
`saveEdit
${
this
.
t
}${
this
.
tt
}
`
]
!
this
.
model
.
id
&&
delete
_params
[
'ImplementTypes[id]'
]
this
.
$refs
[
'form'
].
_validate
(()
=>
{
requestAPI
(
Object
.
assign
(
_apiUrl
,
{
method
:
'POST'
}),
_params
)
.
then
((
res
)
=>
{
this
.
$refs
.
sidePopup
.
close
()
this
.
$refs
.
sidePopup
.
close
(()
=>
{
this
.
btnClose
()
})
this
.
$message
.
success
(
'操作成功'
)
this
.
$parent
.
_reload
()
})
// save
...
...
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