fmui-base 2.1.26 → 2.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -132,9 +132,9 @@ var ListItem = function (_React$Component) {
|
|
|
132
132
|
location.hash = url;
|
|
133
133
|
} else {
|
|
134
134
|
var fullUrl = window.location.href;
|
|
135
|
-
fullUrl = fullUrl.replace(
|
|
136
|
-
fullUrl = fullUrl.replace(
|
|
137
|
-
fullUrl = fullUrl.replace(
|
|
135
|
+
fullUrl = fullUrl.replace(/clientType/g, "");
|
|
136
|
+
fullUrl = fullUrl.replace(/thirdMenuType/g, "");
|
|
137
|
+
fullUrl = fullUrl.replace(/clientAppType/g, "");
|
|
138
138
|
var mobilePath = module;
|
|
139
139
|
//projectPath = modules/mobileoffice
|
|
140
140
|
// 预算模块跳转特殊处理
|
|
@@ -142,7 +142,7 @@ var ListItem = function (_React$Component) {
|
|
|
142
142
|
fullUrl = fullUrl.replace("/" + projectPath + "/", "/budget/budgetcost/").split('?_')[0].split('/approval/all')[0];
|
|
143
143
|
} else if (module == 'bud_project') {
|
|
144
144
|
fullUrl = fullUrl.replace("/" + projectPath + "/", "/budget/budgetproject/").split('?_')[0].split('/approval/all')[0];
|
|
145
|
-
} else if (module.indexOf("dj_") != '-1' || module.indexOf("jj_") != '-1') {
|
|
145
|
+
} else if (module.indexOf("dj_") != '-1' || module.indexOf("jj_") != '-1' || module.indexOf("zdh_") != '-1' || module.indexOf("gh_") != '-1') {
|
|
146
146
|
fullUrl = fullUrl.split('?_')[0].split('/approval/all')[0];
|
|
147
147
|
} else if (module.indexOf("hoa_") != '-1') {
|
|
148
148
|
var category = module.split("_")[0];
|
|
@@ -672,7 +672,7 @@ var Page = function (_React$Component) {
|
|
|
672
672
|
} else if (chooseObj.indexOf("politicalOutlook") >= 0) {
|
|
673
673
|
chooseType += ",politicalOutlook";
|
|
674
674
|
}
|
|
675
|
-
} else {
|
|
675
|
+
} else if (chooseType == "") {
|
|
676
676
|
// code = this.props.code;
|
|
677
677
|
if (code.indexOf("user") >= 0 && code.indexOf("org") >= 0) {
|
|
678
678
|
chooseType = "userAndOrg";
|