53 lines
696 B
JavaScript
53 lines
696 B
JavaScript
|
|
layui.define(['table', 'jquery', 'element'], function (exports) {
|
||
|
|
"use strict";
|
||
|
|
|
||
|
|
var MOD_NAME = 'pearAuth',
|
||
|
|
$ = layui.jquery,
|
||
|
|
element = layui.element;
|
||
|
|
|
||
|
|
var pearAuth = function () {
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
};
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 初始化
|
||
|
|
* */
|
||
|
|
pearFrame.prototype.initPermission = function (url) {
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 新增权限
|
||
|
|
* */
|
||
|
|
pearFrame.prototype.setPermission = function (opt) {
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 清楚权限
|
||
|
|
* */
|
||
|
|
pearFrame.prototype.clearPermission = function (opt) {
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 删除权限
|
||
|
|
* */
|
||
|
|
pearFrame.prototype.removePermission = function (opt) {
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 权限验证
|
||
|
|
* */
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
exports(MOD_NAME,new pearAuth());
|
||
|
|
})
|