fmui-base 2.2.82 → 2.2.83

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,7 @@
3
3
  ---npm publish
4
4
 
5
5
  ## 更新日志
6
+ - 2.2.82: 批示意见增加签名印章功能
6
7
  - 2.2.82: 流程提交推送到统一待办我的文件
7
8
  - 2.2.81: 流程办理下一环节是指定办理人未未匹配到人员时,提交后,提醒:“未找到办理人员,不允许提交”
8
9
  - 2.2.80: 流程扫码发起后关闭表单
package/lib/form/form.js CHANGED
@@ -65,6 +65,10 @@ var _CalendarField = require('saltui/lib/CalendarField');
65
65
 
66
66
  var _CalendarField2 = _interopRequireDefault(_CalendarField);
67
67
 
68
+ var _Slot = require('saltui/lib/Slot');
69
+
70
+ var _Slot2 = _interopRequireDefault(_Slot);
71
+
68
72
  var _AngleRight = require('salt-icon/lib/AngleRight');
69
73
 
70
74
  var _AngleRight2 = _interopRequireDefault(_AngleRight);
@@ -118,8 +122,6 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
118
122
  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
119
123
 
120
124
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
121
- // import Slot from 'saltui/lib/Slot';
122
-
123
125
  // import SelectFileNo from '../select-fileno/pageHome';
124
126
  // import SelectSerialNumber from '../select-serialnumber/pageHome';
125
127
  //import 'babel-polyfill';
@@ -205,6 +207,8 @@ var PageHome = function (_React$Component) {
205
207
  spyj: props.defaultValue,
206
208
  isRemoveCommentFormHtml: isRemoveCommentFormHtml,
207
209
  commentInitList: [],
210
+ signatureList: [],
211
+ chooseSignature: [],
208
212
  isCaUser: isCaUser,
209
213
  caFirm: caFirm
210
214
  };
@@ -3429,6 +3433,45 @@ var PageHome = function (_React$Component) {
3429
3433
  // }
3430
3434
 
3431
3435
  }
3436
+ }, {
3437
+ key: 'selectCommentSeal',
3438
+ value: function selectCommentSeal() {
3439
+ var t = this;
3440
+ _db2.default.FlowModuleAPI.getSignature({}).then(function (content) {
3441
+ if (content.length > 0) {
3442
+ var sealColumn = [];
3443
+ content.map(function (item) {
3444
+ sealColumn.push({ text: item.markName, value: item.id });
3445
+ });
3446
+ t.setState({
3447
+ signatureList: [sealColumn]
3448
+ }, function () {
3449
+ t.refs.slotCommentSeal.show();
3450
+ });
3451
+ } else {
3452
+ _Toast2.default.show({
3453
+ content: '暂无签章'
3454
+ });
3455
+ }
3456
+ }).catch(function (error) {
3457
+ _Toast2.default.show({
3458
+ type: 'error',
3459
+ content: error.errorMsg
3460
+ });
3461
+ });
3462
+ }
3463
+ }, {
3464
+ key: 'handleChangeCommentSeal',
3465
+ value: function handleChangeCommentSeal(value) {
3466
+ this.setState({
3467
+ chooseSignature: value
3468
+ });
3469
+ }
3470
+ }, {
3471
+ key: 'handleConfirmCommentSeal',
3472
+ value: function handleConfirmCommentSeal(commentSeal) {
3473
+ this.props.newspyj.sealId = commentSeal[0].value;
3474
+ }
3432
3475
 
3433
3476
  //常用语设置跳转
3434
3477
 
@@ -4100,13 +4143,16 @@ var PageHome = function (_React$Component) {
4100
4143
  { onClick: this.selectCommonwords.bind(this) },
4101
4144
  '\u5E38\u7528\u8BED'
4102
4145
  ),
4103
- ' ',
4146
+ _react2.default.createElement(
4147
+ 'div',
4148
+ { className: t.props.inscriptionShow && typeof t.props.inscriptionShow != 'undefined' && t.props.inscriptionShow.indexOf('seal') !== -1 ? "" : "t-DN", onClick: this.selectCommentSeal.bind(this) },
4149
+ '\u7B7E\u540D\u5370\u7AE0'
4150
+ ),
4104
4151
  _react2.default.createElement(
4105
4152
  'div',
4106
4153
  { className: t.props.commentAttitude == '1' || t.props.commentAttitude == '2' ? "" : "t-DN", onClick: this.selectAttitude.bind(this) },
4107
4154
  '\u6001\u5EA6'
4108
4155
  ),
4109
- ' ',
4110
4156
  _react2.default.createElement(
4111
4157
  'div',
4112
4158
  { onClick: this.skipToCommonwordsSet.bind(this) },
@@ -4172,7 +4218,15 @@ var PageHome = function (_React$Component) {
4172
4218
  );
4173
4219
  }.bind(this)) : ''
4174
4220
  )
4175
- )
4221
+ ),
4222
+ _react2.default.createElement(_Slot2.default, {
4223
+ ref: 'slotCommentSeal',
4224
+ data: this.state.signatureList,
4225
+ value: this.state.chooseSignature,
4226
+ title: '\u9009\u62E9\u7B7E\u540D\u5370\u7AE0',
4227
+ onConfirm: this.handleConfirmCommentSeal.bind(this),
4228
+ onChange: this.handleChangeCommentSeal.bind(this)
4229
+ })
4176
4230
  )
4177
4231
  )
4178
4232
  )
package/lib/form/table.js CHANGED
@@ -49,6 +49,10 @@ var _Boxs = require('saltui/lib/Boxs');
49
49
 
50
50
  var _Boxs2 = _interopRequireDefault(_Boxs);
51
51
 
52
+ var _Slot = require('saltui/lib/Slot');
53
+
54
+ var _Slot2 = _interopRequireDefault(_Slot);
55
+
52
56
  var _upload = require('../upload/upload');
53
57
 
54
58
  var _upload2 = _interopRequireDefault(_upload);
@@ -238,7 +242,9 @@ var PageHome = function (_React$Component) {
238
242
  spyj: defaultValue,
239
243
  formRelaFieldMaps: formRelaFieldMapsNew,
240
244
  linkFields: linkFieldsNew,
241
- commentInitList: []
245
+ commentInitList: [],
246
+ signatureList: [],
247
+ chooseSignature: []
242
248
  };
243
249
 
244
250
  var module = props.module && props.module != "undefined" ? props.module : "approve";
@@ -1819,6 +1825,35 @@ var PageHome = function (_React$Component) {
1819
1825
  // }
1820
1826
 
1821
1827
  }
1828
+ }, {
1829
+ key: 'selectCommentSeal',
1830
+ value: function selectCommentSeal() {
1831
+ var t = this;
1832
+ //获取签章
1833
+ _db2.default.FlowModuleAPI.getSignature({}).then(function (content) {
1834
+ if (content.length > 0) {
1835
+ // SaltUI Slot 要求 data 为「多列」结构:每列一项为数组;单列须包一层,否则 Pane 内 item.find 会报错
1836
+ var sealColumn = [];
1837
+ content.map(function (item) {
1838
+ sealColumn.push({ text: item.markName, value: item.id });
1839
+ });
1840
+ t.setState({
1841
+ signatureList: [sealColumn]
1842
+ }, function () {
1843
+ t.refs.slotCommentSeal.show();
1844
+ });
1845
+ } else {
1846
+ _Toast2.default.show({
1847
+ content: '暂无签章'
1848
+ });
1849
+ }
1850
+ }).catch(function (error) {
1851
+ _Toast2.default.show({
1852
+ type: 'error',
1853
+ content: error.errorMsg
1854
+ });
1855
+ });
1856
+ }
1822
1857
 
1823
1858
  //选择态度
1824
1859
 
@@ -1896,6 +1931,20 @@ var PageHome = function (_React$Component) {
1896
1931
  });
1897
1932
  this.props.newspyj.content = spyj + commonwords[0].text;
1898
1933
  }
1934
+ }, {
1935
+ key: 'handleChangeCommentSeal',
1936
+ value: function handleChangeCommentSeal(value) {
1937
+ // 改变了选中项
1938
+ this.setState({
1939
+ chooseSignature: value
1940
+ });
1941
+ }
1942
+ }, {
1943
+ key: 'handleConfirmCommentSeal',
1944
+ value: function handleConfirmCommentSeal(commentSeal) {
1945
+ var spyj = this.state.spyj;
1946
+ this.props.newspyj.sealId = commentSeal[0].value;
1947
+ }
1899
1948
 
1900
1949
  //处理关联字段
1901
1950
  // dealwithFormRelaFieldMaps(formRelaFieldMaps){
@@ -1928,16 +1977,16 @@ var PageHome = function (_React$Component) {
1928
1977
  return _react2.default.createElement(
1929
1978
  'div',
1930
1979
  { className: "form_" + item2.uniqueName },
1931
- _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, caFirm: t.props.caFirm, 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) })
1980
+ _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, caFirm: t.props.caFirm, 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, inscriptionShow: t.props.inscriptionShow, onChange: this.change.bind(this), reloadItemParam: this.reloadItemParam.bind(this) })
1932
1981
  );
1933
1982
  }.bind(this)) : item.itemType == 'detail' ? _react2.default.createElement(
1934
1983
  'div',
1935
1984
  { className: "subform_" + item.itemCode },
1936
- _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, caFirm: t.props.caFirm, 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) })
1985
+ _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, caFirm: t.props.caFirm, 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, inscriptionShow: t.props.inscriptionShow, onChange: this.change.bind(this) })
1937
1986
  ) : _react2.default.createElement(
1938
1987
  'div',
1939
1988
  { className: "form_" + item.uniqueName },
1940
- _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, caFirm: t.props.caFirm, 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) })
1989
+ _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, caFirm: t.props.caFirm, 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, inscriptionShow: t.props.inscriptionShow, onChange: this.change.bind(this), reloadItemParam: this.reloadItemParam.bind(this) })
1941
1990
  );
1942
1991
  }.bind(this)) : "" : _react2.default.createElement(
1943
1992
  'div',
@@ -1964,16 +2013,16 @@ var PageHome = function (_React$Component) {
1964
2013
  return _react2.default.createElement(
1965
2014
  'div',
1966
2015
  { className: t.state.active == item.tabCode ? "" : "t-DN" },
1967
- _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, caFirm: t.props.caFirm, 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) })
2016
+ _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, caFirm: t.props.caFirm, status: t.props.status, form: item2, allForm: t.props.allForm, formStyle: t.props.formStyleObj, commentList: t.props.commentFieldList, inscriptionShow: t.props.inscriptionShow, data: t.props.data, fieldControll: t.props.fieldControll, onChange: this.change.bind(this), reloadItemParam: this.reloadItemParam.bind(this) })
1968
2017
  );
1969
2018
  }.bind(this)) : item.itemType == 'detail' ? _react2.default.createElement(
1970
2019
  'div',
1971
2020
  { className: t.state.active == item.tabCode ? "" : "t-DN" },
1972
- _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, caFirm: t.props.caFirm, 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) })
2021
+ _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, caFirm: t.props.caFirm, status: t.props.status, form: item, allForm: t.props.allForm, formStyle: t.props.formStyleObj, commentList: t.props.commentFieldList, inscriptionShow: t.props.inscriptionShow, data: t.props.data, fieldControll: t.props.fieldControll, onChange: this.change.bind(this) })
1973
2022
  ) : _react2.default.createElement(
1974
2023
  'div',
1975
2024
  { className: t.state.active == item.tabCode ? "" : "t-DN" },
1976
- _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, caFirm: t.props.caFirm, 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) })
2025
+ _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, caFirm: t.props.caFirm, status: t.props.status, form: item, allForm: t.props.allForm, formStyle: t.props.formStyleObj, commentList: t.props.commentFieldList, inscriptionShow: t.props.inscriptionShow, data: t.props.data, fieldControll: t.props.fieldControll, onChange: this.change.bind(this), reloadItemParam: this.reloadItemParam.bind(this) })
1977
2026
  );
1978
2027
  }.bind(this))
1979
2028
  )
@@ -2029,13 +2078,16 @@ var PageHome = function (_React$Component) {
2029
2078
  { onClick: this.selectCommonwords.bind(this) },
2030
2079
  '\u5E38\u7528\u8BED'
2031
2080
  ),
2032
- ' ',
2081
+ _react2.default.createElement(
2082
+ 'div',
2083
+ { className: t.props.inscriptionShow && typeof t.props.inscriptionShow != 'undefined' && t.props.inscriptionShow.indexOf('seal') !== -1 ? "" : "t-DN", onClick: this.selectCommentSeal.bind(this) },
2084
+ '\u7B7E\u540D\u5370\u7AE0'
2085
+ ),
2033
2086
  _react2.default.createElement(
2034
2087
  'div',
2035
2088
  { className: t.props.commentAttitude == '1' || t.props.commentAttitude == '2' ? "" : "t-DN", onClick: this.selectAttitude.bind(this) },
2036
2089
  '\u6001\u5EA6'
2037
2090
  ),
2038
- ' ',
2039
2091
  _react2.default.createElement(
2040
2092
  'div',
2041
2093
  { onClick: this.skipToCommonwordsSet.bind(this) },
@@ -2103,7 +2155,15 @@ var PageHome = function (_React$Component) {
2103
2155
  );
2104
2156
  }.bind(this)) : ''
2105
2157
  )
2106
- )
2158
+ ),
2159
+ _react2.default.createElement(_Slot2.default, {
2160
+ ref: 'slotCommentSeal',
2161
+ data: this.state.signatureList,
2162
+ value: this.state.chooseSignature,
2163
+ title: '\u9009\u62E9\u7B7E\u540D\u5370\u7AE0',
2164
+ onConfirm: this.handleConfirmCommentSeal.bind(this),
2165
+ onChange: this.handleChangeCommentSeal.bind(this)
2166
+ })
2107
2167
  )
2108
2168
  )
2109
2169
  )
@@ -150,6 +150,7 @@ var shortMessageList = [];
150
150
  var readShortMessageList = [];
151
151
  var newComment = '';
152
152
  var commentAttachId = '';
153
+ var commentSealId = '';
153
154
  var remindStyle = '';
154
155
  var FlowCommon = void 0;
155
156
  var _thirdMenuType = void 0;
@@ -475,7 +476,7 @@ var PageHome = function (_React$Component) {
475
476
  selectProcessCode: '', //选中的子流程
476
477
  subProcessType: '', //子流程类型 0串行 1并行
477
478
  urgencyList: [], //紧急程度列表
478
- urgency: '' }, _defineProperty(_param, 'urgent', ''), _defineProperty(_param, 'backInitiatorEndFlow', '0'), _defineProperty(_param, 'oauthWindowURL', ''), _defineProperty(_param, 'signDataId', ''), _defineProperty(_param, 'isCaUser', '0'), _defineProperty(_param, 'caFirm', ''), _defineProperty(_param, 'addlotsReturn', ''), _param);
479
+ urgency: '' }, _defineProperty(_param, 'urgent', ''), _defineProperty(_param, 'backInitiatorEndFlow', '0'), _defineProperty(_param, 'oauthWindowURL', ''), _defineProperty(_param, 'signDataId', ''), _defineProperty(_param, 'isCaUser', '0'), _defineProperty(_param, 'caFirm', ''), _defineProperty(_param, 'addlotsReturn', ''), _defineProperty(_param, 'inscriptionShow', ''), _param);
479
480
  FlowCommon = require('pages/flow_common/' + module).default ? require('pages/flow_common/' + module).default : require('pages/flow_common/' + module);
480
481
 
481
482
  //处理特有参数
@@ -495,6 +496,7 @@ var PageHome = function (_React$Component) {
495
496
  param.processData = '1';
496
497
  param.processDataList = [];
497
498
  param.commentAttachId = ''; //批示意见附件
499
+ param.sealId = ''; //签章id
498
500
  _this.state = param;
499
501
  var t = _this;
500
502
  var key = "";
@@ -826,6 +828,7 @@ var PageHome = function (_React$Component) {
826
828
  var urgency = '50';
827
829
  var urgentSelectList = {};
828
830
  var backInitiatorEndFlow = '0';
831
+ var inscriptionShow = ''; //批示意见落款设置
829
832
  var addlotsReturn = ''; //加签自动返回 串签时生效,0否,1是
830
833
  if (content.readScopeId && typeof content.readScopeId != "undefined") {
831
834
  readScopeId = content.readScopeId;
@@ -864,6 +867,9 @@ var PageHome = function (_React$Component) {
864
867
  if (content.backInitiatorEndFlow && typeof content.backInitiatorEndFlow != "undefined") {
865
868
  backInitiatorEndFlow = content.backInitiatorEndFlow;
866
869
  }
870
+ if (content.inscriptionShow && typeof content.inscriptionShow != "undefined") {
871
+ inscriptionShow = content.inscriptionShow;
872
+ }
867
873
  if (content.urgencyList && typeof content.urgencyList != "undefined") {
868
874
  urgencyList = content.urgencyList;
869
875
  if (urgencyList.length > 0) {
@@ -1489,7 +1495,8 @@ var PageHome = function (_React$Component) {
1489
1495
  signDataId: signDataId,
1490
1496
  isCaUser: isCaUser,
1491
1497
  caFirm: caFirm,
1492
- addlotsReturn: addlotsReturn
1498
+ addlotsReturn: addlotsReturn,
1499
+ inscriptionShow: inscriptionShow
1493
1500
  }, function () {
1494
1501
  t.refs["selectMember_circulate"].initSelectData();
1495
1502
  t.refs["selectMember_circulate1"].initSelectData();
@@ -2122,6 +2129,9 @@ var PageHome = function (_React$Component) {
2122
2129
  if (t.state.newspyj.attachId && t.state.newspyj.attachId != '') {
2123
2130
  commentAttachId = t.state.newspyj.attachId;
2124
2131
  }
2132
+ if (t.state.newspyj.sealId && t.state.newspyj.sealId != '') {
2133
+ commentSealId = t.state.newspyj.sealId;
2134
+ }
2125
2135
  if (typeof newComment == "undefined" || newComment == '') {
2126
2136
  newComment = t.state.defaultValue;
2127
2137
  }
@@ -2136,6 +2146,11 @@ var PageHome = function (_React$Component) {
2136
2146
  commentAttachId: commentAttachId
2137
2147
  });
2138
2148
  }
2149
+ if (commentSealId && commentSealId != '') {
2150
+ t.setState({
2151
+ commentSealId: commentSealId
2152
+ });
2153
+ }
2139
2154
  if (operate == 1 || operate == 10 || operate == 3) {
2140
2155
  if (newComment && newComment != '') {
2141
2156
  if (newComment.length > 2000) {
@@ -2515,6 +2530,7 @@ var PageHome = function (_React$Component) {
2515
2530
  param.comment = newComment;
2516
2531
  param.hasCommentField = t.state.hasCommentField;
2517
2532
  param.attachId = t.state.commentAttachId;
2533
+ param.sealId = t.state.sealId;
2518
2534
  param.commentId = t.state.commentId;
2519
2535
  t.sendFlow(param);
2520
2536
  });
@@ -3995,6 +4011,7 @@ var PageHome = function (_React$Component) {
3995
4011
  module: t.state.module,
3996
4012
  comment: newComment,
3997
4013
  attachId: this.state.commentAttachId,
4014
+ sealId: this.state.commentSealId,
3998
4015
  commentId: t.state.commentId,
3999
4016
  hasCommentField: t.state.hasCommentField,
4000
4017
  dataId: dataId,
@@ -4096,6 +4113,7 @@ var PageHome = function (_React$Component) {
4096
4113
  commentId: this.state.commentId,
4097
4114
  hasCommentField: t.state.hasCommentField,
4098
4115
  attachId: this.state.commentAttachId,
4116
+ sealId: this.state.commentSealId,
4099
4117
  dataId: this.state.dataId,
4100
4118
  lock: this.state.lock,
4101
4119
  sendShortMessage: sendShortMessage,
@@ -4595,7 +4613,7 @@ var PageHome = function (_React$Component) {
4595
4613
  formData: JSON.stringify(editFormData),
4596
4614
  formType: "4",
4597
4615
  editType: editType
4598
- }, _defineProperty(_param2, 'module', t.state.module), _defineProperty(_param2, 'comment', newComment), _defineProperty(_param2, 'commentType', 'text'), _defineProperty(_param2, 'commentId', t.state.commentId), _defineProperty(_param2, 'attachId', t.state.commentAttachId), _defineProperty(_param2, 'permissionCode', t.state.permissionCode), _defineProperty(_param2, 'hasCommentField', t.state.hasCommentField), _defineProperty(_param2, 'dataId', dataId), _param2);
4616
+ }, _defineProperty(_param2, 'module', t.state.module), _defineProperty(_param2, 'comment', newComment), _defineProperty(_param2, 'commentType', 'text'), _defineProperty(_param2, 'commentId', t.state.commentId), _defineProperty(_param2, 'attachId', t.state.commentAttachId), _defineProperty(_param2, 'sealId', t.state.commentSealId), _defineProperty(_param2, 'permissionCode', t.state.permissionCode), _defineProperty(_param2, 'hasCommentField', t.state.hasCommentField), _defineProperty(_param2, 'dataId', dataId), _param2);
4599
4617
  var commentbizSn = t.guid2();
4600
4618
  if (param.commentId && param.commentId != "" && param.commentId != null && typeof param.commentId != "undefined") {
4601
4619
  commentbizSn = param.commentId;
@@ -5599,6 +5617,7 @@ var PageHome = function (_React$Component) {
5599
5617
  comment: newComment,
5600
5618
  commentId: t.state.commentId,
5601
5619
  attachId: t.state.commentAttachId,
5620
+ sealId: t.state.commentSealId,
5602
5621
  module: t.state.module,
5603
5622
  permissionCode: t.state.permissionCode,
5604
5623
  participantMode: t.state.participantMode,
@@ -6231,7 +6250,8 @@ var PageHome = function (_React$Component) {
6231
6250
  shortMessage: shortMessage,
6232
6251
  comment: t.state.spyj,
6233
6252
  commentId: t.state.commentId,
6234
- attachId: t.state.commentAttachId
6253
+ attachId: t.state.commentAttachId,
6254
+ sealId: t.state.commentSealId
6235
6255
  };
6236
6256
  var commentbizSn = t.guid2();
6237
6257
  if (param.commentId && param.commentId != "" && param.commentId != null && typeof param.commentId != "undefined") {
@@ -7752,7 +7772,7 @@ var PageHome = function (_React$Component) {
7752
7772
  _react2.default.createElement(
7753
7773
  _Group2.default.List,
7754
7774
  null,
7755
- 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, caFirm: t.state.caFirm, onChange: this.change.bind(this) })
7775
+ 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, caFirm: t.state.caFirm, inscriptionShow: t.state.inscriptionShow, onChange: this.change.bind(this) })
7756
7776
  )
7757
7777
  )
7758
7778
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmui-base",
3
- "version": "2.2.82",
3
+ "version": "2.2.83",
4
4
  "title": "fmui-base",
5
5
  "description": "fmui移动端组件",
6
6
  "main": "lib/index.js",