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.
- package/README.md +12 -2
- package/lib/components/Button/index.js +79 -0
- package/lib/components/HqSelector/HqLsrySelector/index.js +3 -5
- package/lib/components/HqSelector/HqRySelector/index.js +3 -5
- package/lib/components/HqSelector/HqWzSelector/index.js +3 -5
- package/lib/components/KyEditableTable/component.js +3 -5
- package/lib/components/KyEditableTable/index.js +7 -13
- package/lib/components/KyExcel/index.js +3 -5
- package/lib/components/KyInputPicker/render.js +13 -43
- package/lib/components/KyInputPicker/setting-checkbox.js +3 -5
- package/lib/components/KyInputPicker/setting-multiSelect.js +3 -5
- package/lib/components/KyInputPicker/setting-nhcascader.js +3 -5
- package/lib/components/KyInputPicker/setting-select.js +3 -5
- package/lib/components/KyInputPicker/setting-stu-selector.js +3 -5
- package/lib/components/KyInputPicker/setting-tea-selector.js +3 -5
- package/lib/components/KyTable/checkButtons.js +4 -7
- package/lib/components/KyTree/index.js +6 -16
- package/lib/components/KyUpload/index.js +10 -20
- package/lib/components/NHAuditPanel/config/Axios.js +263 -0
- package/lib/components/NHAuditPanel/config/api.js +479 -0
- package/lib/components/NHAuditPanel/config/data.js +156 -0
- package/lib/components/NHAuditPanel/config/typeMap.js +1234 -0
- package/lib/components/NHAuditPanel/config/uiValidate.js +92 -0
- package/lib/components/NHAuditPanel/index.js +413 -0
- package/lib/components/NHAuditPanel/node.js +619 -0
- package/lib/components/NHCascader/index.js +355 -0
- package/lib/components/NHCheckboxGroup/index.js +135 -0
- package/lib/components/NHDynamicFormShow/baseInfo/index.js +194 -0
- package/lib/components/NHDynamicFormShow/custom/index.js +553 -0
- package/lib/components/NHDynamicFormShow/customModule/common/CommonMethod.js +43 -0
- package/lib/components/NHDynamicFormShow/customModule/czxy/qgzx/EditForm.js +1113 -0
- package/lib/components/NHDynamicFormShow/customModule/czxy/qgzx/index.js +263 -0
- package/lib/components/NHDynamicFormShow/customModule/czxy/xfjm/EditForm.js +880 -0
- package/lib/components/NHDynamicFormShow/customModule/czxy/xfjm/index.js +171 -0
- package/lib/components/NHDynamicFormShow/customModule/czxy/zxj/EditForm.js +865 -0
- package/lib/components/NHDynamicFormShow/customModule/czxy/zxj/index.js +138 -0
- package/lib/components/NHDynamicFormShow/customModule/eszy/zsxxhd/EditForm.js +571 -0
- package/lib/components/NHDynamicFormShow/customModule/eszy/zsxxhd/index.js +147 -0
- package/lib/components/NHDynamicFormShow/customModule/eszy/zybjtz/EditForm.js +474 -0
- package/lib/components/NHDynamicFormShow/customModule/eszy/zybjtz/index.js +139 -0
- package/lib/components/NHDynamicFormShow/customModule/gnyxy/cqzg/EditForm.js +506 -0
- package/lib/components/NHDynamicFormShow/customModule/gnyxy/cqzg/index.js +143 -0
- package/lib/components/NHDynamicFormShow/customModule/gnyxy/gwsb/EditForm.js +1074 -0
- package/lib/components/NHDynamicFormShow/customModule/gnyxy/gwsb/index.js +172 -0
- package/lib/components/NHDynamicFormShow/customModule/gnyxy/qjgl/EditForm.js +927 -0
- package/lib/components/NHDynamicFormShow/customModule/gnyxy/qjgl/index.js +195 -0
- package/lib/components/NHDynamicFormShow/customModule/gnyxy/sxsqj/EditForm.js +1064 -0
- package/lib/components/NHDynamicFormShow/customModule/gnyxy/sxsqj/index.js +183 -0
- package/lib/components/NHDynamicFormShow/customModule/hblgxy/jxj/EditForm.js +763 -0
- package/lib/components/NHDynamicFormShow/customModule/hblgxy/jxj/index.js +137 -0
- package/lib/components/NHDynamicFormShow/customModule/hblgxy/lzjxj/EditForm.js +819 -0
- package/lib/components/NHDynamicFormShow/customModule/hblgxy/lzjxj/index.js +137 -0
- package/lib/components/NHDynamicFormShow/customModule/hblgxy/qgzx/EditForm.js +700 -0
- package/lib/components/NHDynamicFormShow/customModule/hblgxy/qgzx/index.js +162 -0
- package/lib/components/NHDynamicFormShow/customModule/hblgxy/xsqj/EditForm.js +743 -0
- package/lib/components/NHDynamicFormShow/customModule/hblgxy/xsqj/index.js +177 -0
- package/lib/components/NHDynamicFormShow/customModule/hblgxy/zxj/EditForm.js +848 -0
- package/lib/components/NHDynamicFormShow/customModule/hblgxy/zxj/index.js +138 -0
- package/lib/components/NHDynamicFormShow/customModule/hljwgy/qjgl/EditForm.js +777 -0
- package/lib/components/NHDynamicFormShow/customModule/hljwgy/qjgl/index.js +161 -0
- package/lib/components/NHDynamicFormShow/customModule/hljwgy/xjgl/EditForm.js +706 -0
- package/lib/components/NHDynamicFormShow/customModule/hljwgy/xjgl/index.js +130 -0
- package/lib/components/NHDynamicFormShow/customModule/jhysxy/cfjcsq/cfjcEditForm.js +413 -0
- package/lib/components/NHDynamicFormShow/customModule/jhysxy/cfjcsq/index.js +135 -0
- package/lib/components/NHDynamicFormShow/customModule/jhysxy/xsqj/EditForm.js +1013 -0
- package/lib/components/NHDynamicFormShow/customModule/jhysxy/xsqj/index.js +175 -0
- package/lib/components/NHDynamicFormShow/customModule/jjrlx/EditForm.js +1345 -0
- package/lib/components/NHDynamicFormShow/customModule/jjrlx/index.js +274 -0
- package/lib/components/NHDynamicFormShow/customModule/jxj/EditForm.js +669 -0
- package/lib/components/NHDynamicFormShow/customModule/jxj/index.js +134 -0
- package/lib/components/NHDynamicFormShow/customModule/jxsl/fqkns/EditForm.js +378 -0
- package/lib/components/NHDynamicFormShow/customModule/jxsl/fqkns/index.js +120 -0
- package/lib/components/NHDynamicFormShow/customModule/jxsl/xwryfjjd/EditForm.js +638 -0
- package/lib/components/NHDynamicFormShow/customModule/jxsl/xwryfjjd/index.js +133 -0
- package/lib/components/NHDynamicFormShow/customModule/qgzx/EditForm.js +965 -0
- package/lib/components/NHDynamicFormShow/customModule/qgzx/index.js +237 -0
- package/lib/components/NHDynamicFormShow/customModule/qjgl/EditForm.js +823 -0
- package/lib/components/NHDynamicFormShow/customModule/qjgl/index.js +188 -0
- package/lib/components/NHDynamicFormShow/customModule/rcgl/jqlssq/EditForm.js +401 -0
- package/lib/components/NHDynamicFormShow/customModule/rcgl/jqlssq/index.js +472 -0
- package/lib/components/NHDynamicFormShow/customModule/rcgl/tssq/EditForm.js +304 -0
- package/lib/components/NHDynamicFormShow/customModule/rcgl/tssq/NHCascader/index.js +375 -0
- package/lib/components/NHDynamicFormShow/customModule/rcgl/tssq/NHInputPicker/RadioGroup.js +118 -0
- package/lib/components/NHDynamicFormShow/customModule/rcgl/tssq/NHInputPicker/index.js +62 -0
- package/lib/components/NHDynamicFormShow/customModule/rcgl/tssq/NHInputPicker/input-const.js +55 -0
- package/lib/components/NHDynamicFormShow/customModule/rcgl/tssq/NHInputPicker/render.js +1238 -0
- package/lib/components/NHDynamicFormShow/customModule/rcgl/tssq/index.js +375 -0
- package/lib/components/NHDynamicFormShow/customModule/rych/collective/EditForm.js +554 -0
- package/lib/components/NHDynamicFormShow/customModule/rych/collective/index.js +130 -0
- package/lib/components/NHDynamicFormShow/customModule/rych/personal/EditForm.js +542 -0
- package/lib/components/NHDynamicFormShow/customModule/rych/personal/index.js +133 -0
- package/lib/components/NHDynamicFormShow/customModule/sxgy/rych/collective/EditForm.js +575 -0
- package/lib/components/NHDynamicFormShow/customModule/sxgy/rych/collective/index.js +130 -0
- package/lib/components/NHDynamicFormShow/customModule/sxgy/rych/personal/EditForm.js +563 -0
- package/lib/components/NHDynamicFormShow/customModule/sxgy/rych/personal/index.js +133 -0
- package/lib/components/NHDynamicFormShow/customModule/whcz/qjgl/EditForm.js +745 -0
- package/lib/components/NHDynamicFormShow/customModule/whcz/qjgl/index.js +164 -0
- package/lib/components/NHDynamicFormShow/customModule/whcz/rccrxy/EditForm.js +587 -0
- package/lib/components/NHDynamicFormShow/customModule/whcz/rccrxy/index.js +143 -0
- package/lib/components/NHDynamicFormShow/customModule/whdlqjgl/EditForm.js +743 -0
- package/lib/components/NHDynamicFormShow/customModule/whdlqjgl/index.js +172 -0
- package/lib/components/NHDynamicFormShow/customModule/whgc/jjrlx/EditForm.js +1410 -0
- package/lib/components/NHDynamicFormShow/customModule/whgc/jjrlx/index.js +274 -0
- package/lib/components/NHDynamicFormShow/customModule/whgc/jxj/EditForm.js +755 -0
- package/lib/components/NHDynamicFormShow/customModule/whgc/jxj/index.js +130 -0
- package/lib/components/NHDynamicFormShow/customModule/whgc/qjgl/EditForm.js +814 -0
- package/lib/components/NHDynamicFormShow/customModule/whgc/qjgl/index.js +188 -0
- package/lib/components/NHDynamicFormShow/customModule/whgc/zxj/EditForm.js +769 -0
- package/lib/components/NHDynamicFormShow/customModule/whgc/zxj/index.js +130 -0
- package/lib/components/NHDynamicFormShow/customModule/whgcrych/EditForm.js +1004 -0
- package/lib/components/NHDynamicFormShow/customModule/whgcrych/index.js +126 -0
- package/lib/components/NHDynamicFormShow/customModule/whtl/jsrzsq/EditForm.js +503 -0
- package/lib/components/NHDynamicFormShow/customModule/whtl/jsrzsq/index.js +149 -0
- package/lib/components/NHDynamicFormShow/customModule/whtlyhk/EditForm.js +379 -0
- package/lib/components/NHDynamicFormShow/customModule/whtlyhk/index.js +148 -0
- package/lib/components/NHDynamicFormShow/customModule/whtlzxj/EditForm.js +748 -0
- package/lib/components/NHDynamicFormShow/customModule/whtlzxj/index.js +135 -0
- package/lib/components/NHDynamicFormShow/customModule/whtlzy/jxj/EditForm.js +762 -0
- package/lib/components/NHDynamicFormShow/customModule/whtlzy/jxj/index.js +134 -0
- package/lib/components/NHDynamicFormShow/customModule/wjcf/cfjc/cfjcEditForm.js +682 -0
- package/lib/components/NHDynamicFormShow/customModule/wjcf/cfjc/index.js +135 -0
- package/lib/components/NHDynamicFormShow/customModule/wjcf/wjsb/index.js +152 -0
- package/lib/components/NHDynamicFormShow/customModule/wjcf/wjsb/wjsbEditForm.js +783 -0
- package/lib/components/NHDynamicFormShow/customModule/zxj/EditForm.js +764 -0
- package/lib/components/NHDynamicFormShow/customModule/zxj/index.js +138 -0
- package/lib/components/NHDynamicFormShow/customModule/zzsd/cfjcsq/cfjcEditForm.js +677 -0
- package/lib/components/NHDynamicFormShow/customModule/zzsd/cfjcsq/index.js +138 -0
- package/lib/components/NHDynamicFormShow/customModule/zzsd/qjgl/EditForm.js +1173 -0
- package/lib/components/NHDynamicFormShow/customModule/zzsd/qjgl/index.js +242 -0
- package/lib/components/NHDynamicFormShow/customModule/zzsd/rcgl/rcxwgrdj/IndividualRegistForm.js +862 -0
- package/lib/components/NHDynamicFormShow/customModule/zzsd/rcgl/rcxwgrdj/IndividualRegistIndex.js +201 -0
- package/lib/components/NHDynamicFormShow/customModule/zzsd/stuinfo/messageInfo.js +196 -0
- package/lib/components/NHDynamicFormShow/customModule/zzsd/wjsb/index.js +167 -0
- package/lib/components/NHDynamicFormShow/customModule/zzsd/wjsb/wjsbEditForm.js +1096 -0
- package/lib/components/NHDynamicFormShow/index.js +647 -0
- package/lib/components/NHDynamicFormShow/oneOnMany/cardForm/cardItem/index.js +279 -0
- package/lib/components/NHDynamicFormShow/oneOnMany/cardForm/index.js +206 -0
- package/lib/components/NHDynamicFormShow/oneOnMany/index.js +419 -0
- package/lib/components/NHDynamicFormShow/oneOnOne/EditForm.js +401 -0
- package/lib/components/NHDynamicFormShow/oneOnOne/index.js +271 -0
- package/lib/components/NHImagePicker/index.js +554 -0
- package/lib/components/NHInputPicker/RadioGroup.js +118 -0
- package/lib/components/NHInputPicker/index.js +62 -0
- package/lib/components/NHInputPicker/input-const.js +55 -0
- package/lib/components/NHInputPicker/render.js +1271 -0
- package/lib/components/NHListView/index.js +374 -0
- package/lib/components/NHMapGeolocation/index.js +537 -0
- package/lib/components/NHMapGeolocation/initMap/initGdMap.js +104 -0
- package/lib/components/NHMapGeolocation/initMap/initTencentMap.js +138 -0
- package/lib/components/NHMapGeolocation/style.js +51 -0
- package/lib/components/NHMultiSelect/index.js +272 -0
- package/lib/components/NHRadioGroup/index.js +118 -0
- package/lib/components/NHSelect/index.js +364 -0
- package/lib/components/NHTreeMenu/index.js +126 -0
- package/lib/components/NHTreeMenu/treeNode.js +164 -0
- package/lib/components/StuSelector/index.js +611 -0
- package/lib/index.js +156 -120
- package/lib/layouts/KyInputPicker/edit-page.js +585 -0
- package/lib/layouts/KyInputPicker/index.js +220 -0
- package/lib/layouts/KyInputPicker/input-const.js +134 -0
- package/lib/layouts/KyInputPicker/render.js +2477 -0
- package/lib/layouts/KyInputPicker/setting-checkbox.js +850 -0
- package/lib/layouts/KyInputPicker/setting-datepicker.js +430 -0
- package/lib/layouts/KyInputPicker/setting-datetimepicker.js +443 -0
- package/lib/layouts/KyInputPicker/setting-input.js +555 -0
- package/lib/layouts/KyInputPicker/setting-inputNumber.js +612 -0
- package/lib/layouts/KyInputPicker/setting-monthpicker.js +434 -0
- package/lib/layouts/KyInputPicker/setting-multiSelect.js +532 -0
- package/lib/layouts/KyInputPicker/setting-nhcascader.js +584 -0
- package/lib/layouts/KyInputPicker/setting-old-upload.js +428 -0
- package/lib/layouts/KyInputPicker/setting-radio.js +468 -0
- package/lib/layouts/KyInputPicker/setting-rangepicker.js +466 -0
- package/lib/layouts/KyInputPicker/setting-select.js +534 -0
- package/lib/layouts/KyInputPicker/setting-stu-selector.js +507 -0
- package/lib/layouts/KyInputPicker/setting-switch.js +274 -0
- package/lib/layouts/KyInputPicker/setting-tea-selector.js +507 -0
- package/lib/layouts/KyInputPicker/setting-textarea.js +619 -0
- package/lib/layouts/KyInputPicker/setting-timepicker.js +437 -0
- package/lib/layouts/KyInputPicker/setting-upload.js +766 -0
- package/lib/layouts/KyModal/buildTitle.js +81 -0
- package/lib/layouts/KyModal/dragM.js +127 -0
- package/lib/layouts/KyModal/index.js +321 -0
- package/lib/layouts/KyPreview/index.js +219 -0
- package/lib/layouts/KyUpload/index.js +1155 -0
- package/lib/layouts/LeftMenu/index.js +5 -11
- package/lib/layouts/NavigationBar/index.js +4 -10
- package/lib/layouts/Top/editPassWord.js +5 -7
- package/lib/layouts/Top/index.js +6 -20
- package/lib/layouts/TopMenu/index.js +11 -14
- package/lib/layouts/layout/index.js +7 -13
- package/lib/layouts/{Login → login}/index-pre.js +3 -5
- package/lib/layouts/{Login → login}/index.js +6 -8
- package/lib/layouts/{Login → login}/login.js +8 -17
- package/lib/layouts/mixTop/index.js +13 -28
- package/lib/layouts/settingDrawer/index.js +3 -5
- package/lib/routes/AuthorizedRoute.js +7 -13
- package/lib/utils/NHCore.js +46 -2
- package/lib/utils/browserJudge.js +33 -0
- package/lib/utils/common.js +18 -20
- package/lib/utils/createUuid.js +11 -31
- package/lib/utils/device.js +44 -0
- package/lib/utils/dynamicLoadCss.js +14 -0
- package/lib/utils/dynamicLoadJs.js +21 -0
- package/lib/utils/getLoginUser.js +1 -1
- package/lib/utils/getSize.js +2 -11
- package/lib/utils/getStyle.js +26 -0
- package/lib/utils/getSuitHeight.js +49 -0
- package/lib/utils/hasAuth.js +11 -0
- package/lib/utils/index.js +1 -34
- package/lib/utils/loadJS.js +40 -0
- package/package.json +1 -1
- /package/lib/layouts/{Login → login}/lyPassword.js +0 -0
package/lib/components/NHDynamicFormShow/customModule/zzsd/rcgl/rcxwgrdj/IndividualRegistIndex.js
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
var _toast = require('antd-mobile/lib/toast');
|
|
8
|
+
|
|
9
|
+
var _toast2 = _interopRequireDefault(_toast);
|
|
10
|
+
|
|
11
|
+
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; };
|
|
12
|
+
|
|
13
|
+
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; }; }();
|
|
14
|
+
|
|
15
|
+
require('antd-mobile/lib/toast/style/css');
|
|
16
|
+
|
|
17
|
+
var _react = require('react');
|
|
18
|
+
|
|
19
|
+
var _react2 = _interopRequireDefault(_react);
|
|
20
|
+
|
|
21
|
+
var _IndividualRegistForm = require('./IndividualRegistForm');
|
|
22
|
+
|
|
23
|
+
var _IndividualRegistForm2 = _interopRequireDefault(_IndividualRegistForm);
|
|
24
|
+
|
|
25
|
+
var _getLoginUser = require('./../../../../../../utils/getLoginUser');
|
|
26
|
+
|
|
27
|
+
var _getLoginUser2 = _interopRequireDefault(_getLoginUser);
|
|
28
|
+
|
|
29
|
+
var _NHFetch = require('../../../../../../utils/NHFetch');
|
|
30
|
+
|
|
31
|
+
var _NHFetch2 = _interopRequireDefault(_NHFetch);
|
|
32
|
+
|
|
33
|
+
var _moment = require('moment');
|
|
34
|
+
|
|
35
|
+
var _moment2 = _interopRequireDefault(_moment);
|
|
36
|
+
|
|
37
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
38
|
+
|
|
39
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
40
|
+
|
|
41
|
+
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; }
|
|
42
|
+
|
|
43
|
+
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; }
|
|
44
|
+
|
|
45
|
+
var basicUrl = 'api/sm-daily-behaviour/';
|
|
46
|
+
|
|
47
|
+
var IndividualRegistIndex = function (_React$Component) {
|
|
48
|
+
_inherits(IndividualRegistIndex, _React$Component);
|
|
49
|
+
|
|
50
|
+
function IndividualRegistIndex(props) {
|
|
51
|
+
_classCallCheck(this, IndividualRegistIndex);
|
|
52
|
+
|
|
53
|
+
var _this = _possibleConstructorReturn(this, (IndividualRegistIndex.__proto__ || Object.getPrototypeOf(IndividualRegistIndex)).call(this, props));
|
|
54
|
+
|
|
55
|
+
_this.validate = function (func) {
|
|
56
|
+
_this.individualRegistForm.validateFields(function (err, formData) {
|
|
57
|
+
if (err) {
|
|
58
|
+
func(false);
|
|
59
|
+
} else {
|
|
60
|
+
var xsidList = _this.state.xsidList;
|
|
61
|
+
|
|
62
|
+
console.info("xsidList: ", xsidList, " formData: ", formData);
|
|
63
|
+
// 判断是否已选择学生
|
|
64
|
+
formData.xsidList = xsidList;
|
|
65
|
+
var stuList = xsidList;
|
|
66
|
+
if (stuList && stuList.length > 0) {
|
|
67
|
+
_this.setState({ formData: formData }, function () {
|
|
68
|
+
func(true);
|
|
69
|
+
});
|
|
70
|
+
} else {
|
|
71
|
+
_toast2.default.fail("请先选择学生!");
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
_this.childCallback = function (value, xwxDataSource) {
|
|
78
|
+
xwxDataSource.map(function (item, i) {
|
|
79
|
+
if (item.XWXMC === value[0]) {
|
|
80
|
+
_this.setState({
|
|
81
|
+
rcxwxInfo: [item]
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
_this.toValue = function (v) {
|
|
88
|
+
if (typeof v === 'string') {
|
|
89
|
+
return v;
|
|
90
|
+
}
|
|
91
|
+
if (v && v.length > 0) {
|
|
92
|
+
return v[0];
|
|
93
|
+
}
|
|
94
|
+
return undefined;
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
_this.save = function (func) {
|
|
98
|
+
var docu = document.getElementById("isEndZzsd");
|
|
99
|
+
var isEnd = docu.value;
|
|
100
|
+
var _this$props = _this.props,
|
|
101
|
+
processApplyId = _this$props.processApplyId,
|
|
102
|
+
objId = _this$props.objId,
|
|
103
|
+
pkid = _this$props.pkid,
|
|
104
|
+
params = _this$props.params;
|
|
105
|
+
var _this$state = _this.state,
|
|
106
|
+
formData = _this$state.formData,
|
|
107
|
+
rcxwxInfo = _this$state.rcxwxInfo;
|
|
108
|
+
|
|
109
|
+
var param = formData;
|
|
110
|
+
var userId = (0, _getLoginUser2.default)() ? (0, _getLoginUser2.default)().userId : '';
|
|
111
|
+
var fz = formData.fz;
|
|
112
|
+
if (fz) {
|
|
113
|
+
param.fs = fz.replace('+', '').replace('分', '');
|
|
114
|
+
}
|
|
115
|
+
param.xwxmc = _this.toValue(formData.xwxmc);
|
|
116
|
+
param.jllb = _this.toValue(formData.jllb);
|
|
117
|
+
param.rcxwsqid = pkid;
|
|
118
|
+
param.rcxwxInfo = rcxwxInfo;
|
|
119
|
+
param.xsid = objId;
|
|
120
|
+
param.userid = userId;
|
|
121
|
+
param.shlcid = processApplyId;
|
|
122
|
+
param.xwfssj = param.jlrq ? (0, _moment2.default)(param.jlrq).format("YYYY-MM-DD") : null;
|
|
123
|
+
param.type = 'individual';
|
|
124
|
+
param.isend = isEnd;
|
|
125
|
+
|
|
126
|
+
if (param) {
|
|
127
|
+
var xwmsxx = param.xwmsxx || '';
|
|
128
|
+
if (xwmsxx && xwmsxx.length > 150) {
|
|
129
|
+
_toast2.default.info("描述信息最多只能输入150个字符!");
|
|
130
|
+
return;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
console.info(param);
|
|
135
|
+
|
|
136
|
+
var list = [param.zmcl];
|
|
137
|
+
(0, _NHFetch2.default)('front/zhxg-unauth/dynamic/save', 'POST', list).then(function (res) {
|
|
138
|
+
if (res && res.code === 200) {
|
|
139
|
+
(0, _NHFetch2.default)(basicUrl + 'openapi/saveOrUpdateXwjlInfo', 'POST', param).then(function (res) {
|
|
140
|
+
if (res && res.code === 200 && res.data === 1) {
|
|
141
|
+
func();
|
|
142
|
+
} else {
|
|
143
|
+
_toast2.default.fail("保存失败");
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
} else {
|
|
147
|
+
_toast2.default.fail("附件保存失败");
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
_this.state = {
|
|
153
|
+
formData: {},
|
|
154
|
+
// 学生idList
|
|
155
|
+
xsidList: []
|
|
156
|
+
};
|
|
157
|
+
return _this;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* 校验该分类表单是否全部填写完成,该方法必须存在
|
|
162
|
+
*/
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* 保存方法,该方法必须存在
|
|
167
|
+
* 改分类的信息保存成功后,调用func方法进行后续信息的保存
|
|
168
|
+
*/
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
_createClass(IndividualRegistIndex, [{
|
|
172
|
+
key: 'render',
|
|
173
|
+
value: function render() {
|
|
174
|
+
var _this2 = this;
|
|
175
|
+
|
|
176
|
+
return _react2.default.createElement(_IndividualRegistForm2.default, _extends({
|
|
177
|
+
ref: function ref(ele) {
|
|
178
|
+
return _this2.individualRegistForm = ele;
|
|
179
|
+
}
|
|
180
|
+
}, this.props, {
|
|
181
|
+
setXsidList: function setXsidList(value) {
|
|
182
|
+
return _this2.setState({ xsidList: value });
|
|
183
|
+
},
|
|
184
|
+
childCallback: this.childCallback }));
|
|
185
|
+
}
|
|
186
|
+
}]);
|
|
187
|
+
|
|
188
|
+
return IndividualRegistIndex;
|
|
189
|
+
}(_react2.default.Component);
|
|
190
|
+
|
|
191
|
+
IndividualRegistIndex.defaultProps = {
|
|
192
|
+
isEdit: undefined, //是否是编辑状态
|
|
193
|
+
fieldMap: {}, //字段信息,可以通过该对象获取到该字段,是否可以显示(sfxs)、是否可以编辑(sfbj)、是否必填等信息(sfbt)
|
|
194
|
+
processId: undefined, //流程ID
|
|
195
|
+
processApplyId: undefined, //流程申请主键ID
|
|
196
|
+
objId: undefined, //对象ID
|
|
197
|
+
pkid: undefined, //业务表主键ID
|
|
198
|
+
params: {}, //参数集合,主要通过该参数集合给自定义面板传参
|
|
199
|
+
rcxwxInfo: {} //日常行为项ID集合
|
|
200
|
+
};
|
|
201
|
+
exports.default = IndividualRegistIndex;
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
var _flex = require('antd-mobile/lib/flex');
|
|
8
|
+
|
|
9
|
+
var _flex2 = _interopRequireDefault(_flex);
|
|
10
|
+
|
|
11
|
+
var _list = require('antd-mobile/lib/list');
|
|
12
|
+
|
|
13
|
+
var _list2 = _interopRequireDefault(_list);
|
|
14
|
+
|
|
15
|
+
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; }; }();
|
|
16
|
+
|
|
17
|
+
require('antd-mobile/lib/flex/style/css');
|
|
18
|
+
|
|
19
|
+
require('antd-mobile/lib/list/style/css');
|
|
20
|
+
|
|
21
|
+
var _react = require('react');
|
|
22
|
+
|
|
23
|
+
var _react2 = _interopRequireDefault(_react);
|
|
24
|
+
|
|
25
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
26
|
+
|
|
27
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
28
|
+
|
|
29
|
+
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; }
|
|
30
|
+
|
|
31
|
+
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; }
|
|
32
|
+
|
|
33
|
+
var Item = _list2.default.Item;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* 学生多选-展示学生信息
|
|
37
|
+
*/
|
|
38
|
+
|
|
39
|
+
var InfoList = function (_React$Component) {
|
|
40
|
+
_inherits(InfoList, _React$Component);
|
|
41
|
+
|
|
42
|
+
function InfoList(props) {
|
|
43
|
+
_classCallCheck(this, InfoList);
|
|
44
|
+
|
|
45
|
+
var _this = _possibleConstructorReturn(this, (InfoList.__proto__ || Object.getPrototypeOf(InfoList)).call(this, props));
|
|
46
|
+
|
|
47
|
+
_this.delete = function (index) {
|
|
48
|
+
_this.props.deleteXs(index);
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
_this.infoforList = function (dataList, canDel) {
|
|
52
|
+
return dataList && dataList.map(function (item, index) {
|
|
53
|
+
if (item) {
|
|
54
|
+
return _react2.default.createElement(
|
|
55
|
+
Item,
|
|
56
|
+
{ key: index },
|
|
57
|
+
_react2.default.createElement(
|
|
58
|
+
'div',
|
|
59
|
+
{ style: { padding: '10px' } },
|
|
60
|
+
_react2.default.createElement(
|
|
61
|
+
'div',
|
|
62
|
+
{ style: { paddingBottom: '10px' } },
|
|
63
|
+
_react2.default.createElement(
|
|
64
|
+
_flex2.default,
|
|
65
|
+
{ justify: 'between' },
|
|
66
|
+
_react2.default.createElement(
|
|
67
|
+
'div',
|
|
68
|
+
null,
|
|
69
|
+
item.XM
|
|
70
|
+
),
|
|
71
|
+
canDel ? _react2.default.createElement(
|
|
72
|
+
'div',
|
|
73
|
+
null,
|
|
74
|
+
_react2.default.createElement(
|
|
75
|
+
'span',
|
|
76
|
+
{ style: { marginRight: '8px', color: 'red' }, onClick: function onClick() {
|
|
77
|
+
return _this.delete(index);
|
|
78
|
+
} },
|
|
79
|
+
'\u5220\u9664'
|
|
80
|
+
)
|
|
81
|
+
) : null
|
|
82
|
+
)
|
|
83
|
+
),
|
|
84
|
+
_react2.default.createElement(
|
|
85
|
+
_flex2.default,
|
|
86
|
+
{ justify: 'start' },
|
|
87
|
+
_react2.default.createElement(
|
|
88
|
+
'div',
|
|
89
|
+
{ style: { paddingLeft: '15px', fontSize: '16px', marginBottom: '5px' } },
|
|
90
|
+
_react2.default.createElement(
|
|
91
|
+
'span',
|
|
92
|
+
{ style: { color: '#ccc', marginRight: '8px' } },
|
|
93
|
+
'\u5B66\u53F7'
|
|
94
|
+
),
|
|
95
|
+
_react2.default.createElement(
|
|
96
|
+
'span',
|
|
97
|
+
null,
|
|
98
|
+
item.XH
|
|
99
|
+
),
|
|
100
|
+
_react2.default.createElement('br', null),
|
|
101
|
+
_react2.default.createElement(
|
|
102
|
+
'span',
|
|
103
|
+
{ style: { color: '#ccc', marginRight: '8px' } },
|
|
104
|
+
'\u6027\u522B'
|
|
105
|
+
),
|
|
106
|
+
_react2.default.createElement(
|
|
107
|
+
'span',
|
|
108
|
+
null,
|
|
109
|
+
item.XB
|
|
110
|
+
),
|
|
111
|
+
_react2.default.createElement('br', null),
|
|
112
|
+
_react2.default.createElement(
|
|
113
|
+
'span',
|
|
114
|
+
{ style: { color: '#ccc', marginRight: '8px' } },
|
|
115
|
+
'\u5B66\u9662'
|
|
116
|
+
),
|
|
117
|
+
_react2.default.createElement(
|
|
118
|
+
'span',
|
|
119
|
+
null,
|
|
120
|
+
item.BMMC
|
|
121
|
+
),
|
|
122
|
+
_react2.default.createElement('br', null),
|
|
123
|
+
_react2.default.createElement(
|
|
124
|
+
'span',
|
|
125
|
+
{ style: { color: '#ccc', marginRight: '8px' } },
|
|
126
|
+
'\u4E13\u4E1A'
|
|
127
|
+
),
|
|
128
|
+
_react2.default.createElement(
|
|
129
|
+
'span',
|
|
130
|
+
null,
|
|
131
|
+
item.ZYMC
|
|
132
|
+
),
|
|
133
|
+
_react2.default.createElement('br', null),
|
|
134
|
+
_react2.default.createElement(
|
|
135
|
+
'span',
|
|
136
|
+
{ style: { color: '#ccc', marginRight: '8px' } },
|
|
137
|
+
'\u73ED\u7EA7'
|
|
138
|
+
),
|
|
139
|
+
_react2.default.createElement(
|
|
140
|
+
'span',
|
|
141
|
+
null,
|
|
142
|
+
item.BJMC
|
|
143
|
+
),
|
|
144
|
+
_react2.default.createElement('br', null)
|
|
145
|
+
)
|
|
146
|
+
)
|
|
147
|
+
)
|
|
148
|
+
);
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
_this.state = {};
|
|
154
|
+
return _this;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
_createClass(InfoList, [{
|
|
158
|
+
key: 'render',
|
|
159
|
+
value: function render() {
|
|
160
|
+
var _props = this.props,
|
|
161
|
+
dataList = _props.dataList,
|
|
162
|
+
canDel = _props.canDel;
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
return _react2.default.createElement(
|
|
166
|
+
'div',
|
|
167
|
+
{ style: { backgroundColor: '#fff', marginTop: '10px' } },
|
|
168
|
+
_react2.default.createElement(
|
|
169
|
+
_list2.default,
|
|
170
|
+
{ className: 'inForList' },
|
|
171
|
+
dataList && dataList.length > 0 ? this.infoforList(dataList, canDel) : _react2.default.createElement(
|
|
172
|
+
Item,
|
|
173
|
+
{ key: 'kong' },
|
|
174
|
+
_react2.default.createElement(
|
|
175
|
+
'div',
|
|
176
|
+
{ style: { padding: '10px' } },
|
|
177
|
+
_react2.default.createElement(
|
|
178
|
+
_flex2.default,
|
|
179
|
+
{ justify: 'center' },
|
|
180
|
+
_react2.default.createElement(
|
|
181
|
+
'span',
|
|
182
|
+
{ style: { color: '#1890FF', fontSize: '18px' } },
|
|
183
|
+
'\u6682\u65E0\u6570\u636E'
|
|
184
|
+
)
|
|
185
|
+
)
|
|
186
|
+
)
|
|
187
|
+
)
|
|
188
|
+
)
|
|
189
|
+
);
|
|
190
|
+
}
|
|
191
|
+
}]);
|
|
192
|
+
|
|
193
|
+
return InfoList;
|
|
194
|
+
}(_react2.default.Component);
|
|
195
|
+
|
|
196
|
+
exports.default = InfoList;
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
var _toast = require('antd-mobile/lib/toast');
|
|
8
|
+
|
|
9
|
+
var _toast2 = _interopRequireDefault(_toast);
|
|
10
|
+
|
|
11
|
+
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; };
|
|
12
|
+
|
|
13
|
+
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; }; }();
|
|
14
|
+
|
|
15
|
+
require('antd-mobile/lib/toast/style/css');
|
|
16
|
+
|
|
17
|
+
var _react = require('react');
|
|
18
|
+
|
|
19
|
+
var _react2 = _interopRequireDefault(_react);
|
|
20
|
+
|
|
21
|
+
var _NHFetch = require('../../../../../utils/NHFetch');
|
|
22
|
+
|
|
23
|
+
var _NHFetch2 = _interopRequireDefault(_NHFetch);
|
|
24
|
+
|
|
25
|
+
var _wjsbEditForm = require('./wjsbEditForm');
|
|
26
|
+
|
|
27
|
+
var _wjsbEditForm2 = _interopRequireDefault(_wjsbEditForm);
|
|
28
|
+
|
|
29
|
+
var _moment = require('moment');
|
|
30
|
+
|
|
31
|
+
var _moment2 = _interopRequireDefault(_moment);
|
|
32
|
+
|
|
33
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
34
|
+
|
|
35
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
36
|
+
|
|
37
|
+
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; }
|
|
38
|
+
|
|
39
|
+
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; }
|
|
40
|
+
|
|
41
|
+
var ZzsdWjsbForm = function (_React$Component) {
|
|
42
|
+
_inherits(ZzsdWjsbForm, _React$Component);
|
|
43
|
+
|
|
44
|
+
function ZzsdWjsbForm(props) {
|
|
45
|
+
_classCallCheck(this, ZzsdWjsbForm);
|
|
46
|
+
|
|
47
|
+
var _this = _possibleConstructorReturn(this, (ZzsdWjsbForm.__proto__ || Object.getPrototypeOf(ZzsdWjsbForm)).call(this, props));
|
|
48
|
+
|
|
49
|
+
_this.validate = function (func) {
|
|
50
|
+
_this.zzsdWjsbForm.validateFields(function (err, formData) {
|
|
51
|
+
if (err) {
|
|
52
|
+
func(false);
|
|
53
|
+
} else {
|
|
54
|
+
var xsidList = _this.state.xsidList;
|
|
55
|
+
|
|
56
|
+
console.info("xsidList: ", xsidList, " formData: ", formData);
|
|
57
|
+
// 判断是否已选择学生
|
|
58
|
+
formData.xsidList = xsidList;
|
|
59
|
+
var stuList = xsidList;
|
|
60
|
+
if (stuList && stuList.length > 0) {
|
|
61
|
+
_this.setState({ formData: formData }, function () {
|
|
62
|
+
func(true);
|
|
63
|
+
});
|
|
64
|
+
} else {
|
|
65
|
+
_toast2.default.fail("请先选择学生!");
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
_this.toValue = function (v) {
|
|
72
|
+
if (v && v.length > 0) {
|
|
73
|
+
return v[0];
|
|
74
|
+
}
|
|
75
|
+
if (typeof v === 'string') {
|
|
76
|
+
return v;
|
|
77
|
+
}
|
|
78
|
+
return undefined;
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
_this.save = function (func, failCallback) {
|
|
82
|
+
var docu = document.getElementById("isEndZzsd");
|
|
83
|
+
var isEnd = docu.value;
|
|
84
|
+
var _this$props = _this.props,
|
|
85
|
+
processApplyId = _this$props.processApplyId,
|
|
86
|
+
objId = _this$props.objId,
|
|
87
|
+
pkid = _this$props.pkid;
|
|
88
|
+
var formData = _this.state.formData;
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
var param = formData;
|
|
92
|
+
|
|
93
|
+
// 处理日期、时间类型数据
|
|
94
|
+
param.wjsj = formData.wjsj ? (0, _moment2.default)(formData.wjsj).format('YYYY-MM-DD') : null;
|
|
95
|
+
param.cfkssj = formData.cfkssj ? (0, _moment2.default)(formData.cfkssj).format('YYYY-MM-DD') : null;
|
|
96
|
+
param.cfjssj = formData.cfjssj ? (0, _moment2.default)(formData.cfjssj).format('YYYY-MM-DD') : null;
|
|
97
|
+
param.wjlx = _this.toValue(formData.wjlx);
|
|
98
|
+
param.wjsxid = _this.toValue(formData.wjsxid);
|
|
99
|
+
param.cflxid = _this.toValue(formData.cflxid);
|
|
100
|
+
param.wjdjid = pkid;
|
|
101
|
+
param.xsid = objId;
|
|
102
|
+
param.shlcid = processApplyId;
|
|
103
|
+
param.wjcl = formData.fjid;
|
|
104
|
+
param.isend = isEnd;
|
|
105
|
+
|
|
106
|
+
var list = [formData.fjid];
|
|
107
|
+
(0, _NHFetch2.default)('front/zhxg-unauth/dynamic/save', 'POST', list).then(function (res) {
|
|
108
|
+
if (res && res.code === 200) {
|
|
109
|
+
(0, _NHFetch2.default)('api/sm-punish/openapi/saveXsWjdj', 'POST', param).then(function (res) {
|
|
110
|
+
if (res && res.code === 200) {
|
|
111
|
+
func();
|
|
112
|
+
} else {
|
|
113
|
+
failCallback && failCallback();
|
|
114
|
+
_toast2.default.fail("保存失败");
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
} else {
|
|
118
|
+
failCallback && failCallback();
|
|
119
|
+
_toast2.default.fail("附件保存失败");
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
_this.state = {
|
|
125
|
+
formData: {},
|
|
126
|
+
xsidList: []
|
|
127
|
+
};
|
|
128
|
+
return _this;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* 校验该分类表单是否全部填写完成,该方法必须存在
|
|
133
|
+
*/
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* 保存方法,该方法必须存在
|
|
138
|
+
* 改分类的信息保存成功后,调用func方法进行后续信息的保存
|
|
139
|
+
*/
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
_createClass(ZzsdWjsbForm, [{
|
|
143
|
+
key: 'render',
|
|
144
|
+
value: function render() {
|
|
145
|
+
var _this2 = this;
|
|
146
|
+
|
|
147
|
+
return _react2.default.createElement(_wjsbEditForm2.default, _extends({ ref: function ref(ele) {
|
|
148
|
+
return _this2.zzsdWjsbForm = ele;
|
|
149
|
+
} }, this.props, { setXsidList: function setXsidList(value) {
|
|
150
|
+
return _this2.setState({ xsidList: value });
|
|
151
|
+
} }));
|
|
152
|
+
}
|
|
153
|
+
}]);
|
|
154
|
+
|
|
155
|
+
return ZzsdWjsbForm;
|
|
156
|
+
}(_react2.default.Component);
|
|
157
|
+
|
|
158
|
+
ZzsdWjsbForm.defaultProps = {
|
|
159
|
+
isEdit: undefined, //是否是编辑状态
|
|
160
|
+
fieldMap: {}, //字段信息,可以通过该对象获取到该字段,是否可以显示(sfxs)、是否可以编辑(sfbj)、是否必填等信息(sfbt)
|
|
161
|
+
processId: undefined, //流程ID
|
|
162
|
+
processApplyId: undefined, //流程申请主键ID
|
|
163
|
+
objId: undefined, //对象ID
|
|
164
|
+
pkid: undefined, //业务表主键ID
|
|
165
|
+
params: {} //参数集合,主要通过该参数集合给自定义面板传参
|
|
166
|
+
};
|
|
167
|
+
exports.default = ZzsdWjsbForm;
|