Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.portalStaticPage
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
60599009
authored
2020-12-17 09:48:03 +0800
by
焦小希
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
更改提示信息
1 parent
954f3d06
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
staticJs/yysj.js
staticJs/yysj.js
View file @
6059900
...
...
@@ -180,13 +180,19 @@ function checkAppointment() {
});
return
msg
;
}
function
del
(
a
){
layui
.
use
(
'layer'
,
function
(){
var
layer
=
layui
.
layer
;
layer
.
msg
(
a
);
})
}
function
handle
(
id
)
{
let
bookingDateUL
=
$
(
".active1"
);
let
msg
=
checkAppointment
();
if
(
msg
!=
undefined
)
{
//layer.msg('hello');
return
;
del
(
msg
)
return
false
};
var
input
=
$
(
"#"
+
id
);
layui
.
use
(
"layer"
,
function
()
{
...
...
@@ -240,9 +246,8 @@ function makeAppointment(id) {
if
(
result
.
code
==
200
&&
result
.
data
!==
null
)
{
appointmentId
=
result
.
data
window
.
location
.
href
=
"./yyjg.html?appointmentId="
+
appointmentId
}
else
{
alert
(
result
.
message
);
}
else
{
del
(
result
.
message
)
}
}
});
...
...
@@ -265,7 +270,7 @@ function getAppointmentDetail(id) {
appointmentDetail
(
result
.
data
);
}
else
{
alert
(
result
.
message
);
layer
.
msg
(
result
.
message
,
{
icon
:
6
})
}
},
});
...
...
Please
register
or
sign in
to post a comment