Commit 0fe38c34 authored by Manggar Mahardhika's avatar Manggar Mahardhika

baru besok presentasi

parent f96df7dd
...@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment