36 lines
943 B
JavaScript
36 lines
943 B
JavaScript
/*******************************************************************
|
|
|
|
PHP Class : /Controller/System/SuperController
|
|
Description : Supervisi Operator
|
|
Created By : Siau Pheng ([email protected]).
|
|
Created Date : September 11st, 2012.
|
|
Last Modified : August 29th, 2026.
|
|
|
|
(c) 3FONIA Software; WWW.3FONIA.COM.
|
|
|
|
*******************************************************************/
|
|
|
|
var SuperJS = {
|
|
PHP: '',
|
|
KODE: '',
|
|
|
|
index: function(){
|
|
this.data_query();
|
|
if ($('#divSuper').length > 0 && socket.active) socket.emit('super-check');
|
|
},
|
|
|
|
detail_select: function(acell){
|
|
new Request({
|
|
url: this.PHP + '/approve',
|
|
sendParam: ['AuthID='+acell[0]],
|
|
onSuccess: () => this.data_query()
|
|
}).send();
|
|
},
|
|
|
|
data_query: function(){
|
|
new Request_JSF({
|
|
url: this.PHP + '/table_detail',
|
|
}).send();
|
|
}
|
|
};
|