fmui-base 2.1.0-beta.0 → 2.1.0-beta.1
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 -26
- package/lib/db/variables.js +1 -0
- package/lib/form/form.js +15 -13
- package/lib/form/subForm.js +24 -24
- package/lib/form/table.js +2 -2
- package/lib/form_info/formInfo.js +2 -2
- package/lib/poppage/table/table.js +2 -2
- package/lib/process_batch/processBatch.js +3 -3
- package/lib/process_info/FlowChart.js +62 -99
- package/lib/process_info/processInfo.js +57 -43
- package/lib/process_list/processList.js +5 -5
- package/lib/selectMember/select.js +15 -15
- package/lib/signature/sign.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,31 +1,7 @@
|
|
|
1
1
|
## 移动端组件
|
|
2
2
|
|
|
3
|
-
---
|
|
3
|
+
---npm publish --tag beta
|
|
4
4
|
|
|
5
5
|
## 更新日志
|
|
6
|
-
- 1.0.
|
|
7
|
-
- 1.0.42:项目模块扩展开发;流程活动节点可以设置流程办理默认的提醒内容
|
|
8
|
-
- 1.0.41:上传附件敏感词拦截;
|
|
9
|
-
- 1.0.40:修复审批验签重复问题;
|
|
10
|
-
- 1.0.39:移动审批扩展;选人组件问题修复
|
|
11
|
-
- 1.0.38:移动审批自动通过;选人组件增加政治面貌和职务
|
|
12
|
-
- 1.0.37:移动审批退回意见显示;级联字段功能实现;移动端选人组件适配pc新设置
|
|
13
|
-
- 1.0.36:移动审批保存时不校验必填项;关联字段功能实现;移动端子表扩展功能开发
|
|
14
|
-
- 1.0.35:流程支持CA加签验签问题修复
|
|
15
|
-
- 1.0.34:退回流程支持上传附件;流程支持CA加签验签
|
|
16
|
-
- 1.0.33:表单说明字段额外扩展样式实现
|
|
17
|
-
- 1.0.32:去掉批量办理标题旁的new icon;矩阵式表单额外扩展样式实现
|
|
18
|
-
- 1.0.31:修复pc企业微信客户端预览查看问题
|
|
19
|
-
- 1.0.30:流程批量办理增加必填校验,流程组件在钉钉PC客户端办理后关闭页面修改;日期组件增加区间选项
|
|
20
|
-
- 1.0.29:流程项目开发外扩展js修改
|
|
21
|
-
- 1.0.28:选人个人群组适配
|
|
22
|
-
- 1.0.27:流程批示意见问题修复
|
|
23
|
-
- 1.0.26:流程项目开发外扩展js
|
|
24
|
-
- 1.0.25:流程列表增加类型all情况下查所有流程问题修改
|
|
25
|
-
- 1.0.24:流程列表增加类型all全局待办module编码,增加流程表单外扩展js
|
|
26
|
-
- 1.0.23:流程列表批量办理按钮增加配置项可控制隐藏
|
|
27
|
-
- 1.0.22:修改流程列表统一待办和搜索
|
|
28
|
-
- 1.0.21:修改流程列表统一待办
|
|
29
|
-
- 1.0.20:修改推送打开作废流程提示
|
|
30
|
-
- 1.0.19:修改流程图请求参数,增加流程实例id
|
|
6
|
+
- 2.1.0-beta.0:2.0beta版本提交
|
|
31
7
|
|
package/lib/db/variables.js
CHANGED
|
@@ -104,6 +104,7 @@ exports.default = {
|
|
|
104
104
|
},
|
|
105
105
|
nodataIcon: context + "/mobile/fmui/images/noData.png",
|
|
106
106
|
loadingIcon: context + "/mobile/fmui/images/loading.gif",
|
|
107
|
+
approvalCardIcon: context + "/mobile/fmui/images/approvalCard.png",
|
|
107
108
|
SQLX: {
|
|
108
109
|
qjsq: 'qjsq', //请假申请
|
|
109
110
|
bxsq: 'baoxiu', //保修申请
|
package/lib/form/form.js
CHANGED
|
@@ -53,6 +53,10 @@ var _Boxs = require('saltui/lib/Boxs');
|
|
|
53
53
|
|
|
54
54
|
var _Boxs2 = _interopRequireDefault(_Boxs);
|
|
55
55
|
|
|
56
|
+
var _Field = require('saltui/lib/Field');
|
|
57
|
+
|
|
58
|
+
var _Field2 = _interopRequireDefault(_Field);
|
|
59
|
+
|
|
56
60
|
var _FoldablePane = require('saltui/lib/FoldablePane');
|
|
57
61
|
|
|
58
62
|
var _FoldablePane2 = _interopRequireDefault(_FoldablePane);
|
|
@@ -92,13 +96,13 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
92
96
|
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; }
|
|
93
97
|
|
|
94
98
|
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; }
|
|
99
|
+
|
|
100
|
+
_Field2.default;
|
|
95
101
|
// import Slot from 'saltui/lib/Slot';
|
|
96
102
|
|
|
97
103
|
// import SelectFileNo from '../select-fileno/pageHome';
|
|
98
104
|
// import SelectSerialNumber from '../select-serialnumber/pageHome';
|
|
99
105
|
//import 'babel-polyfill';
|
|
100
|
-
|
|
101
|
-
|
|
102
106
|
var HBox = _Boxs2.default.HBox,
|
|
103
107
|
Box = _Boxs2.default.Box;
|
|
104
108
|
//import 'babel-polyfill';
|
|
@@ -2192,7 +2196,7 @@ var PageHome = function (_React$Component) {
|
|
|
2192
2196
|
),
|
|
2193
2197
|
_react2.default.createElement(
|
|
2194
2198
|
Box,
|
|
2195
|
-
{ 'data-key': i, onClick: _this2.detailDel.bind(_this2, i), className: 't-P16 t-
|
|
2199
|
+
{ 'data-key': i, onClick: _this2.detailDel.bind(_this2, i), className: 't-P16 t-FCblue' },
|
|
2196
2200
|
'\u5220\u9664'
|
|
2197
2201
|
)
|
|
2198
2202
|
),
|
|
@@ -2715,16 +2719,15 @@ var PageHome = function (_React$Component) {
|
|
|
2715
2719
|
{ borderTopNone: true },
|
|
2716
2720
|
_react2.default.createElement(
|
|
2717
2721
|
'div',
|
|
2718
|
-
{ className: 't-
|
|
2722
|
+
{ className: 't-W100' },
|
|
2719
2723
|
_react2.default.createElement(
|
|
2720
|
-
|
|
2721
|
-
{
|
|
2724
|
+
_Field2.default,
|
|
2725
|
+
{ label: t.state.itemParam.title, layout: 'h', multiLine: true },
|
|
2722
2726
|
_react2.default.createElement(_upload2.default, {
|
|
2723
2727
|
ref: "upload_" + t.state.itemParam.tableName + "_" + t.state.itemParam.key,
|
|
2724
2728
|
required: t.state.itemParam.required,
|
|
2725
2729
|
canAdd: t.state.itemParam.readOnly == true ? false : true,
|
|
2726
2730
|
canDel: t.state.itemParam.readOnly == true ? false : true,
|
|
2727
|
-
label: t.state.itemParam.title,
|
|
2728
2731
|
initList: t.state.itemParam.value,
|
|
2729
2732
|
initIds: t.state.itemParam.initIds,
|
|
2730
2733
|
dir: t.state.module,
|
|
@@ -2749,16 +2752,15 @@ var PageHome = function (_React$Component) {
|
|
|
2749
2752
|
{ borderTopNone: true },
|
|
2750
2753
|
_react2.default.createElement(
|
|
2751
2754
|
'div',
|
|
2752
|
-
{ className: 't-
|
|
2755
|
+
{ className: 't-W100' },
|
|
2753
2756
|
_react2.default.createElement(
|
|
2754
|
-
|
|
2755
|
-
{
|
|
2757
|
+
_Field2.default,
|
|
2758
|
+
{ label: t.state.itemParam.title, layout: 'h', multiLine: true },
|
|
2756
2759
|
_react2.default.createElement(_upload2.default, {
|
|
2757
2760
|
ref: "upload_" + t.state.itemParam.tableName + "_" + t.state.itemParam.key,
|
|
2758
2761
|
required: t.state.itemParam.required,
|
|
2759
2762
|
canAdd: t.state.itemParam.readOnly == true ? false : true,
|
|
2760
2763
|
canDel: t.state.itemParam.readOnly == true ? false : true,
|
|
2761
|
-
label: t.state.itemParam.title,
|
|
2762
2764
|
initList: t.state.itemParam.value,
|
|
2763
2765
|
initIds: t.state.itemParam.initIds,
|
|
2764
2766
|
dir: t.state.module,
|
|
@@ -2803,7 +2805,7 @@ var PageHome = function (_React$Component) {
|
|
|
2803
2805
|
{ className: t.state.commentField == this.state.itemParam.uniqueName ? 't-PL10' : 't-DN' },
|
|
2804
2806
|
_react2.default.createElement(
|
|
2805
2807
|
'div',
|
|
2806
|
-
{ className: t.state.commentField == this.state.itemParam.uniqueName ? 't-
|
|
2808
|
+
{ className: t.state.commentField == this.state.itemParam.uniqueName ? 't-FCblue t-P6 t-FS16 commonwords' : 't-DN', onClick: this.selectCommonwords.bind(this) },
|
|
2807
2809
|
'\u5E38\u7528\u8BED'
|
|
2808
2810
|
),
|
|
2809
2811
|
_react2.default.createElement(_TextareaField2.default, {
|
|
@@ -2846,7 +2848,7 @@ var PageHome = function (_React$Component) {
|
|
|
2846
2848
|
{ borderTopNone: true },
|
|
2847
2849
|
_react2.default.createElement(
|
|
2848
2850
|
HBox,
|
|
2849
|
-
{ vAlign: 'center', className: 't-LH40 t-
|
|
2851
|
+
{ vAlign: 'center', className: 't-LH40 t-FCblue t-BCf dd-bottom-border t-PL16 t-PR16', onClick: this.noticeClick.bind(this, t.state.itemParam.explainUrl) },
|
|
2850
2852
|
_react2.default.createElement(
|
|
2851
2853
|
Box,
|
|
2852
2854
|
{ flex: 1, className: 't-PR' },
|
package/lib/form/subForm.js
CHANGED
|
@@ -271,28 +271,28 @@ var PageHome = function (_React$Component) {
|
|
|
271
271
|
var itemParam = this.state.itemParam;
|
|
272
272
|
var data = this.props.data;
|
|
273
273
|
var subTblList = data.subTbl; //子表
|
|
274
|
-
/* var calculateExpList = data.calculateExpList;//计算公式列表
|
|
275
|
-
var calculateExpList1 = value.calculateExpList;//计算公式列表
|
|
276
|
-
if(calculateExpList1){
|
|
277
|
-
for(var key in calculateExpList1){
|
|
278
|
-
var calculateExpValue;
|
|
279
|
-
if(calculateExpList){
|
|
280
|
-
calculateExpValue = calculateExpList[key];
|
|
281
|
-
if(!calculateExpValue){
|
|
282
|
-
calculateExpValue = [];
|
|
283
|
-
}
|
|
284
|
-
}else{
|
|
285
|
-
calculateExpList = {};
|
|
286
|
-
calculateExpValue = [];
|
|
287
|
-
}
|
|
288
|
-
for(var j=0;j<calculateExpList1[key].length;j++){
|
|
289
|
-
calculateExpValue.push(calculateExpList1[key][j]);
|
|
290
|
-
}
|
|
291
|
-
calculateExpList[key] = calculateExpValue;
|
|
292
|
-
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
data.calculateExpList = calculateExpList;
|
|
274
|
+
/* var calculateExpList = data.calculateExpList;//计算公式列表
|
|
275
|
+
var calculateExpList1 = value.calculateExpList;//计算公式列表
|
|
276
|
+
if(calculateExpList1){
|
|
277
|
+
for(var key in calculateExpList1){
|
|
278
|
+
var calculateExpValue;
|
|
279
|
+
if(calculateExpList){
|
|
280
|
+
calculateExpValue = calculateExpList[key];
|
|
281
|
+
if(!calculateExpValue){
|
|
282
|
+
calculateExpValue = [];
|
|
283
|
+
}
|
|
284
|
+
}else{
|
|
285
|
+
calculateExpList = {};
|
|
286
|
+
calculateExpValue = [];
|
|
287
|
+
}
|
|
288
|
+
for(var j=0;j<calculateExpList1[key].length;j++){
|
|
289
|
+
calculateExpValue.push(calculateExpList1[key][j]);
|
|
290
|
+
}
|
|
291
|
+
calculateExpList[key] = calculateExpValue;
|
|
292
|
+
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
data.calculateExpList = calculateExpList;
|
|
296
296
|
}*/
|
|
297
297
|
|
|
298
298
|
this.dealwithSubData(subTblList, subTblNo, value);
|
|
@@ -648,7 +648,7 @@ var PageHome = function (_React$Component) {
|
|
|
648
648
|
),
|
|
649
649
|
_react2.default.createElement(
|
|
650
650
|
Box,
|
|
651
|
-
{ 'data-key': i, onClick: _this2.detailDel.bind(_this2, i), className: t.state.itemParam.subtableReadonly || subForm.length == 1 ? 't-DN' : 't-P16 t-
|
|
651
|
+
{ 'data-key': i, onClick: _this2.detailDel.bind(_this2, i), className: t.state.itemParam.subtableReadonly || subForm.length == 1 ? 't-DN' : 't-P16 t-FCblue' },
|
|
652
652
|
'\u5220\u9664'
|
|
653
653
|
)
|
|
654
654
|
),
|
|
@@ -751,7 +751,7 @@ var PageHome = function (_React$Component) {
|
|
|
751
751
|
),
|
|
752
752
|
_react2.default.createElement(
|
|
753
753
|
Box,
|
|
754
|
-
|
|
754
|
+
null,
|
|
755
755
|
_react2.default.createElement('i', { className: this.state.itemParam.show ? "iconfont icon-arrow-down t-FS18 t-FCc" : "iconfont icon-arrow-up t-rotate-90 t-FS18 t-FCc" })
|
|
756
756
|
)
|
|
757
757
|
),
|
package/lib/form/table.js
CHANGED
|
@@ -1569,7 +1569,7 @@ var PageHome = function (_React$Component) {
|
|
|
1569
1569
|
{ className: t.props.commentField == "default" ? 't-PL10' : 't-DN' },
|
|
1570
1570
|
_react2.default.createElement(
|
|
1571
1571
|
'div',
|
|
1572
|
-
{ className: 't-
|
|
1572
|
+
{ className: 't-FCblue t-P6 t-FS16 commonwords', onClick: this.selectCommonwords.bind(this) },
|
|
1573
1573
|
'\u5E38\u7528\u8BED'
|
|
1574
1574
|
),
|
|
1575
1575
|
_react2.default.createElement(_TextareaField2.default, {
|
|
@@ -1625,7 +1625,7 @@ var PageHome = function (_React$Component) {
|
|
|
1625
1625
|
{ className: t.props.commentField == "default" ? 't-PL10 t-PT10 t-FB1' : 't-DN' },
|
|
1626
1626
|
_react2.default.createElement(
|
|
1627
1627
|
'div',
|
|
1628
|
-
{ className: 't-
|
|
1628
|
+
{ className: 't-FCblue t-P6 t-FS16 commonwords', onClick: this.selectCommonwords.bind(this) },
|
|
1629
1629
|
'\u5E38\u7528\u8BED'
|
|
1630
1630
|
),
|
|
1631
1631
|
_react2.default.createElement(_TextareaField2.default, {
|
|
@@ -5247,7 +5247,7 @@ var PageHome = function (_React$Component) {
|
|
|
5247
5247
|
{ className: this.state.nextActivityList.length == 0 && this.state.nextRadomList.length == 0 ? '' : '', style: { background: '#f2f3f5', height: '35px', padding: '10px 5px' } },
|
|
5248
5248
|
_react2.default.createElement(
|
|
5249
5249
|
'span',
|
|
5250
|
-
{ className: 't-
|
|
5250
|
+
{ className: 't-FCblue' },
|
|
5251
5251
|
_react2.default.createElement('i', { className: 'iconfont icon-back t-rotate-180 t-FS14 t-FR' }),
|
|
5252
5252
|
'\u5BA1\u6279\u73AF\u8282'
|
|
5253
5253
|
)
|
|
@@ -5397,7 +5397,7 @@ var PageHome = function (_React$Component) {
|
|
|
5397
5397
|
{ style: { background: '#f2f3f5', height: '35px', padding: '10px 5px' } },
|
|
5398
5398
|
_react2.default.createElement(
|
|
5399
5399
|
'span',
|
|
5400
|
-
{ className: 't-
|
|
5400
|
+
{ className: 't-FCblue' },
|
|
5401
5401
|
_react2.default.createElement('i', { className: 'iconfont icon-back t-rotate-180 t-FS14 t-FR' }),
|
|
5402
5402
|
'\u8F6C\u4EA4\u73AF\u8282'
|
|
5403
5403
|
)
|
|
@@ -682,7 +682,7 @@ var PageHome = function (_React$Component) {
|
|
|
682
682
|
),
|
|
683
683
|
_react2.default.createElement(
|
|
684
684
|
Box,
|
|
685
|
-
{ className: 't-PR16 t-
|
|
685
|
+
{ className: 't-PR16 t-FCblue', onClick: this.selectedOk.bind(this) },
|
|
686
686
|
'\u5B8C\u6210'
|
|
687
687
|
)
|
|
688
688
|
)
|
|
@@ -718,7 +718,7 @@ var PageHome = function (_React$Component) {
|
|
|
718
718
|
{ vAlign: 'center', className: this.state.change ? "t-bottom-fixed" : "t-DN", style: { width: 300 } },
|
|
719
719
|
_react2.default.createElement(
|
|
720
720
|
Box,
|
|
721
|
-
{ flex: 2, className: 't-FS16 t-PL16 t-
|
|
721
|
+
{ flex: 2, className: 't-FS16 t-PL16 t-FCblue', onClick: this.selectedBoxs.bind(this) },
|
|
722
722
|
'\u5DF2\u9009',
|
|
723
723
|
selectNum,
|
|
724
724
|
'\u4E2A'
|
|
@@ -1472,12 +1472,12 @@ var PageHome = function (_React$Component) {
|
|
|
1472
1472
|
{ style: { background: '#f2f3f5', height: '35px', padding: '10px 5px' } },
|
|
1473
1473
|
_react2.default.createElement(
|
|
1474
1474
|
'span',
|
|
1475
|
-
{ className: 't-
|
|
1475
|
+
{ className: 't-FCblue' },
|
|
1476
1476
|
this.state.operate == 1 ? "审批意见" : this.state.operate == 2 ? '驳回意见' : this.state.operate == 3 ? '转交意见' : this.state.operate == 5 ? '跳转意见' : this.state.operate == 10 ? '完成意见' : '签阅意见'
|
|
1477
1477
|
),
|
|
1478
1478
|
_react2.default.createElement(
|
|
1479
1479
|
'span',
|
|
1480
|
-
{ className: 't-
|
|
1480
|
+
{ className: 't-FCblue t-FR', onClick: this.selectCommonwords.bind(this) },
|
|
1481
1481
|
'\u5E38\u7528\u8BED'
|
|
1482
1482
|
)
|
|
1483
1483
|
),
|
|
@@ -1504,7 +1504,7 @@ var PageHome = function (_React$Component) {
|
|
|
1504
1504
|
{ className: this.state.nextActivityList.length == 0 && this.state.nextRadomList.length == 0 ? 't-DN' : '', style: { background: '#f2f3f5', height: '35px', padding: '10px 5px' } },
|
|
1505
1505
|
_react2.default.createElement(
|
|
1506
1506
|
'span',
|
|
1507
|
-
{ className: 't-
|
|
1507
|
+
{ className: 't-FCblue' },
|
|
1508
1508
|
_react2.default.createElement('i', { className: 'iconfont icon-back t-rotate-180 t-FS14 t-FR' }),
|
|
1509
1509
|
'\u5BA1\u6279\u73AF\u8282'
|
|
1510
1510
|
)
|
|
@@ -103,124 +103,87 @@ var Page = function (_React$Component) {
|
|
|
103
103
|
|
|
104
104
|
return _react2.default.createElement(
|
|
105
105
|
'div',
|
|
106
|
-
{ className: '
|
|
107
|
-
_react2.default.createElement(
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
var
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
var
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
106
|
+
{ className: 'approval-recording' },
|
|
107
|
+
_react2.default.createElement(
|
|
108
|
+
'div',
|
|
109
|
+
{ className: 't-PT12 t-PB10 t-PR' },
|
|
110
|
+
_react2.default.createElement('div', { className: 'dd-process-dec' }),
|
|
111
|
+
this.state.processLogList.map(function (item, i) {
|
|
112
|
+
var nameHtml = "";
|
|
113
|
+
if (item.receivenames != null && item.receivenames != '') {
|
|
114
|
+
var receivenames = item.receivenames.split('|');
|
|
115
|
+
var delContent = '(该用户账号已被删除,请联系管理员修改流程)';
|
|
116
|
+
var delContent1 = '(该用户账号已被删除)';
|
|
117
|
+
nameHtml = receivenames.map(function (item, index) {
|
|
118
|
+
var names = item.replace(delContent, '');
|
|
119
|
+
if (item.indexOf(delContent1) > -1) {
|
|
120
|
+
names = "";
|
|
121
|
+
}
|
|
122
|
+
return _react2.default.createElement(
|
|
123
|
+
'span',
|
|
124
|
+
null,
|
|
125
|
+
index == 0 ? names : "|" + names,
|
|
126
|
+
_react2.default.createElement(
|
|
127
|
+
'i',
|
|
128
|
+
{ className: item.indexOf(delContent) > -1 ? "t-FCred" : 't-DN' },
|
|
129
|
+
delContent
|
|
130
|
+
),
|
|
131
|
+
_react2.default.createElement(
|
|
132
|
+
'i',
|
|
133
|
+
{ className: item.indexOf(delContent1) > -1 ? "t-FCred" : 't-DN' },
|
|
134
|
+
delContent1
|
|
135
|
+
)
|
|
136
|
+
);
|
|
137
|
+
});
|
|
138
|
+
}
|
|
136
139
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
_react2.default.createElement(
|
|
141
|
-
Box,
|
|
142
|
-
{ className: 't-W44' },
|
|
143
|
-
_react2.default.createElement('div', { className: 'dd-border-o dd-Bgreen' })
|
|
144
|
-
),
|
|
145
|
-
_react2.default.createElement(
|
|
146
|
-
Box,
|
|
147
|
-
{ flex: 1, className: 't-PR t-M10' },
|
|
140
|
+
return _react2.default.createElement(
|
|
141
|
+
HBox,
|
|
142
|
+
{ className: 't-PR' },
|
|
148
143
|
_react2.default.createElement(
|
|
149
144
|
Box,
|
|
150
|
-
{ className: '
|
|
151
|
-
_react2.default.createElement('
|
|
145
|
+
{ className: 'dd-border-width' },
|
|
146
|
+
_react2.default.createElement('div', { className: i == this.state.processLogList.length - 1 ? "dd-border-o dd-Bddblue" : "dd-border-o" })
|
|
152
147
|
),
|
|
153
148
|
_react2.default.createElement(
|
|
154
|
-
|
|
155
|
-
{ className: '
|
|
149
|
+
'div',
|
|
150
|
+
{ className: 'recording-card' },
|
|
156
151
|
_react2.default.createElement(
|
|
157
|
-
|
|
158
|
-
{ className: '
|
|
152
|
+
'div',
|
|
153
|
+
{ className: 'recording-message' },
|
|
159
154
|
_react2.default.createElement(
|
|
160
|
-
|
|
155
|
+
'div',
|
|
161
156
|
{ className: 't-omit' },
|
|
162
|
-
item.
|
|
163
|
-
),
|
|
164
|
-
_react2.default.createElement(
|
|
165
|
-
Box,
|
|
166
|
-
{ className: item.dealaction == 'commit' || item.dealaction == 'pass' || item.dealaction == 'transfer' || item.dealaction == 'addSign' || item.dealaction == 'jump' || item.dealaction == 'end' || item.dealaction == 'cancel' || item.dealaction == 'recall' ? 't-FCgreen t-PT0 t-FS12 t-omit' : item.dealaction == 'back' ? 't-FCred t-PT0 t-FS12 t-omit' : 't-PT0 t-FS12 t-omit' },
|
|
167
|
-
dealactionname(item)
|
|
168
|
-
)
|
|
169
|
-
),
|
|
170
|
-
_react2.default.createElement(
|
|
171
|
-
HBox,
|
|
172
|
-
{ className: 't-PL14 t-PR14 t-PT10 t-PB10 t-LH1_5', vAlign: 'center' },
|
|
173
|
-
_react2.default.createElement(
|
|
174
|
-
Box,
|
|
175
|
-
{ className: 't-MR10' },
|
|
176
|
-
_react2.default.createElement(_Avatar2.default, { name: item.dealusername, src: this.state.dealusericon, defaultColor: '#F6BF26' })
|
|
157
|
+
item.createdDate
|
|
177
158
|
),
|
|
178
159
|
_react2.default.createElement(
|
|
179
|
-
|
|
180
|
-
{ className: '
|
|
160
|
+
'div',
|
|
161
|
+
{ className: 'recording-info' },
|
|
181
162
|
_react2.default.createElement(
|
|
182
163
|
'div',
|
|
183
|
-
{ className: '
|
|
184
|
-
|
|
164
|
+
{ className: 'recording-info-left' },
|
|
165
|
+
_react2.default.createElement(
|
|
166
|
+
'div',
|
|
167
|
+
{ className: 'recording-name' },
|
|
168
|
+
nameHtml
|
|
169
|
+
),
|
|
170
|
+
_react2.default.createElement(
|
|
171
|
+
'div',
|
|
172
|
+
{ className: 'recording-result' },
|
|
173
|
+
dealactionname(item)
|
|
174
|
+
)
|
|
185
175
|
),
|
|
186
176
|
_react2.default.createElement(
|
|
187
177
|
'div',
|
|
188
|
-
{ className: '
|
|
189
|
-
item.
|
|
190
|
-
)
|
|
191
|
-
),
|
|
192
|
-
_react2.default.createElement(
|
|
193
|
-
Box,
|
|
194
|
-
{ flex: 2 },
|
|
195
|
-
_react2.default.createElement(
|
|
196
|
-
HBox,
|
|
197
|
-
null,
|
|
198
|
-
_react2.default.createElement(
|
|
199
|
-
Box,
|
|
200
|
-
{ flex: 1, className: 't-omit' },
|
|
201
|
-
item.createdDate
|
|
202
|
-
)
|
|
178
|
+
{ className: 'recording-author' },
|
|
179
|
+
item.curactivityname
|
|
203
180
|
)
|
|
204
181
|
)
|
|
205
|
-
),
|
|
206
|
-
_react2.default.createElement(
|
|
207
|
-
HBox,
|
|
208
|
-
{ className: item.receivenames == null || item.receivenames == '' ? 't-DN' : 't-PL14 t-PR14 t-PT10 t-PB10 dd-top-border' },
|
|
209
|
-
_react2.default.createElement(
|
|
210
|
-
Box,
|
|
211
|
-
{ flex: 1 },
|
|
212
|
-
'\u63A5\u6536\u8005'
|
|
213
|
-
),
|
|
214
|
-
_react2.default.createElement(
|
|
215
|
-
Box,
|
|
216
|
-
{ flex: 3, className: 't-FAR' },
|
|
217
|
-
nameHtml
|
|
218
|
-
)
|
|
219
182
|
)
|
|
220
183
|
)
|
|
221
|
-
)
|
|
222
|
-
)
|
|
223
|
-
|
|
184
|
+
);
|
|
185
|
+
}.bind(this))
|
|
186
|
+
)
|
|
224
187
|
);
|
|
225
188
|
}
|
|
226
189
|
}]);
|
|
@@ -107,7 +107,8 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
|
|
|
107
107
|
var HBox = _Boxs2.default.HBox,
|
|
108
108
|
Box = _Boxs2.default.Box,
|
|
109
109
|
VBox = _Boxs2.default.VBox;
|
|
110
|
-
var ButtonGroup = _Button2.default.ButtonGroup
|
|
110
|
+
var ButtonGroup = _Button2.default.ButtonGroup,
|
|
111
|
+
TextButton = _Button2.default.TextButton;
|
|
111
112
|
//import UserInfo from '../approval-details/UserInfo';
|
|
112
113
|
|
|
113
114
|
var extFile = "";
|
|
@@ -5231,41 +5232,41 @@ var PageHome = function (_React$Component) {
|
|
|
5231
5232
|
/* buttonCodeList.push({'buttonCode':'BASE_SUMBIT','buttonName':'通过'});
|
|
5232
5233
|
buttonCodeList.push({'buttonCode':'PAGE_SAVE','buttonName':'保存'});*/
|
|
5233
5234
|
if (buttonCodeList.length > 4) {
|
|
5234
|
-
buttonList.push({ name: '更多', type: '
|
|
5235
|
+
buttonList.push({ name: '更多', type: 'text', display: 'inline', no: -1 });
|
|
5235
5236
|
for (var c = 0; c < buttonCodeList.length; c++) {
|
|
5236
5237
|
var buttonCode = buttonCodeList[c]['buttonCode'];
|
|
5237
5238
|
var buttonName = buttonCodeList[c]['buttonName'];
|
|
5238
5239
|
if (c < 3) {
|
|
5239
5240
|
if (buttonCode == 'BACK') {
|
|
5240
|
-
buttonList.push({ name: buttonName, type: '
|
|
5241
|
+
buttonList.push({ name: buttonName, type: 'danger', display: 'inline', no: 2 });
|
|
5241
5242
|
} else if (buttonCode == 'PAGE_SAVE') {
|
|
5242
|
-
buttonList.push({ name: buttonName, type: 'secondary', display: '
|
|
5243
|
+
buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 13 });
|
|
5243
5244
|
} else if (buttonCode == 'BASE_SUMBIT') {
|
|
5244
5245
|
var sumbmitName = buttonName;
|
|
5245
5246
|
if (dataId == '' || isStart == true) {
|
|
5246
5247
|
sumbmitName = '提交';
|
|
5247
5248
|
}
|
|
5248
|
-
buttonList.push({ name: sumbmitName, type: 'primary', display: '
|
|
5249
|
+
buttonList.push({ name: sumbmitName, type: 'primary', display: 'inline', no: 1 });
|
|
5249
5250
|
} else if (buttonCode == 'BASE_TRANSFER') {
|
|
5250
|
-
buttonList.push({ name: buttonName, type: 'secondary', display: '
|
|
5251
|
+
buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 3 });
|
|
5251
5252
|
} else if (buttonCode == 'HELP_CIRCULATE') {
|
|
5252
|
-
buttonList.push({ name: buttonName, type: 'secondary', display: '
|
|
5253
|
+
buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 4 });
|
|
5253
5254
|
} else if (buttonCode == 'HELP_FORWARD') {
|
|
5254
|
-
buttonList.push({ name: buttonName, type: 'secondary', display: '
|
|
5255
|
+
buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 20 });
|
|
5255
5256
|
} else if (buttonCode == 'BASE_JUMP') {
|
|
5256
|
-
buttonList.push({ name: buttonName, type: 'secondary', display: '
|
|
5257
|
+
buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 5 });
|
|
5257
5258
|
} else if (buttonCode == 'HELP_ADDLOTS') {
|
|
5258
|
-
buttonList.push({ name: buttonName, type: 'secondary', display: '
|
|
5259
|
+
buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 6 });
|
|
5259
5260
|
} else if (buttonCode == 'BASE_END') {
|
|
5260
|
-
buttonList.push({ name: buttonName, type: 'secondary', display: '
|
|
5261
|
+
buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 8 });
|
|
5261
5262
|
} else if (buttonCode == 'BASE_INVALID') {
|
|
5262
|
-
buttonList.push({ name: buttonName, type: 'secondary', display: '
|
|
5263
|
+
buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 9 });
|
|
5263
5264
|
} else if (buttonCode == 'HELP_DISTRIBUTE') {
|
|
5264
|
-
buttonList.push({ name: buttonName, type: 'secondary', display: '
|
|
5265
|
+
buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 'distributeFlow' });
|
|
5265
5266
|
} else if (buttonCode == 'MAILSEND') {
|
|
5266
|
-
buttonList.push({ name: buttonName, type: 'secondary', display: '
|
|
5267
|
+
buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 18 });
|
|
5267
5268
|
} else {
|
|
5268
|
-
buttonList.push({ name: buttonName, type: 'secondary', display: '
|
|
5269
|
+
buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: buttonCode });
|
|
5269
5270
|
}
|
|
5270
5271
|
} else if (c == 3) {
|
|
5271
5272
|
//buttonList.push({name:'更多',type:'secondary',display:'banner',no:-1});
|
|
@@ -5283,35 +5284,35 @@ var PageHome = function (_React$Component) {
|
|
|
5283
5284
|
var buttonName = buttonCodeList[c]['buttonName'];
|
|
5284
5285
|
|
|
5285
5286
|
if (buttonCode.indexOf('BACK') >= 0) {
|
|
5286
|
-
buttonList.push({ name: buttonName, type: '
|
|
5287
|
+
buttonList.push({ name: buttonName, type: 'danger', display: 'inline', no: 2 });
|
|
5287
5288
|
} else if (buttonCode == 'PAGE_SAVE') {
|
|
5288
|
-
buttonList.push({ name: buttonName, type: 'secondary', display: '
|
|
5289
|
+
buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 13 });
|
|
5289
5290
|
} else if (buttonCode == 'BASE_SUMBIT') {
|
|
5290
5291
|
var sumbmitName = buttonName;
|
|
5291
5292
|
if (dataId == '' || isStart == true) {
|
|
5292
5293
|
sumbmitName = '提交';
|
|
5293
5294
|
}
|
|
5294
|
-
buttonList.push({ name: sumbmitName, type: 'primary', display: '
|
|
5295
|
+
buttonList.push({ name: sumbmitName, type: 'primary', display: 'inline', no: 1 });
|
|
5295
5296
|
} else if (buttonCode == 'BASE_TRANSFER') {
|
|
5296
|
-
buttonList.push({ name: buttonName, type: 'secondary', display: '
|
|
5297
|
+
buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 3 });
|
|
5297
5298
|
} else if (buttonCode == 'HELP_CIRCULATE') {
|
|
5298
|
-
buttonList.push({ name: buttonName, type: 'secondary', display: '
|
|
5299
|
+
buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 4 });
|
|
5299
5300
|
} else if (buttonCode == 'BASE_JUMP') {
|
|
5300
|
-
buttonList.push({ name: buttonName, type: 'secondary', display: '
|
|
5301
|
+
buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 5 });
|
|
5301
5302
|
} else if (buttonCode == 'HELP_ADDLOTS') {
|
|
5302
|
-
buttonList.push({ name: buttonName, type: 'secondary', display: '
|
|
5303
|
+
buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 6 });
|
|
5303
5304
|
} else if (buttonCode == 'BASE_END') {
|
|
5304
|
-
buttonList.push({ name: buttonName, type: 'secondary', display: '
|
|
5305
|
+
buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 8 });
|
|
5305
5306
|
} else if (buttonCode == 'BASE_INVALID') {
|
|
5306
|
-
buttonList.push({ name: buttonName, type: 'secondary', display: '
|
|
5307
|
+
buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 9 });
|
|
5307
5308
|
} else if (buttonCode == 'HELP_DISTRIBUTE') {
|
|
5308
|
-
buttonList.push({ name: buttonName, type: 'secondary', display: '
|
|
5309
|
+
buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 'distributeFlow' });
|
|
5309
5310
|
} else if (buttonCode == 'HELP_FORWARD') {
|
|
5310
|
-
buttonList.push({ name: buttonName, type: 'secondary', display: '
|
|
5311
|
+
buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 20 });
|
|
5311
5312
|
} else if (buttonCode == 'MAILSEND') {
|
|
5312
|
-
buttonList.push({ name: buttonName, type: 'secondary', display: '
|
|
5313
|
+
buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: 18 });
|
|
5313
5314
|
} else {
|
|
5314
|
-
buttonList.push({ name: buttonName, type: 'secondary', display: '
|
|
5315
|
+
buttonList.push({ name: buttonName, type: 'secondary', display: 'inline', no: buttonCode });
|
|
5315
5316
|
}
|
|
5316
5317
|
}
|
|
5317
5318
|
}
|
|
@@ -6259,7 +6260,7 @@ var PageHome = function (_React$Component) {
|
|
|
6259
6260
|
var t = this;
|
|
6260
6261
|
return _react2.default.createElement(
|
|
6261
6262
|
'div',
|
|
6262
|
-
{ className: '
|
|
6263
|
+
{ className: 'approval-details' },
|
|
6263
6264
|
_react2.default.createElement(
|
|
6264
6265
|
'div',
|
|
6265
6266
|
{ className: this.state.errorMsg == '任务不存在' ? "dd-state-page" : 't-DN' },
|
|
@@ -6310,8 +6311,17 @@ var PageHome = function (_React$Component) {
|
|
|
6310
6311
|
{ className: this.state.pageStatus == '0' ? '' : 't-DN' },
|
|
6311
6312
|
_react2.default.createElement(
|
|
6312
6313
|
'div',
|
|
6313
|
-
{ className: '
|
|
6314
|
-
|
|
6314
|
+
{ className: 'approval-header' },
|
|
6315
|
+
_react2.default.createElement(
|
|
6316
|
+
'div',
|
|
6317
|
+
{ className: 'approval-card' },
|
|
6318
|
+
_react2.default.createElement(
|
|
6319
|
+
'span',
|
|
6320
|
+
{ className: 'approval-card-left' },
|
|
6321
|
+
'\u738B\u5C0F\u660E\u7684\u836F\u54C1\u767B\u8BB0\u5BA1\u6279'
|
|
6322
|
+
),
|
|
6323
|
+
_react2.default.createElement('img', { className: 'approval-card-right', src: _variables2.default.approvalCardIcon })
|
|
6324
|
+
)
|
|
6315
6325
|
),
|
|
6316
6326
|
_react2.default.createElement(
|
|
6317
6327
|
_Tab2.default,
|
|
@@ -6321,7 +6331,7 @@ var PageHome = function (_React$Component) {
|
|
|
6321
6331
|
{ key: '0', title: '\u8868\u5355\u4FE1\u606F' },
|
|
6322
6332
|
_react2.default.createElement(
|
|
6323
6333
|
'div',
|
|
6324
|
-
{ id: 'approveWaterMarker', style: { top: 0, minHeight: 200, overflow: 'hidden' } },
|
|
6334
|
+
{ id: 'approveWaterMarker', className: 'approval-form-content', style: { top: 0, minHeight: 200, overflow: 'hidden' } },
|
|
6325
6335
|
_react2.default.createElement(
|
|
6326
6336
|
'div',
|
|
6327
6337
|
{ className: this.state.activeItemIndex == 0 ? '' : 't-DN' },
|
|
@@ -6369,7 +6379,11 @@ var PageHome = function (_React$Component) {
|
|
|
6369
6379
|
_Button2.default.Group,
|
|
6370
6380
|
null,
|
|
6371
6381
|
this.state.buttonList.map(function (item, i) {
|
|
6372
|
-
return _react2.default.createElement(
|
|
6382
|
+
return item.type == 'text' ? _react2.default.createElement(
|
|
6383
|
+
'span',
|
|
6384
|
+
{ 'class': 't-FCblue', onClick: t.handleSubmit.bind(t, item.no) },
|
|
6385
|
+
item.name
|
|
6386
|
+
) : _react2.default.createElement(
|
|
6373
6387
|
_Button2.default,
|
|
6374
6388
|
{ type: item.type, code: item.buttonCode, display: item.display, onClick: t.handleSubmit.bind(t, item.no) },
|
|
6375
6389
|
item.name
|
|
@@ -6385,7 +6399,7 @@ var PageHome = function (_React$Component) {
|
|
|
6385
6399
|
{ className: this.state.nextActivityList.length == 0 && this.state.nextRadomList.length == 0 ? '' : '', style: { background: '#f2f3f5', height: '35px', padding: '10px 5px' } },
|
|
6386
6400
|
_react2.default.createElement(
|
|
6387
6401
|
'span',
|
|
6388
|
-
{ className: 't-
|
|
6402
|
+
{ className: 't-FCblue' },
|
|
6389
6403
|
_react2.default.createElement('i', { className: 'iconfont icon-back t-rotate-180 t-FS14 t-FR' }),
|
|
6390
6404
|
'\u5BA1\u6279\u73AF\u8282'
|
|
6391
6405
|
)
|
|
@@ -6617,7 +6631,7 @@ var PageHome = function (_React$Component) {
|
|
|
6617
6631
|
{ style: { background: '#f2f3f5', height: '35px', padding: '10px 5px' } },
|
|
6618
6632
|
_react2.default.createElement(
|
|
6619
6633
|
'span',
|
|
6620
|
-
{ className: 't-
|
|
6634
|
+
{ className: 't-FCblue' },
|
|
6621
6635
|
_react2.default.createElement('i', { className: 'iconfont icon-back t-rotate-180 t-FS14 t-FR' }),
|
|
6622
6636
|
'\u8F6C\u4EA4\u73AF\u8282'
|
|
6623
6637
|
)
|
|
@@ -6679,7 +6693,7 @@ var PageHome = function (_React$Component) {
|
|
|
6679
6693
|
{ style: { background: '#f2f3f5', height: '35px', padding: '10px 5px' } },
|
|
6680
6694
|
_react2.default.createElement(
|
|
6681
6695
|
'span',
|
|
6682
|
-
{ className: 't-
|
|
6696
|
+
{ className: 't-FCblue' },
|
|
6683
6697
|
_react2.default.createElement('i', { className: 'iconfont icon-back t-rotate-180 t-FS14 t-FR' }),
|
|
6684
6698
|
'\u9000\u56DE\u73AF\u8282'
|
|
6685
6699
|
)
|
|
@@ -6737,7 +6751,7 @@ var PageHome = function (_React$Component) {
|
|
|
6737
6751
|
{ style: { background: '#f2f3f5', height: '35px', padding: '10px 5px' } },
|
|
6738
6752
|
_react2.default.createElement(
|
|
6739
6753
|
'span',
|
|
6740
|
-
{ className: 't-
|
|
6754
|
+
{ className: 't-FCblue' },
|
|
6741
6755
|
_react2.default.createElement('i', { className: 'iconfont icon-back t-rotate-180 t-FS14 t-FR' }),
|
|
6742
6756
|
'\u8DF3\u8F6C\u73AF\u8282'
|
|
6743
6757
|
)
|
|
@@ -6776,7 +6790,7 @@ var PageHome = function (_React$Component) {
|
|
|
6776
6790
|
{ style: { background: '#f2f3f5', height: '35px', padding: '10px 5px' } },
|
|
6777
6791
|
_react2.default.createElement(
|
|
6778
6792
|
'span',
|
|
6779
|
-
{ className: 't-
|
|
6793
|
+
{ className: 't-FCblue' },
|
|
6780
6794
|
_react2.default.createElement('i', { className: 'iconfont icon-back t-rotate-180 t-FS14 t-FR' }),
|
|
6781
6795
|
'\u52A0\u7B7E'
|
|
6782
6796
|
)
|
|
@@ -6808,7 +6822,7 @@ var PageHome = function (_React$Component) {
|
|
|
6808
6822
|
{ style: { background: '#f2f3f5', height: '35px', padding: '10px 5px' } },
|
|
6809
6823
|
_react2.default.createElement(
|
|
6810
6824
|
'span',
|
|
6811
|
-
{ className: 't-
|
|
6825
|
+
{ className: 't-FCblue' },
|
|
6812
6826
|
_react2.default.createElement('i', { className: 'iconfont icon-back t-rotate-180 t-FS14 t-FR' }),
|
|
6813
6827
|
'\u4F20\u9605'
|
|
6814
6828
|
)
|
|
@@ -6840,7 +6854,7 @@ var PageHome = function (_React$Component) {
|
|
|
6840
6854
|
{ style: { background: '#f2f3f5', height: '35px', padding: '10px 5px' } },
|
|
6841
6855
|
_react2.default.createElement(
|
|
6842
6856
|
'span',
|
|
6843
|
-
{ className: 't-
|
|
6857
|
+
{ className: 't-FCblue' },
|
|
6844
6858
|
_react2.default.createElement('i', { className: 'iconfont icon-back t-rotate-180 t-FS14 t-FR' }),
|
|
6845
6859
|
'\u8F6C\u53D1'
|
|
6846
6860
|
)
|
|
@@ -6872,7 +6886,7 @@ var PageHome = function (_React$Component) {
|
|
|
6872
6886
|
{ style: { background: '#f2f3f5', height: '35px', padding: '10px 5px' } },
|
|
6873
6887
|
_react2.default.createElement(
|
|
6874
6888
|
'span',
|
|
6875
|
-
{ className: 't-
|
|
6889
|
+
{ className: 't-FCblue' },
|
|
6876
6890
|
_react2.default.createElement('i', { className: 'iconfont icon-back t-rotate-180 t-FS14 t-FR' }),
|
|
6877
6891
|
'\u50AC\u529E\u73AF\u8282'
|
|
6878
6892
|
)
|
|
@@ -6913,7 +6927,7 @@ var PageHome = function (_React$Component) {
|
|
|
6913
6927
|
{ style: { background: '#f2f3f5', height: '35px', padding: '10px 5px' } },
|
|
6914
6928
|
_react2.default.createElement(
|
|
6915
6929
|
'span',
|
|
6916
|
-
{ className: 't-
|
|
6930
|
+
{ className: 't-FCblue' },
|
|
6917
6931
|
_react2.default.createElement('i', { className: 'iconfont icon-back t-rotate-180 t-FS14 t-FR' }),
|
|
6918
6932
|
'\u6536\u56DE\u73AF\u8282'
|
|
6919
6933
|
)
|
|
@@ -6935,7 +6949,7 @@ var PageHome = function (_React$Component) {
|
|
|
6935
6949
|
{ style: { background: '#f2f3f5', height: '35px', padding: '10px 5px' } },
|
|
6936
6950
|
_react2.default.createElement(
|
|
6937
6951
|
'span',
|
|
6938
|
-
{ className: 't-
|
|
6952
|
+
{ className: 't-FCblue' },
|
|
6939
6953
|
_react2.default.createElement('i', { className: 'iconfont icon-back t-rotate-180 t-FS14 t-FR' }),
|
|
6940
6954
|
'\u90AE\u4EF6\u8F6C\u53D1'
|
|
6941
6955
|
)
|
|
@@ -1040,7 +1040,7 @@ var PageHome = function (_React$Component2) {
|
|
|
1040
1040
|
),
|
|
1041
1041
|
_react2.default.createElement(
|
|
1042
1042
|
Box,
|
|
1043
|
-
{ className: this.state.hasBatch ? this.state.isBatch ? "t-FCc t-PR16" : "t-
|
|
1043
|
+
{ className: this.state.hasBatch ? this.state.isBatch ? "t-FCc t-PR16 t-FS14" : "t-FCblue t-PR16 t-FS14" : "t-DN", onClick: this.clickBatch.bind(this, this.state.isBatch) },
|
|
1044
1044
|
'\u6279\u91CF'
|
|
1045
1045
|
)
|
|
1046
1046
|
),
|
|
@@ -1079,7 +1079,7 @@ var PageHome = function (_React$Component2) {
|
|
|
1079
1079
|
),
|
|
1080
1080
|
_react2.default.createElement(
|
|
1081
1081
|
Box,
|
|
1082
|
-
{ className: this.state.hasBatch ? this.state.isBatch ? "t-FCc t-PR16" : "t-
|
|
1082
|
+
{ className: this.state.hasBatch ? this.state.isBatch ? "t-FCc t-PR16" : "t-FCblue t-PR16" : "t-DN", isBatch: this.state.isBatch, onClick: this.clickBatch.bind(this, this.state.isBatch) },
|
|
1083
1083
|
'\u6279\u91CF'
|
|
1084
1084
|
)
|
|
1085
1085
|
),
|
|
@@ -1202,18 +1202,18 @@ var PageHome = function (_React$Component2) {
|
|
|
1202
1202
|
),
|
|
1203
1203
|
_react2.default.createElement(
|
|
1204
1204
|
'div',
|
|
1205
|
-
{ className: this.state.isBatch ? "t-
|
|
1205
|
+
{ className: this.state.isBatch ? "t-bottom-fixed" : "t-DN" },
|
|
1206
1206
|
_react2.default.createElement(
|
|
1207
1207
|
_Button2.default.Group,
|
|
1208
1208
|
null,
|
|
1209
1209
|
_react2.default.createElement(
|
|
1210
1210
|
_Button2.default,
|
|
1211
|
-
{ type: 'secondary', display: '
|
|
1211
|
+
{ type: 'secondary', display: 'inline', onClick: this.selectAll.bind(this) },
|
|
1212
1212
|
this.state.selectAll ? '全选' : '取消'
|
|
1213
1213
|
),
|
|
1214
1214
|
_react2.default.createElement(
|
|
1215
1215
|
_Button2.default,
|
|
1216
|
-
{ type: 'primary', display: '
|
|
1216
|
+
{ type: 'primary', display: 'inline',
|
|
1217
1217
|
onClick: this.clickBatchButton.bind(this) },
|
|
1218
1218
|
this.state.activeTabIndex == 0 ? '通过' : '已阅'
|
|
1219
1219
|
)
|
|
@@ -7421,7 +7421,7 @@ var Page = function (_React$Component) {
|
|
|
7421
7421
|
if (index == 0) {
|
|
7422
7422
|
return _react2.default.createElement(
|
|
7423
7423
|
'div',
|
|
7424
|
-
{ className: 't-PL16 t-LH42 t-
|
|
7424
|
+
{ className: 't-PL16 t-LH42 t-FCblue t-DIB', onClick: function onClick() {
|
|
7425
7425
|
t.handleNavClick("0", "org", "");
|
|
7426
7426
|
} },
|
|
7427
7427
|
'\u5168\u90E8'
|
|
@@ -7447,7 +7447,7 @@ var Page = function (_React$Component) {
|
|
|
7447
7447
|
} else {
|
|
7448
7448
|
nameHtml = _react2.default.createElement(
|
|
7449
7449
|
'div',
|
|
7450
|
-
{ className: 't-FC9 t-DIB t-
|
|
7450
|
+
{ className: 't-FC9 t-DIB t-FCblue', onClick: function onClick() {
|
|
7451
7451
|
t.handleNavClick(item.id, "org", "");
|
|
7452
7452
|
} },
|
|
7453
7453
|
item.orgName
|
|
@@ -7758,7 +7758,7 @@ var Page = function (_React$Component) {
|
|
|
7758
7758
|
if (index == 0) {
|
|
7759
7759
|
return _react2.default.createElement(
|
|
7760
7760
|
'div',
|
|
7761
|
-
{ className: 't-PL16 t-LH42 t-
|
|
7761
|
+
{ className: 't-PL16 t-LH42 t-FCblue t-DIB', onClick: function onClick() {
|
|
7762
7762
|
t.handleNavClick("0", "station", "");
|
|
7763
7763
|
} },
|
|
7764
7764
|
'\u5168\u90E8'
|
|
@@ -7774,7 +7774,7 @@ var Page = function (_React$Component) {
|
|
|
7774
7774
|
} else {
|
|
7775
7775
|
nameHtml = _react2.default.createElement(
|
|
7776
7776
|
'div',
|
|
7777
|
-
{ className: 't-FC9 t-DIB t-
|
|
7777
|
+
{ className: 't-FC9 t-DIB t-FCblue', onClick: function onClick() {
|
|
7778
7778
|
t.handleNavClick(item.id, "station", item.type);
|
|
7779
7779
|
} },
|
|
7780
7780
|
item.type == "org" ? item.orgName : item.stationName
|
|
@@ -7971,7 +7971,7 @@ var Page = function (_React$Component) {
|
|
|
7971
7971
|
if (index == 0) {
|
|
7972
7972
|
return _react2.default.createElement(
|
|
7973
7973
|
'div',
|
|
7974
|
-
{ className: 't-PL16 t-LH42 t-
|
|
7974
|
+
{ className: 't-PL16 t-LH42 t-FCblue t-DIB', onClick: function onClick() {
|
|
7975
7975
|
t.handleNavClick("0", "group", "");
|
|
7976
7976
|
} },
|
|
7977
7977
|
'\u5168\u90E8'
|
|
@@ -7987,7 +7987,7 @@ var Page = function (_React$Component) {
|
|
|
7987
7987
|
} else {
|
|
7988
7988
|
nameHtml = _react2.default.createElement(
|
|
7989
7989
|
'div',
|
|
7990
|
-
{ className: 't-FC9 t-DIB t-
|
|
7990
|
+
{ className: 't-FC9 t-DIB t-FCblue', onClick: function onClick() {
|
|
7991
7991
|
t.handleNavClick(item.id, "group", "");
|
|
7992
7992
|
} },
|
|
7993
7993
|
item.groupName
|
|
@@ -8188,7 +8188,7 @@ var Page = function (_React$Component) {
|
|
|
8188
8188
|
if (index == 0) {
|
|
8189
8189
|
return _react2.default.createElement(
|
|
8190
8190
|
'div',
|
|
8191
|
-
{ className: 't-PL16 t-LH42 t-
|
|
8191
|
+
{ className: 't-PL16 t-LH42 t-FCblue t-DIB', onClick: function onClick() {
|
|
8192
8192
|
t.handleNavClick("0", "personGroup", "");
|
|
8193
8193
|
} },
|
|
8194
8194
|
'\u5168\u90E8'
|
|
@@ -8204,7 +8204,7 @@ var Page = function (_React$Component) {
|
|
|
8204
8204
|
} else {
|
|
8205
8205
|
nameHtml = _react2.default.createElement(
|
|
8206
8206
|
'div',
|
|
8207
|
-
{ className: 't-FC9 t-DIB t-
|
|
8207
|
+
{ className: 't-FC9 t-DIB t-FCblue', onClick: function onClick() {
|
|
8208
8208
|
t.handleNavClick(item.id, "personGroup", "");
|
|
8209
8209
|
} },
|
|
8210
8210
|
item.personalGroupName
|
|
@@ -8393,7 +8393,7 @@ var Page = function (_React$Component) {
|
|
|
8393
8393
|
{ className: t.state.userName == "" && t.state.isShowNav ? "t-BCf7 t-OFA t-WSN dd-bottom-border" : "t-DN" },
|
|
8394
8394
|
_react2.default.createElement(
|
|
8395
8395
|
'div',
|
|
8396
|
-
{ className: 't-PL16 t-LH42 t-
|
|
8396
|
+
{ className: 't-PL16 t-LH42 t-FCblue t-DIB', onClick: function onClick() {
|
|
8397
8397
|
t.handleNavClick("0", "user", "");
|
|
8398
8398
|
} },
|
|
8399
8399
|
'\u5168\u90E8'
|
|
@@ -8409,7 +8409,7 @@ var Page = function (_React$Component) {
|
|
|
8409
8409
|
} else {
|
|
8410
8410
|
nameHtml = _react2.default.createElement(
|
|
8411
8411
|
'div',
|
|
8412
|
-
{ className: 't-FC9 t-DIB t-
|
|
8412
|
+
{ className: 't-FC9 t-DIB t-FCblue', onClick: function onClick() {
|
|
8413
8413
|
t.handleNavClick(item.id, "user", "");
|
|
8414
8414
|
} },
|
|
8415
8415
|
item.orgName
|
|
@@ -8548,7 +8548,7 @@ var Page = function (_React$Component) {
|
|
|
8548
8548
|
if (index == 0) {
|
|
8549
8549
|
return _react2.default.createElement(
|
|
8550
8550
|
'div',
|
|
8551
|
-
{ className: 't-PL16 t-LH42 t-
|
|
8551
|
+
{ className: 't-PL16 t-LH42 t-FCblue t-DIB', onClick: function onClick() {
|
|
8552
8552
|
t.handleNavClick("0", "duty", "");
|
|
8553
8553
|
} },
|
|
8554
8554
|
'\u5168\u90E8'
|
|
@@ -8564,7 +8564,7 @@ var Page = function (_React$Component) {
|
|
|
8564
8564
|
} else {
|
|
8565
8565
|
nameHtml = _react2.default.createElement(
|
|
8566
8566
|
'div',
|
|
8567
|
-
{ className: 't-FC9 t-DIB t-
|
|
8567
|
+
{ className: 't-FC9 t-DIB t-FCblue', onClick: function onClick() {
|
|
8568
8568
|
t.handleNavClick(item.id, "duty", "");
|
|
8569
8569
|
} },
|
|
8570
8570
|
item.dutyName
|
|
@@ -8765,7 +8765,7 @@ var Page = function (_React$Component) {
|
|
|
8765
8765
|
if (index == 0) {
|
|
8766
8766
|
return _react2.default.createElement(
|
|
8767
8767
|
'div',
|
|
8768
|
-
{ className: 't-PL16 t-LH42 t-
|
|
8768
|
+
{ className: 't-PL16 t-LH42 t-FCblue t-DIB', onClick: function onClick() {
|
|
8769
8769
|
t.handleNavClick("0", "politicalOutlook", "");
|
|
8770
8770
|
} },
|
|
8771
8771
|
'\u5168\u90E8'
|
|
@@ -8781,7 +8781,7 @@ var Page = function (_React$Component) {
|
|
|
8781
8781
|
} else {
|
|
8782
8782
|
nameHtml = _react2.default.createElement(
|
|
8783
8783
|
'div',
|
|
8784
|
-
{ className: 't-FC9 t-DIB t-
|
|
8784
|
+
{ className: 't-FC9 t-DIB t-FCblue', onClick: function onClick() {
|
|
8785
8785
|
t.handleNavClick(item.id, "politicalOutlook", "");
|
|
8786
8786
|
} },
|
|
8787
8787
|
item.name
|
|
@@ -8941,7 +8941,7 @@ var Page = function (_React$Component) {
|
|
|
8941
8941
|
{ vAlign: 'center', className: 't-FBH t-FBAC t-PL10 t-BCf dd-top-border', style: { position: "fixed", bottom: '' + t.state.bottomHeight, left: "0px", right: "0px" } },
|
|
8942
8942
|
_react2.default.createElement(
|
|
8943
8943
|
Box,
|
|
8944
|
-
{ flex: 1, className: 't-FS16 t-
|
|
8944
|
+
{ flex: 1, className: 't-FS16 t-FCblue', onClick: function onClick() {
|
|
8945
8945
|
t.handleSelectClick(true);
|
|
8946
8946
|
} },
|
|
8947
8947
|
_react2.default.createElement(
|
package/lib/signature/sign.js
CHANGED
|
@@ -334,13 +334,13 @@ var Page = function (_React$Component) {
|
|
|
334
334
|
{ style: { background: '#f2f3f5', height: '35px', padding: '10px 5px' } },
|
|
335
335
|
_react2.default.createElement(
|
|
336
336
|
'span',
|
|
337
|
-
{ className: 't-
|
|
337
|
+
{ className: 't-FCblue' },
|
|
338
338
|
_react2.default.createElement('i', { className: 'iconfont icon-back t-rotate-180 t-FS14' }),
|
|
339
339
|
t.props.title
|
|
340
340
|
),
|
|
341
341
|
_react2.default.createElement(
|
|
342
342
|
'span',
|
|
343
|
-
{ onClick: t.popDraw.bind(t), className: 't-
|
|
343
|
+
{ onClick: t.popDraw.bind(t), className: 't-FCblue t-FR' },
|
|
344
344
|
t.state.fileId == "" ? "去手写签名" : "重写签名"
|
|
345
345
|
)
|
|
346
346
|
),
|