fmui-base 1.0.48 → 2.0.0

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.
@@ -30,6 +30,10 @@ var _RadioField = require('saltui/lib/RadioField');
30
30
 
31
31
  var _RadioField2 = _interopRequireDefault(_RadioField);
32
32
 
33
+ var _Field = require('saltui/lib/Field');
34
+
35
+ var _Field2 = _interopRequireDefault(_Field);
36
+
33
37
  var _TextareaField = require('saltui/lib/TextareaField');
34
38
 
35
39
  var _TextareaField2 = _interopRequireDefault(_TextareaField);
@@ -50,6 +54,10 @@ var _Boxs = require('saltui/lib/Boxs');
50
54
 
51
55
  var _Boxs2 = _interopRequireDefault(_Boxs);
52
56
 
57
+ var _h5Imageviewer = require('h5-imageviewer');
58
+
59
+ var viewer = _interopRequireWildcard(_h5Imageviewer);
60
+
53
61
  var _ActionSheet = require('saltui/lib/ActionSheet');
54
62
 
55
63
  var _ActionSheet2 = _interopRequireDefault(_ActionSheet);
@@ -94,6 +102,8 @@ var _upload = require('../upload/upload');
94
102
 
95
103
  var _upload2 = _interopRequireDefault(_upload);
96
104
 
105
+ 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; } }
106
+
97
107
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
98
108
 
99
109
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
@@ -107,13 +117,15 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
107
117
  var HBox = _Boxs2.default.HBox,
108
118
  Box = _Boxs2.default.Box,
109
119
  VBox = _Boxs2.default.VBox;
110
- var ButtonGroup = _Button2.default.ButtonGroup;
120
+ var ButtonGroup = _Button2.default.ButtonGroup,
121
+ TextButton = _Button2.default.TextButton;
111
122
  //import UserInfo from '../approval-details/UserInfo';
112
123
 
113
124
  var extFile = "";
114
125
  var ActionSheetButton = void 0;
115
126
  var iconIndex = 0;
116
127
  var searchVal = '';
128
+ // const viewer = null;
117
129
 
118
130
  var evoRemind = '0';
119
131
  var sysSMSsetting = '0';
@@ -154,9 +166,15 @@ var PageHome = function (_React$Component) {
154
166
 
155
167
  /* $(".loading-containter").hide();*/
156
168
 
157
- //消息提醒
158
169
  var _this = _possibleConstructorReturn(this, (PageHome.__proto__ || Object.getPrototypeOf(PageHome)).call(this, props));
159
170
 
171
+ var bottom = 52;
172
+ var isIPhoneXR = /iphone/gi.test(window.navigator.userAgent) && window.screen.height >= 812;
173
+ if (isIPhoneXR) {
174
+ bottom = 52 + 46;
175
+ }
176
+
177
+ //消息提醒
160
178
  _thirdMenuType = getLoginUserInfo().thirdMenuType;
161
179
  var loginUserId = getLoginUserInfo().userId;
162
180
  var fxUserId = props.userId;
@@ -287,6 +305,7 @@ var PageHome = function (_React$Component) {
287
305
  });
288
306
 
289
307
  var param = {
308
+ bottom: bottom,
290
309
  editType: editType,
291
310
  isDraft: isDraft,
292
311
  listType: listType,
@@ -572,16 +591,33 @@ var PageHome = function (_React$Component) {
572
591
  "overflow": "auto",
573
592
  "height": ""
574
593
  });
594
+ if (viewer) {
595
+ viewer.hideViewer();
596
+ }
597
+
575
598
  _Dialog2.default.hide();
576
599
  _Popup2.default.hide();
577
600
  if (ActionSheetButton) {
578
601
  ActionSheetButton.close();
579
602
  }
580
603
  }
604
+ }, {
605
+ key: 'imageView',
606
+ value: function imageView(src) {
607
+ viewer.showViewer({
608
+ src: src
609
+ });
610
+ }
581
611
  }, {
582
612
  key: 'componentDidMount',
583
613
  value: function componentDidMount() {
584
614
  var t = this;
615
+ document.addEventListener('click', function (e) {
616
+ if (e.target.tagName === 'IMG') {
617
+ t.imageView(e.target.src);
618
+ }
619
+ });
620
+
585
621
  var taskId = this.state.taskId;
586
622
  var processInstanceId = this.state.processInstanceId;
587
623
  var listType = this.state.listType;
@@ -1009,7 +1045,10 @@ var PageHome = function (_React$Component) {
1009
1045
  //关联字段
1010
1046
  var formRelaField = content.formRelaField;
1011
1047
  var commentFieldList = [];
1012
- var defaultValue = content.defaultValue;
1048
+ var defaultValue = "";
1049
+ if (content.defaultValue || content.defaultValue === 0) {
1050
+ defaultValue = content.defaultValue;
1051
+ }
1013
1052
  var commentId = content.commentId;
1014
1053
  //alert(defaultValue);
1015
1054
  var commentDefaultList = [];
@@ -2127,6 +2166,7 @@ var PageHome = function (_React$Component) {
2127
2166
  var personValues = []; //备选的人
2128
2167
  var participantMode = item.participantMode; //判断选人是单选还是多选
2129
2168
  var commonUsedData = []; //自定义选人的范围,常用
2169
+ var commonTreeData = [];
2130
2170
  var popCode = "";
2131
2171
  var chooseType = "";
2132
2172
  var type3ParNum = 0;
@@ -2174,6 +2214,11 @@ var PageHome = function (_React$Component) {
2174
2214
  }
2175
2215
  var commonUsedId = ''; //常用选择范围
2176
2216
  var participantList = item.participantList;
2217
+ var participantListNew = item.participantListNew;
2218
+ if (participantListNew != null && participantListNew != "" && participantListNew.length > 0) {
2219
+ commonTreeData = participantListNew;
2220
+ }
2221
+
2177
2222
  participants = '';
2178
2223
  if (participantList != null && participantList != "" && participantList.length > 0) {
2179
2224
  for (var i = 0; i < participantList.length; i++) {
@@ -2226,6 +2271,10 @@ var PageHome = function (_React$Component) {
2226
2271
  chooseType = "userNotOrg,userNotGroup";
2227
2272
  var commonUsedId = ''; //常用选择范围
2228
2273
  var participantList = item.participantList;
2274
+ var participantListNew = item.participantListNew;
2275
+ if (participantListNew != null && participantListNew != "" && participantListNew.length > 0) {
2276
+ commonTreeData = participantListNew;
2277
+ }
2229
2278
  if (participantList != null && participantList != "" && participantList.length > 0) {
2230
2279
  for (var i = 0; i < participantList.length; i++) {
2231
2280
  if (participantList[i].type != "user") {
@@ -2272,6 +2321,7 @@ var PageHome = function (_React$Component) {
2272
2321
  checkedItem.code = popCode;
2273
2322
  checkedItem.chooseType = chooseType;
2274
2323
  checkedItem.commonUsedData = commonUsedData;
2324
+ checkedItem.commonTreeData = commonTreeData;
2275
2325
  checkedItem.participantMode = participantMode; //选人单选还是多选,1多选,0单选
2276
2326
  checkedItem.personValue = personValue;
2277
2327
  checkedItem.selectUserReadOnly = selectUserReadOnly;
@@ -2943,6 +2993,22 @@ var PageHome = function (_React$Component) {
2943
2993
  var mainTableId = data.dataId;
2944
2994
  allEditIdsArray.push(mainTableId);
2945
2995
 
2996
+ //关联表
2997
+ var relatedTbl = data.relatedTbl;
2998
+ for (var i = 0; i < relatedTbl.length; i++) {
2999
+ var relatedTblItem = relatedTbl[i];
3000
+ if (relatedTblItem) {
3001
+ var relatedMainTblData = relatedTblItem.relatedMainTblData;
3002
+ if (relatedMainTblData) {
3003
+ for (var j = 0; j < relatedMainTblData.length; j++) {
3004
+ if (relatedMainTblData[j].key == "id") {
3005
+ allEditIdsArray.push(relatedMainTblData[j].value);
3006
+ }
3007
+ }
3008
+ }
3009
+ }
3010
+ }
3011
+
2946
3012
  //子表id
2947
3013
  var subTbl = data.subTbl;
2948
3014
  for (var i = 0; i < subTbl.length; i++) {
@@ -5279,41 +5345,41 @@ var PageHome = function (_React$Component) {
5279
5345
  /* buttonCodeList.push({'buttonCode':'BASE_SUMBIT','buttonName':'通过'});
5280
5346
  buttonCodeList.push({'buttonCode':'PAGE_SAVE','buttonName':'保存'});*/
5281
5347
  if (buttonCodeList.length > 4) {
5282
- buttonList.push({ name: '更多', type: 'secondary', display: 'banner', no: -1 });
5348
+ buttonList.push({ name: '更多', type: 'text', display: 'inline', no: -1 });
5283
5349
  for (var c = 0; c < buttonCodeList.length; c++) {
5284
5350
  var buttonCode = buttonCodeList[c]['buttonCode'];
5285
5351
  var buttonName = buttonCodeList[c]['buttonName'];
5286
5352
  if (c < 3) {
5287
5353
  if (buttonCode == 'BACK') {
5288
- buttonList.push({ name: buttonName, type: 'secondary', display: 'banner', no: 2 });
5354
+ buttonList.push({ name: buttonName, type: 'danger', display: 'inline', no: 2 });
5289
5355
  } else if (buttonCode == 'PAGE_SAVE') {
5290
- buttonList.push({ name: buttonName, type: 'secondary', display: 'banner', no: 13 });
5356
+ buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 13 });
5291
5357
  } else if (buttonCode == 'BASE_SUMBIT') {
5292
5358
  var sumbmitName = buttonName;
5293
5359
  if (dataId == '' || isStart == true) {
5294
5360
  sumbmitName = '提交';
5295
5361
  }
5296
- buttonList.push({ name: sumbmitName, type: 'primary', display: 'banner', no: 1 });
5362
+ buttonList.push({ name: sumbmitName, type: 'primary', display: 'inline', no: 1 });
5297
5363
  } else if (buttonCode == 'BASE_TRANSFER') {
5298
- buttonList.push({ name: buttonName, type: 'secondary', display: 'banner', no: 3 });
5364
+ buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 3 });
5299
5365
  } else if (buttonCode == 'HELP_CIRCULATE') {
5300
- buttonList.push({ name: buttonName, type: 'secondary', display: 'banner', no: 4 });
5366
+ buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 4 });
5301
5367
  } else if (buttonCode == 'HELP_FORWARD') {
5302
- buttonList.push({ name: buttonName, type: 'secondary', display: 'banner', no: 20 });
5368
+ buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 20 });
5303
5369
  } else if (buttonCode == 'BASE_JUMP') {
5304
- buttonList.push({ name: buttonName, type: 'secondary', display: 'banner', no: 5 });
5370
+ buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 5 });
5305
5371
  } else if (buttonCode == 'HELP_ADDLOTS') {
5306
- buttonList.push({ name: buttonName, type: 'secondary', display: 'banner', no: 6 });
5372
+ buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 6 });
5307
5373
  } else if (buttonCode == 'BASE_END') {
5308
- buttonList.push({ name: buttonName, type: 'secondary', display: 'banner', no: 8 });
5374
+ buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 8 });
5309
5375
  } else if (buttonCode == 'BASE_INVALID') {
5310
- buttonList.push({ name: buttonName, type: 'secondary', display: 'banner', no: 9 });
5376
+ buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 9 });
5311
5377
  } else if (buttonCode == 'HELP_DISTRIBUTE') {
5312
- buttonList.push({ name: buttonName, type: 'secondary', display: 'banner', no: 'distributeFlow' });
5378
+ buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 'distributeFlow' });
5313
5379
  } else if (buttonCode == 'MAILSEND') {
5314
- buttonList.push({ name: buttonName, type: 'secondary', display: 'banner', no: 18 });
5380
+ buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 18 });
5315
5381
  } else {
5316
- buttonList.push({ name: buttonName, type: 'secondary', display: 'banner', no: buttonCode });
5382
+ buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: buttonCode });
5317
5383
  }
5318
5384
  } else if (c == 3) {
5319
5385
  //buttonList.push({name:'更多',type:'secondary',display:'banner',no:-1});
@@ -5331,35 +5397,35 @@ var PageHome = function (_React$Component) {
5331
5397
  var buttonName = buttonCodeList[c]['buttonName'];
5332
5398
 
5333
5399
  if (buttonCode.indexOf('BACK') >= 0) {
5334
- buttonList.push({ name: buttonName, type: 'secondary', display: 'banner', no: 2 });
5400
+ buttonList.push({ name: buttonName, type: 'danger', display: 'inline', no: 2 });
5335
5401
  } else if (buttonCode == 'PAGE_SAVE') {
5336
- buttonList.push({ name: buttonName, type: 'secondary', display: 'banner', no: 13 });
5402
+ buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 13 });
5337
5403
  } else if (buttonCode == 'BASE_SUMBIT') {
5338
5404
  var sumbmitName = buttonName;
5339
5405
  if (dataId == '' || isStart == true) {
5340
5406
  sumbmitName = '提交';
5341
5407
  }
5342
- buttonList.push({ name: sumbmitName, type: 'primary', display: 'banner', no: 1 });
5408
+ buttonList.push({ name: sumbmitName, type: 'primary', display: 'inline', no: 1 });
5343
5409
  } else if (buttonCode == 'BASE_TRANSFER') {
5344
- buttonList.push({ name: buttonName, type: 'secondary', display: 'banner', no: 3 });
5410
+ buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 3 });
5345
5411
  } else if (buttonCode == 'HELP_CIRCULATE') {
5346
- buttonList.push({ name: buttonName, type: 'secondary', display: 'banner', no: 4 });
5412
+ buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 4 });
5347
5413
  } else if (buttonCode == 'BASE_JUMP') {
5348
- buttonList.push({ name: buttonName, type: 'secondary', display: 'banner', no: 5 });
5414
+ buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 5 });
5349
5415
  } else if (buttonCode == 'HELP_ADDLOTS') {
5350
- buttonList.push({ name: buttonName, type: 'secondary', display: 'banner', no: 6 });
5416
+ buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 6 });
5351
5417
  } else if (buttonCode == 'BASE_END') {
5352
- buttonList.push({ name: buttonName, type: 'secondary', display: 'banner', no: 8 });
5418
+ buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 8 });
5353
5419
  } else if (buttonCode == 'BASE_INVALID') {
5354
- buttonList.push({ name: buttonName, type: 'secondary', display: 'banner', no: 9 });
5420
+ buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 9 });
5355
5421
  } else if (buttonCode == 'HELP_DISTRIBUTE') {
5356
- buttonList.push({ name: buttonName, type: 'secondary', display: 'banner', no: 'distributeFlow' });
5422
+ buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 'distributeFlow' });
5357
5423
  } else if (buttonCode == 'HELP_FORWARD') {
5358
- buttonList.push({ name: buttonName, type: 'secondary', display: 'banner', no: 20 });
5424
+ buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 20 });
5359
5425
  } else if (buttonCode == 'MAILSEND') {
5360
- buttonList.push({ name: buttonName, type: 'secondary', display: 'banner', no: 18 });
5426
+ buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 18 });
5361
5427
  } else {
5362
- buttonList.push({ name: buttonName, type: 'secondary', display: 'banner', no: buttonCode });
5428
+ buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: buttonCode });
5363
5429
  }
5364
5430
  }
5365
5431
  }
@@ -5699,11 +5765,11 @@ var PageHome = function (_React$Component) {
5699
5765
  }, {
5700
5766
  key: 'changeUrgeContent',
5701
5767
  value: function changeUrgeContent(newValue) {
5702
- var regRule = /\uD83C[\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F]/g;
5768
+ var regRule = /(\ud83c[\udf00-\udfff])|(\ud83d[\udc00-\ude4f\ude80-\udeff])|[\u2600-\u2B55]/g;
5703
5769
  if (newValue.match(regRule)) {
5704
5770
  _Toast2.default.show({
5705
5771
  type: 'error',
5706
- content: '不能输入表情'
5772
+ content: '请输入非表情字符'
5707
5773
  });
5708
5774
  return false;
5709
5775
  }
@@ -5717,11 +5783,11 @@ var PageHome = function (_React$Component) {
5717
5783
  }, {
5718
5784
  key: 'changeBackReasonText',
5719
5785
  value: function changeBackReasonText(newValue) {
5720
- var regRule = /\uD83C[\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F]/g;
5786
+ var regRule = /(\ud83c[\udf00-\udfff])|(\ud83d[\udc00-\ude4f\ude80-\udeff])|[\u2600-\u2B55]/g;
5721
5787
  if (newValue.match(regRule)) {
5722
5788
  _Toast2.default.show({
5723
5789
  type: 'error',
5724
- content: '不能输入表情'
5790
+ content: '请输入非表情字符'
5725
5791
  });
5726
5792
  return false;
5727
5793
  }
@@ -5754,11 +5820,11 @@ var PageHome = function (_React$Component) {
5754
5820
  }, {
5755
5821
  key: 'changeSendMailText',
5756
5822
  value: function changeSendMailText(newValue) {
5757
- var regRule = /\uD83C[\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F]/g;
5823
+ var regRule = /(\ud83c[\udf00-\udfff])|(\ud83d[\udc00-\ude4f\ude80-\udeff])|[\u2600-\u2B55]/g;
5758
5824
  if (newValue.match(regRule)) {
5759
5825
  _Toast2.default.show({
5760
5826
  type: 'error',
5761
- content: '不能输入表情'
5827
+ content: '请输入非表情字符'
5762
5828
  });
5763
5829
  return false;
5764
5830
  }
@@ -5772,11 +5838,11 @@ var PageHome = function (_React$Component) {
5772
5838
  }, {
5773
5839
  key: 'changeRecoverReasonText',
5774
5840
  value: function changeRecoverReasonText(newValue) {
5775
- var regRule = /\uD83C[\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F]/g;
5841
+ var regRule = /(\ud83c[\udf00-\udfff])|(\ud83d[\udc00-\ude4f\ude80-\udeff])|[\u2600-\u2B55]/g;
5776
5842
  if (newValue.match(regRule)) {
5777
5843
  _Toast2.default.show({
5778
5844
  type: 'error',
5779
- content: '不能输入表情'
5845
+ content: '请输入非表情字符'
5780
5846
  });
5781
5847
  return false;
5782
5848
  }
@@ -6307,9 +6373,10 @@ var PageHome = function (_React$Component) {
6307
6373
 
6308
6374
  var isReadOnly = false;
6309
6375
  var t = this;
6376
+ var bottomStyle = { paddingBottom: this.state.bottom + 'px' };
6310
6377
  return _react2.default.createElement(
6311
6378
  'div',
6312
- { className: 't-PB68' },
6379
+ { style: bottomStyle, className: 'approval-details' },
6313
6380
  _react2.default.createElement(
6314
6381
  'div',
6315
6382
  { className: this.state.errorMsg == '任务不存在' ? "dd-state-page" : 't-DN' },
@@ -6360,8 +6427,17 @@ var PageHome = function (_React$Component) {
6360
6427
  { className: this.state.pageStatus == '0' ? '' : 't-DN' },
6361
6428
  _react2.default.createElement(
6362
6429
  'div',
6363
- { className: 't-P16 t-MB10 t-BCf t-FS16 t-FAC' },
6364
- this.state.processName
6430
+ { className: 'approval-header' },
6431
+ _react2.default.createElement(
6432
+ 'div',
6433
+ { className: 'approval-card' },
6434
+ _react2.default.createElement(
6435
+ 'span',
6436
+ { className: 'approval-card-left' },
6437
+ this.state.processTitle
6438
+ ),
6439
+ _react2.default.createElement('img', { className: 'approval-card-right', src: _variables2.default.approvalCardIcon })
6440
+ )
6365
6441
  ),
6366
6442
  _react2.default.createElement(
6367
6443
  _Tab2.default,
@@ -6371,7 +6447,7 @@ var PageHome = function (_React$Component) {
6371
6447
  { key: '0', title: '\u8868\u5355\u4FE1\u606F' },
6372
6448
  _react2.default.createElement(
6373
6449
  'div',
6374
- { id: 'approveWaterMarker', style: { top: 0, minHeight: 200, overflow: 'hidden' } },
6450
+ { id: 'approveWaterMarker', className: 'approval-form-content', style: { top: 0, minHeight: 200, overflow: 'hidden' } },
6375
6451
  _react2.default.createElement(
6376
6452
  'div',
6377
6453
  { className: this.state.activeItemIndex == 0 ? '' : 't-DN' },
@@ -6419,9 +6495,13 @@ var PageHome = function (_React$Component) {
6419
6495
  _Button2.default.Group,
6420
6496
  null,
6421
6497
  this.state.buttonList.map(function (item, i) {
6422
- return _react2.default.createElement(
6498
+ return item.type == 'text' ? _react2.default.createElement(
6499
+ 'span',
6500
+ { 'class': 't-FCblue', onClick: t.handleSubmit.bind(t, item.no) },
6501
+ item.name
6502
+ ) : _react2.default.createElement(
6423
6503
  _Button2.default,
6424
- { type: item.type, code: item.buttonCode, display: item.display, onClick: t.handleSubmit.bind(t, item.no) },
6504
+ { type: item.type, className: item.name == '保存草稿' ? 'button_save' : '', code: item.buttonCode, display: item.display, onClick: t.handleSubmit.bind(t, item.no) },
6425
6505
  item.name
6426
6506
  );
6427
6507
  }.bind(this))
@@ -6432,10 +6512,10 @@ var PageHome = function (_React$Component) {
6432
6512
  { className: this.state.pageStatus == '1' && this.state.operate == 1 ? '' : 't-DN' },
6433
6513
  _react2.default.createElement(
6434
6514
  'div',
6435
- { className: this.state.nextActivityList.length == 0 && this.state.nextRadomList.length == 0 ? '' : '', style: { background: '#f2f3f5', height: '35px', padding: '10px 5px' } },
6515
+ { className: this.state.nextActivityList.length == 0 && this.state.nextRadomList.length == 0 ? '' : '', style: { background: '#f2f3f5', padding: '10px 5px' } },
6436
6516
  _react2.default.createElement(
6437
6517
  'span',
6438
- { className: 't-FCddblue' },
6518
+ { className: 't-FCblue' },
6439
6519
  _react2.default.createElement('i', { className: 'iconfont icon-back t-rotate-180 t-FS14 t-FR' }),
6440
6520
  '\u5BA1\u6279\u73AF\u8282'
6441
6521
  )
@@ -6576,6 +6656,7 @@ var PageHome = function (_React$Component) {
6576
6656
  isDelete: true,
6577
6657
  defaultValue: item.personValue,
6578
6658
  commonUsedData: item.commonUsedData,
6659
+ commonTreeData: item.commonTreeData,
6579
6660
  onChange: this.getChoosePerson.bind(this, i),
6580
6661
  queryLimit: item.participants == '' ? '' : '5',
6581
6662
  limitData: item.participants == '' ? '' : item.participants
@@ -6664,10 +6745,10 @@ var PageHome = function (_React$Component) {
6664
6745
  { className: this.state.pageStatus == '1' && this.state.operate == 3 ? '' : 't-DN' },
6665
6746
  _react2.default.createElement(
6666
6747
  'div',
6667
- { style: { background: '#f2f3f5', height: '35px', padding: '10px 5px' } },
6748
+ { style: { background: '#f2f3f5', padding: '10px 5px' } },
6668
6749
  _react2.default.createElement(
6669
6750
  'span',
6670
- { className: 't-FCddblue' },
6751
+ { className: 't-FCblue' },
6671
6752
  _react2.default.createElement('i', { className: 'iconfont icon-back t-rotate-180 t-FS14 t-FR' }),
6672
6753
  '\u8F6C\u4EA4\u73AF\u8282'
6673
6754
  )
@@ -6726,10 +6807,10 @@ var PageHome = function (_React$Component) {
6726
6807
  { className: this.state.operate == 2 && this.state.canBackActivity.length > 0 ? '' : 't-DN' },
6727
6808
  _react2.default.createElement(
6728
6809
  'div',
6729
- { style: { background: '#f2f3f5', height: '35px', padding: '10px 5px' } },
6810
+ { style: { background: '#f2f3f5', padding: '10px 5px' } },
6730
6811
  _react2.default.createElement(
6731
6812
  'span',
6732
- { className: 't-FCddblue' },
6813
+ { className: 't-FCblue' },
6733
6814
  _react2.default.createElement('i', { className: 'iconfont icon-back t-rotate-180 t-FS14 t-FR' }),
6734
6815
  '\u9000\u56DE\u73AF\u8282'
6735
6816
  )
@@ -6756,22 +6837,25 @@ var PageHome = function (_React$Component) {
6756
6837
  placeholder: '请输入退回原因',
6757
6838
  value: this.state.backReasonText,
6758
6839
  onChange: this.changeBackReasonText.bind(this) }),
6759
- _react2.default.createElement(_upload2.default, {
6760
- required: false,
6761
- canAdd: true,
6762
- canDel: true,
6763
- label: '\u9644\u4EF6',
6764
- initList: this.state.backInitList,
6765
- initIds: '',
6766
- dir: 'approve',
6767
- onChange: function onChange(value, isInit) {
6768
- t.handleChangePic(value);
6769
- },
6770
- onDel: function onDel(value) {
6771
- t.handleChangePic(value);
6772
- },
6773
- ref: 'backRef'
6774
- }),
6840
+ _react2.default.createElement(
6841
+ _Field2.default,
6842
+ { label: '\u9644\u4EF6', layout: 'h', multiLine: true },
6843
+ _react2.default.createElement(_upload2.default, {
6844
+ required: false,
6845
+ canAdd: true,
6846
+ canDel: true,
6847
+ initList: this.state.backInitList,
6848
+ initIds: '',
6849
+ dir: 'approve',
6850
+ onChange: function onChange(value, isInit) {
6851
+ t.handleChangePic(value);
6852
+ },
6853
+ onDel: function onDel(value) {
6854
+ t.handleChangePic(value);
6855
+ },
6856
+ ref: 'backRef'
6857
+ })
6858
+ ),
6775
6859
  _react2.default.createElement(_CheckboxField2.default, {
6776
6860
  data: this.state.shortMessageList,
6777
6861
  className: '',
@@ -6784,10 +6868,10 @@ var PageHome = function (_React$Component) {
6784
6868
  { className: this.state.operate == 5 && this.state.nextJumpActivity.length > 0 ? '' : 't-DN' },
6785
6869
  _react2.default.createElement(
6786
6870
  'div',
6787
- { style: { background: '#f2f3f5', height: '35px', padding: '10px 5px' } },
6871
+ { style: { background: '#f2f3f5', padding: '10px 5px' } },
6788
6872
  _react2.default.createElement(
6789
6873
  'span',
6790
- { className: 't-FCddblue' },
6874
+ { className: 't-FCblue' },
6791
6875
  _react2.default.createElement('i', { className: 'iconfont icon-back t-rotate-180 t-FS14 t-FR' }),
6792
6876
  '\u8DF3\u8F6C\u73AF\u8282'
6793
6877
  )
@@ -6823,10 +6907,10 @@ var PageHome = function (_React$Component) {
6823
6907
  { className: this.state.operate == 6 ? '' : 't-DN' },
6824
6908
  _react2.default.createElement(
6825
6909
  'div',
6826
- { style: { background: '#f2f3f5', height: '35px', padding: '10px 5px' } },
6910
+ { style: { background: '#f2f3f5', padding: '10px 5px' } },
6827
6911
  _react2.default.createElement(
6828
6912
  'span',
6829
- { className: 't-FCddblue' },
6913
+ { className: 't-FCblue' },
6830
6914
  _react2.default.createElement('i', { className: 'iconfont icon-back t-rotate-180 t-FS14 t-FR' }),
6831
6915
  '\u52A0\u7B7E'
6832
6916
  )
@@ -6855,10 +6939,10 @@ var PageHome = function (_React$Component) {
6855
6939
  { className: this.state.operate == 4 ? '' : 't-DN' },
6856
6940
  _react2.default.createElement(
6857
6941
  'div',
6858
- { style: { background: '#f2f3f5', height: '35px', padding: '10px 5px' } },
6942
+ { style: { background: '#f2f3f5', padding: '10px 5px' } },
6859
6943
  _react2.default.createElement(
6860
6944
  'span',
6861
- { className: 't-FCddblue' },
6945
+ { className: 't-FCblue' },
6862
6946
  _react2.default.createElement('i', { className: 'iconfont icon-back t-rotate-180 t-FS14 t-FR' }),
6863
6947
  '\u4F20\u9605'
6864
6948
  )
@@ -6887,10 +6971,10 @@ var PageHome = function (_React$Component) {
6887
6971
  { className: this.state.operate == 20 ? '' : 't-DN' },
6888
6972
  _react2.default.createElement(
6889
6973
  'div',
6890
- { style: { background: '#f2f3f5', height: '35px', padding: '10px 5px' } },
6974
+ { style: { background: '#f2f3f5', padding: '10px 5px' } },
6891
6975
  _react2.default.createElement(
6892
6976
  'span',
6893
- { className: 't-FCddblue' },
6977
+ { className: 't-FCblue' },
6894
6978
  _react2.default.createElement('i', { className: 'iconfont icon-back t-rotate-180 t-FS14 t-FR' }),
6895
6979
  '\u8F6C\u53D1'
6896
6980
  )
@@ -6919,10 +7003,10 @@ var PageHome = function (_React$Component) {
6919
7003
  { className: this.state.operate == 12 && this.state.urgeDataList.length > 0 ? '' : 't-DN' },
6920
7004
  _react2.default.createElement(
6921
7005
  'div',
6922
- { style: { background: '#f2f3f5', height: '35px', padding: '10px 5px' } },
7006
+ { style: { background: '#f2f3f5', padding: '10px 5px' } },
6923
7007
  _react2.default.createElement(
6924
7008
  'span',
6925
- { className: 't-FCddblue' },
7009
+ { className: 't-FCblue' },
6926
7010
  _react2.default.createElement('i', { className: 'iconfont icon-back t-rotate-180 t-FS14 t-FR' }),
6927
7011
  '\u50AC\u529E\u73AF\u8282'
6928
7012
  )
@@ -6960,10 +7044,10 @@ var PageHome = function (_React$Component) {
6960
7044
  { className: this.state.operate == 14 ? '' : 't-DN' },
6961
7045
  _react2.default.createElement(
6962
7046
  'div',
6963
- { style: { background: '#f2f3f5', height: '35px', padding: '10px 5px' } },
7047
+ { style: { background: '#f2f3f5', padding: '10px 5px' } },
6964
7048
  _react2.default.createElement(
6965
7049
  'span',
6966
- { className: 't-FCddblue' },
7050
+ { className: 't-FCblue' },
6967
7051
  _react2.default.createElement('i', { className: 'iconfont icon-back t-rotate-180 t-FS14 t-FR' }),
6968
7052
  '\u6536\u56DE\u73AF\u8282'
6969
7053
  )
@@ -6982,10 +7066,10 @@ var PageHome = function (_React$Component) {
6982
7066
  { className: this.state.operate == 18 ? '' : 't-DN' },
6983
7067
  _react2.default.createElement(
6984
7068
  'div',
6985
- { style: { background: '#f2f3f5', height: '35px', padding: '10px 5px' } },
7069
+ { style: { background: '#f2f3f5', padding: '10px 5px' } },
6986
7070
  _react2.default.createElement(
6987
7071
  'span',
6988
- { className: 't-FCddblue' },
7072
+ { className: 't-FCblue' },
6989
7073
  _react2.default.createElement('i', { className: 'iconfont icon-back t-rotate-180 t-FS14 t-FR' }),
6990
7074
  '\u90AE\u4EF6\u8F6C\u53D1'
6991
7075
  )
@@ -7031,12 +7115,12 @@ var PageHome = function (_React$Component) {
7031
7115
  null,
7032
7116
  _react2.default.createElement(
7033
7117
  _Button2.default,
7034
- { type: 'secondary', display: 'banner', onClick: this.handleCancelClick.bind(this) },
7118
+ { type: 'secondary', display: 'inline', onClick: this.handleCancelClick.bind(this) },
7035
7119
  '\u53D6\u6D88'
7036
7120
  ),
7037
7121
  _react2.default.createElement(
7038
7122
  _Button2.default,
7039
- { type: 'primary', display: 'banner', onClick: this.handleSubmitClick.bind(this) },
7123
+ { type: 'primary', display: 'inline', onClick: this.handleSubmitClick.bind(this) },
7040
7124
  '\u786E\u8BA4'
7041
7125
  )
7042
7126
  )