fmui-base 2.1.76 → 2.1.78

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.78:自动编号重复赋值问题处理
7
+ - 2.1.77:转交报错处理
6
8
  - 2.1.76:扩展选人回显选中
7
9
  - 2.1.75:已阅批示意见保存
8
10
  - 2.1.74:新建默认赋值
package/lib/form/form.js CHANGED
@@ -655,7 +655,7 @@ var PageHome = function (_React$Component) {
655
655
  // }
656
656
  // 宏值新需求,赋值字段取defaultValue
657
657
  if (itemParam.dataAttr && itemParam.dataAttr.dataSrc == '2' && fuzhiFields != '') {
658
- if (fuzhiFields.split(",").indexOf(itemParam.uniqueName) != -1) {
658
+ if (fuzhiFields.split(",").indexOf(itemParam.uniqueName) != -1 && form.defaultValue && form.defaultValue != null) {
659
659
  value = form.defaultValue;
660
660
  }
661
661
  }
@@ -2847,7 +2847,7 @@ var PageHome = function (_React$Component) {
2847
2847
  //if(hasCommentField=="1"){
2848
2848
  t.setState({
2849
2849
  pageStatus: '1',
2850
- transferShortMessage: t.state.shortMessageList,
2850
+ transferShortMessage: t.state.transferShortMessage,
2851
2851
  operate: operate
2852
2852
  }, function () {
2853
2853
  $(window).scrollTop(0);
@@ -4841,9 +4841,11 @@ var PageHome = function (_React$Component) {
4841
4841
 
4842
4842
  var nextTaskId = "";
4843
4843
  var autoSendText = "";
4844
+ var newdataId = "";
4844
4845
  if (typeof content.nextTaskId != "undefined" && content.nextTaskId != "" && content.nextTaskId != null) {
4845
4846
  nextTaskId = content.nextTaskId;
4846
4847
  autoSendText = content.nextTaskName;
4848
+ newdataId = content.dataId;
4847
4849
  try {
4848
4850
  t.handleCancelClick();
4849
4851
  } catch (e) {}
@@ -4852,7 +4854,8 @@ var PageHome = function (_React$Component) {
4852
4854
  taskId: nextTaskId,
4853
4855
  nextTaskId: nextTaskId,
4854
4856
  operate: 1,
4855
- autoSendText: autoSendText
4857
+ autoSendText: autoSendText,
4858
+ dataId: newdataId
4856
4859
  }, function () {
4857
4860
  t.handleSubmit(1);
4858
4861
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmui-base",
3
- "version": "2.1.76",
3
+ "version": "2.1.78",
4
4
  "title": "fmui-base",
5
5
  "description": "fmui移动端组件",
6
6
  "main": "lib/index.js",