dlt-for-react 1.0.10 → 1.0.12
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 -3
- package/lib/components/KyInputPicker/setting-checkbox.js +8 -7
- package/lib/components/KyInputPicker/setting-multiSelect.js +7 -5
- package/lib/components/KyInputPicker/setting-nhcascader.js +11 -6
- package/lib/components/KyInputPicker/setting-select.js +7 -5
- package/lib/components/KyInputPicker/setting-stu-selector.js +7 -5
- package/lib/components/KyInputPicker/setting-tea-selector.js +7 -5
- package/lib/layouts/Login/index-pre.js +279 -254
- package/lib/layouts/Login/index.js +2 -2
- package/lib/layouts/Login/login.js +541 -543
- package/lib/layouts/Top/index.js +2 -20
- package/lib/layouts/layout/index.js +3 -2
- package/lib/layouts/mixTop/index.js +2 -27
- package/lib/layouts/settingDrawer/fontChange.js +3 -3
- package/lib/layouts/settingDrawer/index.js +92 -92
- package/lib/utils/NHCore.js +19 -12
- package/lib/utils/NHFetch.js +9 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#### 安装
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
npm install dlt-for-react --save
|
|
4
4
|
|
|
5
5
|
#### 发布
|
|
6
6
|
|
|
@@ -8,14 +8,23 @@ npm publish
|
|
|
8
8
|
|
|
9
9
|
## 前端 dlt-for-react 依赖包版本更新记录
|
|
10
10
|
|
|
11
|
-
##### 当前最新版本:1.0.
|
|
11
|
+
##### 当前最新版本:1.0.12
|
|
12
12
|
|
|
13
13
|
##### 安装依赖
|
|
14
14
|
|
|
15
|
-
>
|
|
15
|
+
> npm install dlt-for-react --save
|
|
16
16
|
|
|
17
17
|
##### 版本修改记录
|
|
18
18
|
|
|
19
|
+
#### V1.0.11—2023 年 10 月 23 日
|
|
20
|
+
|
|
21
|
+
1. 优化 NHFetch 支持文件上传模式兼容请求头配置 FormData
|
|
22
|
+
|
|
23
|
+
#### V1.0.11—2023 年 10 月 20 日
|
|
24
|
+
|
|
25
|
+
1. 将 zhxg 服务修改未 hq 服务
|
|
26
|
+
2. 修复默认字号未知错误
|
|
27
|
+
|
|
19
28
|
#### V1.0.10—2023 年 10 月 19 日
|
|
20
29
|
|
|
21
30
|
1. 修改获取参数配置请求接口的服务
|
|
@@ -465,8 +465,7 @@ var SettingCheckbox = function (_React$Component) {
|
|
|
465
465
|
fp.required = required;
|
|
466
466
|
fp.defaultValue = defaultValue;
|
|
467
467
|
fp.baseUrl = baseUrl;
|
|
468
|
-
fp.options = options;
|
|
469
|
-
fp.gridType = gridType, fp.columnsNum = columnsNum, this.setState({
|
|
468
|
+
fp.options = options;fp.gridType = gridType, fp.columnsNum = columnsNum, this.setState({
|
|
470
469
|
feature: this.props.initFeature,
|
|
471
470
|
defaultValueStr: defaultValueStr,
|
|
472
471
|
width: width,
|
|
@@ -695,7 +694,10 @@ var SettingCheckbox = function (_React$Component) {
|
|
|
695
694
|
),
|
|
696
695
|
_react2.default.createElement(
|
|
697
696
|
_tooltip2.default,
|
|
698
|
-
{
|
|
697
|
+
{
|
|
698
|
+
title: '不指定服务的情况下默认使用当前服务',
|
|
699
|
+
placement: 'top'
|
|
700
|
+
},
|
|
699
701
|
_react2.default.createElement(_icon2.default, { type: 'question-circle' })
|
|
700
702
|
)
|
|
701
703
|
),
|
|
@@ -707,8 +709,8 @@ var SettingCheckbox = function (_React$Component) {
|
|
|
707
709
|
dropdownMatchSelectWidth: false,
|
|
708
710
|
onChange: this.selectChange,
|
|
709
711
|
value: baseUrl,
|
|
710
|
-
baseUrl: this.props.serverUrl || 'api/
|
|
711
|
-
sign: this.props.serverSign || '
|
|
712
|
+
baseUrl: this.props.serverUrl || 'api/hq-xtgl',
|
|
713
|
+
sign: this.props.serverSign || 'hq_server_select'
|
|
712
714
|
})
|
|
713
715
|
)
|
|
714
716
|
),
|
|
@@ -845,6 +847,5 @@ var SettingCheckbox = function (_React$Component) {
|
|
|
845
847
|
}(_react2.default.Component);
|
|
846
848
|
|
|
847
849
|
SettingCheckbox.defaultProps = {
|
|
848
|
-
initFeature: ''
|
|
849
|
-
};
|
|
850
|
+
initFeature: '' };
|
|
850
851
|
exports.default = SettingCheckbox;
|
|
@@ -425,7 +425,10 @@ var SettingMultiSelect = function (_React$Component) {
|
|
|
425
425
|
),
|
|
426
426
|
_react2.default.createElement(
|
|
427
427
|
_tooltip2.default,
|
|
428
|
-
{
|
|
428
|
+
{
|
|
429
|
+
title: '不指定服务的情况下默认使用当前服务',
|
|
430
|
+
placement: 'top'
|
|
431
|
+
},
|
|
429
432
|
_react2.default.createElement(_icon2.default, { type: 'question-circle' })
|
|
430
433
|
)
|
|
431
434
|
),
|
|
@@ -436,8 +439,8 @@ var SettingMultiSelect = function (_React$Component) {
|
|
|
436
439
|
style: { marginLeft: 6, width: '200px' },
|
|
437
440
|
onChange: this.selectChange,
|
|
438
441
|
value: baseUrl,
|
|
439
|
-
baseUrl: this.props.serverUrl || 'api/
|
|
440
|
-
sign: this.props.serverSign || '
|
|
442
|
+
baseUrl: this.props.serverUrl || 'api/hq-xtgl',
|
|
443
|
+
sign: this.props.serverSign || 'hq_server_select'
|
|
441
444
|
})
|
|
442
445
|
)
|
|
443
446
|
),
|
|
@@ -527,6 +530,5 @@ var SettingMultiSelect = function (_React$Component) {
|
|
|
527
530
|
}(_react2.default.Component);
|
|
528
531
|
|
|
529
532
|
SettingMultiSelect.defaultProps = {
|
|
530
|
-
initFeature: ''
|
|
531
|
-
};
|
|
533
|
+
initFeature: '' };
|
|
532
534
|
exports.default = SettingMultiSelect;
|
|
@@ -451,7 +451,10 @@ var SettingNHCascader = function (_React$Component) {
|
|
|
451
451
|
),
|
|
452
452
|
_react2.default.createElement(
|
|
453
453
|
_tooltip2.default,
|
|
454
|
-
{
|
|
454
|
+
{
|
|
455
|
+
title: '不指定服务的情况下默认使用当前服务',
|
|
456
|
+
placement: 'top'
|
|
457
|
+
},
|
|
455
458
|
_react2.default.createElement(_icon2.default, { type: 'question-circle' })
|
|
456
459
|
)
|
|
457
460
|
),
|
|
@@ -462,8 +465,8 @@ var SettingNHCascader = function (_React$Component) {
|
|
|
462
465
|
style: { marginLeft: 6, width: '200px' },
|
|
463
466
|
onChange: this.selectChange,
|
|
464
467
|
value: baseUrl,
|
|
465
|
-
baseUrl: this.props.serverUrl || 'api/
|
|
466
|
-
sign: this.props.serverSign || '
|
|
468
|
+
baseUrl: this.props.serverUrl || 'api/hq-xtgl',
|
|
469
|
+
sign: this.props.serverSign || 'hq_server_select'
|
|
467
470
|
})
|
|
468
471
|
)
|
|
469
472
|
),
|
|
@@ -540,7 +543,10 @@ var SettingNHCascader = function (_React$Component) {
|
|
|
540
543
|
{ span: 6 },
|
|
541
544
|
_react2.default.createElement(
|
|
542
545
|
_checkbox2.default,
|
|
543
|
-
{
|
|
546
|
+
{
|
|
547
|
+
onChange: this.cascadeV5Change,
|
|
548
|
+
checked: threeOrMoreCascade
|
|
549
|
+
},
|
|
544
550
|
'\u652F\u6301\u4E09\u7EA7\u4EE5\u4E0A\u7EA7\u8054'
|
|
545
551
|
)
|
|
546
552
|
)
|
|
@@ -579,6 +585,5 @@ var SettingNHCascader = function (_React$Component) {
|
|
|
579
585
|
}(_react2.default.Component);
|
|
580
586
|
|
|
581
587
|
SettingNHCascader.defaultProps = {
|
|
582
|
-
initFeature: ''
|
|
583
|
-
};
|
|
588
|
+
initFeature: '' };
|
|
584
589
|
exports.default = SettingNHCascader;
|
|
@@ -426,7 +426,10 @@ var SettingSelect = function (_React$Component) {
|
|
|
426
426
|
),
|
|
427
427
|
_react2.default.createElement(
|
|
428
428
|
_tooltip2.default,
|
|
429
|
-
{
|
|
429
|
+
{
|
|
430
|
+
title: '不指定服务的情况下默认使用当前服务',
|
|
431
|
+
placement: 'top'
|
|
432
|
+
},
|
|
430
433
|
_react2.default.createElement(_icon2.default, { type: 'question-circle' })
|
|
431
434
|
)
|
|
432
435
|
),
|
|
@@ -439,8 +442,8 @@ var SettingSelect = function (_React$Component) {
|
|
|
439
442
|
onChange: this.selectChange,
|
|
440
443
|
value: baseUrl
|
|
441
444
|
// dataSource={systemApiType}
|
|
442
|
-
, baseUrl: this.props.serverUrl || 'api/
|
|
443
|
-
sign: this.props.serverSign || '
|
|
445
|
+
, baseUrl: this.props.serverUrl || 'api/hq-xtgl',
|
|
446
|
+
sign: this.props.serverSign || 'hq_server_select'
|
|
444
447
|
})
|
|
445
448
|
)
|
|
446
449
|
),
|
|
@@ -529,6 +532,5 @@ var SettingSelect = function (_React$Component) {
|
|
|
529
532
|
}(_react2.default.Component);
|
|
530
533
|
|
|
531
534
|
SettingSelect.defaultProps = {
|
|
532
|
-
initFeature: ''
|
|
533
|
-
};
|
|
535
|
+
initFeature: '' };
|
|
534
536
|
exports.default = SettingSelect;
|
|
@@ -426,7 +426,10 @@ var SettingStuSelector = function (_React$Component) {
|
|
|
426
426
|
),
|
|
427
427
|
_react2.default.createElement(
|
|
428
428
|
_tooltip2.default,
|
|
429
|
-
{
|
|
429
|
+
{
|
|
430
|
+
title: '不指定服务的情况下默认使用当前服务',
|
|
431
|
+
placement: 'top'
|
|
432
|
+
},
|
|
430
433
|
_react2.default.createElement(_icon2.default, { type: 'question-circle' })
|
|
431
434
|
)
|
|
432
435
|
),
|
|
@@ -438,8 +441,8 @@ var SettingStuSelector = function (_React$Component) {
|
|
|
438
441
|
dropdownMatchSelectWidth: false,
|
|
439
442
|
onChange: this.selectChange,
|
|
440
443
|
value: baseUrl,
|
|
441
|
-
baseUrl: this.props.serverUrl || 'api/
|
|
442
|
-
sign: this.props.serverSign || '
|
|
444
|
+
baseUrl: this.props.serverUrl || 'api/hq-xtgl',
|
|
445
|
+
sign: this.props.serverSign || 'hq_server_select'
|
|
443
446
|
})
|
|
444
447
|
)
|
|
445
448
|
),
|
|
@@ -502,6 +505,5 @@ var SettingStuSelector = function (_React$Component) {
|
|
|
502
505
|
}(_react2.default.Component);
|
|
503
506
|
|
|
504
507
|
SettingStuSelector.defaultProps = {
|
|
505
|
-
initFeature: ''
|
|
506
|
-
};
|
|
508
|
+
initFeature: '' };
|
|
507
509
|
exports.default = SettingStuSelector;
|
|
@@ -426,7 +426,10 @@ var SettingTeaSelector = function (_React$Component) {
|
|
|
426
426
|
),
|
|
427
427
|
_react2.default.createElement(
|
|
428
428
|
_tooltip2.default,
|
|
429
|
-
{
|
|
429
|
+
{
|
|
430
|
+
title: '不指定服务的情况下默认使用当前服务',
|
|
431
|
+
placement: 'top'
|
|
432
|
+
},
|
|
430
433
|
_react2.default.createElement(_icon2.default, { type: 'question-circle' })
|
|
431
434
|
)
|
|
432
435
|
),
|
|
@@ -438,8 +441,8 @@ var SettingTeaSelector = function (_React$Component) {
|
|
|
438
441
|
dropdownMatchSelectWidth: false,
|
|
439
442
|
onChange: this.selectChange,
|
|
440
443
|
value: baseUrl,
|
|
441
|
-
baseUrl: this.props.serverUrl || 'api/
|
|
442
|
-
sign: this.props.serverSign || '
|
|
444
|
+
baseUrl: this.props.serverUrl || 'api/hq-xtgl',
|
|
445
|
+
sign: this.props.serverSign || 'hq_server_select'
|
|
443
446
|
})
|
|
444
447
|
)
|
|
445
448
|
),
|
|
@@ -502,6 +505,5 @@ var SettingTeaSelector = function (_React$Component) {
|
|
|
502
505
|
}(_react2.default.Component);
|
|
503
506
|
|
|
504
507
|
SettingTeaSelector.defaultProps = {
|
|
505
|
-
initFeature: ''
|
|
506
|
-
};
|
|
508
|
+
initFeature: '' };
|
|
507
509
|
exports.default = SettingTeaSelector;
|