fmui-base 2.0.44 → 2.0.46
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/chart/chart.js +6 -1
- package/lib/css/react_grid.css +798 -826
- package/lib/db/db.js +1 -1
- package/lib/poppage/tree/tree.js +3 -3
- package/lib/react_grid/react_grid.js +17 -21
- package/lib/react_grid/react_grid.less +3 -2
- package/lib/select-fileno/pageHome.js +1 -1
- package/lib/select-serialnumber/pageHome.js +1 -1
- package/lib/select-serialnumber/pageHome1.js +1 -1
- package/lib/signature/draw.js +3 -3
- package/lib/signature/sign.less +73 -73
- package/lib/signature//346/211/213/345/206/231/347/255/276/345/220/215/344/275/277/347/224/250/346/226/207/346/241/243.md +11 -11
- package/package.json +1 -1
package/lib/db/db.js
CHANGED
package/lib/poppage/tree/tree.js
CHANGED
|
@@ -498,6 +498,8 @@ var MyGrid = function (_React$Component) {
|
|
|
498
498
|
} else if (type == 'bssx') {
|
|
499
499
|
//办事事项
|
|
500
500
|
location.hash = "officehall";
|
|
501
|
+
} else if (type == "jxzt") {
|
|
502
|
+
location.hash = "officehall";
|
|
501
503
|
}
|
|
502
504
|
}
|
|
503
505
|
|
|
@@ -629,7 +631,7 @@ var MyGrid = function (_React$Component) {
|
|
|
629
631
|
{ className: isShowList.indexOf('AI') > -1 ? 't-FAC' : 't-DN', onClick: function onClick() {
|
|
630
632
|
t.gotoYd();
|
|
631
633
|
} },
|
|
632
|
-
_react2.default.createElement('i', { className: 'iconfont icon-
|
|
634
|
+
_react2.default.createElement('i', { className: 'iconfont-ywtb icon-ywtb-sousuo1' }),
|
|
633
635
|
_react2.default.createElement(
|
|
634
636
|
'div',
|
|
635
637
|
{ className: 't-FS12 t-MT4' },
|
|
@@ -957,8 +959,6 @@ var MyGrid = function (_React$Component) {
|
|
|
957
959
|
)
|
|
958
960
|
)
|
|
959
961
|
);
|
|
960
|
-
} else {
|
|
961
|
-
componentContent = '';
|
|
962
962
|
}
|
|
963
963
|
}
|
|
964
964
|
if (item.portletCode === 'xwzx') {
|
|
@@ -1074,10 +1074,7 @@ var MyGrid = function (_React$Component) {
|
|
|
1074
1074
|
) : _react2.default.createElement('img', { className: 't-W100 t-PL10 t-PR10', src: '../../../fmui/images/home/nodata.png' })
|
|
1075
1075
|
);
|
|
1076
1076
|
});
|
|
1077
|
-
} else {
|
|
1078
|
-
componentContent = '';
|
|
1079
1077
|
}
|
|
1080
|
-
|
|
1081
1078
|
if (t.state[item.portletCode + '_' + item.id] && t.state[item.portletCode + '_' + item.id].length > 0) {
|
|
1082
1079
|
componentContent = _react2.default.createElement(
|
|
1083
1080
|
_Tab2.default,
|
|
@@ -1262,7 +1259,7 @@ var MyGrid = function (_React$Component) {
|
|
|
1262
1259
|
_react2.default.createElement(_Tab2.default.Item, { title: _react2.default.createElement(
|
|
1263
1260
|
'div',
|
|
1264
1261
|
{ className: '', style: { color: styleSetting.titleSet.titleColor, fontWeight: styleSetting.titleSet.titleWeight == 1 ? 700 : '', fontSize: styleSetting.titleSet.titleSize, fontFamily: styleSetting.titleSet.titleFamily, fontStyle: styleSetting.titleSet.titleItalic === "1" ? "italic" : '' } },
|
|
1265
|
-
|
|
1262
|
+
item.title
|
|
1266
1263
|
), key: '0' })
|
|
1267
1264
|
)
|
|
1268
1265
|
);
|
|
@@ -1440,7 +1437,7 @@ var MyGrid = function (_React$Component) {
|
|
|
1440
1437
|
_react2.default.createElement(_Tab2.default.Item, { title: _react2.default.createElement(
|
|
1441
1438
|
'div',
|
|
1442
1439
|
{ className: '', style: { color: styleSetting.titleSet.titleColor, fontWeight: styleSetting.titleSet.titleWeight == 1 ? 700 : '', fontSize: styleSetting.titleSet.titleSize, fontFamily: styleSetting.titleSet.titleFamily, fontStyle: styleSetting.titleSet.titleItalic === "1" ? "italic" : '' } },
|
|
1443
|
-
|
|
1440
|
+
item.title
|
|
1444
1441
|
), key: '0' })
|
|
1445
1442
|
)
|
|
1446
1443
|
);
|
|
@@ -1467,12 +1464,11 @@ var MyGrid = function (_React$Component) {
|
|
|
1467
1464
|
_react2.default.createElement(_Tab2.default.Item, { title: _react2.default.createElement(
|
|
1468
1465
|
'div',
|
|
1469
1466
|
{ className: '', style: { color: styleSetting.titleSet.titleColor, fontWeight: styleSetting.titleSet.titleWeight == 1 ? 700 : '', fontSize: styleSetting.titleSet.titleSize, fontFamily: styleSetting.titleSet.titleFamily, fontStyle: styleSetting.titleSet.titleItalic === "1" ? "italic" : '' } },
|
|
1470
|
-
|
|
1467
|
+
item.title
|
|
1471
1468
|
), key: '0' })
|
|
1472
1469
|
)
|
|
1473
1470
|
);
|
|
1474
|
-
|
|
1475
|
-
if (t.state[item.portletCode + '_' + item.id]) {
|
|
1471
|
+
if (t.state[item.portletCode + '_' + item.id] && t.state[item.portletCode + '_' + item.id].length > 0) {
|
|
1476
1472
|
componentContent = _react2.default.createElement(
|
|
1477
1473
|
_Grid2.default,
|
|
1478
1474
|
{ col: personalSetting.cols * 1, className: 'sxbl_buttons' },
|
|
@@ -1498,7 +1494,7 @@ var MyGrid = function (_React$Component) {
|
|
|
1498
1494
|
_react2.default.createElement(_Tab2.default.Item, { title: _react2.default.createElement(
|
|
1499
1495
|
'div',
|
|
1500
1496
|
{ className: '', style: { color: styleSetting.titleSet.titleColor, fontWeight: styleSetting.titleSet.titleWeight == 1 ? 700 : '', fontSize: styleSetting.titleSet.titleSize, fontFamily: styleSetting.titleSet.titleFamily, fontStyle: styleSetting.titleSet.titleItalic === "1" ? "italic" : '' } },
|
|
1501
|
-
|
|
1497
|
+
item.title
|
|
1502
1498
|
), key: '0' })
|
|
1503
1499
|
)
|
|
1504
1500
|
);
|
|
@@ -1521,12 +1517,12 @@ var MyGrid = function (_React$Component) {
|
|
|
1521
1517
|
_react2.default.createElement(_Tab2.default.Item, { title: _react2.default.createElement(
|
|
1522
1518
|
'div',
|
|
1523
1519
|
{ className: '', style: { color: styleSetting.titleSet.titleColor, fontWeight: styleSetting.titleSet.titleWeight == 1 ? 700 : '', fontSize: styleSetting.titleSet.titleSize, fontFamily: styleSetting.titleSet.titleFamily, fontStyle: styleSetting.titleSet.titleItalic === "1" ? "italic" : '' } },
|
|
1524
|
-
|
|
1520
|
+
item.title
|
|
1525
1521
|
), key: '0' })
|
|
1526
1522
|
)
|
|
1527
1523
|
);
|
|
1528
1524
|
var wdsxList = '';
|
|
1529
|
-
if (t.state[item.portletCode + '_' + item.id]) {
|
|
1525
|
+
if (t.state[item.portletCode + '_' + item.id] && t.state[item.portletCode + '_' + item.id].length > 0) {
|
|
1530
1526
|
wdsxList = t.state[item.portletCode + '_' + item.id].map(function (item) {
|
|
1531
1527
|
return _react2.default.createElement(
|
|
1532
1528
|
'div',
|
|
@@ -1566,12 +1562,12 @@ var MyGrid = function (_React$Component) {
|
|
|
1566
1562
|
)
|
|
1567
1563
|
);
|
|
1568
1564
|
});
|
|
1565
|
+
componentContent = _react2.default.createElement(
|
|
1566
|
+
'div',
|
|
1567
|
+
{ className: 'list-RT-label wdsx-list' },
|
|
1568
|
+
wdsxList
|
|
1569
|
+
);
|
|
1569
1570
|
}
|
|
1570
|
-
componentContent = _react2.default.createElement(
|
|
1571
|
-
'div',
|
|
1572
|
-
{ className: 'list-RT-label wdsx-list' },
|
|
1573
|
-
wdsxList
|
|
1574
|
-
);
|
|
1575
1571
|
}
|
|
1576
1572
|
if (item.portletCode === 'jxzt') {
|
|
1577
1573
|
componentHead = _react2.default.createElement(
|
|
@@ -1589,7 +1585,7 @@ var MyGrid = function (_React$Component) {
|
|
|
1589
1585
|
_react2.default.createElement(_Tab2.default.Item, { title: _react2.default.createElement(
|
|
1590
1586
|
'div',
|
|
1591
1587
|
{ className: '', style: { color: styleSetting.titleSet.titleColor, fontWeight: styleSetting.titleSet.titleWeight == 1 ? 700 : '', fontSize: styleSetting.titleSet.titleSize, fontFamily: styleSetting.titleSet.titleFamily, fontStyle: styleSetting.titleSet.titleItalic === "1" ? "italic" : '' } },
|
|
1592
|
-
|
|
1588
|
+
item.title
|
|
1593
1589
|
), key: '0' })
|
|
1594
1590
|
)
|
|
1595
1591
|
);
|
|
@@ -1605,7 +1601,7 @@ var MyGrid = function (_React$Component) {
|
|
|
1605
1601
|
{ title: '\u6807\u9898', code: item.code, className: 't-image-slide-item t-R10', style: { backgroundImage: 'url(' + imgUrlPath + ')' } },
|
|
1606
1602
|
_react2.default.createElement(
|
|
1607
1603
|
'p',
|
|
1608
|
-
{ className: 't-FS20 t-ML20 t-PT20 t-MB10
|
|
1604
|
+
{ className: 't-FS20 t-ML20 t-PT20 t-MB10' },
|
|
1609
1605
|
item.name
|
|
1610
1606
|
)
|
|
1611
1607
|
);
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
|
|
24
24
|
div {
|
|
25
25
|
max-width: 81px;
|
|
26
|
+
height: inherit;
|
|
26
27
|
white-space: nowrap;
|
|
27
28
|
overflow: hidden;
|
|
28
29
|
text-overflow: ellipsis;
|
|
@@ -197,7 +198,7 @@
|
|
|
197
198
|
}
|
|
198
199
|
|
|
199
200
|
.t-grid {
|
|
200
|
-
margin: 8px;
|
|
201
|
+
margin: 0 8px;
|
|
201
202
|
border: none;
|
|
202
203
|
|
|
203
204
|
.t-grid-row {
|
|
@@ -482,7 +483,7 @@
|
|
|
482
483
|
}
|
|
483
484
|
|
|
484
485
|
.jxzt-content {
|
|
485
|
-
margin: 16px;
|
|
486
|
+
margin: 0 16px;
|
|
486
487
|
.t-image-slide-item {
|
|
487
488
|
// height: 91px !important;
|
|
488
489
|
background-image: url(/mobile/fmui/images/notice-card-bg.png);
|
package/lib/signature/draw.js
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
/**
|
|
7
|
-
* Created by louizhai on 17/6/30.
|
|
8
|
-
* description: Use canvas to draw.
|
|
6
|
+
/**
|
|
7
|
+
* Created by louizhai on 17/6/30.
|
|
8
|
+
* description: Use canvas to draw.
|
|
9
9
|
*/
|
|
10
10
|
function Draw(canvas, degree) {
|
|
11
11
|
var config = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
package/lib/signature/sign.less
CHANGED
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
.page-demo {
|
|
2
|
-
color:#666;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
#canvasBox {
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
height: 100%;
|
|
10
|
-
}
|
|
11
|
-
.greet {
|
|
12
|
-
padding: 20px;
|
|
13
|
-
font-size: 20px;
|
|
14
|
-
user-select: none;
|
|
15
|
-
}
|
|
16
|
-
.greet a {
|
|
17
|
-
cursor: pointer;
|
|
18
|
-
}
|
|
19
|
-
.greet select {
|
|
20
|
-
font-size: 18px;
|
|
21
|
-
}
|
|
22
|
-
canvas {
|
|
23
|
-
flex: 1;
|
|
24
|
-
//border: 0.5px solid #ccc;
|
|
25
|
-
cursor: crosshair;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
@media screen and (orientation: portrait) {
|
|
32
|
-
.dd-write-sign-page {
|
|
33
|
-
position: absolute;
|
|
34
|
-
width: 100vh;
|
|
35
|
-
height: 100vw;
|
|
36
|
-
top: 0;
|
|
37
|
-
left: 100vw;
|
|
38
|
-
-webkit-transform: rotate(90deg);
|
|
39
|
-
-moz-transform: rotate(90deg);
|
|
40
|
-
-ms-transform: rotate(90deg);
|
|
41
|
-
transform: rotate(90deg);
|
|
42
|
-
transform-origin: 0% 0%;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
@media screen and (orientation: landscape) {
|
|
47
|
-
.dd-write-sign-page {
|
|
48
|
-
-webkit-transform: rotate(0);
|
|
49
|
-
-moz-transform: rotate(0);
|
|
50
|
-
-ms-transform: rotate(0);
|
|
51
|
-
transform: rotate(0)
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.dd-write-sign {
|
|
56
|
-
height: calc(~"100% - 83px");
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.dd-write-sign-del.t-text-button {
|
|
60
|
-
height: 32px;
|
|
61
|
-
line-height: 32px;
|
|
62
|
-
|
|
63
|
-
.iconfont {
|
|
64
|
-
height: 32px;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
.img-border{
|
|
68
|
-
border:1px solid #ccc;
|
|
69
|
-
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
1
|
+
.page-demo {
|
|
2
|
+
color:#666;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
#canvasBox {
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
height: 100%;
|
|
10
|
+
}
|
|
11
|
+
.greet {
|
|
12
|
+
padding: 20px;
|
|
13
|
+
font-size: 20px;
|
|
14
|
+
user-select: none;
|
|
15
|
+
}
|
|
16
|
+
.greet a {
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
}
|
|
19
|
+
.greet select {
|
|
20
|
+
font-size: 18px;
|
|
21
|
+
}
|
|
22
|
+
canvas {
|
|
23
|
+
flex: 1;
|
|
24
|
+
//border: 0.5px solid #ccc;
|
|
25
|
+
cursor: crosshair;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
@media screen and (orientation: portrait) {
|
|
32
|
+
.dd-write-sign-page {
|
|
33
|
+
position: absolute;
|
|
34
|
+
width: 100vh;
|
|
35
|
+
height: 100vw;
|
|
36
|
+
top: 0;
|
|
37
|
+
left: 100vw;
|
|
38
|
+
-webkit-transform: rotate(90deg);
|
|
39
|
+
-moz-transform: rotate(90deg);
|
|
40
|
+
-ms-transform: rotate(90deg);
|
|
41
|
+
transform: rotate(90deg);
|
|
42
|
+
transform-origin: 0% 0%;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@media screen and (orientation: landscape) {
|
|
47
|
+
.dd-write-sign-page {
|
|
48
|
+
-webkit-transform: rotate(0);
|
|
49
|
+
-moz-transform: rotate(0);
|
|
50
|
+
-ms-transform: rotate(0);
|
|
51
|
+
transform: rotate(0)
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.dd-write-sign {
|
|
56
|
+
height: calc(~"100% - 83px");
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.dd-write-sign-del.t-text-button {
|
|
60
|
+
height: 32px;
|
|
61
|
+
line-height: 32px;
|
|
62
|
+
|
|
63
|
+
.iconfont {
|
|
64
|
+
height: 32px;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
.img-border{
|
|
68
|
+
border:1px solid #ccc;
|
|
69
|
+
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
# 手写签名使用文档
|
|
2
|
-
|
|
3
|
-
1. 安装fmui 0.0.36-ygy以上的版本
|
|
4
|
-
2. 引用: import Sign from 'fmui/lib/signature';
|
|
5
|
-
3. 写标签
|
|
6
|
-
```
|
|
7
|
-
<Sign upload={(val)=>{alert(val)}}/>
|
|
8
|
-
```
|
|
9
|
-
4. 参数
|
|
10
|
-
- upload : (必填项)回调方法,返回参数为生成手写签名图片的id
|
|
11
|
-
- title : (必填项)显示的输入框标题
|
|
1
|
+
# 手写签名使用文档
|
|
2
|
+
|
|
3
|
+
1. 安装fmui 0.0.36-ygy以上的版本
|
|
4
|
+
2. 引用: import Sign from 'fmui/lib/signature';
|
|
5
|
+
3. 写标签
|
|
6
|
+
```
|
|
7
|
+
<Sign upload={(val)=>{alert(val)}}/>
|
|
8
|
+
```
|
|
9
|
+
4. 参数
|
|
10
|
+
- upload : (必填项)回调方法,返回参数为生成手写签名图片的id
|
|
11
|
+
- title : (必填项)显示的输入框标题
|
|
12
12
|
- fileId : 初始化签名图片文件id
|