Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform-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
youjj
cloud-platform-ui
Commits
1a91098e
Commit
1a91098e
authored
Aug 30, 2019
by
jiaorz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
禁用取消bug
parent
0de2f7b8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
index.js
src/api/vehicle/bookRecord/index.js
+1
-1
disableModal.vue
src/views/vehicle/vehicleSchedulManage/disableModal.vue
+4
-1
No files found.
src/api/vehicle/bookRecord/index.js
View file @
1a91098e
...
@@ -32,7 +32,7 @@ export function reject(obj) {
...
@@ -32,7 +32,7 @@ export function reject(obj) {
});
});
}
}
export
function
unbook
(
obj
)
{
export
function
unbook
unbook
(
obj
)
{
return
fetch
({
return
fetch
({
url
:
'/vehicle/vehicleInfo/unbook/4employee'
,
url
:
'/vehicle/vehicleInfo/unbook/4employee'
,
method
:
'delete'
,
method
:
'delete'
,
...
...
src/views/vehicle/vehicleSchedulManage/disableModal.vue
View file @
1a91098e
...
@@ -73,7 +73,10 @@
...
@@ -73,7 +73,10 @@
* */
* */
cancel
()
{
cancel
()
{
console
.
log
(
"取消禁用"
);
console
.
log
(
"取消禁用"
);
cancleBook
(
this
.
currentItem
.
ii
.
vehicleBookRecord
.
id
).
then
(
response
=>
{
this
.
$emit
(
"jinyongDialogEvent"
,
true
);});
var
data
=
{
"vehicleBookRecordId"
:
this
.
currentItem
.
ii
.
vehicleBookRecord
.
id
}
cancleBook
(
data
).
then
(
response
=>
{
this
.
$emit
(
"jinyongDialogEvent"
,
true
);});
}
}
}
}
}
}
...
...
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