Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Q
queue
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
5
Merge Requests
5
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
Indra Raja
queue
Commits
1b1e00d1
Commit
1b1e00d1
authored
Nov 12, 2020
by
Azy Mushofy Anwary
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perubahan
parent
45eb06fd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
51 additions
and
0 deletions
+51
-0
public/action-js/tampilanantiran-js/reverensi.js
public/action-js/tampilanantiran-js/reverensi.js
+51
-0
public/tamplate/img/doctor/WhatsApp Image 2020-06-22 at 16.54.18.jpeg
...ate/img/doctor/WhatsApp Image 2020-06-22 at 16.54.18.jpeg
+0
-0
public/tamplate/img/doctor/WhatsApp Image 2020-11-06 at 10.52.09.jpeg
...ate/img/doctor/WhatsApp Image 2020-11-06 at 10.52.09.jpeg
+0
-0
No files found.
public/action-js/tampilanantiran-js/reverensi.js
0 → 100644
View file @
1b1e00d1
if
(
result
.
code
!=
0
)
{
bootbox
.
alert
({
message
:
"
No rekam medis atau NIK tidak sesuai!
"
,
centerVertical
:
true
});
}
else
if
(
result
.
code
==
0
)
{
console
.
log
(
result
.
data
[
'
datapasien
'
][
0
][
'
no_rekam_medis
'
]);
// alert('berhasil');
if
(
result
.
data
[
'
datapasien
'
][
0
][
'
no_rekam_medis
'
]
==
null
)
{
let
$id
=
result
.
data
[
'
datapasien
'
][
0
][
'
id_pasien
'
];
let
$encodedId
=
btoa
(
$id
);
window
.
location
.
href
=
(
"
datapasien/
"
+
$encodedId
);
}
if
(
result
.
data
[
'
datapasien
'
][
0
][
'
no_rekam_medis
'
]
!=
null
&&
(
result
.
data
[
'
datapasien
'
][
0
][
'
status_code
'
]
==
10
))
{
let
$idantrian
=
result
.
data
[
'
datapasien
'
][
0
][
'
id_antrian
'
];
let
$encodedIdantrian
=
btoa
(
$idantrian
)
let
no_rekam_medis
=
result
.
data
[
'
datapasien
'
][
0
][
'
no_rekam_medis
'
];
let
nama
=
result
.
data
[
'
datapasien
'
][
0
][
'
nama
'
];
swal
({
title
:
"
Nama pasien '
"
+
nama
+
"
' sedang dalam antrian.
\n
Apakah anda ingin mencetak no antrian lagi ?
"
,
type
:
"
error
"
,
confirmButtonClass
:
"
success
"
,
confirmButtonText
:
"
Yes!
"
,
showCancelButton
:
true
,
},
function
()
{
window
.
location
=
(
baseURL
+
"
/queue/cetakantrian/
"
+
$encodedIdantrian
);
});
}
else
if
(
result
.
data
[
'
datapasien
'
][
0
][
'
status_code
'
]
==
20
)
{
bootbox
.
alert
({
message
:
"
Pasien Sedang Dalam Antrian
"
,
centerVertical
:
true
});
}
else
if
(
result
.
data
[
'
datapasien
'
][
0
][
'
status_code
'
]
==
30
)
{
bootbox
.
alert
({
message
:
"
Pasien Sedang Dalam Panggilan Antrian
"
,
centerVertical
:
true
});
}
else
if
(
result
.
data
[
'
datapasien
'
][
0
][
'
status_code
'
]
==
40
)
{
bootbox
.
alert
({
message
:
"
Pasien Sedang Diperika Dokter
"
,
centerVertical
:
true
});
}
else
if
(
result
.
data
[
'
datapasien
'
][
0
][
'
status_code
'
]
==
50
)
{
bootbox
.
alert
({
message
:
"
Pasien Telah Selesai Diperiksa
"
,
centerVertical
:
true
});
}
else
if
(
result
.
data
[
'
datapasien
'
][
0
][
'
status_code
'
]
==
60
)
{
bootbox
.
alert
({
message
:
"
Pasien Sedang Telah Terlewat Silahkan Hubungi Petugas
"
,
centerVertical
:
true
});
}
// } else if (result.data['validasiinput'] == 1) {
// bootbox.alert({ message: "No Induk Kependudukan tidak sesuai", centerVertical: true });
}
else
{
// bootbox.alert({ message: "Pasien Tidak Terdaftar <br> Silahkan Daftar Terlebih Dahulu", centerVertical: true });
}
\ No newline at end of file
public/tamplate/img/doctor/WhatsApp Image 2020-06-22 at 16.54.18.jpeg
0 → 100644
View file @
1b1e00d1
114 KB
public/tamplate/img/doctor/WhatsApp Image 2020-11-06 at 10.52.09.jpeg
0 → 100644
View file @
1b1e00d1
74.3 KB
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