fmui-base 2.1.77 → 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 +1 -0
- package/lib/form/form.js +1 -1
- package/lib/process_info/processInfo.js +4 -1
- package/package.json +1 -1
package/README.md
CHANGED
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
|
}
|
|
@@ -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
|
});
|