fmui-base 1.0.23 → 1.0.25
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 +3 -1
- package/lib/comment_list/List.js +8 -1
- package/lib/form/form.js +15 -0
- package/lib/form/table.js +4 -0
- package/lib/process_info/processInfo.js +4 -0
- package/lib/process_list/processList.js +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
package/lib/comment_list/List.js
CHANGED
|
@@ -54,7 +54,6 @@ var PageHome = function (_React$Component) {
|
|
|
54
54
|
key: 'render',
|
|
55
55
|
value: function render() {
|
|
56
56
|
var t = this;
|
|
57
|
-
|
|
58
57
|
return _react2.default.createElement(
|
|
59
58
|
'div',
|
|
60
59
|
null,
|
|
@@ -81,6 +80,14 @@ var PageHome = function (_React$Component) {
|
|
|
81
80
|
_react2.default.createElement('img', { className: 't-H32 t-W64 ', src: t.state.loadImg + item.signPic })
|
|
82
81
|
)
|
|
83
82
|
),
|
|
83
|
+
_react2.default.createElement(
|
|
84
|
+
Box,
|
|
85
|
+
{ vAlign: 'start', hAlign: 'end', className: 't-FAR t-omit' },
|
|
86
|
+
' ',
|
|
87
|
+
item.indexOf('taskName') >= 0 ? item.taskName : '',
|
|
88
|
+
'\xA0',
|
|
89
|
+
item.indexOf('org') >= 0 ? item.createdOrgName.substring(item.createdOrgName.lastIndexOf("/") + 1) : ''
|
|
90
|
+
),
|
|
84
91
|
_react2.default.createElement(
|
|
85
92
|
Box,
|
|
86
93
|
{ vAlign: 'start', hAlign: 'end', className: 't-FAR t-omit' },
|
package/lib/form/form.js
CHANGED
|
@@ -723,6 +723,11 @@ var PageHome = function (_React$Component) {
|
|
|
723
723
|
itemParam = FlowCommon.dealwithCommonFormParam(itemParam, this);
|
|
724
724
|
itemType = itemParam.itemType;
|
|
725
725
|
}
|
|
726
|
+
//项目开发扩展
|
|
727
|
+
if (typeof mobileExt !== 'undefined' && typeof mobileExt.dealwithFormParamExt === "function") {
|
|
728
|
+
itemParam = mobileExt.dealwithFormParamExt(itemParam, this);
|
|
729
|
+
itemType = itemParam.itemType;
|
|
730
|
+
}
|
|
726
731
|
t.setState({
|
|
727
732
|
itemParam: itemParam,
|
|
728
733
|
loaded: true
|
|
@@ -739,6 +744,11 @@ var PageHome = function (_React$Component) {
|
|
|
739
744
|
itemParam = FlowCommon.dealwithCommonFormParam(itemParam, this);
|
|
740
745
|
itemType = itemParam.itemType;
|
|
741
746
|
}
|
|
747
|
+
//项目开发扩展
|
|
748
|
+
if (typeof mobileExt !== 'undefined' && typeof mobileExt.dealwithFormParamExt === "function") {
|
|
749
|
+
itemParam = mobileExt.dealwithFormParamExt(itemParam, this);
|
|
750
|
+
itemType = itemParam.itemType;
|
|
751
|
+
}
|
|
742
752
|
t.setState({
|
|
743
753
|
itemParam: itemParam,
|
|
744
754
|
loaded: true
|
|
@@ -755,6 +765,11 @@ var PageHome = function (_React$Component) {
|
|
|
755
765
|
itemParam = FlowCommon.dealwithCommonFormParam(itemParam, this);
|
|
756
766
|
itemType = itemParam.itemType;
|
|
757
767
|
}
|
|
768
|
+
//项目开发扩展
|
|
769
|
+
if (typeof mobileExt !== 'undefined' && typeof mobileExt.dealwithFormParamExt === "function") {
|
|
770
|
+
itemParam = mobileExt.dealwithFormParamExt(itemParam, this);
|
|
771
|
+
itemType = itemParam.itemType;
|
|
772
|
+
}
|
|
758
773
|
this.setState({
|
|
759
774
|
itemParam: itemParam,
|
|
760
775
|
loaded: true
|
package/lib/form/table.js
CHANGED
|
@@ -138,6 +138,10 @@ var PageHome = function (_React$Component) {
|
|
|
138
138
|
if (typeof FlowCommon.dealwithFormItemChange === "function") {
|
|
139
139
|
FlowCommon.dealwithFormItemChange(itemParam, this);
|
|
140
140
|
}
|
|
141
|
+
//项目开发扩展
|
|
142
|
+
if (typeof mobileExt !== 'undefined' && typeof mobileExt.dealwithFormItemChangeExt === "function") {
|
|
143
|
+
mobileExt.dealwithFormItemChangeExt(itemParam, this);
|
|
144
|
+
}
|
|
141
145
|
var uniqueName = itemParam.uniqueName;
|
|
142
146
|
if (itemParam.itemType == 'text' || itemParam.itemType == 'datetime') {
|
|
143
147
|
//当等于单行文本或者时间时
|
|
@@ -679,6 +679,10 @@ var PageHome = function (_React$Component) {
|
|
|
679
679
|
}, 1500);
|
|
680
680
|
}
|
|
681
681
|
}
|
|
682
|
+
//项目开发扩展
|
|
683
|
+
if (typeof mobileExt !== 'undefined' && typeof mobileExt.dealwithFolowInfoExt === "function") {
|
|
684
|
+
content = mobileExt.dealwithFolowInfoExt(content);
|
|
685
|
+
}
|
|
682
686
|
var markValue = getSysMarkConfigValue('approve');
|
|
683
687
|
var markValueJson = JSON.parse(markValue);
|
|
684
688
|
messageType = content.message;
|
|
@@ -401,8 +401,8 @@ var PageHome = function (_React$Component2) {
|
|
|
401
401
|
|
|
402
402
|
var constIndex = document.getElementById("activeTabIndex").value; //常量
|
|
403
403
|
var activeIndex = props.activeIndex ? props.activeIndex : 0;
|
|
404
|
-
var module = props.module ? props.module : "approve";
|
|
405
404
|
var type = props.type ? props.type : "self"; //self:本应用,all:全模块
|
|
405
|
+
var module = props.module ? props.module : type == "self" ? "approve" : "";
|
|
406
406
|
var hasBatch = eval(props.hasBatch ? props.hasBatch : "true"); //是否有批量办理
|
|
407
407
|
var tabCodes = props.tabCodes ? props.tabCodes : "undo,unread,done,read,myself"; //标签页
|
|
408
408
|
var searchVal = props.search;
|
|
@@ -428,11 +428,11 @@ var PageHome = function (_React$Component2) {
|
|
|
428
428
|
readListUrl = _variables2.default.URLS.transaction.read + "&module=" + module;
|
|
429
429
|
myselfListUrl = _variables2.default.URLS.transaction.myself + "&module=" + module;
|
|
430
430
|
} else {
|
|
431
|
-
undoListUrl = _variables2.default.URLS.transaction.undo + "&unified=1&sourceType=unitedapprove";
|
|
432
|
-
unreadListUrl = _variables2.default.URLS.transaction.unread + "&unified=1&sourceType=unitedapprove";
|
|
433
|
-
doneListUrl = _variables2.default.URLS.transaction.done + "&unified=1&sourceType=unitedapprove";
|
|
434
|
-
readListUrl = _variables2.default.URLS.transaction.read + "&unified=1&sourceType=unitedapprove";
|
|
435
|
-
myselfListUrl = _variables2.default.URLS.transaction.myself + "&unified=1&sourceType=unitedapprove";
|
|
431
|
+
undoListUrl = _variables2.default.URLS.transaction.undo + "&unified=1&sourceType=unitedapprove&module=" + module;
|
|
432
|
+
unreadListUrl = _variables2.default.URLS.transaction.unread + "&unified=1&sourceType=unitedapprove&module=" + module;
|
|
433
|
+
doneListUrl = _variables2.default.URLS.transaction.done + "&unified=1&sourceType=unitedapprove&module=" + module;
|
|
434
|
+
readListUrl = _variables2.default.URLS.transaction.read + "&unified=1&sourceType=unitedapprove&module=" + module;
|
|
435
|
+
myselfListUrl = _variables2.default.URLS.transaction.myself + "&unified=1&sourceType=unitedapprove&module=" + module;
|
|
436
436
|
}
|
|
437
437
|
_this2.state = {
|
|
438
438
|
tabCodes: tabCodes,
|