fmui-base 2.0.84 → 2.0.86

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.0.86:流程列表标题样式
7
+ - 2.0.85:表单未用到的批示意见默认隐藏
6
8
  - 2.0.84:批量办理回调时报错问题处理
7
9
  - 2.0.83:同一字段关联字段,编辑方式相同时冲突
8
10
  - 2.0.82:移动表单支持宏值签名图片
package/lib/form/form.js CHANGED
@@ -1013,6 +1013,7 @@ var PageHome = function (_React$Component) {
1013
1013
  } else if (itemType == 'mulscale') {//矩阵量表
1014
1014
  } else if (itemType == 'comment') {
1015
1015
  //批示意见
1016
+ itemParam.show = false;
1016
1017
  var commentFieldList = [];
1017
1018
  for (var _i = 0; _i < commentList.length; _i++) {
1018
1019
  var commentItem = commentList[_i];
@@ -1020,12 +1021,16 @@ var PageHome = function (_React$Component) {
1020
1021
  //评论id和code
1021
1022
  commentFieldList.push(commentItem);
1022
1023
  }
1024
+ if (itemParam.uniqueName == commentItem.field) {
1025
+ itemParam.show = true;
1026
+ }
1023
1027
  }
1024
1028
  itemParam.topicType = itemType;
1025
1029
  value = commentFieldList;
1026
1030
 
1027
1031
  if (t.state.commentField == itemParam.uniqueName && t.state.hasCommentField == '1') {
1028
1032
  this.props.newspyj.documentId = t.state.prefixName + "_" + itemParam.key;
1033
+ itemParam.show = true;
1029
1034
  }
1030
1035
  } else if (itemType == 'upload' || itemType == 'image') {
1031
1036
  //附件图片
@@ -3257,7 +3262,7 @@ var PageHome = function (_React$Component) {
3257
3262
  t.state.itemParam.isVerifySing == "1" ? _react2.default.createElement('i', { className: 'iconfont icon-checked t-PT10', style: { color: 'green' } }) : t.state.itemParam.isVerifySing == "2" ? _react2.default.createElement('i', { className: 'iconfont icon-close t-PT10', style: { color: 'red' } }) : ""
3258
3263
  )
3259
3264
  )
3260
- ) : this.state.itemParam.itemType == 'comment' ? _react2.default.createElement(
3265
+ ) : this.state.itemParam.itemType == 'comment' && this.state.itemParam.show ? _react2.default.createElement(
3261
3266
  'div',
3262
3267
  { className: t.state.itemParam.fieldId, style: t.state.itemParam.formStyleObj.contentStyle },
3263
3268
  _react2.default.createElement(
@@ -1182,6 +1182,7 @@ var PageHome = function (_React$Component) {
1182
1182
  var barModules = returnDataItem.modules;
1183
1183
  var formCode = returnDataItem.formCode;
1184
1184
  var FlowCommon;
1185
+
1185
1186
  try {
1186
1187
  FlowCommon = require('pages/flow_common/' + barModules).default ? require('pages/flow_common/' + barModules).default : require('pages/flow_common/' + barModules);
1187
1188
  if (typeof FlowCommon !== 'undefined' && typeof FlowCommon.operateCallBack === "function") {
@@ -366,7 +366,7 @@ var ListItem = function (_React$Component) {
366
366
  ),
367
367
  _react2.default.createElement(
368
368
  Box,
369
- null,
369
+ { className: 'title' },
370
370
  this.props.title
371
371
  )
372
372
  ),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmui-base",
3
- "version": "2.0.84",
3
+ "version": "2.0.86",
4
4
  "title": "fmui-base",
5
5
  "description": "fmui移动端组件",
6
6
  "main": "lib/index.js",