fmui-base 2.2.35 → 2.2.36
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/comment_list/List.js +2 -1
- package/lib/form/form.js +6 -3
- package/lib/form/table.js +8 -8
- package/lib/process_info/processInfo.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/lib/comment_list/List.js
CHANGED
|
@@ -97,7 +97,8 @@ var PageHome = function (_React$Component) {
|
|
|
97
97
|
key: 'casigin',
|
|
98
98
|
value: function casigin() {
|
|
99
99
|
var commentList = this.props.list;
|
|
100
|
-
|
|
100
|
+
var isCaUser = this.props.isCaUser; //是否是CA加签用户
|
|
101
|
+
if (commentList && isCaUser == "1") {
|
|
101
102
|
commentList.map(function (item) {
|
|
102
103
|
var param = {};
|
|
103
104
|
param.bizSn = item.id;
|
package/lib/form/form.js
CHANGED
|
@@ -142,6 +142,7 @@ var PageHome = function (_React$Component) {
|
|
|
142
142
|
var data = props.data;
|
|
143
143
|
var status = props.status;
|
|
144
144
|
var dataType = props.dataType; //数据类型,main:主表,sub:子表,
|
|
145
|
+
var isCaUser = props.isCaUser; //是否是CA加签用户
|
|
145
146
|
if (!dataType) {
|
|
146
147
|
dataType = "main";
|
|
147
148
|
}
|
|
@@ -194,7 +195,8 @@ var PageHome = function (_React$Component) {
|
|
|
194
195
|
phraseList: [], //常用语列表
|
|
195
196
|
spyj: props.defaultValue,
|
|
196
197
|
isRemoveCommentFormHtml: isRemoveCommentFormHtml,
|
|
197
|
-
commentInitList: []
|
|
198
|
+
commentInitList: [],
|
|
199
|
+
isCaUser: isCaUser
|
|
198
200
|
};
|
|
199
201
|
|
|
200
202
|
return _this;
|
|
@@ -1551,7 +1553,8 @@ var PageHome = function (_React$Component) {
|
|
|
1551
1553
|
}, {
|
|
1552
1554
|
key: 'casigin',
|
|
1553
1555
|
value: function casigin(itemParam, data, uniqueName, value) {
|
|
1554
|
-
|
|
1556
|
+
var isCaUser = this.state.isCaUser;
|
|
1557
|
+
if (value && value != null && value != "" && typeof value != "undefined" && isCaUser == "1") {
|
|
1555
1558
|
var t = this;
|
|
1556
1559
|
var dataId = data.dataId;
|
|
1557
1560
|
var param = {};
|
|
@@ -3678,7 +3681,7 @@ var PageHome = function (_React$Component) {
|
|
|
3678
3681
|
_react2.default.createElement(
|
|
3679
3682
|
'div',
|
|
3680
3683
|
{ className: 't-PT10 t-FB1' },
|
|
3681
|
-
_react2.default.createElement(_List2.default, { list: t.state.itemParam.value }),
|
|
3684
|
+
_react2.default.createElement(_List2.default, { list: t.state.itemParam.value, isCaUser: t.state.isCaUser }),
|
|
3682
3685
|
_react2.default.createElement(
|
|
3683
3686
|
'div',
|
|
3684
3687
|
{ className: t.state.commentField == this.state.itemParam.uniqueName ? 't-PL10 t-PR10' : 't-DN' },
|
package/lib/form/table.js
CHANGED
|
@@ -1850,16 +1850,16 @@ var PageHome = function (_React$Component) {
|
|
|
1850
1850
|
return _react2.default.createElement(
|
|
1851
1851
|
'div',
|
|
1852
1852
|
{ className: "form_" + item2.uniqueName },
|
|
1853
|
-
_react2.default.createElement(_form2.default, { keyNo: j, ref: item2.uniqueName, newspyj: t.props.newspyj, hasCommentField: t.props.hasCommentField, commentUpload: t.props.commentUpload, commentField: t.props.commentField, commentAttitude: t.props.commentAttitude, module: t.props.module, formKey: t.props.allForm.formcode, status: t.props.status, form: item2, allForm: t.props.allForm, formStyle: t.props.formStyleObj, commentList: t.props.commentFieldList, defaultValue: t.props.defaultValue, data: t.props.data, fieldControll: t.props.fieldControll, caIsPrd: t.props.caIsPrd, preCaFields: t.props.preCaFields, formRelaFieldMaps: t.state.formRelaFieldMaps, linkFields: t.state.linkFields, isRemoveCommentFormHtml: t.props.isRemoveCommentFormHtml, onChange: this.change.bind(this), reloadItemParam: this.reloadItemParam.bind(this) })
|
|
1853
|
+
_react2.default.createElement(_form2.default, { keyNo: j, ref: item2.uniqueName, newspyj: t.props.newspyj, hasCommentField: t.props.hasCommentField, commentUpload: t.props.commentUpload, commentField: t.props.commentField, commentAttitude: t.props.commentAttitude, module: t.props.module, formKey: t.props.allForm.formcode, status: t.props.status, form: item2, allForm: t.props.allForm, formStyle: t.props.formStyleObj, isCaUser: t.props.isCaUser, commentList: t.props.commentFieldList, defaultValue: t.props.defaultValue, data: t.props.data, fieldControll: t.props.fieldControll, caIsPrd: t.props.caIsPrd, preCaFields: t.props.preCaFields, formRelaFieldMaps: t.state.formRelaFieldMaps, linkFields: t.state.linkFields, isRemoveCommentFormHtml: t.props.isRemoveCommentFormHtml, onChange: this.change.bind(this), reloadItemParam: this.reloadItemParam.bind(this) })
|
|
1854
1854
|
);
|
|
1855
1855
|
}.bind(this)) : item.itemType == 'detail' ? _react2.default.createElement(
|
|
1856
1856
|
'div',
|
|
1857
1857
|
{ className: "subform_" + item.itemCode },
|
|
1858
|
-
_react2.default.createElement(_subForm2.default, { keyNo: i, ref: 'sub_' + item.itemCode, operate: t.props.operate, newspyj: t.props.newspyj, hasCommentField: t.props.hasCommentField, commentUpload: t.props.commentUpload, commentField: t.props.commentField, commentAttitude: t.props.commentAttitude, module: t.props.module, formKey: t.props.allForm.formcode, status: t.props.status, form: item, allForm: t.props.allForm, formStyle: t.props.formStyleObj, commentList: t.props.commentFieldList, defaultValue: t.props.defaultValue, data: t.props.data, fieldControll: t.props.fieldControll, caIsPrd: t.props.caIsPrd, preCaFields: t.props.preCaFields, formRelaFieldMaps: t.state.formRelaFieldMaps, linkFields: t.state.linkFields, isRemoveCommentFormHtml: t.props.isRemoveCommentFormHtml, onChange: this.change.bind(this) })
|
|
1858
|
+
_react2.default.createElement(_subForm2.default, { keyNo: i, ref: 'sub_' + item.itemCode, operate: t.props.operate, newspyj: t.props.newspyj, hasCommentField: t.props.hasCommentField, commentUpload: t.props.commentUpload, commentField: t.props.commentField, commentAttitude: t.props.commentAttitude, module: t.props.module, formKey: t.props.allForm.formcode, status: t.props.status, form: item, allForm: t.props.allForm, formStyle: t.props.formStyleObj, isCaUser: t.props.isCaUser, commentList: t.props.commentFieldList, defaultValue: t.props.defaultValue, data: t.props.data, fieldControll: t.props.fieldControll, caIsPrd: t.props.caIsPrd, preCaFields: t.props.preCaFields, formRelaFieldMaps: t.state.formRelaFieldMaps, linkFields: t.state.linkFields, isRemoveCommentFormHtml: t.props.isRemoveCommentFormHtml, onChange: this.change.bind(this) })
|
|
1859
1859
|
) : _react2.default.createElement(
|
|
1860
1860
|
'div',
|
|
1861
1861
|
{ className: "form_" + item.uniqueName },
|
|
1862
|
-
_react2.default.createElement(_form2.default, { ref: item.uniqueName, keyNo: i, operate: t.props.operate, newspyj: t.props.newspyj, hasCommentField: t.props.hasCommentField, commentUpload: t.props.commentUpload, commentField: t.props.commentField, commentAttitude: t.props.commentAttitude, module: t.props.module, formKey: t.props.allForm.formcode, status: t.props.status, form: item, allForm: t.props.allForm, formStyle: t.props.formStyleObj, commentList: t.props.commentFieldList, defaultValue: t.props.defaultValue, data: t.props.data, fieldControll: t.props.fieldControll, caIsPrd: t.props.caIsPrd, preCaFields: t.props.preCaFields, formRelaFieldMaps: t.state.formRelaFieldMaps, linkFields: t.state.linkFields, isRemoveCommentFormHtml: t.props.isRemoveCommentFormHtml, onChange: this.change.bind(this), reloadItemParam: this.reloadItemParam.bind(this) })
|
|
1862
|
+
_react2.default.createElement(_form2.default, { ref: item.uniqueName, keyNo: i, operate: t.props.operate, newspyj: t.props.newspyj, hasCommentField: t.props.hasCommentField, commentUpload: t.props.commentUpload, commentField: t.props.commentField, commentAttitude: t.props.commentAttitude, module: t.props.module, formKey: t.props.allForm.formcode, status: t.props.status, form: item, allForm: t.props.allForm, formStyle: t.props.formStyleObj, isCaUser: t.props.isCaUser, commentList: t.props.commentFieldList, defaultValue: t.props.defaultValue, data: t.props.data, fieldControll: t.props.fieldControll, caIsPrd: t.props.caIsPrd, preCaFields: t.props.preCaFields, formRelaFieldMaps: t.state.formRelaFieldMaps, linkFields: t.state.linkFields, isRemoveCommentFormHtml: t.props.isRemoveCommentFormHtml, onChange: this.change.bind(this), reloadItemParam: this.reloadItemParam.bind(this) })
|
|
1863
1863
|
);
|
|
1864
1864
|
}.bind(this)) : "" : _react2.default.createElement(
|
|
1865
1865
|
'div',
|
|
@@ -1886,16 +1886,16 @@ var PageHome = function (_React$Component) {
|
|
|
1886
1886
|
return _react2.default.createElement(
|
|
1887
1887
|
'div',
|
|
1888
1888
|
{ className: t.state.active == item.tabCode ? "" : "t-DN" },
|
|
1889
|
-
_react2.default.createElement(_form2.default, { className: "form_" + item.uniqueName, keyNo: j, ref: item.uniqueName, operate: t.props.operate, hasCommentField: t.props.hasCommentField, commentUpload: t.props.commentUpload, commentAttitude: t.props.commentAttitude, newspyj: t.props.newspyj, commentField: t.props.commentField, module: t.props.module, formKey: t.props.allForm.formcode, status: t.props.status, form: item2, allForm: t.props.allForm, formStyle: t.props.formStyleObj, commentList: t.props.commentFieldList, data: t.props.data, fieldControll: t.props.fieldControll, onChange: this.change.bind(this), reloadItemParam: this.reloadItemParam.bind(this) })
|
|
1889
|
+
_react2.default.createElement(_form2.default, { className: "form_" + item.uniqueName, keyNo: j, ref: item.uniqueName, operate: t.props.operate, hasCommentField: t.props.hasCommentField, commentUpload: t.props.commentUpload, commentAttitude: t.props.commentAttitude, newspyj: t.props.newspyj, commentField: t.props.commentField, module: t.props.module, formKey: t.props.allForm.formcode, isCaUser: t.props.isCaUser, status: t.props.status, form: item2, allForm: t.props.allForm, formStyle: t.props.formStyleObj, commentList: t.props.commentFieldList, data: t.props.data, fieldControll: t.props.fieldControll, onChange: this.change.bind(this), reloadItemParam: this.reloadItemParam.bind(this) })
|
|
1890
1890
|
);
|
|
1891
1891
|
}.bind(this)) : item.itemType == 'detail' ? _react2.default.createElement(
|
|
1892
1892
|
'div',
|
|
1893
1893
|
{ className: t.state.active == item.tabCode ? "" : "t-DN" },
|
|
1894
|
-
_react2.default.createElement(_subForm2.default, { className: "subform_" + item.itemCode, keyNo: i, ref: 'sub_' + item.itemCode, operate: t.props.operate, newspyj: t.props.newspyj, hasCommentField: t.props.hasCommentField, commentUpload: t.props.commentUpload, commentAttitude: t.props.commentAttitude, commentField: t.props.commentField, module: t.props.module, formKey: t.props.allForm.formcode, status: t.props.status, form: item, allForm: t.props.allForm, formStyle: t.props.formStyleObj, commentList: t.props.commentFieldList, data: t.props.data, fieldControll: t.props.fieldControll, onChange: this.change.bind(this) })
|
|
1894
|
+
_react2.default.createElement(_subForm2.default, { className: "subform_" + item.itemCode, keyNo: i, ref: 'sub_' + item.itemCode, operate: t.props.operate, newspyj: t.props.newspyj, hasCommentField: t.props.hasCommentField, commentUpload: t.props.commentUpload, commentAttitude: t.props.commentAttitude, commentField: t.props.commentField, module: t.props.module, formKey: t.props.allForm.formcode, isCaUser: t.props.isCaUser, status: t.props.status, form: item, allForm: t.props.allForm, formStyle: t.props.formStyleObj, commentList: t.props.commentFieldList, data: t.props.data, fieldControll: t.props.fieldControll, onChange: this.change.bind(this) })
|
|
1895
1895
|
) : _react2.default.createElement(
|
|
1896
1896
|
'div',
|
|
1897
1897
|
{ className: t.state.active == item.tabCode ? "" : "t-DN" },
|
|
1898
|
-
_react2.default.createElement(_form2.default, { className: "form_" + item.uniqueName, ref: item.uniqueName, keyNo: i, operate: t.props.operate, newspyj: t.props.newspyj, hasCommentField: t.props.hasCommentField, commentUpload: t.props.commentUpload, commentAttitude: t.props.commentAttitude, commentField: t.props.commentField, module: t.props.module, formKey: t.props.allForm.formcode, status: t.props.status, form: item, allForm: t.props.allForm, formStyle: t.props.formStyleObj, commentList: t.props.commentFieldList, data: t.props.data, fieldControll: t.props.fieldControll, onChange: this.change.bind(this), reloadItemParam: this.reloadItemParam.bind(this) })
|
|
1898
|
+
_react2.default.createElement(_form2.default, { className: "form_" + item.uniqueName, ref: item.uniqueName, keyNo: i, operate: t.props.operate, newspyj: t.props.newspyj, hasCommentField: t.props.hasCommentField, commentUpload: t.props.commentUpload, commentAttitude: t.props.commentAttitude, commentField: t.props.commentField, module: t.props.module, formKey: t.props.allForm.formcode, isCaUser: t.props.isCaUser, status: t.props.status, form: item, allForm: t.props.allForm, formStyle: t.props.formStyleObj, commentList: t.props.commentFieldList, data: t.props.data, fieldControll: t.props.fieldControll, onChange: this.change.bind(this), reloadItemParam: this.reloadItemParam.bind(this) })
|
|
1899
1899
|
);
|
|
1900
1900
|
}.bind(this))
|
|
1901
1901
|
)
|
|
@@ -1916,7 +1916,7 @@ var PageHome = function (_React$Component) {
|
|
|
1916
1916
|
_react2.default.createElement(
|
|
1917
1917
|
'div',
|
|
1918
1918
|
{ className: 't-PT10 t-FB1' },
|
|
1919
|
-
_react2.default.createElement(_List2.default, { list: t.props.commentBackList })
|
|
1919
|
+
_react2.default.createElement(_List2.default, { list: t.props.commentBackList, isCaUser: t.props.isCaUser })
|
|
1920
1920
|
)
|
|
1921
1921
|
)
|
|
1922
1922
|
),
|
|
@@ -1939,7 +1939,7 @@ var PageHome = function (_React$Component) {
|
|
|
1939
1939
|
_react2.default.createElement(
|
|
1940
1940
|
'div',
|
|
1941
1941
|
{ className: 't-PT10 t-FB1' },
|
|
1942
|
-
t.props.commentDefaultList && t.props.commentDefaultList.length > 0 ? _react2.default.createElement(_List2.default, { list: t.props.commentDefaultList }) : "",
|
|
1942
|
+
t.props.commentDefaultList && t.props.commentDefaultList.length > 0 ? _react2.default.createElement(_List2.default, { list: t.props.commentDefaultList, isCaUser: t.props.isCaUser }) : "",
|
|
1943
1943
|
_react2.default.createElement(
|
|
1944
1944
|
'div',
|
|
1945
1945
|
{ className: t.props.commentField == "default" ? 't-PL10 t-PR10' : 't-DN' },
|
|
@@ -7640,7 +7640,7 @@ var PageHome = function (_React$Component) {
|
|
|
7640
7640
|
_react2.default.createElement(
|
|
7641
7641
|
_Group2.default.List,
|
|
7642
7642
|
null,
|
|
7643
|
-
this.state.tableStatus == '0' ? "" : _react2.default.createElement(_table2.default, { module: this.state.module, operate: this.state.operate, editType: this.state.editType, dataId: this.state.dataId, hasCommentField: t.state.hasCommentField, newspyj: t.state.newspyj, commentField: t.state.commentField, commentAttitude: t.state.commentAttitude, status: t.state.status, form: t.state.formItem, formStyleObj: t.state.formStyleObj, allForm: t.state.form, data: t.state.editFormData, commentFieldList: t.state.commentFieldList, defaultValue: t.state.defaultValue, commentDefaultList: t.state.commentDefaultList, commentBackList: t.state.commentBackList, fieldControll: t.state.fieldControll, caIsPrd: t.state.caIsPrd, preCaFields: t.state.preCaFields, formRelaField: t.state.formRelaField, isRemoveCommentFormHtml: t.state.isRemoveCommentFormHtml, commentUpload: t.state.commentUpload, onChange: this.change.bind(this) })
|
|
7643
|
+
this.state.tableStatus == '0' ? "" : _react2.default.createElement(_table2.default, { module: this.state.module, operate: this.state.operate, editType: this.state.editType, dataId: this.state.dataId, hasCommentField: t.state.hasCommentField, newspyj: t.state.newspyj, commentField: t.state.commentField, commentAttitude: t.state.commentAttitude, status: t.state.status, form: t.state.formItem, formStyleObj: t.state.formStyleObj, allForm: t.state.form, data: t.state.editFormData, commentFieldList: t.state.commentFieldList, defaultValue: t.state.defaultValue, commentDefaultList: t.state.commentDefaultList, commentBackList: t.state.commentBackList, fieldControll: t.state.fieldControll, caIsPrd: t.state.caIsPrd, preCaFields: t.state.preCaFields, formRelaField: t.state.formRelaField, isRemoveCommentFormHtml: t.state.isRemoveCommentFormHtml, commentUpload: t.state.commentUpload, isCaUser: t.state.isCaUser, onChange: this.change.bind(this) })
|
|
7644
7644
|
)
|
|
7645
7645
|
)
|
|
7646
7646
|
)
|