Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
schedule
Overview
Overview
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
fengzhaoyu
schedule
Commits
753a2c50
Commit
753a2c50
authored
5 years ago
by
fengzhaoyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改多次创建问题
parent
1c04d685
release_beta/1.0.0
…
dev
release/1.0.0
release/2.0.0
release/2.1.0
release/dev/2.0.0
release/dev/2.1.0
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
createMeeting.js
pages/createMeeting/createMeeting.js
+9
-3
No files found.
pages/createMeeting/createMeeting.js
View file @
753a2c50
...
@@ -48,7 +48,7 @@ create.Page({
...
@@ -48,7 +48,7 @@ create.Page({
placeholder
:
''
,
placeholder
:
''
,
isIPX
:
false
isIPX
:
false
},
},
limitClick
:
false
,
showPop
(
event
)
{
showPop
(
event
)
{
this
.
setData
({
this
.
setData
({
show
:
true
show
:
true
...
@@ -337,6 +337,10 @@ create.Page({
...
@@ -337,6 +337,10 @@ create.Page({
},
},
addSchedule
:
throttle
(
async
function
()
{
addSchedule
:
throttle
(
async
function
()
{
if
(
this
.
limitClick
)
{
return
false
}
this
.
limitClick
=
true
let
data
=
{
let
data
=
{
title
:
this
.
data
.
title
||
`
${
getApp
().
globalData
.
name
}
创建的会议`
,
title
:
this
.
data
.
title
||
`
${
getApp
().
globalData
.
name
}
创建的会议`
,
location
:
{
location
:
{
...
@@ -355,8 +359,11 @@ create.Page({
...
@@ -355,8 +359,11 @@ create.Page({
meetingRoomId
:
this
.
$store
.
data
.
roomId
,
meetingRoomId
:
this
.
$store
.
data
.
roomId
,
meetingWayModel
:
this
.
data
.
meetingWayModel
meetingWayModel
:
this
.
data
.
meetingWayModel
}
}
const
res
=
await
addSchedule
(
data
);
const
res
=
await
addSchedule
(
data
).
catch
(
err
=>
{
this
.
limitClick
=
false
});
if
(
res
.
data
.
code
===
0
)
{
if
(
res
.
data
.
code
===
0
)
{
this
.
limitClick
=
false
this
.
$store
.
data
.
tabBarIndex
=
'1'
this
.
$store
.
data
.
tabBarIndex
=
'1'
if
(
this
.
data
.
repeatable
===
0
)
{
if
(
this
.
data
.
repeatable
===
0
)
{
if
(
this
.
$store
.
addOnceMeeting
)
{
if
(
this
.
$store
.
addOnceMeeting
)
{
...
@@ -368,7 +375,6 @@ create.Page({
...
@@ -368,7 +375,6 @@ create.Page({
id
:
res
.
data
.
data
.
id
id
:
res
.
data
.
data
.
id
})
})
}
}
}
else
{
}
else
{
if
(
this
.
$store
.
modifyErpeatMeeting
)
{
if
(
this
.
$store
.
modifyErpeatMeeting
)
{
await
this
.
$store
.
modifyErpeatMeeting
()
await
this
.
$store
.
modifyErpeatMeeting
()
...
...
This diff is collapsed.
Click to expand it.
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