dlt-for-react 1.0.24 → 1.1.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.
Files changed (212) hide show
  1. package/README.md +12 -2
  2. package/lib/components/Button/index.js +79 -0
  3. package/lib/components/HqSelector/HqLsrySelector/index.js +3 -5
  4. package/lib/components/HqSelector/HqRySelector/index.js +3 -5
  5. package/lib/components/HqSelector/HqWzSelector/index.js +3 -5
  6. package/lib/components/KyEditableTable/component.js +3 -5
  7. package/lib/components/KyEditableTable/index.js +7 -13
  8. package/lib/components/KyExcel/index.js +3 -5
  9. package/lib/components/KyInputPicker/render.js +13 -43
  10. package/lib/components/KyInputPicker/setting-checkbox.js +3 -5
  11. package/lib/components/KyInputPicker/setting-multiSelect.js +3 -5
  12. package/lib/components/KyInputPicker/setting-nhcascader.js +3 -5
  13. package/lib/components/KyInputPicker/setting-select.js +3 -5
  14. package/lib/components/KyInputPicker/setting-stu-selector.js +3 -5
  15. package/lib/components/KyInputPicker/setting-tea-selector.js +3 -5
  16. package/lib/components/KyTable/checkButtons.js +4 -7
  17. package/lib/components/KyTree/index.js +6 -16
  18. package/lib/components/KyUpload/index.js +10 -20
  19. package/lib/components/NHAuditPanel/config/Axios.js +263 -0
  20. package/lib/components/NHAuditPanel/config/api.js +479 -0
  21. package/lib/components/NHAuditPanel/config/data.js +156 -0
  22. package/lib/components/NHAuditPanel/config/typeMap.js +1234 -0
  23. package/lib/components/NHAuditPanel/config/uiValidate.js +92 -0
  24. package/lib/components/NHAuditPanel/index.js +413 -0
  25. package/lib/components/NHAuditPanel/node.js +619 -0
  26. package/lib/components/NHCascader/index.js +355 -0
  27. package/lib/components/NHCheckboxGroup/index.js +135 -0
  28. package/lib/components/NHDynamicFormShow/baseInfo/index.js +194 -0
  29. package/lib/components/NHDynamicFormShow/custom/index.js +553 -0
  30. package/lib/components/NHDynamicFormShow/customModule/common/CommonMethod.js +43 -0
  31. package/lib/components/NHDynamicFormShow/customModule/czxy/qgzx/EditForm.js +1113 -0
  32. package/lib/components/NHDynamicFormShow/customModule/czxy/qgzx/index.js +263 -0
  33. package/lib/components/NHDynamicFormShow/customModule/czxy/xfjm/EditForm.js +880 -0
  34. package/lib/components/NHDynamicFormShow/customModule/czxy/xfjm/index.js +171 -0
  35. package/lib/components/NHDynamicFormShow/customModule/czxy/zxj/EditForm.js +865 -0
  36. package/lib/components/NHDynamicFormShow/customModule/czxy/zxj/index.js +138 -0
  37. package/lib/components/NHDynamicFormShow/customModule/eszy/zsxxhd/EditForm.js +571 -0
  38. package/lib/components/NHDynamicFormShow/customModule/eszy/zsxxhd/index.js +147 -0
  39. package/lib/components/NHDynamicFormShow/customModule/eszy/zybjtz/EditForm.js +474 -0
  40. package/lib/components/NHDynamicFormShow/customModule/eszy/zybjtz/index.js +139 -0
  41. package/lib/components/NHDynamicFormShow/customModule/gnyxy/cqzg/EditForm.js +506 -0
  42. package/lib/components/NHDynamicFormShow/customModule/gnyxy/cqzg/index.js +143 -0
  43. package/lib/components/NHDynamicFormShow/customModule/gnyxy/gwsb/EditForm.js +1074 -0
  44. package/lib/components/NHDynamicFormShow/customModule/gnyxy/gwsb/index.js +172 -0
  45. package/lib/components/NHDynamicFormShow/customModule/gnyxy/qjgl/EditForm.js +927 -0
  46. package/lib/components/NHDynamicFormShow/customModule/gnyxy/qjgl/index.js +195 -0
  47. package/lib/components/NHDynamicFormShow/customModule/gnyxy/sxsqj/EditForm.js +1064 -0
  48. package/lib/components/NHDynamicFormShow/customModule/gnyxy/sxsqj/index.js +183 -0
  49. package/lib/components/NHDynamicFormShow/customModule/hblgxy/jxj/EditForm.js +763 -0
  50. package/lib/components/NHDynamicFormShow/customModule/hblgxy/jxj/index.js +137 -0
  51. package/lib/components/NHDynamicFormShow/customModule/hblgxy/lzjxj/EditForm.js +819 -0
  52. package/lib/components/NHDynamicFormShow/customModule/hblgxy/lzjxj/index.js +137 -0
  53. package/lib/components/NHDynamicFormShow/customModule/hblgxy/qgzx/EditForm.js +700 -0
  54. package/lib/components/NHDynamicFormShow/customModule/hblgxy/qgzx/index.js +162 -0
  55. package/lib/components/NHDynamicFormShow/customModule/hblgxy/xsqj/EditForm.js +743 -0
  56. package/lib/components/NHDynamicFormShow/customModule/hblgxy/xsqj/index.js +177 -0
  57. package/lib/components/NHDynamicFormShow/customModule/hblgxy/zxj/EditForm.js +848 -0
  58. package/lib/components/NHDynamicFormShow/customModule/hblgxy/zxj/index.js +138 -0
  59. package/lib/components/NHDynamicFormShow/customModule/hljwgy/qjgl/EditForm.js +777 -0
  60. package/lib/components/NHDynamicFormShow/customModule/hljwgy/qjgl/index.js +161 -0
  61. package/lib/components/NHDynamicFormShow/customModule/hljwgy/xjgl/EditForm.js +706 -0
  62. package/lib/components/NHDynamicFormShow/customModule/hljwgy/xjgl/index.js +130 -0
  63. package/lib/components/NHDynamicFormShow/customModule/jhysxy/cfjcsq/cfjcEditForm.js +413 -0
  64. package/lib/components/NHDynamicFormShow/customModule/jhysxy/cfjcsq/index.js +135 -0
  65. package/lib/components/NHDynamicFormShow/customModule/jhysxy/xsqj/EditForm.js +1013 -0
  66. package/lib/components/NHDynamicFormShow/customModule/jhysxy/xsqj/index.js +175 -0
  67. package/lib/components/NHDynamicFormShow/customModule/jjrlx/EditForm.js +1345 -0
  68. package/lib/components/NHDynamicFormShow/customModule/jjrlx/index.js +274 -0
  69. package/lib/components/NHDynamicFormShow/customModule/jxj/EditForm.js +669 -0
  70. package/lib/components/NHDynamicFormShow/customModule/jxj/index.js +134 -0
  71. package/lib/components/NHDynamicFormShow/customModule/jxsl/fqkns/EditForm.js +378 -0
  72. package/lib/components/NHDynamicFormShow/customModule/jxsl/fqkns/index.js +120 -0
  73. package/lib/components/NHDynamicFormShow/customModule/jxsl/xwryfjjd/EditForm.js +638 -0
  74. package/lib/components/NHDynamicFormShow/customModule/jxsl/xwryfjjd/index.js +133 -0
  75. package/lib/components/NHDynamicFormShow/customModule/qgzx/EditForm.js +965 -0
  76. package/lib/components/NHDynamicFormShow/customModule/qgzx/index.js +237 -0
  77. package/lib/components/NHDynamicFormShow/customModule/qjgl/EditForm.js +823 -0
  78. package/lib/components/NHDynamicFormShow/customModule/qjgl/index.js +188 -0
  79. package/lib/components/NHDynamicFormShow/customModule/rcgl/jqlssq/EditForm.js +401 -0
  80. package/lib/components/NHDynamicFormShow/customModule/rcgl/jqlssq/index.js +472 -0
  81. package/lib/components/NHDynamicFormShow/customModule/rcgl/tssq/EditForm.js +304 -0
  82. package/lib/components/NHDynamicFormShow/customModule/rcgl/tssq/NHCascader/index.js +375 -0
  83. package/lib/components/NHDynamicFormShow/customModule/rcgl/tssq/NHInputPicker/RadioGroup.js +118 -0
  84. package/lib/components/NHDynamicFormShow/customModule/rcgl/tssq/NHInputPicker/index.js +62 -0
  85. package/lib/components/NHDynamicFormShow/customModule/rcgl/tssq/NHInputPicker/input-const.js +55 -0
  86. package/lib/components/NHDynamicFormShow/customModule/rcgl/tssq/NHInputPicker/render.js +1238 -0
  87. package/lib/components/NHDynamicFormShow/customModule/rcgl/tssq/index.js +375 -0
  88. package/lib/components/NHDynamicFormShow/customModule/rych/collective/EditForm.js +554 -0
  89. package/lib/components/NHDynamicFormShow/customModule/rych/collective/index.js +130 -0
  90. package/lib/components/NHDynamicFormShow/customModule/rych/personal/EditForm.js +542 -0
  91. package/lib/components/NHDynamicFormShow/customModule/rych/personal/index.js +133 -0
  92. package/lib/components/NHDynamicFormShow/customModule/sxgy/rych/collective/EditForm.js +575 -0
  93. package/lib/components/NHDynamicFormShow/customModule/sxgy/rych/collective/index.js +130 -0
  94. package/lib/components/NHDynamicFormShow/customModule/sxgy/rych/personal/EditForm.js +563 -0
  95. package/lib/components/NHDynamicFormShow/customModule/sxgy/rych/personal/index.js +133 -0
  96. package/lib/components/NHDynamicFormShow/customModule/whcz/qjgl/EditForm.js +745 -0
  97. package/lib/components/NHDynamicFormShow/customModule/whcz/qjgl/index.js +164 -0
  98. package/lib/components/NHDynamicFormShow/customModule/whcz/rccrxy/EditForm.js +587 -0
  99. package/lib/components/NHDynamicFormShow/customModule/whcz/rccrxy/index.js +143 -0
  100. package/lib/components/NHDynamicFormShow/customModule/whdlqjgl/EditForm.js +743 -0
  101. package/lib/components/NHDynamicFormShow/customModule/whdlqjgl/index.js +172 -0
  102. package/lib/components/NHDynamicFormShow/customModule/whgc/jjrlx/EditForm.js +1410 -0
  103. package/lib/components/NHDynamicFormShow/customModule/whgc/jjrlx/index.js +274 -0
  104. package/lib/components/NHDynamicFormShow/customModule/whgc/jxj/EditForm.js +755 -0
  105. package/lib/components/NHDynamicFormShow/customModule/whgc/jxj/index.js +130 -0
  106. package/lib/components/NHDynamicFormShow/customModule/whgc/qjgl/EditForm.js +814 -0
  107. package/lib/components/NHDynamicFormShow/customModule/whgc/qjgl/index.js +188 -0
  108. package/lib/components/NHDynamicFormShow/customModule/whgc/zxj/EditForm.js +769 -0
  109. package/lib/components/NHDynamicFormShow/customModule/whgc/zxj/index.js +130 -0
  110. package/lib/components/NHDynamicFormShow/customModule/whgcrych/EditForm.js +1004 -0
  111. package/lib/components/NHDynamicFormShow/customModule/whgcrych/index.js +126 -0
  112. package/lib/components/NHDynamicFormShow/customModule/whtl/jsrzsq/EditForm.js +503 -0
  113. package/lib/components/NHDynamicFormShow/customModule/whtl/jsrzsq/index.js +149 -0
  114. package/lib/components/NHDynamicFormShow/customModule/whtlyhk/EditForm.js +379 -0
  115. package/lib/components/NHDynamicFormShow/customModule/whtlyhk/index.js +148 -0
  116. package/lib/components/NHDynamicFormShow/customModule/whtlzxj/EditForm.js +748 -0
  117. package/lib/components/NHDynamicFormShow/customModule/whtlzxj/index.js +135 -0
  118. package/lib/components/NHDynamicFormShow/customModule/whtlzy/jxj/EditForm.js +762 -0
  119. package/lib/components/NHDynamicFormShow/customModule/whtlzy/jxj/index.js +134 -0
  120. package/lib/components/NHDynamicFormShow/customModule/wjcf/cfjc/cfjcEditForm.js +682 -0
  121. package/lib/components/NHDynamicFormShow/customModule/wjcf/cfjc/index.js +135 -0
  122. package/lib/components/NHDynamicFormShow/customModule/wjcf/wjsb/index.js +152 -0
  123. package/lib/components/NHDynamicFormShow/customModule/wjcf/wjsb/wjsbEditForm.js +783 -0
  124. package/lib/components/NHDynamicFormShow/customModule/zxj/EditForm.js +764 -0
  125. package/lib/components/NHDynamicFormShow/customModule/zxj/index.js +138 -0
  126. package/lib/components/NHDynamicFormShow/customModule/zzsd/cfjcsq/cfjcEditForm.js +677 -0
  127. package/lib/components/NHDynamicFormShow/customModule/zzsd/cfjcsq/index.js +138 -0
  128. package/lib/components/NHDynamicFormShow/customModule/zzsd/qjgl/EditForm.js +1173 -0
  129. package/lib/components/NHDynamicFormShow/customModule/zzsd/qjgl/index.js +242 -0
  130. package/lib/components/NHDynamicFormShow/customModule/zzsd/rcgl/rcxwgrdj/IndividualRegistForm.js +862 -0
  131. package/lib/components/NHDynamicFormShow/customModule/zzsd/rcgl/rcxwgrdj/IndividualRegistIndex.js +201 -0
  132. package/lib/components/NHDynamicFormShow/customModule/zzsd/stuinfo/messageInfo.js +196 -0
  133. package/lib/components/NHDynamicFormShow/customModule/zzsd/wjsb/index.js +167 -0
  134. package/lib/components/NHDynamicFormShow/customModule/zzsd/wjsb/wjsbEditForm.js +1096 -0
  135. package/lib/components/NHDynamicFormShow/index.js +647 -0
  136. package/lib/components/NHDynamicFormShow/oneOnMany/cardForm/cardItem/index.js +279 -0
  137. package/lib/components/NHDynamicFormShow/oneOnMany/cardForm/index.js +206 -0
  138. package/lib/components/NHDynamicFormShow/oneOnMany/index.js +419 -0
  139. package/lib/components/NHDynamicFormShow/oneOnOne/EditForm.js +401 -0
  140. package/lib/components/NHDynamicFormShow/oneOnOne/index.js +271 -0
  141. package/lib/components/NHImagePicker/index.js +554 -0
  142. package/lib/components/NHInputPicker/RadioGroup.js +118 -0
  143. package/lib/components/NHInputPicker/index.js +62 -0
  144. package/lib/components/NHInputPicker/input-const.js +55 -0
  145. package/lib/components/NHInputPicker/render.js +1271 -0
  146. package/lib/components/NHListView/index.js +374 -0
  147. package/lib/components/NHMapGeolocation/index.js +537 -0
  148. package/lib/components/NHMapGeolocation/initMap/initGdMap.js +104 -0
  149. package/lib/components/NHMapGeolocation/initMap/initTencentMap.js +138 -0
  150. package/lib/components/NHMapGeolocation/style.js +51 -0
  151. package/lib/components/NHMultiSelect/index.js +272 -0
  152. package/lib/components/NHRadioGroup/index.js +118 -0
  153. package/lib/components/NHSelect/index.js +364 -0
  154. package/lib/components/NHTreeMenu/index.js +126 -0
  155. package/lib/components/NHTreeMenu/treeNode.js +164 -0
  156. package/lib/components/StuSelector/index.js +611 -0
  157. package/lib/index.js +156 -120
  158. package/lib/layouts/KyInputPicker/edit-page.js +585 -0
  159. package/lib/layouts/KyInputPicker/index.js +220 -0
  160. package/lib/layouts/KyInputPicker/input-const.js +134 -0
  161. package/lib/layouts/KyInputPicker/render.js +2477 -0
  162. package/lib/layouts/KyInputPicker/setting-checkbox.js +850 -0
  163. package/lib/layouts/KyInputPicker/setting-datepicker.js +430 -0
  164. package/lib/layouts/KyInputPicker/setting-datetimepicker.js +443 -0
  165. package/lib/layouts/KyInputPicker/setting-input.js +555 -0
  166. package/lib/layouts/KyInputPicker/setting-inputNumber.js +612 -0
  167. package/lib/layouts/KyInputPicker/setting-monthpicker.js +434 -0
  168. package/lib/layouts/KyInputPicker/setting-multiSelect.js +532 -0
  169. package/lib/layouts/KyInputPicker/setting-nhcascader.js +584 -0
  170. package/lib/layouts/KyInputPicker/setting-old-upload.js +428 -0
  171. package/lib/layouts/KyInputPicker/setting-radio.js +468 -0
  172. package/lib/layouts/KyInputPicker/setting-rangepicker.js +466 -0
  173. package/lib/layouts/KyInputPicker/setting-select.js +534 -0
  174. package/lib/layouts/KyInputPicker/setting-stu-selector.js +507 -0
  175. package/lib/layouts/KyInputPicker/setting-switch.js +274 -0
  176. package/lib/layouts/KyInputPicker/setting-tea-selector.js +507 -0
  177. package/lib/layouts/KyInputPicker/setting-textarea.js +619 -0
  178. package/lib/layouts/KyInputPicker/setting-timepicker.js +437 -0
  179. package/lib/layouts/KyInputPicker/setting-upload.js +766 -0
  180. package/lib/layouts/KyModal/buildTitle.js +81 -0
  181. package/lib/layouts/KyModal/dragM.js +127 -0
  182. package/lib/layouts/KyModal/index.js +321 -0
  183. package/lib/layouts/KyPreview/index.js +219 -0
  184. package/lib/layouts/KyUpload/index.js +1155 -0
  185. package/lib/layouts/LeftMenu/index.js +5 -11
  186. package/lib/layouts/NavigationBar/index.js +4 -10
  187. package/lib/layouts/Top/editPassWord.js +5 -7
  188. package/lib/layouts/Top/index.js +6 -20
  189. package/lib/layouts/TopMenu/index.js +11 -14
  190. package/lib/layouts/layout/index.js +7 -13
  191. package/lib/layouts/{Login → login}/index-pre.js +3 -5
  192. package/lib/layouts/{Login → login}/index.js +6 -8
  193. package/lib/layouts/{Login → login}/login.js +8 -17
  194. package/lib/layouts/mixTop/index.js +13 -28
  195. package/lib/layouts/settingDrawer/index.js +3 -5
  196. package/lib/routes/AuthorizedRoute.js +7 -13
  197. package/lib/utils/NHCore.js +46 -2
  198. package/lib/utils/browserJudge.js +33 -0
  199. package/lib/utils/common.js +18 -20
  200. package/lib/utils/createUuid.js +11 -31
  201. package/lib/utils/device.js +44 -0
  202. package/lib/utils/dynamicLoadCss.js +14 -0
  203. package/lib/utils/dynamicLoadJs.js +21 -0
  204. package/lib/utils/getLoginUser.js +1 -1
  205. package/lib/utils/getSize.js +2 -11
  206. package/lib/utils/getStyle.js +26 -0
  207. package/lib/utils/getSuitHeight.js +49 -0
  208. package/lib/utils/hasAuth.js +11 -0
  209. package/lib/utils/index.js +1 -34
  210. package/lib/utils/loadJS.js +40 -0
  211. package/package.json +1 -1
  212. /package/lib/layouts/{Login → login}/lyPassword.js +0 -0
@@ -0,0 +1,755 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+
7
+ var _card = require('antd-mobile/lib/card');
8
+
9
+ var _card2 = _interopRequireDefault(_card);
10
+
11
+ var _whiteSpace = require('antd-mobile/lib/white-space');
12
+
13
+ var _whiteSpace2 = _interopRequireDefault(_whiteSpace);
14
+
15
+ var _textareaItem = require('antd-mobile/lib/textarea-item');
16
+
17
+ var _textareaItem2 = _interopRequireDefault(_textareaItem);
18
+
19
+ var _stepper = require('antd-mobile/lib/stepper');
20
+
21
+ var _stepper2 = _interopRequireDefault(_stepper);
22
+
23
+ var _picker = require('antd-mobile/lib/picker');
24
+
25
+ var _picker2 = _interopRequireDefault(_picker);
26
+
27
+ var _list = require('antd-mobile/lib/list');
28
+
29
+ var _list2 = _interopRequireDefault(_list);
30
+
31
+ var _inputItem = require('antd-mobile/lib/input-item');
32
+
33
+ var _inputItem2 = _interopRequireDefault(_inputItem);
34
+
35
+ var _modal = require('antd-mobile/lib/modal');
36
+
37
+ var _modal2 = _interopRequireDefault(_modal);
38
+
39
+ var _toast = require('antd-mobile/lib/toast');
40
+
41
+ var _toast2 = _interopRequireDefault(_toast);
42
+
43
+ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
44
+
45
+ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
46
+
47
+ require('antd-mobile/lib/card/style/css');
48
+
49
+ require('antd-mobile/lib/white-space/style/css');
50
+
51
+ require('antd-mobile/lib/textarea-item/style/css');
52
+
53
+ require('antd-mobile/lib/stepper/style/css');
54
+
55
+ require('antd-mobile/lib/picker/style/css');
56
+
57
+ require('antd-mobile/lib/list/style/css');
58
+
59
+ require('antd-mobile/lib/input-item/style/css');
60
+
61
+ require('antd-mobile/lib/modal/style/css');
62
+
63
+ require('antd-mobile/lib/toast/style/css');
64
+
65
+ var _react = require('react');
66
+
67
+ var _react2 = _interopRequireDefault(_react);
68
+
69
+ var _NHFetch = require('../../../../../utils/NHFetch');
70
+
71
+ var _NHFetch2 = _interopRequireDefault(_NHFetch);
72
+
73
+ var _index = require('../../../../NHImagePicker/index');
74
+
75
+ var _index2 = _interopRequireDefault(_index);
76
+
77
+ var _rcForm = require('rc-form');
78
+
79
+ var _classnames = require('classnames');
80
+
81
+ var _classnames2 = _interopRequireDefault(_classnames);
82
+
83
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
84
+
85
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
86
+
87
+ 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; }
88
+
89
+ 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; }
90
+
91
+ var EditInitForm = function (_React$Component) {
92
+ _inherits(EditInitForm, _React$Component);
93
+
94
+ function EditInitForm(props) {
95
+ _classCallCheck(this, EditInitForm);
96
+
97
+ var _this = _possibleConstructorReturn(this, (EditInitForm.__proto__ || Object.getPrototypeOf(EditInitForm)).call(this, props));
98
+
99
+ _this.componentDidMount = function () {
100
+ _this.initJxjForm();
101
+ };
102
+
103
+ _this.initJxjForm = function () {
104
+ var _this$props = _this.props,
105
+ objId = _this$props.objId,
106
+ pkid = _this$props.pkid,
107
+ params = _this$props.params;
108
+
109
+ var pcid = params.pcid; //批次ID,也就是任务ID
110
+ (0, _NHFetch2.default)('api/sm-scholarship/openapi/getDymxByGzfbid/' + pcid, 'GET').then(function (res) {
111
+ if (res) {
112
+ var mxsm = res.data.length;
113
+ if (mxsm === 1) {
114
+ //对应的奖项定义是不分等级的
115
+ _this.setState({
116
+ mxsm: 1,
117
+ mxid: res.data[0].MXID,
118
+ djmc: res.data[0].DJMC,
119
+ sfgdje: res.data[0].SFGDJE,
120
+ gdjj: res.data[0].GDJJ,
121
+ zdjj: res.data[0].ZDJJ,
122
+ zxjj: res.data[0].ZXJJ,
123
+ pjzqdm: res.data[0].SJDM,
124
+ pjzq: res.data[0].SJMC,
125
+ //当奖项定义不是固定金额的时候,申请时je会被作为奖金的初始化值,这个初始化值取奖项定义的最小奖金
126
+ je: res.data[0].SFGDJE === '1' ? 0 : res.data[0].ZXJJ
127
+ }, function () {
128
+ //判断是否有资格申请该奖项
129
+ var param = {
130
+ xsid: objId,
131
+ gzfbid: pcid,
132
+ mxid: res.data[0].MXID
133
+ };
134
+ _this.hasQualification(param);
135
+ });
136
+ } else {
137
+ //对应的奖项是分了多个等级的
138
+ var djxx = [];
139
+ res.data.map(function (v, i) {
140
+ djxx.push({ label: v.DJMC, value: v.MXID });
141
+ });
142
+ var mxidxx = res.data.map(function (v, i) {
143
+ return v.MXID;
144
+ });
145
+ var gdjjxx = res.data.map(function (v, i) {
146
+ return v.GDJJ;
147
+ });
148
+ _this.setState({
149
+ mxsm: mxsm,
150
+ djxx: djxx,
151
+ pjzqdm: res.data[0].SJDM,
152
+ pjzq: res.data[0].SJMC,
153
+ mxidxx: mxidxx,
154
+ gdjjxx: gdjjxx
155
+ });
156
+ }
157
+ //通过主键ID获取获奖名单表对应的数据
158
+ _this.getData(pkid);
159
+ }
160
+ });
161
+ };
162
+
163
+ _this.getData = function (pkid) {
164
+ //通过PKID去查询是否有申请数据,有说明是审核
165
+ (0, _NHFetch2.default)('api/sm-scholarship/openapi/getXshjmdByPkid/' + pkid, 'GET').then(function (res) {
166
+ if (res && res.code === 200) {
167
+ if (res.data != null) {
168
+ _this.setState({
169
+ mxid: res.data.MXID,
170
+ pjzq: res.data.SJMC,
171
+ pjzqdm: res.data.SJDM,
172
+ //对于不固定金额的情况,审核时页面的金额应该是从申请数据里拿了,所以je的值要重新覆盖下
173
+ je: res.data.JE,
174
+ sqly: res.data.SQLY,
175
+ fjid: res.data.FJID,
176
+ djmc: res.data.DJMC,
177
+ sfgdje: res.data.SFGDJE,
178
+ gdjj: res.data.GDJJ,
179
+ zdjj: res.data.ZDJJ,
180
+ zxjj: res.data.ZXJJ,
181
+ //只有当奖项是分等级的时候,gdjjBydj这个值才会用到。所以直接给它赋值res.data.JE
182
+ gdjjBydj: res.data.JE,
183
+ bxnsqzyyt: res.data.BXNSQZYYT,
184
+ sxnszje: res.data.SXNSZJE,
185
+ sxnzzzyyt: res.data.SXNZZZYYT
186
+ });
187
+ }
188
+ } else {
189
+ _toast2.default.fail("调用接口失败");
190
+ }
191
+ });
192
+ };
193
+
194
+ _this.hasQualification = function (param) {
195
+ _this.props.setSubmitBtnDisabled && _this.props.setSubmitBtnDisabled(true); //默认办理按钮不可用
196
+ (0, _NHFetch2.default)('api/sm-scholarship/openapi/hasQualification', 'POST', param).then(function (res) {
197
+ if (res && res.code === 200) {
198
+ if (!res.data.ZGMDID) {
199
+ //资格名单表查不到记录,调用资格鉴定接口
200
+ var zgid = res.data.ZGID2 ? res.data.ZGID2 : res.data.ZGID1;
201
+ (0, _NHFetch2.default)("api/sm-qualification/openapi/qualifications/checkOne?zgid=" + zgid + "&id=" + param.xsid + "&t=" + new Date().getTime(), "GET").then(function (res) {
202
+ if (res && res.code === 200) {
203
+ if (res.data.zt === '0' || res.data.zt === 0) {
204
+ var bfhtjs = res.data.bfhtj.split(";");
205
+ var bfhtj = bfhtjs.map(function (item, index) {
206
+ return _react2.default.createElement(
207
+ 'span',
208
+ { key: index + 1 },
209
+ index + 1,
210
+ '\u3001',
211
+ item,
212
+ _react2.default.createElement('br', null)
213
+ );
214
+ });
215
+ var msgTip = '';
216
+ if (bfhtjs && bfhtjs.length > 0) {
217
+ for (var i = 0; i < bfhtjs.length; i++) {
218
+ var currentTip = i + 1 + ' ' + bfhtjs[i] + ' ';
219
+ msgTip += currentTip;
220
+ }
221
+ }
222
+ var modelMessage = "您由于不满足以下条件,所以不能执行申请操作:" + msgTip;
223
+ _modal2.default.alert('提示', modelMessage);
224
+ } else {
225
+ _this.props.setSubmitBtnDisabled && _this.props.setSubmitBtnDisabled(false); //CheackOne通过后开启办理按钮
226
+ }
227
+ } else {
228
+ _toast2.default.fail("调用接口失败");
229
+ }
230
+ });
231
+ } else {
232
+ //表里有数据,看sfyx字段的状态
233
+ if (res.data.SFYX === "0" || res.data.SFYX === 0) {
234
+ var modelMessage = "您由于不满足以下条件,所以不能执行申请操作:" + res.data.SFYXLY;
235
+ _modal2.default.alert('提示', modelMessage);
236
+ } else {
237
+ _this.props.setSubmitBtnDisabled && _this.props.setSubmitBtnDisabled(false); //能办理的话开启办理按钮
238
+ }
239
+ }
240
+ } else {
241
+ _toast2.default.fail("调用接口失败");
242
+ }
243
+ });
244
+ };
245
+
246
+ _this.changeDj = function (v) {
247
+ var _this$props2 = _this.props,
248
+ objId = _this$props2.objId,
249
+ params = _this$props2.params;
250
+ var _this$state = _this.state,
251
+ mxidxx = _this$state.mxidxx,
252
+ gdjjxx = _this$state.gdjjxx;
253
+
254
+ if (!v && v.length < 1) return;
255
+ var index = mxidxx.findIndex(function (item) {
256
+ return item === v[0];
257
+ });
258
+ _this.setState({
259
+ gdjjBydj: gdjjxx[index]
260
+ }, function () {
261
+ //验证是否有资格申请
262
+ var param = {
263
+ xsid: objId,
264
+ gzfbid: params.pcid,
265
+ mxid: v[0]
266
+ };
267
+ _this.props.form.setFieldsValue({ je: gdjjxx[index] });
268
+ _this.hasQualification(param);
269
+ });
270
+ };
271
+
272
+ _this.onChangeStepper = function (val) {
273
+ _this.setState({ je: val });
274
+ };
275
+
276
+ _this.requiredParams = function (required, id) {
277
+ var getFieldError = _this.props.form.getFieldError;
278
+
279
+ return {
280
+ error: getFieldError(id) !== undefined
281
+ };
282
+ };
283
+
284
+ _this.getDataList = function (fieldMap) {
285
+ var _this$props$form = _this.props.form,
286
+ getFieldProps = _this$props$form.getFieldProps,
287
+ getFieldError = _this$props$form.getFieldError;
288
+ var _this$state2 = _this.state,
289
+ mxsm = _this$state2.mxsm,
290
+ mxid = _this$state2.mxid,
291
+ djmc = _this$state2.djmc,
292
+ djxx = _this$state2.djxx,
293
+ sfgdje = _this$state2.sfgdje,
294
+ gdjj = _this$state2.gdjj,
295
+ zdjj = _this$state2.zdjj,
296
+ zxjj = _this$state2.zxjj,
297
+ gdjjBydj = _this$state2.gdjjBydj,
298
+ pjzq = _this$state2.pjzq,
299
+ pjzqdm = _this$state2.pjzqdm,
300
+ je = _this$state2.je,
301
+ sqly = _this$state2.sqly,
302
+ fjid = _this$state2.fjid,
303
+ bxnsqzyyt = _this$state2.bxnsqzyyt,
304
+ sxnszje = _this$state2.sxnszje,
305
+ sxnzzzyyt = _this$state2.sxnzzzyyt;
306
+
307
+ var dataList = [];
308
+
309
+ if (fieldMap.DJMC && fieldMap.DJMC.sfxs === '1') {
310
+ var required = fieldMap.DJMC.sfbt === "1" ? true : false;
311
+ var editable = fieldMap.DJMC.sfbj === "1" ? true : false;
312
+ var label = fieldMap.DJMC.title;
313
+ if (mxsm === 1) {
314
+ //没有分等级的,奖项名称始终显示
315
+ dataList.push({
316
+ title: label,
317
+ text: djmc,
318
+ required: required,
319
+ render: function render() {
320
+ getFieldProps('mxid', {
321
+ initialValue: mxid
322
+ });
323
+ return _react2.default.createElement(
324
+ _inputItem2.default,
325
+ {
326
+ className: 'nh-input-item',
327
+ placeholder: '\u8BF7\u8F93\u5165',
328
+ value: djmc,
329
+ editable: false,
330
+ disabled: !editable
331
+ },
332
+ label
333
+ );
334
+ }
335
+ });
336
+ } else {
337
+ //分等级,申请的时候奖项名称始终是一个下拉框
338
+ dataList.push({
339
+ // id: 'dymx',
340
+ title: label,
341
+ required: required,
342
+ text: djmc,
343
+ render: function render() {
344
+ return _react2.default.createElement(
345
+ 'div',
346
+ {
347
+ className: (0, _classnames2.default)({ 'nh-inputrender': editable, 'nh-inputrender-disabled': !editable })
348
+ },
349
+ _react2.default.createElement(
350
+ _picker2.default,
351
+ _extends({
352
+ data: djxx,
353
+ cols: 1,
354
+ className: 'forss',
355
+ disabled: !editable
356
+ }, getFieldProps('mxid', {
357
+ initialValue: typeof mxid === 'string' ? [mxid] : mxid,
358
+ rules: [{ required: required, message: '\u8BF7\u8F93\u5165' + label }],
359
+ onChange: _this.changeDj
360
+ })),
361
+ _react2.default.createElement(
362
+ _list2.default.Item,
363
+ _extends({ arrow: 'horizontal' }, _this.requiredParams(required, 'mxid')),
364
+ label
365
+ )
366
+ )
367
+ );
368
+ }
369
+ });
370
+ }
371
+ }
372
+
373
+ if (fieldMap.JE && fieldMap.JE.sfxs === '1') {
374
+ var _required = fieldMap.JE.sfbt === "1" ? true : false;
375
+ var _editable = fieldMap.JE.sfbj === "1" ? true : false;
376
+ var _label = fieldMap.JE.title;
377
+ if (mxsm === 1) {
378
+ //没有分等级的
379
+ if (sfgdje === '1') {
380
+ //固定奖金
381
+ dataList.push({
382
+ title: _label,
383
+ text: gdjj,
384
+ required: _required,
385
+ render: function render() {
386
+ return _react2.default.createElement(
387
+ _inputItem2.default,
388
+ _extends({
389
+ className: 'nh-input-item',
390
+ placeholder: '\u8BF7\u8F93\u5165',
391
+ editable: false,
392
+ disabled: !_editable
393
+ }, _this.requiredParams(_required, 'je'), getFieldProps('je', {
394
+ initialValue: gdjj,
395
+ rules: [{ required: _required, message: '\u8BF7\u8F93\u5165' + _label }]
396
+ })),
397
+ _label
398
+ );
399
+ }
400
+ });
401
+ } else {
402
+ //没有固定金额
403
+ dataList.push({
404
+ title: _label,
405
+ required: _required,
406
+ text: je,
407
+ render: function render() {
408
+ return _react2.default.createElement(
409
+ _list2.default.Item,
410
+ { extra: _react2.default.createElement(_stepper2.default, _extends({
411
+ style: { width: '100%', minWidth: '100px' },
412
+ showNumber: true,
413
+ max: zdjj,
414
+ min: zxjj,
415
+ disabled: !_editable
416
+ }, getFieldProps('je', {
417
+ initialValue: je,
418
+ rules: [{ required: _required, message: '\u8BF7\u8F93\u5165' + _label }],
419
+ onChange: _this.onChangeStepper
420
+ })))
421
+ },
422
+ _label
423
+ );
424
+ }
425
+ });
426
+ }
427
+ } else {
428
+ //分等级的,每个等级都是固定金额,但金额要跟着等级变化
429
+ dataList.push({
430
+ title: _label,
431
+ text: gdjjBydj,
432
+ required: _required,
433
+ render: function render() {
434
+ return _react2.default.createElement(
435
+ _inputItem2.default,
436
+ _extends({
437
+ className: 'nh-input-item',
438
+ placeholder: '\u8BF7\u8F93\u5165',
439
+ editable: false,
440
+ disabled: !_editable
441
+ }, _this.requiredParams(_required, 'je'), getFieldProps('je', {
442
+ initialValue: gdjjBydj,
443
+ rules: [{ required: _required, message: '\u8BF7\u8F93\u5165' + _label }]
444
+ })),
445
+ _label
446
+ );
447
+ }
448
+ });
449
+ }
450
+ }
451
+
452
+ if (fieldMap.PJZQ && fieldMap.PJZQ.sfxs === '1') {
453
+ var _required2 = fieldMap.PJZQ.sfbt === "1" ? true : false;
454
+ var _editable2 = fieldMap.PJZQ.sfbj === "1" ? true : false;
455
+ var _label2 = fieldMap.PJZQ.title;
456
+ dataList.push({
457
+ id: 'pjzq',
458
+ title: _label2,
459
+ text: pjzq,
460
+ required: _required2,
461
+ render: function render() {
462
+ getFieldProps('pjzq', {
463
+ initialValue: pjzqdm
464
+ });
465
+ return _react2.default.createElement(
466
+ _inputItem2.default,
467
+ {
468
+ className: 'nh-input-item',
469
+ placeholder: '\u8BF7\u8F93\u5165',
470
+ editable: false,
471
+ disabled: !_editable2,
472
+ value: pjzq
473
+ },
474
+ _label2
475
+ );
476
+ }
477
+
478
+ });
479
+ }
480
+
481
+ if (fieldMap.SXNSZJE && fieldMap.SXNSZJE.sfxs === '1') {
482
+ var _required3 = fieldMap.SXNSZJE.sfbt === "1" ? true : false;
483
+ var _editable3 = fieldMap.SXNSZJE.sfbj === "1" ? true : false;
484
+ var _label3 = fieldMap.SXNSZJE.title;
485
+ dataList.push({
486
+ title: _label3,
487
+ text: sxnszje,
488
+ required: _required3,
489
+ render: function render() {
490
+ return _react2.default.createElement(
491
+ _inputItem2.default,
492
+ _extends({
493
+ className: 'nh-input-item',
494
+ placeholder: '\u8BF7\u8F93\u5165',
495
+ editable: _editable3,
496
+ disabled: !_editable3
497
+ }, _this.requiredParams(_required3, 'sxnszje'), getFieldProps('sxnszje', {
498
+ initialValue: sxnszje,
499
+ rules: [{ required: _required3, message: '\u8BF7\u8F93\u5165' + _label3 + '\uFF01' }]
500
+ })),
501
+ _label3
502
+ );
503
+ }
504
+ });
505
+ }
506
+
507
+ if (fieldMap.SXNZZZYYT && fieldMap.SXNZZZYYT.sfxs === '1') {
508
+ var _required4 = fieldMap.SXNZZZYYT.sfbt === "1" ? true : false;
509
+ var _editable4 = fieldMap.SXNZZZYYT.sfbj === "1" ? true : false;
510
+ var _label4 = fieldMap.SXNZZZYYT.title;
511
+ dataList.push({
512
+ id: 'sxnzzzyyt',
513
+ title: _label4,
514
+ text: sxnzzzyyt,
515
+ required: _required4,
516
+ isUpload: false,
517
+ render: function render() {
518
+ return _react2.default.createElement(_textareaItem2.default, _extends({
519
+ title: _label4,
520
+ placeholder: '\u8BF7\u8F93\u5165',
521
+ 'data-seed': 'logId',
522
+ rows: 2,
523
+ count: 100,
524
+ editable: _editable4,
525
+ disabled: !_editable4
526
+ }, _this.requiredParams(_required4, 'sxnzzzyyt'), getFieldProps('sxnzzzyyt', {
527
+ initialValue: sxnzzzyyt,
528
+ rules: [{ required: _required4, message: '\u8BF7\u8F93\u5165' + _label4 + '\uFF01' }],
529
+ onChange: function onChange(v) {
530
+ return _this.setState({ sxnzzzyyt: v });
531
+ }
532
+ })));
533
+ }
534
+ });
535
+ }
536
+
537
+ if (fieldMap.BXNSQZYYT && fieldMap.BXNSQZYYT.sfxs === '1') {
538
+ var _required5 = fieldMap.BXNSQZYYT.sfbt === "1" ? true : false;
539
+ var _editable5 = fieldMap.BXNSQZYYT.sfbj === "1" ? true : false;
540
+ var _label5 = fieldMap.BXNSQZYYT.title;
541
+ dataList.push({
542
+ id: 'bxnsqzyyt',
543
+ title: _label5,
544
+ text: bxnsqzyyt,
545
+ required: _required5,
546
+ isUpload: false,
547
+ render: function render() {
548
+ return _react2.default.createElement(_textareaItem2.default, _extends({
549
+ title: _label5,
550
+ placeholder: '\u8BF7\u8F93\u5165',
551
+ 'data-seed': 'logId',
552
+ rows: 2,
553
+ count: 100,
554
+ editable: _editable5,
555
+ disabled: !_editable5
556
+ }, _this.requiredParams(_required5, 'bxnsqzyyt'), getFieldProps('bxnsqzyyt', {
557
+ initialValue: bxnsqzyyt,
558
+ rules: [{ required: _required5, message: '\u8BF7\u8F93\u5165' + _label5 + '\uFF01' }],
559
+ onChange: function onChange(v) {
560
+ return _this.setState({ bxnsqzyyt: v });
561
+ }
562
+ })));
563
+ }
564
+ });
565
+ }
566
+
567
+ if (fieldMap.SQLY && fieldMap.SQLY.sfxs === '1') {
568
+ var _required6 = fieldMap.SQLY.sfbt === "1" ? true : false;
569
+ var _editable6 = fieldMap.SQLY.sfbj === "1" ? true : false;
570
+ var _label6 = fieldMap.SQLY.title;
571
+ dataList.push({
572
+ id: 'sqly',
573
+ title: _label6,
574
+ text: sqly,
575
+ required: _required6,
576
+ isUpload: false,
577
+ render: function render() {
578
+ return _react2.default.createElement(_textareaItem2.default, _extends({
579
+ title: _label6,
580
+ placeholder: '\u8BF7\u8F93\u5165',
581
+ rows: 2,
582
+ count: 200,
583
+ editable: _editable6,
584
+ disabled: !_editable6
585
+ }, _this.requiredParams(_required6, 'sqly'), getFieldProps('sqly', {
586
+ initialValue: sqly,
587
+ rules: [{ required: _required6, message: '\u8BF7\u8F93\u5165' + _label6 + '\uFF01' }],
588
+ onChange: function onChange(v) {
589
+ return _this.setState({ sqly: v });
590
+ }
591
+ })));
592
+ }
593
+ });
594
+ }
595
+
596
+ if (fieldMap.FJID && fieldMap.FJID.sfxs === '1') {
597
+ var _required7 = fieldMap.FJID.sfbt === "1" ? true : false;
598
+ var _editable7 = fieldMap.FJID.sfbj === "1" ? true : false;
599
+ var _label7 = fieldMap.FJID.title;
600
+ dataList.push({
601
+ id: 'fjid',
602
+ title: _label7,
603
+ text: fjid,
604
+ required: _required7,
605
+ isUpload: true,
606
+ render: function render() {
607
+ return _react2.default.createElement(
608
+ _list2.default.Item,
609
+ _this.requiredParams(_required7, 'fjid'),
610
+ _react2.default.createElement(
611
+ 'label',
612
+ { className: (0, _classnames2.default)({ 'nh-dynamic-form-disabled': !_editable7 }) },
613
+ _label7
614
+ ),
615
+ _react2.default.createElement(_index2.default, _extends({
616
+ serviceMark: 'sm-scholarship',
617
+ moduleName: '奖学金',
618
+ isEdit: _this.props.isEdit && _editable7,
619
+ numberOfLimit: 10,
620
+ numberOfSize: 5
621
+ }, getFieldProps('fjid', {
622
+ initialValue: fjid,
623
+ rules: [{ required: _required7, message: '请上传附件' }]
624
+ })))
625
+ );
626
+ },
627
+ renderView: function renderView() {
628
+ return _react2.default.createElement(_index2.default, {
629
+ serviceMark: 'sm-scholarship',
630
+ moduleName: '奖学金',
631
+ isEdit: false,
632
+ value: fjid
633
+ });
634
+ }
635
+ });
636
+ }
637
+ return dataList;
638
+ };
639
+
640
+ _this.state = {
641
+ mxsm: 1, //明细数目
642
+ mxid: undefined, //明细id
643
+ djmc: undefined, //等级名称
644
+ sfgdje: undefined, //是否固定金额
645
+ gdjj: undefined, //固定奖金
646
+ zdjj: 0, //最大奖金
647
+ zxjj: 0, //最小奖金
648
+ pjzqdm: undefined, //评奖周期代码
649
+ pjzq: undefined, //评奖周期
650
+ sffdj: undefined, //是否分等级
651
+ fjid: undefined,
652
+ sqly: undefined,
653
+ je: undefined,
654
+ djxx: [], //等级信息,用于存有多个等级的情况
655
+ mxidxx: [], //分等级情况下,记录下所有的mxid
656
+ gdjjxx: [], //分等级情况下,记录下所有的固定金额,跟mxidxx对应
657
+ gdjjBydj: undefined, //用于分等级情况下,根据不同等级显示不同金额
658
+ bxnsqzyyt: '',
659
+ sxnszje: '',
660
+ sxnzzzyyt: ''
661
+ };
662
+
663
+ return _this;
664
+ }
665
+
666
+ //改变等级
667
+
668
+ //步进器改变
669
+
670
+
671
+ _createClass(EditInitForm, [{
672
+ key: 'render',
673
+ value: function render() {
674
+ var _props = this.props,
675
+ form = _props.form,
676
+ isEdit = _props.isEdit,
677
+ fieldMap = _props.fieldMap,
678
+ title = _props.title;
679
+
680
+ var dataList = this.getDataList(fieldMap);
681
+ if (isEdit) {
682
+ return _react2.default.createElement(
683
+ 'form',
684
+ null,
685
+ _react2.default.createElement(
686
+ _list2.default,
687
+ { renderHeader: function renderHeader() {
688
+ return title;
689
+ } },
690
+ dataList.map(function (item, index) {
691
+ return _react2.default.createElement(
692
+ 'div',
693
+ { key: index, className: (0, _classnames2.default)('nh-dynamic-list-item', { 'nh-dynamic-required': item.required }) },
694
+ item.render !== undefined ? item.render() : null
695
+ );
696
+ })
697
+ ),
698
+ _react2.default.createElement(_whiteSpace2.default, { size: 'lg' })
699
+ );
700
+ }
701
+ return _react2.default.createElement(
702
+ 'div',
703
+ null,
704
+ _react2.default.createElement(
705
+ _card2.default,
706
+ { full: true },
707
+ _react2.default.createElement(_card2.default.Header, {
708
+ title: _react2.default.createElement(
709
+ 'div',
710
+ { style: { borderLeft: '3px solid #1890ff', paddingLeft: '10px' } },
711
+ title
712
+ )
713
+ }),
714
+ _react2.default.createElement(
715
+ _card2.default.Body,
716
+ null,
717
+ dataList.map(function (item, index) {
718
+ if (item.isUpload) {
719
+ return _react2.default.createElement(
720
+ 'div',
721
+ { key: index },
722
+ _react2.default.createElement(
723
+ 'font',
724
+ { color: 'grey' },
725
+ item.title,
726
+ '\uFF1A '
727
+ ),
728
+ item.renderView()
729
+ );
730
+ }
731
+ return _react2.default.createElement(
732
+ 'div',
733
+ null,
734
+ _react2.default.createElement(
735
+ 'font',
736
+ { color: 'grey' },
737
+ item.title,
738
+ '\uFF1A '
739
+ ),
740
+ item.text,
741
+ _react2.default.createElement('br', null)
742
+ );
743
+ })
744
+ )
745
+ ),
746
+ _react2.default.createElement(_whiteSpace2.default, { size: 'lg' })
747
+ );
748
+ }
749
+ }]);
750
+
751
+ return EditInitForm;
752
+ }(_react2.default.Component);
753
+
754
+ var EditForm = (0, _rcForm.createForm)()(EditInitForm);
755
+ exports.default = EditForm;