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
@@ -3,6 +3,8 @@
3
3
  ---npm publish
4
4
 
5
5
  ## 更新日志
6
+ - 2.1.28:统一审批跳转问题处理
7
+ - 2.1.27:流程列表党纪工跳转
6
8
  - 2.1.26:子表必填字段没校验
7
9
  - 2.1.25:上传组件参数加密
8
10
  - 2.1.24:表单字段下拉多选字段有默认值时报错
@@ -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("clientType", "");
136
- fullUrl = fullUrl.replace("thirdMenuType", "");
137
- fullUrl = fullUrl.replace("clientAppType", "");
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";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmui-base",
3
- "version": "2.1.26",
3
+ "version": "2.1.28",
4
4
  "title": "fmui-base",
5
5
  "description": "fmui移动端组件",
6
6
  "main": "lib/index.js",