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 CHANGED
@@ -3,7 +3,9 @@
3
3
  ---
4
4
 
5
5
  ## 更新日志
6
- - 1.0.22:流程列表批量办理按钮增加配置项可控制隐藏
6
+ - 1.0.25:流程列表增加类型all情况下查所有流程问题修改
7
+ - 1.0.24:流程列表增加类型all全局待办module编码,增加流程表单外扩展js
8
+ - 1.0.23:流程列表批量办理按钮增加配置项可控制隐藏
7
9
  - 1.0.22:修改流程列表统一待办和搜索
8
10
  - 1.0.21:修改流程列表统一待办
9
11
  - 1.0.20:修改推送打开作废流程提示
@@ -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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmui-base",
3
- "version": "1.0.23",
3
+ "version": "1.0.25",
4
4
  "title": "fmui-base",
5
5
  "description": "fmui移动端组件",
6
6
  "main": "lib/index.js",