Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
medapp_eksad
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
qorri_di
medapp_eksad
Commits
7841de7e
Commit
7841de7e
authored
Sep 22, 2022
by
Fikri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
menambahkan api desc pada contact
parent
c708746e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
contact_api.dart
lib/api/contact_api.dart
+1
-1
admin_contact.dart
lib/dashboard/admin/admin_contact.dart
+1
-1
No files found.
lib/api/contact_api.dart
View file @
7841de7e
...
@@ -7,7 +7,7 @@ var cmd = 'https://dmsdev-api.eksad.com/gateway/medapp/v1/cmd';
...
@@ -7,7 +7,7 @@ var cmd = 'https://dmsdev-api.eksad.com/gateway/medapp/v1/cmd';
var
qry
=
'https://dmsdev-api.eksad.com/gateway/medapp/v1/qry'
;
var
qry
=
'https://dmsdev-api.eksad.com/gateway/medapp/v1/qry'
;
Future
<
List
<
dynamic
>>
getcontact
()
async
{
Future
<
List
<
dynamic
>>
getcontact
()
async
{
var
response
=
await
http
.
get
(
Uri
.
parse
(
'
$qry
/contact/get'
));
var
response
=
await
http
.
get
(
Uri
.
parse
(
'
$qry
/contact/get
ContactByDate
'
));
return
jsonDecode
(
response
.
body
)[
'data'
];
return
jsonDecode
(
response
.
body
)[
'data'
];
}
}
...
...
lib/dashboard/admin/admin_contact.dart
View file @
7841de7e
...
@@ -613,7 +613,7 @@ class _Dashboard4State extends State<Dashboard4> {
...
@@ -613,7 +613,7 @@ class _Dashboard4State extends State<Dashboard4> {
viewUser
(
context
);
viewUser
(
context
);
}
else
if
(
value
==
2
)
{
}
else
if
(
value
==
2
)
{
print
(
"you choose Delete..."
);
print
(
"you choose Delete..."
);
viewUser
(
context
);
deleteContact
(
context
);
}
}
},
},
))
))
...
...
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