fmui-base 2.2.92 → 2.2.94
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 +2 -0
- package/lib/form/table.js +9 -4
- package/lib/nvoice/nvoice.js +15 -24
- package/lib/process_info/processInfo.js +38 -9
- package/lib/tblform/FlowCommentPane.js +2 -2
- package/package.json +1 -1
- package/lib/css/processList.css +0 -8
- package/lib/css/react_grid.css +0 -1013
- package/lib/css/selectInput.css +0 -76
- package/lib/css/workItem.css +0 -59
- package/lib/form_details/formDetails.js +0 -162
- package/lib/form_details/formDetails.less +0 -0
- package/lib/form_details/form_details.js +0 -146
- package/lib/form_details/form_details.less +0 -0
- package/lib/form_details/index.js +0 -16
- package/lib/react_grid/react_grid copy 1.js +0 -1670
- package/lib/react_grid/react_grid copy 2.js +0 -722
- package/lib/react_grid/react_grid copy 3.js +0 -1502
- package/lib/react_grid/react_grid copy 4.js +0 -1421
- package/lib/react_grid/react_grid copy 5.js +0 -1670
- package/lib/react_grid/react_grid copy.js +0 -1811
- package/lib/rela_obj/relaObj copy.js +0 -144
- package/lib/select_input/selectInputField.js +0 -424
- package/lib/select_input/selectInputField.less +0 -39
- /package/lib/{scrollList → ScrollList}/BottomTip.js +0 -0
- /package/lib/{scrollList → ScrollList}/EmptyContent.js +0 -0
- /package/lib/{scrollList → ScrollList}/Item.js +0 -0
- /package/lib/{scrollList/scrollList.js → ScrollList/ScrollList.js} +0 -0
- /package/lib/{scrollList → ScrollList}/ScrollList.styl +0 -0
- /package/lib/{scrollList → ScrollList}/TagList.js +0 -0
- /package/lib/{scrollList → ScrollList}/index.js +0 -0
- /package/lib/{scrollList → ScrollList}/style.js +0 -0
package/lib/css/selectInput.css
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
.dd-select-input-field {
|
|
2
|
-
width: 100%;
|
|
3
|
-
}
|
|
4
|
-
.dd-select-input-option {
|
|
5
|
-
display: flex;
|
|
6
|
-
align-items: center;
|
|
7
|
-
margin: 8px 0;
|
|
8
|
-
cursor: pointer;
|
|
9
|
-
}
|
|
10
|
-
.dd-select-input-native {
|
|
11
|
-
position: absolute;
|
|
12
|
-
opacity: 0;
|
|
13
|
-
pointer-events: none;
|
|
14
|
-
}
|
|
15
|
-
.dd-select-input-icon {
|
|
16
|
-
position: relative;
|
|
17
|
-
flex: 0 0 18px;
|
|
18
|
-
width: 18px;
|
|
19
|
-
height: 18px;
|
|
20
|
-
margin-right: 8px;
|
|
21
|
-
border: 1px solid #c7ced9;
|
|
22
|
-
background: #fff;
|
|
23
|
-
transition: all 0.2s ease;
|
|
24
|
-
box-sizing: border-box;
|
|
25
|
-
}
|
|
26
|
-
.dd-select-input-icon.radio {
|
|
27
|
-
border-radius: 50%;
|
|
28
|
-
}
|
|
29
|
-
.dd-select-input-icon.checkbox {
|
|
30
|
-
border-radius: 4px;
|
|
31
|
-
}
|
|
32
|
-
.dd-select-input-option.checked .dd-select-input-icon {
|
|
33
|
-
border-color: #108ee9;
|
|
34
|
-
background: #108ee9;
|
|
35
|
-
}
|
|
36
|
-
.dd-select-input-option.checked .dd-select-input-icon.radio::after {
|
|
37
|
-
content: '';
|
|
38
|
-
position: absolute;
|
|
39
|
-
top: 50%;
|
|
40
|
-
left: 50%;
|
|
41
|
-
width: 8px;
|
|
42
|
-
height: 8px;
|
|
43
|
-
border-radius: 50%;
|
|
44
|
-
background: #fff;
|
|
45
|
-
transform: translate(-50%, -50%);
|
|
46
|
-
}
|
|
47
|
-
.dd-select-input-option.checked .dd-select-input-icon.checkbox::after {
|
|
48
|
-
content: '';
|
|
49
|
-
position: absolute;
|
|
50
|
-
left: 5px;
|
|
51
|
-
top: 1px;
|
|
52
|
-
width: 5px;
|
|
53
|
-
height: 10px;
|
|
54
|
-
border: solid #fff;
|
|
55
|
-
border-width: 0 2px 2px 0;
|
|
56
|
-
transform: rotate(45deg);
|
|
57
|
-
}
|
|
58
|
-
.dd-select-input-option-text {
|
|
59
|
-
margin-right: 8px;
|
|
60
|
-
min-width: 32px;
|
|
61
|
-
}
|
|
62
|
-
.dd-select-input-text {
|
|
63
|
-
flex: 1;
|
|
64
|
-
min-width: 120px;
|
|
65
|
-
border: none;
|
|
66
|
-
border-bottom: 1px solid #ddd;
|
|
67
|
-
outline: none;
|
|
68
|
-
padding: 4px 2px;
|
|
69
|
-
font-size: 14px;
|
|
70
|
-
background-color: transparent;
|
|
71
|
-
}
|
|
72
|
-
.dd-select-input-text:disabled {
|
|
73
|
-
color: #999;
|
|
74
|
-
border-bottom-color: #eee;
|
|
75
|
-
cursor: not-allowed;
|
|
76
|
-
}
|
package/lib/css/workItem.css
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
.item {
|
|
2
|
-
position: relative;
|
|
3
|
-
border-radius: 4px;
|
|
4
|
-
margin: 5px 0;
|
|
5
|
-
}
|
|
6
|
-
.item .number {
|
|
7
|
-
width: 30px;
|
|
8
|
-
top: 1px;
|
|
9
|
-
left: 1px;
|
|
10
|
-
bottom: 1px;
|
|
11
|
-
position: absolute;
|
|
12
|
-
background: #f2f6fc;
|
|
13
|
-
display: flex;
|
|
14
|
-
align-items: center;
|
|
15
|
-
justify-content: center;
|
|
16
|
-
z-index: 9;
|
|
17
|
-
}
|
|
18
|
-
.item .form-control {
|
|
19
|
-
padding-left: 40px;
|
|
20
|
-
padding-right: 25px;
|
|
21
|
-
}
|
|
22
|
-
.item .form-control:focus {
|
|
23
|
-
border: 1px solid #3480fb;
|
|
24
|
-
border-radius: 4px;
|
|
25
|
-
box-shadow: none;
|
|
26
|
-
outline: 0;
|
|
27
|
-
}
|
|
28
|
-
.item .remove-btn {
|
|
29
|
-
width: 22px;
|
|
30
|
-
top: 1px;
|
|
31
|
-
right: 1px;
|
|
32
|
-
bottom: 1px;
|
|
33
|
-
position: absolute;
|
|
34
|
-
background: #f2f6fc;
|
|
35
|
-
display: flex;
|
|
36
|
-
align-items: center;
|
|
37
|
-
justify-content: center;
|
|
38
|
-
z-index: 9;
|
|
39
|
-
}
|
|
40
|
-
.item .remove-btn .iconfont {
|
|
41
|
-
font-size: 12px;
|
|
42
|
-
color: #909399;
|
|
43
|
-
}
|
|
44
|
-
.item:not(:last-child) {
|
|
45
|
-
margin: 5px 0 0 0;
|
|
46
|
-
}
|
|
47
|
-
.iconfo {
|
|
48
|
-
width: 30px;
|
|
49
|
-
height: 30px;
|
|
50
|
-
margin: 10px auto;
|
|
51
|
-
border-radius: 50%;
|
|
52
|
-
display: flex;
|
|
53
|
-
align-items: center;
|
|
54
|
-
justify-content: center;
|
|
55
|
-
background-color: #3480fb;
|
|
56
|
-
}
|
|
57
|
-
.iconfo .iconfont {
|
|
58
|
-
color: #fff;
|
|
59
|
-
}
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = undefined;
|
|
7
|
-
|
|
8
|
-
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; }; }();
|
|
9
|
-
|
|
10
|
-
var _react = require('react');
|
|
11
|
-
|
|
12
|
-
var _react2 = _interopRequireDefault(_react);
|
|
13
|
-
|
|
14
|
-
var _umi = require('umi');
|
|
15
|
-
|
|
16
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
|
-
|
|
18
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
19
|
-
|
|
20
|
-
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; }
|
|
21
|
-
|
|
22
|
-
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; }
|
|
23
|
-
|
|
24
|
-
var FormDetails = function (_React$Component) {
|
|
25
|
-
_inherits(FormDetails, _React$Component);
|
|
26
|
-
|
|
27
|
-
function FormDetails(props) {
|
|
28
|
-
_classCallCheck(this, FormDetails);
|
|
29
|
-
|
|
30
|
-
// 传入的props参数
|
|
31
|
-
var _this = _possibleConstructorReturn(this, (FormDetails.__proto__ || Object.getPrototypeOf(FormDetails)).call(this, props));
|
|
32
|
-
|
|
33
|
-
var formId = _this.props.id;
|
|
34
|
-
_this.state = {
|
|
35
|
-
data: {
|
|
36
|
-
"file": [{
|
|
37
|
-
"lastModifiedDate": null,
|
|
38
|
-
"lastModifiedBy": null,
|
|
39
|
-
"relaId": "80633a90af3648c484e85634052d8316",
|
|
40
|
-
"relaObjType": "file",
|
|
41
|
-
"relaSubFlag": "",
|
|
42
|
-
"relaUserId": "2c93ab0c99ff440d019a003726ea209a",
|
|
43
|
-
"sort_no": 0,
|
|
44
|
-
"createdDate": "2025-11-03 16:07:04",
|
|
45
|
-
"relaObjId": "2c93ab0c9a055570019a05a3d57e07d9",
|
|
46
|
-
"createdBy": "2c93ab0c99ff440d019a003726ea209a",
|
|
47
|
-
"relaObjName": "Screenshot_20251010_173934_com.alibaba.android.rimet.jpg",
|
|
48
|
-
"id": "4028b2bf9a487b93019a48c15fa005b1",
|
|
49
|
-
"relaObjHref": "",
|
|
50
|
-
"createdOrg": "4b42f2a0952711e8a71e000c29ee419e"
|
|
51
|
-
}, {
|
|
52
|
-
"lastModifiedDate": null,
|
|
53
|
-
"lastModifiedBy": null,
|
|
54
|
-
"relaId": "80633a90af3648c484e85634052d8316",
|
|
55
|
-
"relaObjType": "file",
|
|
56
|
-
"relaSubFlag": "",
|
|
57
|
-
"relaUserId": "2c93ab0c99ff440d019a003726ea209a",
|
|
58
|
-
"sort_no": 0,
|
|
59
|
-
"createdDate": "2025-11-03 16:07:04",
|
|
60
|
-
"relaObjId": "4028b2bf9a487b93019a48c122fc05a1",
|
|
61
|
-
"createdBy": "2c93ab0c99ff440d019a003726ea209a",
|
|
62
|
-
"relaObjName": "新建文本文档.txt",
|
|
63
|
-
"id": "4028b2bf9a487b93019a48c15fa105b2",
|
|
64
|
-
"relaObjHref": "",
|
|
65
|
-
"createdOrg": "4b42f2a0952711e8a71e000c29ee419e"
|
|
66
|
-
}],
|
|
67
|
-
"oldRelaId": "80633a90af3648c484e85634052d8316",
|
|
68
|
-
"flow": [{
|
|
69
|
-
"lastModifiedDate": null,
|
|
70
|
-
"lastModifiedBy": null,
|
|
71
|
-
"relaId": "80633a90af3648c484e85634052d8316",
|
|
72
|
-
"relaObjType": "flow",
|
|
73
|
-
"relaSubFlag": "",
|
|
74
|
-
"relaUserId": "2c93ab0c99ff440d019a003726ea209a",
|
|
75
|
-
"sort_no": 0,
|
|
76
|
-
"createdDate": "2025-11-03 16:07:04",
|
|
77
|
-
"relaObjId": "24027",
|
|
78
|
-
"createdBy": "2c93ab0c99ff440d019a003726ea209a",
|
|
79
|
-
"relaObjName": "11 的任务下达新流程",
|
|
80
|
-
"id": "4028b2bf9a487b93019a48c15f9e05ad",
|
|
81
|
-
"relaObjHref": "",
|
|
82
|
-
"createdOrg": "4b42f2a0952711e8a71e000c29ee419e"
|
|
83
|
-
}, {
|
|
84
|
-
"lastModifiedDate": null,
|
|
85
|
-
"lastModifiedBy": null,
|
|
86
|
-
"relaId": "80633a90af3648c484e85634052d8316",
|
|
87
|
-
"relaObjType": "flow",
|
|
88
|
-
"relaSubFlag": "",
|
|
89
|
-
"relaUserId": "2c93ab0c99ff440d019a003726ea209a",
|
|
90
|
-
"sort_no": 1,
|
|
91
|
-
"createdDate": "2025-11-03 16:07:04",
|
|
92
|
-
"relaObjId": "23784",
|
|
93
|
-
"createdBy": "2c93ab0c99ff440d019a003726ea209a",
|
|
94
|
-
"relaObjName": "督办任务名称11112 的任务下达新流程",
|
|
95
|
-
"id": "4028b2bf9a487b93019a48c15f9e05ae",
|
|
96
|
-
"relaObjHref": "",
|
|
97
|
-
"createdOrg": "4b42f2a0952711e8a71e000c29ee419e"
|
|
98
|
-
}],
|
|
99
|
-
"info": [{
|
|
100
|
-
"lastModifiedDate": null,
|
|
101
|
-
"lastModifiedBy": null,
|
|
102
|
-
"relaId": "80633a90af3648c484e85634052d8316",
|
|
103
|
-
"relaObjType": "info",
|
|
104
|
-
"relaSubFlag": "",
|
|
105
|
-
"relaUserId": "2c93ab0c99ff440d019a003726ea209a",
|
|
106
|
-
"sort_no": 0,
|
|
107
|
-
"createdDate": "2025-11-03 16:07:04",
|
|
108
|
-
"relaObjId": "2debd9f2e1f7423fa2827c2a8709c245",
|
|
109
|
-
"createdBy": "2c93ab0c99ff440d019a003726ea209a",
|
|
110
|
-
"relaObjName": "word编辑",
|
|
111
|
-
"id": "4028b2bf9a487b93019a48c15f9f05af",
|
|
112
|
-
"relaObjHref": "",
|
|
113
|
-
"createdOrg": "4b42f2a0952711e8a71e000c29ee419e"
|
|
114
|
-
}, {
|
|
115
|
-
"lastModifiedDate": null,
|
|
116
|
-
"lastModifiedBy": null,
|
|
117
|
-
"relaId": "80633a90af3648c484e85634052d8316",
|
|
118
|
-
"relaObjType": "info",
|
|
119
|
-
"relaSubFlag": "",
|
|
120
|
-
"relaUserId": "2c93ab0c99ff440d019a003726ea209a",
|
|
121
|
-
"sort_no": 1,
|
|
122
|
-
"createdDate": "2025-11-03 16:07:04",
|
|
123
|
-
"relaObjId": "96b4846b37e74b7d84831adbf88d9da6",
|
|
124
|
-
"createdBy": "2c93ab0c99ff440d019a003726ea209a",
|
|
125
|
-
"relaObjName": "excel编辑",
|
|
126
|
-
"id": "4028b2bf9a487b93019a48c15f9f05b0",
|
|
127
|
-
"relaObjHref": "",
|
|
128
|
-
"createdOrg": "4b42f2a0952711e8a71e000c29ee419e"
|
|
129
|
-
}]
|
|
130
|
-
},
|
|
131
|
-
formId: formId
|
|
132
|
-
};
|
|
133
|
-
|
|
134
|
-
return _this;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
_createClass(FormDetails, [{
|
|
138
|
-
key: 'componentDidMount',
|
|
139
|
-
value: function componentDidMount() {
|
|
140
|
-
this.initFn(this.state.formId);
|
|
141
|
-
}
|
|
142
|
-
}, {
|
|
143
|
-
key: 'initFn',
|
|
144
|
-
value: function initFn(formId) {
|
|
145
|
-
// 初始化表单详情数据
|
|
146
|
-
console.log("初始化表单详情数据,表单ID:" + formId);
|
|
147
|
-
}
|
|
148
|
-
}, {
|
|
149
|
-
key: 'render',
|
|
150
|
-
value: function render() {
|
|
151
|
-
return _react2.default.createElement(
|
|
152
|
-
'div',
|
|
153
|
-
null,
|
|
154
|
-
'\u8868\u5355\u8BE6\u60C5'
|
|
155
|
-
);
|
|
156
|
-
}
|
|
157
|
-
}]);
|
|
158
|
-
|
|
159
|
-
return FormDetails;
|
|
160
|
-
}(_react2.default.Component);
|
|
161
|
-
|
|
162
|
-
exports.default = FormDetails;
|
|
File without changes
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = undefined;
|
|
7
|
-
|
|
8
|
-
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; }; }();
|
|
9
|
-
|
|
10
|
-
var _react = require('react');
|
|
11
|
-
|
|
12
|
-
var _react2 = _interopRequireDefault(_react);
|
|
13
|
-
|
|
14
|
-
var _umi = require('umi');
|
|
15
|
-
|
|
16
|
-
var _Group = require('saltui/lib/Group');
|
|
17
|
-
|
|
18
|
-
var _Group2 = _interopRequireDefault(_Group);
|
|
19
|
-
|
|
20
|
-
var _Field = require('saltui/lib/Field');
|
|
21
|
-
|
|
22
|
-
var _Field2 = _interopRequireDefault(_Field);
|
|
23
|
-
|
|
24
|
-
var _db = require('../db/db');
|
|
25
|
-
|
|
26
|
-
var _db2 = _interopRequireDefault(_db);
|
|
27
|
-
|
|
28
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
29
|
-
|
|
30
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
31
|
-
|
|
32
|
-
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; }
|
|
33
|
-
|
|
34
|
-
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; }
|
|
35
|
-
|
|
36
|
-
var FormDetails = function (_React$Component) {
|
|
37
|
-
_inherits(FormDetails, _React$Component);
|
|
38
|
-
|
|
39
|
-
function FormDetails(props) {
|
|
40
|
-
_classCallCheck(this, FormDetails);
|
|
41
|
-
|
|
42
|
-
// 传入的props参数
|
|
43
|
-
var _this = _possibleConstructorReturn(this, (FormDetails.__proto__ || Object.getPrototypeOf(FormDetails)).call(this, props));
|
|
44
|
-
|
|
45
|
-
_this.jupFn = function (id) {};
|
|
46
|
-
|
|
47
|
-
_this.downloadFile = function (file) {
|
|
48
|
-
downloadFile(file.id);
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
var formId = _this.props.id;
|
|
52
|
-
|
|
53
|
-
_this.state = {
|
|
54
|
-
fileData: [],
|
|
55
|
-
flowData: [],
|
|
56
|
-
infoData: [],
|
|
57
|
-
formId: formId
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
return _this;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
_createClass(FormDetails, [{
|
|
64
|
-
key: 'componentDidMount',
|
|
65
|
-
value: function componentDidMount() {
|
|
66
|
-
this.initFn(this.state.formId);
|
|
67
|
-
}
|
|
68
|
-
}, {
|
|
69
|
-
key: 'initFn',
|
|
70
|
-
value: function initFn(formId) {
|
|
71
|
-
var _this2 = this;
|
|
72
|
-
|
|
73
|
-
// 初始化表单详情数据
|
|
74
|
-
_db2.default.FlowModuleAPI.getRelaObjByRelaId({
|
|
75
|
-
relaId: formId
|
|
76
|
-
}).then(function (content) {
|
|
77
|
-
_this2.setState({
|
|
78
|
-
fileData: content.file,
|
|
79
|
-
flowData: content.flow,
|
|
80
|
-
infoData: content.info
|
|
81
|
-
});
|
|
82
|
-
}).catch(function (error) {
|
|
83
|
-
console.error('获取表单详情数据失败', error);
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
// 跳转函数
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
// 下载函数
|
|
91
|
-
|
|
92
|
-
}, {
|
|
93
|
-
key: 'render',
|
|
94
|
-
value: function render() {
|
|
95
|
-
var _this3 = this;
|
|
96
|
-
|
|
97
|
-
return _react2.default.createElement(
|
|
98
|
-
_Group2.default.List,
|
|
99
|
-
{ borderTopNone: true },
|
|
100
|
-
_react2.default.createElement(
|
|
101
|
-
_Field2.default,
|
|
102
|
-
{ label: '\u76F8\u5173\u6D41\u7A0B (' + (this.state.flowData && this.state.flowData.length || 0) + ')', layout: 'h', multiLine: true },
|
|
103
|
-
this.state.flowData && this.state.flowData.map(function (item, index) {
|
|
104
|
-
return _react2.default.createElement(
|
|
105
|
-
'div',
|
|
106
|
-
{ key: item.id, style: { padding: '4px 0' }, onClick: function onClick() {
|
|
107
|
-
_this3.jupFn(item.id);
|
|
108
|
-
} },
|
|
109
|
-
item.relaObjName
|
|
110
|
-
);
|
|
111
|
-
})
|
|
112
|
-
),
|
|
113
|
-
_react2.default.createElement(
|
|
114
|
-
_Field2.default,
|
|
115
|
-
{ label: '\u76F8\u5173\u4FE1\u606F (' + (this.state.infoData && this.state.infoData.length || 0) + ')', layout: 'h', multiLine: true },
|
|
116
|
-
this.state.infoData && this.state.infoData.map(function (item, index) {
|
|
117
|
-
return _react2.default.createElement(
|
|
118
|
-
'div',
|
|
119
|
-
{ key: item.id, style: { padding: '4px 0' }, onClick: function onClick() {
|
|
120
|
-
_this3.jupFn(item.id);
|
|
121
|
-
} },
|
|
122
|
-
item.relaObjName
|
|
123
|
-
);
|
|
124
|
-
})
|
|
125
|
-
),
|
|
126
|
-
_react2.default.createElement(
|
|
127
|
-
_Field2.default,
|
|
128
|
-
{ label: '\u76F8\u5173\u9644\u4EF6 (' + (this.state.fileData && this.state.fileData.length || 0) + ')', layout: 'h', multiLine: true },
|
|
129
|
-
this.state.fileData && this.state.fileData.map(function (item, index) {
|
|
130
|
-
return _react2.default.createElement(
|
|
131
|
-
'div',
|
|
132
|
-
{ key: item.id, style: { padding: '4px 0' }, onClick: function onClick() {
|
|
133
|
-
_this3.downloadFile(item);
|
|
134
|
-
} },
|
|
135
|
-
item.relaObjName
|
|
136
|
-
);
|
|
137
|
-
})
|
|
138
|
-
)
|
|
139
|
-
);
|
|
140
|
-
}
|
|
141
|
-
}]);
|
|
142
|
-
|
|
143
|
-
return FormDetails;
|
|
144
|
-
}(_react2.default.Component);
|
|
145
|
-
|
|
146
|
-
exports.default = FormDetails;
|
|
File without changes
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
|
|
7
|
-
var _form_details = require('./form_details');
|
|
8
|
-
|
|
9
|
-
Object.defineProperty(exports, 'default', {
|
|
10
|
-
enumerable: true,
|
|
11
|
-
get: function get() {
|
|
12
|
-
return _interopRequireDefault(_form_details).default;
|
|
13
|
-
}
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|