fmui-base 2.1.27 → 2.1.29

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.29:委托办理被委托人批示,显示被委托人的签名
7
+ - 2.1.28:统一审批跳转问题处理
6
8
  - 2.1.27:流程列表党纪工跳转
7
9
  - 2.1.26:子表必填字段没校验
8
10
  - 2.1.25:上传组件参数加密
@@ -255,7 +255,7 @@ var PageHome = function (_React$Component) {
255
255
  var userNameHtml = _react2.default.createElement(
256
256
  'span',
257
257
  { className: 't-PR5' },
258
- item.userName
258
+ item.replacename && item.replacename != "" ? item.replacename : item.userName
259
259
  );
260
260
  var dateHtml = _react2.default.createElement(
261
261
  'span',
@@ -296,10 +296,12 @@ var PageHome = function (_React$Component) {
296
296
  }
297
297
  }
298
298
  });
299
+ var replaceHtml = item.replacename && item.replacename != "" ? "(代" + item.userName + "办理)" : "";
299
300
  return _react2.default.createElement(
300
301
  Box,
301
302
  { style: { marginLeft: "auto", "text-align": "right", width: '100%' } },
302
- _returnHtml
303
+ _returnHtml,
304
+ replaceHtml
303
305
  );
304
306
  } else {
305
307
  return "";
@@ -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
  // 预算模块跳转特殊处理
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmui-base",
3
- "version": "2.1.27",
3
+ "version": "2.1.29",
4
4
  "title": "fmui-base",
5
5
  "description": "fmui移动端组件",
6
6
  "main": "lib/index.js",