st-comp 0.0.131 → 0.0.132
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/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { App } from "vue";
|
|
2
|
-
import StKlineBasic from "./index.vue";
|
|
3
|
-
|
|
4
|
-
export default {
|
|
5
|
-
install(app: App) {
|
|
6
|
-
app.component("st-klineBasic", StKlineBasic);
|
|
7
|
-
},
|
|
8
|
-
}
|
|
1
|
+
import { App } from "vue";
|
|
2
|
+
import StKlineBasic from "./index.vue";
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
install(app: App) {
|
|
6
|
+
app.component("st-klineBasic", StKlineBasic);
|
|
7
|
+
},
|
|
8
|
+
}
|
|
@@ -236,7 +236,7 @@ const handleDeleteTag = (aciton, index) => {
|
|
|
236
236
|
<!-- 因子筛选弹窗 -->
|
|
237
237
|
<el-dialog
|
|
238
238
|
v-model="visible"
|
|
239
|
-
width="
|
|
239
|
+
width="680"
|
|
240
240
|
align-center
|
|
241
241
|
destroy-on-close
|
|
242
242
|
>
|
|
@@ -294,7 +294,7 @@ const handleDeleteTag = (aciton, index) => {
|
|
|
294
294
|
<el-form-item
|
|
295
295
|
:prop="'list.' + index + '.factor'"
|
|
296
296
|
:rules="{ required: true, message: '因子不能为空', trigger: 'blur' }"
|
|
297
|
-
style="width:
|
|
297
|
+
style="width: 132px; margin-right: 10px"
|
|
298
298
|
>
|
|
299
299
|
<el-select
|
|
300
300
|
v-model="item.factor"
|
|
@@ -349,7 +349,7 @@ const handleDeleteTag = (aciton, index) => {
|
|
|
349
349
|
<el-form-item
|
|
350
350
|
:prop="'list.' + index + '.factor2'"
|
|
351
351
|
:rules="{ required: true, message: '因子不能为空', trigger: 'blur' }"
|
|
352
|
-
style="width:
|
|
352
|
+
style="width: 132px; margin-right: 10px"
|
|
353
353
|
>
|
|
354
354
|
<el-select
|
|
355
355
|
v-model="item.factor2"
|
|
@@ -393,7 +393,7 @@ const handleDeleteTag = (aciton, index) => {
|
|
|
393
393
|
<el-form-item
|
|
394
394
|
:prop="'list.' + index + '.factor'"
|
|
395
395
|
:rules="{ required: true, message: '因子不能为空', trigger: 'blur' }"
|
|
396
|
-
style="width:
|
|
396
|
+
style="width: 194px; margin-right: 10px"
|
|
397
397
|
>
|
|
398
398
|
<el-select
|
|
399
399
|
v-model="item.factor"
|
package/packages/index.ts
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import { App } from "vue"
|
|
2
|
-
import StChartLayout from "./ChartLayout/index.ts"
|
|
3
|
-
import StDialog from "./Dialog/index.ts"
|
|
4
|
-
import StFactorWarning from "./FactorWarning/index.ts"
|
|
5
|
-
import StHeatMap from "./HeatMap/index.ts"
|
|
6
|
-
import StKline from "./Kline/index.ts"
|
|
7
|
-
import StKlineBasic from "./KlineBasic/index.ts"
|
|
8
|
-
import StKlineNew from "./KlineNew/index.ts"
|
|
9
|
-
import StLinearLegend from "./LinearLegend/index.ts"
|
|
10
|
-
import StMap from "./Map/index.ts"
|
|
11
|
-
import StMonacoEditor from "./MonacoEditor/index.ts"
|
|
12
|
-
import StPagination from "./Pagination/index.ts"
|
|
13
|
-
import StPie from "./Pie/index.ts"
|
|
14
|
-
import StTable from "./Table/index.ts"
|
|
15
|
-
import StTreeMap from "./TreeMap/index.ts"
|
|
16
|
-
import StUser from "./User/index.ts"
|
|
17
|
-
import StVarietySearch from "./VarietySearch/index.ts"
|
|
18
|
-
import StVirtualTable from "./VirtualTable/index.ts"
|
|
19
|
-
|
|
20
|
-
export default {
|
|
21
|
-
install(app: App) {
|
|
22
|
-
StChartLayout.install(app)
|
|
23
|
-
StDialog.install(app)
|
|
24
|
-
StFactorWarning.install(app)
|
|
25
|
-
StHeatMap.install(app)
|
|
26
|
-
StKline.install(app)
|
|
27
|
-
StKlineBasic.install(app)
|
|
28
|
-
StKlineNew.install(app)
|
|
29
|
-
StLinearLegend.install(app)
|
|
30
|
-
StMap.install(app)
|
|
31
|
-
StMonacoEditor.install(app)
|
|
32
|
-
StPagination.install(app)
|
|
33
|
-
StPie.install(app)
|
|
34
|
-
StTable.install(app)
|
|
35
|
-
StTreeMap.install(app)
|
|
36
|
-
StUser.install(app)
|
|
37
|
-
StVarietySearch.install(app)
|
|
38
|
-
StVirtualTable.install(app)
|
|
39
|
-
},
|
|
40
|
-
}
|
|
1
|
+
import { App } from "vue"
|
|
2
|
+
import StChartLayout from "./ChartLayout/index.ts"
|
|
3
|
+
import StDialog from "./Dialog/index.ts"
|
|
4
|
+
import StFactorWarning from "./FactorWarning/index.ts"
|
|
5
|
+
import StHeatMap from "./HeatMap/index.ts"
|
|
6
|
+
import StKline from "./Kline/index.ts"
|
|
7
|
+
import StKlineBasic from "./KlineBasic/index.ts"
|
|
8
|
+
import StKlineNew from "./KlineNew/index.ts"
|
|
9
|
+
import StLinearLegend from "./LinearLegend/index.ts"
|
|
10
|
+
import StMap from "./Map/index.ts"
|
|
11
|
+
import StMonacoEditor from "./MonacoEditor/index.ts"
|
|
12
|
+
import StPagination from "./Pagination/index.ts"
|
|
13
|
+
import StPie from "./Pie/index.ts"
|
|
14
|
+
import StTable from "./Table/index.ts"
|
|
15
|
+
import StTreeMap from "./TreeMap/index.ts"
|
|
16
|
+
import StUser from "./User/index.ts"
|
|
17
|
+
import StVarietySearch from "./VarietySearch/index.ts"
|
|
18
|
+
import StVirtualTable from "./VirtualTable/index.ts"
|
|
19
|
+
|
|
20
|
+
export default {
|
|
21
|
+
install(app: App) {
|
|
22
|
+
StChartLayout.install(app)
|
|
23
|
+
StDialog.install(app)
|
|
24
|
+
StFactorWarning.install(app)
|
|
25
|
+
StHeatMap.install(app)
|
|
26
|
+
StKline.install(app)
|
|
27
|
+
StKlineBasic.install(app)
|
|
28
|
+
StKlineNew.install(app)
|
|
29
|
+
StLinearLegend.install(app)
|
|
30
|
+
StMap.install(app)
|
|
31
|
+
StMonacoEditor.install(app)
|
|
32
|
+
StPagination.install(app)
|
|
33
|
+
StPie.install(app)
|
|
34
|
+
StTable.install(app)
|
|
35
|
+
StTreeMap.install(app)
|
|
36
|
+
StUser.install(app)
|
|
37
|
+
StVarietySearch.install(app)
|
|
38
|
+
StVirtualTable.install(app)
|
|
39
|
+
},
|
|
40
|
+
}
|
|
41
41
|
|
|
@@ -66,9 +66,9 @@ const varietySearchConfig = ref({
|
|
|
66
66
|
],
|
|
67
67
|
// 因子下拉框数据源
|
|
68
68
|
factorOptions: [
|
|
69
|
-
{ label: "
|
|
70
|
-
{ label: "
|
|
71
|
-
{ label: "
|
|
69
|
+
{ label: "ema720阳线箱体低点偏差", value: 1, type: 1 },
|
|
70
|
+
{ label: "历史K线的前低前高附近(人工)", value: 3, type: 3 },
|
|
71
|
+
{ label: "阳线-双箱高点", value: 4, type: 4 },
|
|
72
72
|
],
|
|
73
73
|
// 因子使用说明数据源
|
|
74
74
|
factorDescriptions: [],
|
package/src/router/routes.ts
CHANGED
|
@@ -1,87 +1,87 @@
|
|
|
1
|
-
export default [
|
|
2
|
-
{
|
|
3
|
-
path: '/chartLayout',
|
|
4
|
-
name: 'ChartLayout',
|
|
5
|
-
component: () => import('../pages/ChartLayout/index.vue'),
|
|
6
|
-
},
|
|
7
|
-
{
|
|
8
|
-
path: '/dialog',
|
|
9
|
-
name: 'Dialog',
|
|
10
|
-
component: () => import('../pages/Dialog/index.vue'),
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
path: '/factorWarning',
|
|
14
|
-
name: 'FactorWarning',
|
|
15
|
-
component: () => import('../pages/FactorWarning/index.vue'),
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
path: '/heatMap',
|
|
19
|
-
name: 'HeatMap',
|
|
20
|
-
component: () => import('../pages/HeatMap/index.vue'),
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
path: '/kline',
|
|
24
|
-
name: 'Kline',
|
|
25
|
-
component: () => import('../pages/Kline/index.vue'),
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
path: '/klineBasic',
|
|
29
|
-
name: 'KlineBasic',
|
|
30
|
-
component: () => import('../pages/KlineBasic/index.vue'),
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
path: '/klineNew',
|
|
34
|
-
name: 'KlineNew',
|
|
35
|
-
component: () => import('../pages/KlineNew/index.vue'),
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
path: '/linearLegend',
|
|
39
|
-
name: 'LinearLegend',
|
|
40
|
-
component: () => import('../pages/LinearLegend/index.vue'),
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
path: '/map',
|
|
44
|
-
name: 'Map',
|
|
45
|
-
component: () => import('../pages/Map/index.vue'),
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
path: '/monacoEditor',
|
|
49
|
-
name: 'MonacoEditor',
|
|
50
|
-
component: () => import('../pages/MonacoEditor/index.vue'),
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
path: '/pagination',
|
|
54
|
-
name: 'Pagination',
|
|
55
|
-
component: () => import('../pages/Pagination/index.vue'),
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
path: '/pie',
|
|
59
|
-
name: 'Pie',
|
|
60
|
-
component: () => import('../pages/Pie/index.vue'),
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
path: '/table',
|
|
64
|
-
name: 'Table',
|
|
65
|
-
component: () => import('../pages/Table/index.vue'),
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
path: '/treeMap',
|
|
69
|
-
name: 'TreeMap',
|
|
70
|
-
component: () => import('../pages/TreeMap/index.vue'),
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
path: '/user',
|
|
74
|
-
name: 'User',
|
|
75
|
-
component: () => import('../pages/User/index.vue'),
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
path: '/varietySearch',
|
|
79
|
-
name: 'VarietySearch',
|
|
80
|
-
component: () => import('../pages/VarietySearch/index.vue'),
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
path: '/virtualTable',
|
|
84
|
-
name: 'VirtualTable',
|
|
85
|
-
component: () => import('../pages/VirtualTable/index.vue'),
|
|
86
|
-
},
|
|
87
|
-
]
|
|
1
|
+
export default [
|
|
2
|
+
{
|
|
3
|
+
path: '/chartLayout',
|
|
4
|
+
name: 'ChartLayout',
|
|
5
|
+
component: () => import('../pages/ChartLayout/index.vue'),
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
path: '/dialog',
|
|
9
|
+
name: 'Dialog',
|
|
10
|
+
component: () => import('../pages/Dialog/index.vue'),
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
path: '/factorWarning',
|
|
14
|
+
name: 'FactorWarning',
|
|
15
|
+
component: () => import('../pages/FactorWarning/index.vue'),
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
path: '/heatMap',
|
|
19
|
+
name: 'HeatMap',
|
|
20
|
+
component: () => import('../pages/HeatMap/index.vue'),
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
path: '/kline',
|
|
24
|
+
name: 'Kline',
|
|
25
|
+
component: () => import('../pages/Kline/index.vue'),
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
path: '/klineBasic',
|
|
29
|
+
name: 'KlineBasic',
|
|
30
|
+
component: () => import('../pages/KlineBasic/index.vue'),
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
path: '/klineNew',
|
|
34
|
+
name: 'KlineNew',
|
|
35
|
+
component: () => import('../pages/KlineNew/index.vue'),
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
path: '/linearLegend',
|
|
39
|
+
name: 'LinearLegend',
|
|
40
|
+
component: () => import('../pages/LinearLegend/index.vue'),
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
path: '/map',
|
|
44
|
+
name: 'Map',
|
|
45
|
+
component: () => import('../pages/Map/index.vue'),
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
path: '/monacoEditor',
|
|
49
|
+
name: 'MonacoEditor',
|
|
50
|
+
component: () => import('../pages/MonacoEditor/index.vue'),
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
path: '/pagination',
|
|
54
|
+
name: 'Pagination',
|
|
55
|
+
component: () => import('../pages/Pagination/index.vue'),
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
path: '/pie',
|
|
59
|
+
name: 'Pie',
|
|
60
|
+
component: () => import('../pages/Pie/index.vue'),
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
path: '/table',
|
|
64
|
+
name: 'Table',
|
|
65
|
+
component: () => import('../pages/Table/index.vue'),
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
path: '/treeMap',
|
|
69
|
+
name: 'TreeMap',
|
|
70
|
+
component: () => import('../pages/TreeMap/index.vue'),
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
path: '/user',
|
|
74
|
+
name: 'User',
|
|
75
|
+
component: () => import('../pages/User/index.vue'),
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
path: '/varietySearch',
|
|
79
|
+
name: 'VarietySearch',
|
|
80
|
+
component: () => import('../pages/VarietySearch/index.vue'),
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
path: '/virtualTable',
|
|
84
|
+
name: 'VirtualTable',
|
|
85
|
+
component: () => import('../pages/VirtualTable/index.vue'),
|
|
86
|
+
},
|
|
87
|
+
]
|