vue2-client 1.20.76 → 1.20.78
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/git_toolbox_blame.xml +6 -0
- package/.idea/git_toolbox_prj.xml +15 -0
- package/.idea/inspectionProfiles/Project_Default.xml +0 -18
- 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/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/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/XDescriptionsGroup.vue +673 -673
- 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/XFormItem.vue +6 -0
- package/src/base-client/components/common/XForm/index.md +178 -178
- package/src/base-client/components/common/XFormTable/demo.vue +17 -1
- package/src/base-client/components/common/XReportGrid/XReport.vue +1288 -1286
- 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/XTableWrapper.vue +1 -1
- package/src/base-client/components/common/XTable/index.md +255 -255
- package/src/base-client/components/his/XTitle/README.md +110 -113
- 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/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 +3 -3
- 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/ReportGrid/index.vue +80 -76
- 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/pages/userInfoDetailManage/TransferRecordQuery/index.vue +1 -2
- package/src/router/async/router.map.js +140 -140
- package/src/services/api/cas.js +79 -79
- package/src/store/modules/setting.js +119 -119
- package/src/utils/errorCode.js +6 -6
- package/vue.config.js +4 -4
- package//350/277/201/347/247/273/346/227/245/345/277/227.md +15 -15
- package/.idea/MarsCodeWorkspaceAppSettings.xml +0 -7
- package/.idea/google-java-format.xml +0 -6
- package/.vscode/settings.json +0 -28
- /package/.idea/{vue2-client.iml → af-vue2-client.iml} +0 -0
|
@@ -1,113 +1,110 @@
|
|
|
1
|
-
# XTitle 组件
|
|
2
|
-
|
|
3
|
-
## 概述
|
|
4
|
-
|
|
5
|
-
XTitle 是一个多功能的标题组件,可以显示标题文本或按钮,支持自定义下划线样式、颜色和宽度。
|
|
6
|
-
|
|
7
|
-
## 功能特点
|
|
8
|
-
|
|
9
|
-
- 支持显示标题或按钮
|
|
10
|
-
- 支持为标题添加下划线
|
|
11
|
-
- 支持自定义下划线颜色
|
|
12
|
-
- 支持自定义宽度
|
|
13
|
-
- 支持点击事件触发
|
|
14
|
-
|
|
15
|
-
## 使用方法
|
|
16
|
-
|
|
17
|
-
### 基本用法
|
|
18
|
-
|
|
19
|
-
```vue
|
|
20
|
-
<x-title query-params-name="我的标题-title"></x-title>
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
### 配置参数格式
|
|
24
|
-
|
|
25
|
-
XTitle 组件通过一个字符串参数进行配置
|
|
26
|
-
|
|
27
|
-
各部分说明:
|
|
28
|
-
|
|
29
|
-
1. `标题文本`: 显示的文本内容
|
|
30
|
-
2. `类型`: 可选值为 `title` 或 `button`
|
|
31
|
-
3. `点击事件名`: 点击时触发的事件名称
|
|
32
|
-
4. `线条`: 设置为 `line` 时显示下划线
|
|
33
|
-
5. `颜色`: 下划线的颜色(如 `red`、`#FF0000`)
|
|
34
|
-
6. `宽度`: 组件宽度,单位为像素(如 `800`)
|
|
35
|
-
|
|
36
|
-
## 使用示例
|
|
37
|
-
|
|
38
|
-
### 1. 基本标题
|
|
39
|
-
|
|
40
|
-
```vue
|
|
41
|
-
<x-title query-params-name="
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
2. 线条颜色需要是合法的 CSS 颜色值
|
|
112
|
-
3. 宽度值必须是数字,单位为像素
|
|
113
|
-
4. 组件默认宽度为 100%,设置自定义宽度时会覆盖此值
|
|
1
|
+
# XTitle 组件
|
|
2
|
+
|
|
3
|
+
## 概述
|
|
4
|
+
|
|
5
|
+
XTitle 是一个多功能的标题组件,可以显示标题文本或按钮,支持自定义下划线样式、颜色和宽度。
|
|
6
|
+
|
|
7
|
+
## 功能特点
|
|
8
|
+
|
|
9
|
+
- 支持显示标题或按钮
|
|
10
|
+
- 支持为标题添加下划线
|
|
11
|
+
- 支持自定义下划线颜色
|
|
12
|
+
- 支持自定义宽度
|
|
13
|
+
- 支持点击事件触发
|
|
14
|
+
|
|
15
|
+
## 使用方法
|
|
16
|
+
|
|
17
|
+
### 基本用法
|
|
18
|
+
|
|
19
|
+
```vue
|
|
20
|
+
<x-title query-params-name="我的标题-title"></x-title>
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### 配置参数格式
|
|
24
|
+
|
|
25
|
+
XTitle 组件通过一个字符串参数进行配置
|
|
26
|
+
|
|
27
|
+
各部分说明:
|
|
28
|
+
|
|
29
|
+
1. `标题文本`: 显示的文本内容
|
|
30
|
+
2. `类型`: 可选值为 `title` 或 `button`
|
|
31
|
+
3. `点击事件名`: 点击时触发的事件名称
|
|
32
|
+
4. `线条`: 设置为 `line` 时显示下划线
|
|
33
|
+
5. `颜色`: 下划线的颜色(如 `red`、`#FF0000`)
|
|
34
|
+
6. `宽度`: 组件宽度,单位为像素(如 `800`)
|
|
35
|
+
|
|
36
|
+
## 使用示例
|
|
37
|
+
|
|
38
|
+
### 1. 基本标题
|
|
39
|
+
|
|
40
|
+
```vue
|
|
41
|
+
<x-title query-params-name="患者信息"></x-title>
|
|
42
|
+
```
|
|
43
|
+
```vue
|
|
44
|
+
<x-title query-params-name="患者信息-title"></x-title>
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### 2. 带下划线的标题
|
|
48
|
+
|
|
49
|
+
```vue
|
|
50
|
+
<x-title query-params-name="患者信息-title-line"></x-title>
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### 3. 自定义下划线颜色和宽度
|
|
54
|
+
|
|
55
|
+
```vue
|
|
56
|
+
<x-title query-params-name="患者信息-title--line-red-800"></x-title>
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### 5. 按钮模式
|
|
60
|
+
|
|
61
|
+
```vue
|
|
62
|
+
<x-title query-params-name="提交-button-submit" @submit="handleSubmit"></x-title>
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## 事件
|
|
66
|
+
|
|
67
|
+
当组件类型为 `button` 或在标题配置中设置了点击事件名时,点击组件会触发相应的事件。
|
|
68
|
+
|
|
69
|
+
```vue
|
|
70
|
+
<template>
|
|
71
|
+
<x-title query-params-name="提交-button-submit" @submit="handleSubmit"></x-title>
|
|
72
|
+
</template>
|
|
73
|
+
|
|
74
|
+
<script>
|
|
75
|
+
export default {
|
|
76
|
+
methods: {
|
|
77
|
+
handleSubmit() {
|
|
78
|
+
// 处理提交逻辑
|
|
79
|
+
console.log('提交按钮被点击');
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
</script>
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
## 样式自定义
|
|
87
|
+
|
|
88
|
+
组件内部样式已预设,但可以通过父级样式或特定类名进行覆盖:
|
|
89
|
+
|
|
90
|
+
```vue
|
|
91
|
+
<template>
|
|
92
|
+
<div class="custom-container">
|
|
93
|
+
<x-title query-params-name="自定义标题-title"></x-title>
|
|
94
|
+
</div>
|
|
95
|
+
</template>
|
|
96
|
+
|
|
97
|
+
<style scoped>
|
|
98
|
+
.custom-container :deep(.x-title) {
|
|
99
|
+
font-size: 20px;
|
|
100
|
+
color: blue;
|
|
101
|
+
}
|
|
102
|
+
</style>
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
## 注意事项
|
|
106
|
+
|
|
107
|
+
1. 当未指定类型时,默认为 `title` 类型
|
|
108
|
+
2. 线条颜色需要是合法的 CSS 颜色值
|
|
109
|
+
3. 宽度值必须是数字,单位为像素
|
|
110
|
+
4. 组件默认宽度为 100%,设置自定义宽度时会覆盖此值
|