vue2-client 1.22.2 → 1.22.4
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/.claude/settings.local.json +30 -30
- package/.eslintrc.js +74 -74
- package/.idea/.name +1 -0
- package/.idea/MarsCodeWorkspaceAppSettings.xml +2 -1
- package/.idea/af-vue2-client.iml +9 -0
- package/.idea/deployment.xml +14 -0
- package/.idea/gradle.xml +7 -0
- package/.idea/inspectionProfiles/Project_Default.xml +0 -18
- package/.idea/libraries/contour_plot.xml +9 -0
- package/.idea/material_theme_project_new.xml +18 -0
- package/.idea/misc.xml +88 -0
- package/.idea/modules.xml +1 -1
- package/Components.md +60 -60
- package/index.js +31 -31
- package/jest-transform-stub.js +8 -8
- package/jest.setup.js +7 -7
- package/package.json +1 -1
- package/src/assets/img/querySlotDemo.svg +15 -15
- package/src/base-client/components/common/AmapMarker/AmapPointRendering.vue +120 -120
- package/src/base-client/components/common/CitySelect/index.js +3 -3
- package/src/base-client/components/common/CitySelect/index.md +109 -109
- package/src/base-client/components/common/FormGroupEdit/index.js +3 -3
- package/src/base-client/components/common/FormGroupEdit/index.md +43 -43
- package/src/base-client/components/common/HIS/HButtons/HButtons.vue +55 -1
- package/src/base-client/components/common/HIS/HTab/HTab.vue +88 -1
- package/src/base-client/components/common/JSONToTree/jsontotree.vue +271 -271
- package/src/base-client/components/common/PersonSetting/index.js +3 -3
- package/src/base-client/components/common/Tree/index.js +2 -2
- package/src/base-client/components/common/Upload/index.js +3 -3
- package/src/base-client/components/common/XAddNativeForm/index.md +146 -146
- package/src/base-client/components/common/XAddReport/XAddReport.vue +16 -1
- package/src/base-client/components/common/XCard/XCard.vue +64 -64
- package/src/base-client/components/common/XDataDrawer/XDataDrawer.vue +180 -180
- package/src/base-client/components/common/XDataDrawer/index.js +3 -3
- package/src/base-client/components/common/XDataDrawer/index.md +41 -41
- package/src/base-client/components/common/XDescriptions/index.js +3 -3
- package/src/base-client/components/common/XDescriptions/index.md +382 -382
- package/src/base-client/components/common/XForm/index.md +178 -178
- package/src/base-client/components/common/XInput/XInput.vue +32 -1
- package/src/base-client/components/common/XInspectionDetailDrawer/index.vue +1 -1
- package/src/base-client/components/common/XStepView/XStepView.vue +252 -252
- package/src/base-client/components/common/XStepView/index.js +3 -3
- package/src/base-client/components/common/XStepView/index.md +31 -31
- package/src/base-client/components/common/XTable/index.md +255 -255
- package/src/base-client/components/his/HAi/HAi.vue +800 -59
- package/src/base-client/components/his/XList/XList.vue +337 -58
- package/src/base-client/components/his/XSidebar/XSidebar.vue +36 -12
- package/src/base-client/components/system/DictionaryDetailsView/DictionaryDetailsView.vue +232 -232
- package/src/base-client/plugins/Config.js +19 -19
- package/src/base-client/plugins/GetLoginInfoService.js +4 -4
- package/src/base-client/plugins/tabs-page-plugin.js +39 -39
- package/src/components/Charts/Bar.vue +62 -62
- package/src/components/Charts/ChartCard.vue +134 -134
- package/src/components/Charts/Liquid.vue +67 -67
- package/src/components/Charts/MiniArea.vue +39 -39
- package/src/components/Charts/MiniBar.vue +39 -39
- package/src/components/Charts/MiniProgress.vue +75 -75
- package/src/components/Charts/MiniSmoothArea.vue +40 -40
- package/src/components/Charts/Radar.vue +68 -68
- package/src/components/Charts/RankList.vue +77 -77
- package/src/components/Charts/TagCloud.vue +113 -113
- package/src/components/Charts/TransferBar.vue +64 -64
- package/src/components/Charts/Trend.vue +82 -82
- package/src/components/Charts/chart.less +12 -12
- package/src/components/Charts/smooth.area.less +13 -13
- package/src/components/NumberInfo/NumberInfo.vue +54 -54
- package/src/components/NumberInfo/index.js +3 -3
- package/src/components/NumberInfo/index.less +54 -54
- package/src/components/NumberInfo/index.md +43 -43
- package/src/components/STable/index.js +953 -953
- package/src/components/card/ChartCard.vue +79 -79
- package/src/components/chart/Bar.vue +60 -60
- package/src/components/chart/MiniArea.vue +67 -67
- package/src/components/chart/MiniBar.vue +59 -59
- package/src/components/chart/MiniProgress.vue +57 -57
- package/src/components/chart/Radar.vue +80 -80
- package/src/components/chart/RankingList.vue +60 -60
- package/src/components/chart/Trend.vue +79 -79
- package/src/components/chart/index.less +9 -9
- package/src/components/checkbox/ColorCheckbox.vue +157 -157
- package/src/components/input/IInput.vue +66 -66
- package/src/components/menu/SideMenu.vue +75 -75
- package/src/components/menu/menu.js +273 -273
- package/src/components/tool/AStepItem.vue +60 -60
- package/src/layouts/CommonLayout.vue +56 -56
- package/src/lib.js +1 -1
- package/src/mock/extend/index.js +84 -84
- package/src/mock/goods/index.js +108 -108
- package/src/pages/dashboard/workplace/WorkPlace.vue +141 -141
- package/src/pages/system/dictionary/index.vue +44 -44
- package/src/pages/system/monitor/loginInfor/index.vue +37 -37
- package/src/pages/system/monitor/operLog/index.vue +37 -37
- package/src/services/api/cas.js +79 -79
- package/src/store/modules/setting.js +119 -119
- package/src/utils/errorCode.js +6 -6
- package/src/utils/login.js +11 -11
- package//350/277/201/347/247/273/346/227/245/345/277/227.md +15 -15
- package/.idea/google-java-format.xml +0 -6
- package/.idea/jsLinters/eslint.xml +0 -6
- package/.idea/vue2-client.iml +0 -12
- package/.vscode/settings.json +0 -28
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
# FormGroupEdit 表单参数组配置编辑
|
|
2
|
-
|
|
3
|
-
提供表单参数组配置编辑的快捷组件
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
## 何时使用
|
|
8
|
-
|
|
9
|
-
允许通过表单参数组编辑参数
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
引用方式:
|
|
14
|
-
|
|
15
|
-
```javascript
|
|
16
|
-
import FormGroupEdit from '@vue2-client/base-client/components/FormGroupEdit'
|
|
17
|
-
|
|
18
|
-
export default {
|
|
19
|
-
components: {
|
|
20
|
-
FormGroupEdit
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
## 代码演示
|
|
28
|
-
|
|
29
|
-
```html
|
|
30
|
-
<form-group-edit
|
|
31
|
-
@getColumnJson="getColumnJson"
|
|
32
|
-
:visible.sync="createQueryVisible"
|
|
33
|
-
@saveQueryParams="saveQueryParams"
|
|
34
|
-
/>
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
## API
|
|
38
|
-
|
|
39
|
-
| 参数 | 说明 | 类型 | 默认值 |
|
|
40
|
-
|------------------|------------|---------|-------|
|
|
41
|
-
| visible | 是否显示 | Boolean | false |
|
|
42
|
-
| @getColumnJson | 获取表单配置方法 | event | - |
|
|
43
|
-
| @saveQueryParams | 存储查询配置信息事件 | event | - |
|
|
1
|
+
# FormGroupEdit 表单参数组配置编辑
|
|
2
|
+
|
|
3
|
+
提供表单参数组配置编辑的快捷组件
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
## 何时使用
|
|
8
|
+
|
|
9
|
+
允许通过表单参数组编辑参数
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
引用方式:
|
|
14
|
+
|
|
15
|
+
```javascript
|
|
16
|
+
import FormGroupEdit from '@vue2-client/base-client/components/FormGroupEdit'
|
|
17
|
+
|
|
18
|
+
export default {
|
|
19
|
+
components: {
|
|
20
|
+
FormGroupEdit
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
## 代码演示
|
|
28
|
+
|
|
29
|
+
```html
|
|
30
|
+
<form-group-edit
|
|
31
|
+
@getColumnJson="getColumnJson"
|
|
32
|
+
:visible.sync="createQueryVisible"
|
|
33
|
+
@saveQueryParams="saveQueryParams"
|
|
34
|
+
/>
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## API
|
|
38
|
+
|
|
39
|
+
| 参数 | 说明 | 类型 | 默认值 |
|
|
40
|
+
|------------------|------------|---------|-------|
|
|
41
|
+
| visible | 是否显示 | Boolean | false |
|
|
42
|
+
| @getColumnJson | 获取表单配置方法 | event | - |
|
|
43
|
+
| @saveQueryParams | 存储查询配置信息事件 | event | - |
|
|
@@ -40,7 +40,8 @@ const wrapperClassObject = computed(() => {
|
|
|
40
40
|
'no-boder-style',
|
|
41
41
|
'form-inline',
|
|
42
42
|
'one-button-style', // 一个按钮样式,占满整个宽度
|
|
43
|
-
'useStyle10' // 左侧蓝色圆点指示器样式
|
|
43
|
+
'useStyle10', // 左侧蓝色圆点指示器样式
|
|
44
|
+
'custom-icon-style' // 自定义图标边框样式
|
|
44
45
|
]
|
|
45
46
|
for (const key of booleanStyleKeys) {
|
|
46
47
|
const val = a[key]
|
|
@@ -690,5 +691,58 @@ defineExpose({
|
|
|
690
691
|
}
|
|
691
692
|
}
|
|
692
693
|
}
|
|
694
|
+
|
|
695
|
+
// 自定义图标边框样式
|
|
696
|
+
&.h-buttons-custom-icon-style {
|
|
697
|
+
:deep(.x-buttons) {
|
|
698
|
+
.ant-btn-group {
|
|
699
|
+
width: 100%;
|
|
700
|
+
justify-content: space-between;
|
|
701
|
+
display: flex;
|
|
702
|
+
flex-wrap: nowrap;
|
|
703
|
+
|
|
704
|
+
.ant-btn {
|
|
705
|
+
width: 100%;
|
|
706
|
+
margin-right: 0px !important;
|
|
707
|
+
min-width: 100% !important;
|
|
708
|
+
height: 32px;
|
|
709
|
+
border-radius: 6px;
|
|
710
|
+
opacity: 1;
|
|
711
|
+
background: #FFFFFF;
|
|
712
|
+
box-sizing: border-box;
|
|
713
|
+
border: 1px solid #9499A0;
|
|
714
|
+
font-family: "Source Han Sans";
|
|
715
|
+
font-size: 16px;
|
|
716
|
+
font-weight: normal;
|
|
717
|
+
line-height: normal;
|
|
718
|
+
letter-spacing: 0em;
|
|
719
|
+
color: #313131;
|
|
720
|
+
display: inline-flex;
|
|
721
|
+
align-items: center;
|
|
722
|
+
justify-content: center;
|
|
723
|
+
gap: 8px;
|
|
724
|
+
|
|
725
|
+
.anticon {
|
|
726
|
+
width: 18px;
|
|
727
|
+
height: 18px;
|
|
728
|
+
opacity: 1;
|
|
729
|
+
background: #0057FE;
|
|
730
|
+
border-radius: 50%;
|
|
731
|
+
display: inline-flex;
|
|
732
|
+
align-items: center;
|
|
733
|
+
justify-content: center;
|
|
734
|
+
position: relative;
|
|
735
|
+
flex-shrink: 0;
|
|
736
|
+
color: #FFFFFF;
|
|
737
|
+
|
|
738
|
+
svg {
|
|
739
|
+
width: 12px;
|
|
740
|
+
height: 12px;
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
}
|
|
693
747
|
}
|
|
694
748
|
</style>
|
|
@@ -23,8 +23,17 @@ const wrapperClassObject = computed(() => {
|
|
|
23
23
|
const classes = {}
|
|
24
24
|
|
|
25
25
|
// 通用布尔样式开关(以存在/空字符串/'true' 为真)
|
|
26
|
+
// hasTopMargin: 标签增加顶部外边距,同时调整 ant-card-body 内边距
|
|
27
|
+
// useStyle7: 细下划线指示器样式,透明背景,支持配合 useCycle 显示圆点
|
|
28
|
+
// useCycle: 与 useStyle7 配合使用,在标签左侧显示蓝色圆点指示器
|
|
29
|
+
// useStyle8: 等宽卡片式标签,带边框和圆角,激活项高亮并隐藏底部边框
|
|
30
|
+
// out-tab: 去除标签栏所有外边距与内边距,实现紧凑贴边效果
|
|
31
|
+
// no-underline: 隐藏底部边框与 ink-bar 下划线指示器
|
|
32
|
+
// useStyle9: 圆角卡片标签,带边框,激活项填充品牌色,禁用切换动画
|
|
33
|
+
// useStyle10: 无下划线 + 左侧蓝色圆点,透明背景,激活项高亮品牌色
|
|
34
|
+
// useStyle11: 去除边框,选中显示蓝色下划线,字体 #313131 / #0057FE,标签宽度平均分配
|
|
26
35
|
const booleanStyleKeys = [
|
|
27
|
-
'hasTopMargin', 'useStyle7', 'useCycle', 'useStyle8', 'out-tab', 'no-underline', 'useStyle9', 'useStyle10'
|
|
36
|
+
'hasTopMargin', 'useStyle7', 'useCycle', 'useStyle8', 'out-tab', 'no-underline', 'useStyle9', 'useStyle10', 'useStyle11'
|
|
28
37
|
]
|
|
29
38
|
for (const key of booleanStyleKeys) {
|
|
30
39
|
const val = a[key]
|
|
@@ -666,5 +675,83 @@ defineExpose({
|
|
|
666
675
|
}
|
|
667
676
|
}
|
|
668
677
|
}
|
|
678
|
+
|
|
679
|
+
// 样式11:去除边框、选中显示蓝色下划线,标签宽度平均分配
|
|
680
|
+
&.h-tab-useStyle11 {
|
|
681
|
+
:deep(.ant-tabs-tab-next),
|
|
682
|
+
:deep(.ant-tabs-tab-prev-icon-target),
|
|
683
|
+
:deep(.ant-tabs-tab-next-icon) { display: none; }
|
|
684
|
+
|
|
685
|
+
:deep(.ant-tabs-bar) {
|
|
686
|
+
border-bottom: none !important;
|
|
687
|
+
height: 32px !important;
|
|
688
|
+
line-height: 32px !important;
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
:deep(.ant-tabs-ink-bar) {
|
|
692
|
+
display: block !important;
|
|
693
|
+
background-color: #0057FE !important;
|
|
694
|
+
bottom: 0px !important;
|
|
695
|
+
height: 2px !important;
|
|
696
|
+
margin-left: 0 !important;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
:deep(.ant-tabs-nav-wrap) {
|
|
700
|
+
margin-top: 0;
|
|
701
|
+
padding-left: 0 !important;
|
|
702
|
+
padding-right: 0 !important;
|
|
703
|
+
width: 100% !important;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
:deep(.ant-tabs-nav-container) {
|
|
707
|
+
padding-left: 0 !important;
|
|
708
|
+
padding-right: 0 !important;
|
|
709
|
+
width: 100% !important;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
:deep(.ant-tabs-nav-container-scrolling) {
|
|
713
|
+
padding-left: 0 !important;
|
|
714
|
+
padding-right: 0 !important;
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
:deep(.ant-tabs-nav) {
|
|
718
|
+
width: 100% !important;
|
|
719
|
+
|
|
720
|
+
.ant-tabs-nav-list {
|
|
721
|
+
width: 100% !important;
|
|
722
|
+
display: grid !important;
|
|
723
|
+
grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
.ant-tabs-tab {
|
|
727
|
+
width: 50%;
|
|
728
|
+
height: 32px;
|
|
729
|
+
box-sizing: border-box !important;
|
|
730
|
+
opacity: 1;
|
|
731
|
+
font-family: "Source Han Sans";
|
|
732
|
+
font-size: 16px;
|
|
733
|
+
font-weight: bold;
|
|
734
|
+
line-height: normal;
|
|
735
|
+
text-align: center;
|
|
736
|
+
letter-spacing: 0em;
|
|
737
|
+
color: #313131;
|
|
738
|
+
background-color: transparent;
|
|
739
|
+
border: none;
|
|
740
|
+
border-radius: 0;
|
|
741
|
+
padding: 0 12px 6px;
|
|
742
|
+
margin-right: 0 !important;
|
|
743
|
+
display: inline-flex !important;
|
|
744
|
+
align-items: center;
|
|
745
|
+
justify-content: center;
|
|
746
|
+
transition: all 0.3s;
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
.ant-tabs-tab-active {
|
|
750
|
+
color: #0057FE;
|
|
751
|
+
background-color: transparent;
|
|
752
|
+
border: none;
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
}
|
|
669
756
|
}
|
|
670
757
|
</style>
|