first commit
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
/*******************************************************************
|
||||
|
||||
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.JSONF({
|
||||
url: this.PHP + '/table_detail',
|
||||
}).send();
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user