|
@@ -459,6 +459,13 @@ U.MD.D.I.openApplication = function(str, obj, info) {
|
|
|
_userid = obj.userid || US.userInfo.userid, //登录用户id
|
|
|
_oid = obj.organizeid || _userinfo.organizeid,
|
|
|
_type = US.userInfo.type || US.userInfo.identity;
|
|
|
+ if (US.userInfo.identity && US.userInfo.identity == 0) {
|
|
|
+ _type = 1;
|
|
|
+ } else if (US.userInfo.identity && US.userInfo.identity == 1) {
|
|
|
+ _type = 2;
|
|
|
+ } else if (US.userInfo.identity && US.userInfo.identity == 2) {
|
|
|
+ _type = 0;
|
|
|
+ }
|
|
|
if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
|
|
|
switch (str) {
|
|
|
|