vue2-client 1.20.77 → 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.
Files changed (93) hide show
  1. package/.claude/settings.local.json +30 -30
  2. package/.eslintrc.js +74 -74
  3. package/.idea/git_toolbox_blame.xml +6 -0
  4. package/.idea/git_toolbox_prj.xml +15 -0
  5. package/.idea/inspectionProfiles/Project_Default.xml +0 -18
  6. package/.idea/modules.xml +1 -1
  7. package/Components.md +60 -60
  8. package/index.js +31 -31
  9. package/jest-transform-stub.js +8 -8
  10. package/jest.setup.js +7 -7
  11. package/package.json +1 -1
  12. package/src/assets/img/querySlotDemo.svg +15 -15
  13. package/src/base-client/components/common/AmapMarker/AmapPointRendering.vue +120 -120
  14. package/src/base-client/components/common/CitySelect/index.js +3 -3
  15. package/src/base-client/components/common/CitySelect/index.md +109 -109
  16. package/src/base-client/components/common/FormGroupEdit/index.js +3 -3
  17. package/src/base-client/components/common/FormGroupEdit/index.md +43 -43
  18. package/src/base-client/components/common/JSONToTree/jsontotree.vue +271 -271
  19. package/src/base-client/components/common/PersonSetting/index.js +3 -3
  20. package/src/base-client/components/common/Tree/index.js +2 -2
  21. package/src/base-client/components/common/Upload/index.js +3 -3
  22. package/src/base-client/components/common/XAddNativeForm/index.md +146 -146
  23. package/src/base-client/components/common/XCard/XCard.vue +64 -64
  24. package/src/base-client/components/common/XDataDrawer/XDataDrawer.vue +180 -180
  25. package/src/base-client/components/common/XDataDrawer/index.js +3 -3
  26. package/src/base-client/components/common/XDataDrawer/index.md +41 -41
  27. package/src/base-client/components/common/XDescriptions/XDescriptionsGroup.vue +673 -673
  28. package/src/base-client/components/common/XDescriptions/index.js +3 -3
  29. package/src/base-client/components/common/XDescriptions/index.md +382 -382
  30. package/src/base-client/components/common/XForm/index.md +178 -178
  31. package/src/base-client/components/common/XFormTable/demo.vue +1 -1
  32. package/src/base-client/components/common/XReportGrid/XReport.vue +1288 -1286
  33. package/src/base-client/components/common/XStepView/XStepView.vue +252 -252
  34. package/src/base-client/components/common/XStepView/index.js +3 -3
  35. package/src/base-client/components/common/XStepView/index.md +31 -31
  36. package/src/base-client/components/common/XTable/index.md +255 -255
  37. package/src/base-client/components/his/XTitle/README.md +110 -113
  38. package/src/base-client/components/system/DictionaryDetailsView/DictionaryDetailsView.vue +232 -232
  39. package/src/base-client/plugins/Config.js +19 -19
  40. package/src/base-client/plugins/tabs-page-plugin.js +39 -39
  41. package/src/components/Charts/Bar.vue +62 -62
  42. package/src/components/Charts/ChartCard.vue +134 -134
  43. package/src/components/Charts/Liquid.vue +67 -67
  44. package/src/components/Charts/MiniArea.vue +39 -39
  45. package/src/components/Charts/MiniBar.vue +39 -39
  46. package/src/components/Charts/MiniProgress.vue +75 -75
  47. package/src/components/Charts/MiniSmoothArea.vue +40 -40
  48. package/src/components/Charts/Radar.vue +68 -68
  49. package/src/components/Charts/RankList.vue +77 -77
  50. package/src/components/Charts/TagCloud.vue +113 -113
  51. package/src/components/Charts/TransferBar.vue +64 -64
  52. package/src/components/Charts/Trend.vue +82 -82
  53. package/src/components/Charts/chart.less +12 -12
  54. package/src/components/Charts/smooth.area.less +13 -13
  55. package/src/components/NumberInfo/NumberInfo.vue +54 -54
  56. package/src/components/NumberInfo/index.js +3 -3
  57. package/src/components/NumberInfo/index.less +54 -54
  58. package/src/components/NumberInfo/index.md +43 -43
  59. package/src/components/STable/index.js +953 -953
  60. package/src/components/card/ChartCard.vue +79 -79
  61. package/src/components/chart/Bar.vue +60 -60
  62. package/src/components/chart/MiniArea.vue +67 -67
  63. package/src/components/chart/MiniBar.vue +59 -59
  64. package/src/components/chart/MiniProgress.vue +57 -57
  65. package/src/components/chart/Radar.vue +80 -80
  66. package/src/components/chart/RankingList.vue +60 -60
  67. package/src/components/chart/Trend.vue +79 -79
  68. package/src/components/chart/index.less +9 -9
  69. package/src/components/checkbox/ColorCheckbox.vue +157 -157
  70. package/src/components/input/IInput.vue +66 -66
  71. package/src/components/menu/SideMenu.vue +75 -75
  72. package/src/components/menu/menu.js +273 -273
  73. package/src/components/tool/AStepItem.vue +60 -60
  74. package/src/layouts/CommonLayout.vue +56 -56
  75. package/src/lib.js +1 -1
  76. package/src/mock/extend/index.js +84 -84
  77. package/src/mock/goods/index.js +108 -108
  78. package/src/pages/ReportGrid/index.vue +80 -76
  79. package/src/pages/dashboard/workplace/WorkPlace.vue +141 -141
  80. package/src/pages/system/dictionary/index.vue +44 -44
  81. package/src/pages/system/monitor/loginInfor/index.vue +37 -37
  82. package/src/pages/system/monitor/operLog/index.vue +37 -37
  83. package/src/pages/userInfoDetailManage/TransferRecordQuery/index.vue +1 -2
  84. package/src/router/async/router.map.js +140 -140
  85. package/src/services/api/cas.js +79 -79
  86. package/src/store/modules/setting.js +119 -119
  87. package/src/utils/errorCode.js +6 -6
  88. package/vue.config.js +1 -1
  89. package//350/277/201/347/247/273/346/227/245/345/277/227.md +15 -15
  90. package/.idea/MarsCodeWorkspaceAppSettings.xml +0 -7
  91. package/.idea/google-java-format.xml +0 -6
  92. package/.vscode/settings.json +0 -28
  93. /package/.idea/{vue2-client.iml → af-vue2-client.iml} +0 -0
@@ -1,79 +1,79 @@
1
- <template>
2
- <a-card :loading="loading" :body-style="{padding: '20px 24px 8px'}" :bordered="false">
3
- <div class="chart-card-header">
4
- <div class="meta">
5
- <span class="chart-card-title">{{ title }}</span>
6
- <span class="chart-card-action">
7
- <slot name="action"></slot>
8
- </span>
9
- </div>
10
- <div class="total"><span>{{ total }}</span></div>
11
- </div>
12
- <div class="chart-card-content">
13
- <div class="content-fix">
14
- <slot></slot>
15
- </div>
16
- </div>
17
- <div class="chart-card-footer">
18
- <slot name="footer"></slot>
19
- </div>
20
- </a-card>
21
- </template>
22
-
23
- <script>
24
- export default {
25
- name: 'ChartCard',
26
- // eslint-disable-next-line vue/require-prop-types
27
- props: ['title', 'total', 'loading']
28
- }
29
- </script>
30
-
31
- <style scoped lang="less">
32
- .chart-card-header{
33
- position: relative;
34
- overflow: hidden;
35
- width: 100%;
36
- }
37
- .chart-card-header .meta{
38
- position: relative;
39
- overflow: hidden;
40
- width: 100%;
41
- color: @text-color-second;
42
- font-size: 14px;
43
- line-height: 22px;
44
- }
45
- .chart-card-action{
46
- cursor: pointer;
47
- position: absolute;
48
- top: 0;
49
- right: 0;
50
- }
51
- .total {
52
- overflow: hidden;
53
- text-overflow: ellipsis;
54
- word-break: break-all;
55
- white-space: nowrap;
56
- margin-top: 4px;
57
- margin-bottom: 0;
58
- font-size: 30px;
59
- line-height: 38px;
60
- height: 38px;
61
- }
62
- .chart-card-footer{
63
- border-top: 1px solid @border-color-base;
64
- padding-top: 9px;
65
- margin-top: 8px;
66
- }
67
- .chart-card-content{
68
- margin-bottom: 12px;
69
- position: relative;
70
- height: 46px;
71
- width: 100%;
72
- }
73
- .chart-card-content .content-fix{
74
- position: absolute;
75
- left: 0;
76
- bottom: 0;
77
- width: 100%;
78
- }
79
- </style>
1
+ <template>
2
+ <a-card :loading="loading" :body-style="{padding: '20px 24px 8px'}" :bordered="false">
3
+ <div class="chart-card-header">
4
+ <div class="meta">
5
+ <span class="chart-card-title">{{ title }}</span>
6
+ <span class="chart-card-action">
7
+ <slot name="action"></slot>
8
+ </span>
9
+ </div>
10
+ <div class="total"><span>{{ total }}</span></div>
11
+ </div>
12
+ <div class="chart-card-content">
13
+ <div class="content-fix">
14
+ <slot></slot>
15
+ </div>
16
+ </div>
17
+ <div class="chart-card-footer">
18
+ <slot name="footer"></slot>
19
+ </div>
20
+ </a-card>
21
+ </template>
22
+
23
+ <script>
24
+ export default {
25
+ name: 'ChartCard',
26
+ // eslint-disable-next-line vue/require-prop-types
27
+ props: ['title', 'total', 'loading']
28
+ }
29
+ </script>
30
+
31
+ <style scoped lang="less">
32
+ .chart-card-header{
33
+ position: relative;
34
+ overflow: hidden;
35
+ width: 100%;
36
+ }
37
+ .chart-card-header .meta{
38
+ position: relative;
39
+ overflow: hidden;
40
+ width: 100%;
41
+ color: @text-color-second;
42
+ font-size: 14px;
43
+ line-height: 22px;
44
+ }
45
+ .chart-card-action{
46
+ cursor: pointer;
47
+ position: absolute;
48
+ top: 0;
49
+ right: 0;
50
+ }
51
+ .total {
52
+ overflow: hidden;
53
+ text-overflow: ellipsis;
54
+ word-break: break-all;
55
+ white-space: nowrap;
56
+ margin-top: 4px;
57
+ margin-bottom: 0;
58
+ font-size: 30px;
59
+ line-height: 38px;
60
+ height: 38px;
61
+ }
62
+ .chart-card-footer{
63
+ border-top: 1px solid @border-color-base;
64
+ padding-top: 9px;
65
+ margin-top: 8px;
66
+ }
67
+ .chart-card-content{
68
+ margin-bottom: 12px;
69
+ position: relative;
70
+ height: 46px;
71
+ width: 100%;
72
+ }
73
+ .chart-card-content .content-fix{
74
+ position: absolute;
75
+ left: 0;
76
+ bottom: 0;
77
+ width: 100%;
78
+ }
79
+ </style>
@@ -1,60 +1,60 @@
1
- <template>
2
- <div class="bar">
3
- <h4>{{ title }}</h4>
4
- <div class="chart">
5
- <v-chart :force-fit="true" height="312" :data="data" :padding="[24, 0, 0, 0]">
6
- <v-tooltip />
7
- <v-axis />
8
- <v-bar position="x*y"/>
9
- </v-chart>
10
- </div>
11
- </div>
12
- </template>
13
-
14
- <script>
15
-
16
- const data = []
17
- for (let i = 0; i < 12; i += 1) {
18
- data.push({
19
- x: `${i + 1}月`,
20
- y: Math.floor(Math.random() * 1000) + 200
21
- })
22
- }
23
- const tooltip = [
24
- 'x*y',
25
- (x, y) => ({
26
- name: x,
27
- value: y
28
- })
29
- ]
30
-
31
- const scale = [{
32
- dataKey: 'x',
33
- min: 2
34
- }, {
35
- dataKey: 'y',
36
- title: '时间',
37
- min: 1,
38
- max: 22
39
- }]
40
- export default {
41
- name: 'Bar',
42
- // eslint-disable-next-line vue/require-prop-types
43
- props: ['title'],
44
- data () {
45
- return {
46
- data,
47
- scale,
48
- tooltip
49
- }
50
- }
51
- }
52
- </script>
53
-
54
- <style scoped lang="less">
55
- .bar{
56
- position: relative;
57
- .chart{
58
- }
59
- }
60
- </style>
1
+ <template>
2
+ <div class="bar">
3
+ <h4>{{ title }}</h4>
4
+ <div class="chart">
5
+ <v-chart :force-fit="true" height="312" :data="data" :padding="[24, 0, 0, 0]">
6
+ <v-tooltip />
7
+ <v-axis />
8
+ <v-bar position="x*y"/>
9
+ </v-chart>
10
+ </div>
11
+ </div>
12
+ </template>
13
+
14
+ <script>
15
+
16
+ const data = []
17
+ for (let i = 0; i < 12; i += 1) {
18
+ data.push({
19
+ x: `${i + 1}月`,
20
+ y: Math.floor(Math.random() * 1000) + 200
21
+ })
22
+ }
23
+ const tooltip = [
24
+ 'x*y',
25
+ (x, y) => ({
26
+ name: x,
27
+ value: y
28
+ })
29
+ ]
30
+
31
+ const scale = [{
32
+ dataKey: 'x',
33
+ min: 2
34
+ }, {
35
+ dataKey: 'y',
36
+ title: '时间',
37
+ min: 1,
38
+ max: 22
39
+ }]
40
+ export default {
41
+ name: 'Bar',
42
+ // eslint-disable-next-line vue/require-prop-types
43
+ props: ['title'],
44
+ data () {
45
+ return {
46
+ data,
47
+ scale,
48
+ tooltip
49
+ }
50
+ }
51
+ }
52
+ </script>
53
+
54
+ <style scoped lang="less">
55
+ .bar{
56
+ position: relative;
57
+ .chart{
58
+ }
59
+ }
60
+ </style>
@@ -1,67 +1,67 @@
1
- <template>
2
- <div class="mini-chart">
3
- <div class="chart-content" :style="{height: 46}">
4
- <v-chart :force-fit="true" :height="height" :data="data" :padding="[36, 5, 18, 5]">
5
- <v-tooltip />
6
- <v-smooth-area position="x*y" />
7
- </v-chart>
8
- </div>
9
- </div>
10
- </template>
11
-
12
- <script>
13
- import { format } from 'date-fns'
14
-
15
- const data = []
16
- const beginDay = new Date().getTime()
17
-
18
- const fakeY = [7, 5, 4, 2, 4, 7, 5, 6, 5, 9, 6, 3, 1, 5, 3, 6, 5]
19
- for (let i = 0; i < fakeY.length; i += 1) {
20
- data.push({
21
- x: format(new Date(beginDay + 1000 * 60 * 60 * 24 * i), 'yyyy-MM-dd'),
22
- y: fakeY[i]
23
- })
24
- }
25
-
26
- const tooltip = [
27
- 'x*y',
28
- (x, y) => ({
29
- name: x,
30
- value: y
31
- })
32
- ]
33
-
34
- const scale = [{
35
- dataKey: 'x',
36
- min: 2
37
- }, {
38
- dataKey: 'y',
39
- title: '时间',
40
- min: 1,
41
- max: 22
42
- }]
43
-
44
- export default {
45
- name: 'MiniArea',
46
- data () {
47
- return {
48
- data,
49
- scale,
50
- tooltip,
51
- height: 100
52
- }
53
- }
54
- }
55
- </script>
56
-
57
- <style scoped>
58
- .mini-chart {
59
- position: relative;
60
- width: 100%
61
- }
62
- .mini-chart .chart-content{
63
- position: absolute;
64
- bottom: -28px;
65
- width: 100%;
66
- }
67
- </style>
1
+ <template>
2
+ <div class="mini-chart">
3
+ <div class="chart-content" :style="{height: 46}">
4
+ <v-chart :force-fit="true" :height="height" :data="data" :padding="[36, 5, 18, 5]">
5
+ <v-tooltip />
6
+ <v-smooth-area position="x*y" />
7
+ </v-chart>
8
+ </div>
9
+ </div>
10
+ </template>
11
+
12
+ <script>
13
+ import { format } from 'date-fns'
14
+
15
+ const data = []
16
+ const beginDay = new Date().getTime()
17
+
18
+ const fakeY = [7, 5, 4, 2, 4, 7, 5, 6, 5, 9, 6, 3, 1, 5, 3, 6, 5]
19
+ for (let i = 0; i < fakeY.length; i += 1) {
20
+ data.push({
21
+ x: format(new Date(beginDay + 1000 * 60 * 60 * 24 * i), 'yyyy-MM-dd'),
22
+ y: fakeY[i]
23
+ })
24
+ }
25
+
26
+ const tooltip = [
27
+ 'x*y',
28
+ (x, y) => ({
29
+ name: x,
30
+ value: y
31
+ })
32
+ ]
33
+
34
+ const scale = [{
35
+ dataKey: 'x',
36
+ min: 2
37
+ }, {
38
+ dataKey: 'y',
39
+ title: '时间',
40
+ min: 1,
41
+ max: 22
42
+ }]
43
+
44
+ export default {
45
+ name: 'MiniArea',
46
+ data () {
47
+ return {
48
+ data,
49
+ scale,
50
+ tooltip,
51
+ height: 100
52
+ }
53
+ }
54
+ }
55
+ </script>
56
+
57
+ <style scoped>
58
+ .mini-chart {
59
+ position: relative;
60
+ width: 100%
61
+ }
62
+ .mini-chart .chart-content{
63
+ position: absolute;
64
+ bottom: -28px;
65
+ width: 100%;
66
+ }
67
+ </style>
@@ -1,59 +1,59 @@
1
- <template>
2
- <div class="mini-chart">
3
- <div class="chart-content" :style="{height: 46}">
4
- <v-chart :force-fit="true" :height="height" :data="data" :padding="[36, 5, 18, 5]">
5
- <v-tooltip />
6
- <v-bar position="x*y" />
7
- </v-chart>
8
- </div>
9
- </div>
10
- </template>
11
-
12
- <script>
13
- import { format } from 'date-fns'
14
-
15
- const data = []
16
- const beginDay = new Date().getTime()
17
-
18
- const fakeY = [7, 5, 4, 2, 4, 7, 5, 6, 5, 9, 6, 3, 1, 5, 3, 6, 5]
19
- for (let i = 0; i < fakeY.length; i += 1) {
20
- data.push({
21
- x: format(new Date(beginDay + 1000 * 60 * 60 * 24 * i), 'yyyy-MM-dd'),
22
- y: fakeY[i]
23
- })
24
- }
25
-
26
- const tooltip = [
27
- 'x*y',
28
- (x, y) => ({
29
- name: x,
30
- value: y
31
- })
32
- ]
33
-
34
- const scale = [{
35
- dataKey: 'x',
36
- min: 2
37
- }, {
38
- dataKey: 'y',
39
- title: '时间',
40
- min: 1,
41
- max: 22
42
- }]
43
-
44
- export default {
45
- name: 'MiniBar',
46
- data () {
47
- return {
48
- data,
49
- scale,
50
- tooltip,
51
- height: 100
52
- }
53
- }
54
- }
55
- </script>
56
-
57
- <style lang="less" scoped>
58
- @import "index.less";
59
- </style>
1
+ <template>
2
+ <div class="mini-chart">
3
+ <div class="chart-content" :style="{height: 46}">
4
+ <v-chart :force-fit="true" :height="height" :data="data" :padding="[36, 5, 18, 5]">
5
+ <v-tooltip />
6
+ <v-bar position="x*y" />
7
+ </v-chart>
8
+ </div>
9
+ </div>
10
+ </template>
11
+
12
+ <script>
13
+ import { format } from 'date-fns'
14
+
15
+ const data = []
16
+ const beginDay = new Date().getTime()
17
+
18
+ const fakeY = [7, 5, 4, 2, 4, 7, 5, 6, 5, 9, 6, 3, 1, 5, 3, 6, 5]
19
+ for (let i = 0; i < fakeY.length; i += 1) {
20
+ data.push({
21
+ x: format(new Date(beginDay + 1000 * 60 * 60 * 24 * i), 'yyyy-MM-dd'),
22
+ y: fakeY[i]
23
+ })
24
+ }
25
+
26
+ const tooltip = [
27
+ 'x*y',
28
+ (x, y) => ({
29
+ name: x,
30
+ value: y
31
+ })
32
+ ]
33
+
34
+ const scale = [{
35
+ dataKey: 'x',
36
+ min: 2
37
+ }, {
38
+ dataKey: 'y',
39
+ title: '时间',
40
+ min: 1,
41
+ max: 22
42
+ }]
43
+
44
+ export default {
45
+ name: 'MiniBar',
46
+ data () {
47
+ return {
48
+ data,
49
+ scale,
50
+ tooltip,
51
+ height: 100
52
+ }
53
+ }
54
+ }
55
+ </script>
56
+
57
+ <style lang="less" scoped>
58
+ @import "index.less";
59
+ </style>
@@ -1,57 +1,57 @@
1
- <template>
2
- <div class="mini-progress">
3
- <a-tooltip :title="'目标值:' + target + '%'">
4
- <div class="target" :style="{left: target + '%'}">
5
- <span :style="{backgroundColor: color}" />
6
- <span :style="{backgroundColor: color}" />
7
- </div>
8
- </a-tooltip>
9
- <div class="wrap">
10
- <div class="progress" :style="{backgroundColor: color, width: percent + '%', height: height}" />
11
- </div>
12
- </div>
13
- </template>
14
-
15
- <script>
16
- export default {
17
- name: 'MiniProgress',
18
- // eslint-disable-next-line vue/require-prop-types
19
- props: ['target', 'color', 'percent', 'height']
20
- }
21
- </script>
22
-
23
- <style lang="less" scoped>
24
- .mini-progress {
25
- padding: 5px 0;
26
- position: relative;
27
- width: 100%;
28
- .wrap {
29
- background-color: @layout-bg-color;
30
- position: relative;
31
- }
32
- .progress {
33
- transition: all 0.4s cubic-bezier(0.08, 0.82, 0.17, 1) 0s;
34
- border-radius: 1px 0 0 1px;
35
- background-color: #13C2C2;
36
- width: 0;
37
- height: 100%;
38
- }
39
- .target {
40
- position: absolute;
41
- top: 0;
42
- bottom: 0;
43
- span {
44
- border-radius: 100px;
45
- position: absolute;
46
- top: 0;
47
- left: 0;
48
- height: 4px;
49
- width: 2px;
50
- }
51
- span:last-child {
52
- top: auto;
53
- bottom: 0;
54
- }
55
- }
56
- }
57
- </style>
1
+ <template>
2
+ <div class="mini-progress">
3
+ <a-tooltip :title="'目标值:' + target + '%'">
4
+ <div class="target" :style="{left: target + '%'}">
5
+ <span :style="{backgroundColor: color}" />
6
+ <span :style="{backgroundColor: color}" />
7
+ </div>
8
+ </a-tooltip>
9
+ <div class="wrap">
10
+ <div class="progress" :style="{backgroundColor: color, width: percent + '%', height: height}" />
11
+ </div>
12
+ </div>
13
+ </template>
14
+
15
+ <script>
16
+ export default {
17
+ name: 'MiniProgress',
18
+ // eslint-disable-next-line vue/require-prop-types
19
+ props: ['target', 'color', 'percent', 'height']
20
+ }
21
+ </script>
22
+
23
+ <style lang="less" scoped>
24
+ .mini-progress {
25
+ padding: 5px 0;
26
+ position: relative;
27
+ width: 100%;
28
+ .wrap {
29
+ background-color: @layout-bg-color;
30
+ position: relative;
31
+ }
32
+ .progress {
33
+ transition: all 0.4s cubic-bezier(0.08, 0.82, 0.17, 1) 0s;
34
+ border-radius: 1px 0 0 1px;
35
+ background-color: #13C2C2;
36
+ width: 0;
37
+ height: 100%;
38
+ }
39
+ .target {
40
+ position: absolute;
41
+ top: 0;
42
+ bottom: 0;
43
+ span {
44
+ border-radius: 100px;
45
+ position: absolute;
46
+ top: 0;
47
+ left: 0;
48
+ height: 4px;
49
+ width: 2px;
50
+ }
51
+ span:last-child {
52
+ top: auto;
53
+ bottom: 0;
54
+ }
55
+ }
56
+ }
57
+ </style>