fmui-base 2.1.90 → 2.1.92

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.92:鸿蒙样式问题
7
+ - 2.1.91:流程转交支持修改办理缓急
6
8
  - 2.1.90:退回发起人结束流程调用非正常结束回调
7
9
  - 2.1.89:子表选人组件报错
8
10
  - 2.1.88:流程增加结束(退回)状态
@@ -106,6 +106,8 @@ var _SelectField = require('saltui/lib/SelectField');
106
106
 
107
107
  var _SelectField2 = _interopRequireDefault(_SelectField);
108
108
 
109
+ require('./processInfo.less');
110
+
109
111
  function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
110
112
 
111
113
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -5363,7 +5365,15 @@ var PageHome = function (_React$Component) {
5363
5365
  if (typeof newComment == "undefined" || newComment == '') {
5364
5366
  newComment = t.state.defaultValue;
5365
5367
  }
5368
+ var urgentListSelect = t.state.urgentSelectList;
5369
+ var urgent = '';
5370
+ if (urgentListSelect && typeof urgentListSelect != "undefined" && typeof urgentListSelect.value != "undefined" && urgentListSelect.value != "") {
5371
+ urgent = urgentListSelect.value;
5372
+ }
5366
5373
 
5374
+ if (urgent == '') {
5375
+ urgent = '50';
5376
+ }
5367
5377
  var param = {
5368
5378
  formId: t.state.formId,
5369
5379
  dataId: t.state.dataId,
@@ -5381,7 +5391,8 @@ var PageHome = function (_React$Component) {
5381
5391
  permissionCode: t.state.permissionCode,
5382
5392
  participantMode: t.state.participantMode,
5383
5393
  shortMessage: shortMessage,
5384
- automaticReturn: automaticReturn
5394
+ automaticReturn: automaticReturn,
5395
+ urgent: urgent
5385
5396
  };
5386
5397
  var commentbizSn = t.guid2();
5387
5398
  if (param.commentId && param.commentId != "" && param.commentId != null && typeof param.commentId != "undefined") {
@@ -7386,7 +7397,7 @@ var PageHome = function (_React$Component) {
7386
7397
  var bottomStyle = { paddingBottom: this.state.bottom + 'px' };
7387
7398
  return _react2.default.createElement(
7388
7399
  'div',
7389
- { style: bottomStyle, className: 'approval-details' },
7400
+ { className: 'approval-details' },
7390
7401
  _react2.default.createElement(
7391
7402
  'div',
7392
7403
  { className: this.state.errorMsg == '任务不存在' ? "dd-state-page" : 't-DN' },
@@ -7871,6 +7882,19 @@ var PageHome = function (_React$Component) {
7871
7882
  ),
7872
7883
  _react2.default.createElement(_Switch2.default, { on: this.state.automaticReturn, onChange: this.handleAutomaticReturnChange.bind(this) })
7873
7884
  ),
7885
+ _react2.default.createElement(
7886
+ 'div',
7887
+ { className: this.state.urgencyList && this.state.urgencyList.length > 0 ? '' : 't-DN' },
7888
+ _react2.default.createElement(_SelectField2.default, {
7889
+ label: "办理缓急",
7890
+ readOnly: false,
7891
+ options: this.state.urgencyList,
7892
+ placeholder: "请选择",
7893
+ onSelect: this.changeUrgencyList.bind(this),
7894
+ value: this.state.urgentSelectList,
7895
+ multiLine: true
7896
+ })
7897
+ ),
7874
7898
  _react2.default.createElement(_CheckboxField2.default, {
7875
7899
  data: this.state.shortMessageList,
7876
7900
  className: '',
@@ -0,0 +1,4 @@
1
+ .approval-details{
2
+ padding-bottom: calc(62px + constant(safe-area-inset-bottom)) !important; /* 兼容旧版 iOS */
3
+ padding-bottom: calc(62px + env(safe-area-inset-bottom)) !important; /* 兼容新版 iOS */
4
+ }
@@ -458,7 +458,8 @@ var PageHome = function (_React$Component2) {
458
458
  //获取内容显示区域高度
459
459
  var hasBottomTabHidden = document.getElementById("hasBottomTab") ? document.getElementById("hasBottomTab").value : "0";
460
460
  var hasBottomTab = props.hasBottomTab ? props.hasBottomTab : hasBottomTabHidden;
461
- var winHeight = getScrollHigh(1, 1, hasBottomTab);
461
+ var winHeight = getScrollHigh(1, 1, hasBottomTab, 1); // 50为标题栏高度
462
+
462
463
 
463
464
  var constIndex = document.getElementById("activeTabIndex").value; //常量
464
465
  var activeIndex = props.activeIndex ? props.activeIndex : 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmui-base",
3
- "version": "2.1.90",
3
+ "version": "2.1.92",
4
4
  "title": "fmui-base",
5
5
  "description": "fmui移动端组件",
6
6
  "main": "lib/index.js",