Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OKU-GIS
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
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
Muhamad
OKU-GIS
Commits
0fe38c34
Commit
0fe38c34
authored
Feb 09, 2022
by
Manggar Mahardhika
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
baru besok presentasi
parent
f96df7dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
static/js/action.js
static/js/action.js
+6
-6
No files found.
static/js/action.js
View file @
0fe38c34
...
@@ -44,7 +44,7 @@ $("#upload_image").change(function() {
...
@@ -44,7 +44,7 @@ $("#upload_image").change(function() {
function
getdetailper
(
id
)
{
function
getdetailper
(
id
)
{
$
(
"
.map_detail_p_p
"
).
html
(
``
)
$
(
"
.map_detail_p_p
"
).
html
(
``
)
console
.
log
(
id
)
//
console.log(id)
$
.
ajax
({
$
.
ajax
({
url
:
"
get-detail-perbaikan
"
,
url
:
"
get-detail-perbaikan
"
,
data
:
{
data
:
{
...
@@ -251,7 +251,7 @@ function load_manage() {
...
@@ -251,7 +251,7 @@ function load_manage() {
var
all_id
=
[]
var
all_id
=
[]
var
all_stat
=
[]
var
all_stat
=
[]
console
.
log
(
data
[
'
group
'
])
//
console.log(data['group'])
for
(
var
i
=
0
;
i
<
data
[
'
group
'
].
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
data
[
'
group
'
].
length
;
i
++
)
{
...
@@ -661,7 +661,7 @@ function loadparent(isSelect) {
...
@@ -661,7 +661,7 @@ function loadparent(isSelect) {
dataType
:
'
json
'
,
dataType
:
'
json
'
,
type
:
'
post
'
,
type
:
'
post
'
,
success
:
function
(
data
)
{
success
:
function
(
data
)
{
console
.
log
(
data
)
//
console.log(data)
let
response
=
data
;
let
response
=
data
;
if
(
response
.
code
==
0
)
{
if
(
response
.
code
==
0
)
{
...
@@ -1421,7 +1421,7 @@ $("#saveuser").on("click", function() {
...
@@ -1421,7 +1421,7 @@ $("#saveuser").on("click", function() {
isObject
[
'
phone
'
]
=
$
(
"
#phone
"
).
val
();
isObject
[
'
phone
'
]
=
$
(
"
#phone
"
).
val
();
isObject
.
group
=
group
isObject
.
group
=
group
isObject
.
isStaff
=
$
(
'
input[name="isStaff"]:checked
'
).
val
();
isObject
.
isStaff
=
$
(
'
input[name="isStaff"]:checked
'
).
val
();
console
.
log
(
group
)
//
console.log(group)
$
.
ajax
({
$
.
ajax
({
url
:
"
adduser/
"
,
url
:
"
adduser/
"
,
...
@@ -1475,8 +1475,8 @@ $("#savegroup").on("click", function() {
...
@@ -1475,8 +1475,8 @@ $("#savegroup").on("click", function() {
isObject
[
'
all_perm
'
]
=
JSON
.
stringify
(
all_perm
)
isObject
[
'
all_perm
'
]
=
JSON
.
stringify
(
all_perm
)
isObject
.
group
=
group
isObject
.
group
=
group
console
.
log
(
group
)
//
console.log(group)
console
.
log
(
isObject
)
//
console.log(isObject)
$
.
ajax
({
$
.
ajax
({
url
:
"
addGroup/
"
,
url
:
"
addGroup/
"
,
data
:
isObject
,
data
:
isObject
,
...
...
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