|
@@ -7744,23 +7744,25 @@ U.MD.D.I.openApplicationWai = function (id, url, dom, array) {
|
|
|
{ userid: _userid, organizeid: _oid, type: _type, org: _org, role: _role, classid: _classId } = _userinfo; // 解构赋值获取用户信息
|
|
|
const _TscreenType = 1, _screenType = 2, _SscreenType = 3; // 常量定义
|
|
|
let iframeBool = true;
|
|
|
- const paramsMap = {
|
|
|
- userid: _userid,
|
|
|
- org: _org,
|
|
|
- oid: _oid,
|
|
|
- type: _type,
|
|
|
- role: _role,
|
|
|
- classId: _classId,
|
|
|
- TscreenType: _TscreenType,
|
|
|
- SscreenType: _SscreenType
|
|
|
- };
|
|
|
-
|
|
|
- const canshu = array
|
|
|
- .filter(param => paramsMap[param] !== undefined)
|
|
|
- .map(param => `${param}=${paramsMap[param]}`);
|
|
|
-
|
|
|
- const queryString = canshu.length ? '?' + canshu.join('&') : ''; // 生成查询字符串
|
|
|
-
|
|
|
+ let queryString = ''
|
|
|
+ if(array && array.length){
|
|
|
+ const paramsMap = {
|
|
|
+ userid: _userid,
|
|
|
+ org: _org,
|
|
|
+ oid: _oid,
|
|
|
+ type: _type,
|
|
|
+ role: _role,
|
|
|
+ classId: _classId,
|
|
|
+ TscreenType: _TscreenType,
|
|
|
+ SscreenType: _SscreenType
|
|
|
+ };
|
|
|
+
|
|
|
+ const canshu = array
|
|
|
+ .filter(param => paramsMap[param] !== undefined)
|
|
|
+ .map(param => `${param}=${paramsMap[param]}`);
|
|
|
+
|
|
|
+ queryString = canshu.length ? '?' + canshu.join('&') : ''; // 生成查询字符串
|
|
|
+ }
|
|
|
if(U.UF.UI.form.allForm[id]){
|
|
|
iframeBool = false
|
|
|
}
|