vue2-client 1.2.73 → 1.2.76
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/CHANGELOG.md +9 -0
- package/package.json +47 -47
- package/src/base-client/components/common/CreateQuery/CreateQuery.vue +24 -8
- package/src/base-client/components/iot/DeviceDetailsView/DeviceDetailsView.vue +232 -230
- package/src/base-client/components/iot/DeviceDetailsView/part/DeviceDetailsCount.vue +623 -330
- package/src/components/Charts/ChartCard.vue +14 -0
- package/src/services/api/index.js +39 -39
- package/src/services/api/iot/DeviceDetailsView/DeviceDetailsCountApi.js +14 -0
- package/vue.config.js +2 -2
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue2-client",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.76",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"serve": "vue-cli-service serve",
|
|
@@ -10,78 +10,78 @@
|
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@amap/amap-jsapi-loader": "^1.0.1",
|
|
13
|
-
"@antv/data-set": "^0.11.
|
|
14
|
-
"@antv/f2": "^3.
|
|
15
|
-
"@antv/g2plot": "^2.
|
|
16
|
-
"@logicflow/core": "^1.1.
|
|
17
|
-
"@logicflow/extension": "^1.1.
|
|
13
|
+
"@antv/data-set": "^0.11.8",
|
|
14
|
+
"@antv/f2": "^3.8.11",
|
|
15
|
+
"@antv/g2plot": "^2.4.19",
|
|
16
|
+
"@logicflow/core": "^1.1.20",
|
|
17
|
+
"@logicflow/extension": "^1.1.20",
|
|
18
18
|
"@vue/babel-helper-vue-jsx-merge-props": "^1.2.1",
|
|
19
19
|
"@vue/babel-preset-jsx": "^1.2.4",
|
|
20
|
-
"animate.css": "^4.1.
|
|
20
|
+
"animate.css": "^4.1.1",
|
|
21
21
|
"ant-design-vue": "1.7.8",
|
|
22
|
-
"axios": "^0.
|
|
23
|
-
"clipboard": "^2.0.
|
|
24
|
-
"core-js": "^3.
|
|
25
|
-
"date-fns": "^2.
|
|
22
|
+
"axios": "^0.27.2",
|
|
23
|
+
"clipboard": "^2.0.11",
|
|
24
|
+
"core-js": "^3.23.1",
|
|
25
|
+
"date-fns": "^2.28.0",
|
|
26
26
|
"default-passive-events": "^2.0.0",
|
|
27
27
|
"enquire.js": "^2.1.6",
|
|
28
28
|
"file-saver": "^2.0.5",
|
|
29
|
-
"highlight.js": "^10.
|
|
29
|
+
"highlight.js": "^10.7.3",
|
|
30
30
|
"js-cookie": "^2.2.1",
|
|
31
|
-
"jsencrypt": "^3.
|
|
31
|
+
"jsencrypt": "^3.2.1",
|
|
32
32
|
"lodash.get": "^4.4.2",
|
|
33
33
|
"mockjs": "^1.1.0",
|
|
34
34
|
"nprogress": "^0.2.0",
|
|
35
35
|
"viser-vue": "^2.4.8",
|
|
36
|
-
"vue": "^2.6.
|
|
37
|
-
"vue-i18n": "^8.
|
|
38
|
-
"vue-json-viewer": "^2.2.15",
|
|
36
|
+
"vue": "^2.6.14",
|
|
37
|
+
"vue-i18n": "^8.27.1",
|
|
39
38
|
"vue-infinite-scroll": "^2.0.2",
|
|
40
|
-
"vue-
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
39
|
+
"vue-json-viewer": "^2.2.22",
|
|
40
|
+
"vue-router": "^3.5.4",
|
|
41
|
+
"vuedraggable": "^2.24.3",
|
|
42
|
+
"vuex": "^3.6.2",
|
|
43
|
+
"xlsx": "0.18.5"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@ant-design/colors": "^4.0.
|
|
47
|
-
"@vue/cli-plugin-babel": "^4.
|
|
48
|
-
"@vue/cli-plugin-eslint": "^4.
|
|
49
|
-
"@vue/cli-plugin-router": "^4.
|
|
50
|
-
"@vue/cli-plugin-unit-jest": "~5.0.
|
|
51
|
-
"@vue/cli-plugin-vuex": "^4.
|
|
52
|
-
"@vue/cli-service": "^4.
|
|
46
|
+
"@ant-design/colors": "^4.0.5",
|
|
47
|
+
"@vue/cli-plugin-babel": "^4.5.18",
|
|
48
|
+
"@vue/cli-plugin-eslint": "^4.5.18",
|
|
49
|
+
"@vue/cli-plugin-router": "^4.5.18",
|
|
50
|
+
"@vue/cli-plugin-unit-jest": "~5.0.6",
|
|
51
|
+
"@vue/cli-plugin-vuex": "^4.5.18",
|
|
52
|
+
"@vue/cli-service": "^4.5.18",
|
|
53
53
|
"@vue/eslint-config-standard": "^4.0.0",
|
|
54
|
-
"@vue/test-utils": "^1.
|
|
55
|
-
"@vue/vue2-jest": "^
|
|
56
|
-
"@vuepress/plugin-back-to-top": "^1.
|
|
54
|
+
"@vue/test-utils": "^1.3.0",
|
|
55
|
+
"@vue/vue2-jest": "^28.0.0",
|
|
56
|
+
"@vuepress/plugin-back-to-top": "^1.9.7",
|
|
57
57
|
"babel-eslint": "^10.1.0",
|
|
58
|
-
"babel-jest": "^
|
|
58
|
+
"babel-jest": "^28.1.1",
|
|
59
59
|
"babel-plugin-transform-remove-console": "^6.9.4",
|
|
60
60
|
"babel-polyfill": "^6.26.0",
|
|
61
|
-
"compression-webpack-plugin": "^
|
|
61
|
+
"compression-webpack-plugin": "^4.0.1",
|
|
62
62
|
"deepmerge": "^4.2.2",
|
|
63
|
-
"echarts": "^
|
|
64
|
-
"eslint": "^6.
|
|
65
|
-
"eslint-plugin-import": "^2.
|
|
63
|
+
"echarts": "^5.3.3",
|
|
64
|
+
"eslint": "^6.8.0",
|
|
65
|
+
"eslint-plugin-import": "^2.26.0",
|
|
66
66
|
"eslint-plugin-node": "^11.1.0",
|
|
67
67
|
"eslint-plugin-standard": "^5.0.0",
|
|
68
68
|
"eslint-plugin-vue": "^6.2.2",
|
|
69
69
|
"fast-deep-equal": "^3.1.3",
|
|
70
|
-
"gh-pages": "^3.
|
|
71
|
-
"jest": "^
|
|
72
|
-
"less-loader": "^6.
|
|
73
|
-
"react-bmap": "^1.0.
|
|
70
|
+
"gh-pages": "^3.2.3",
|
|
71
|
+
"jest": "^28.1.1",
|
|
72
|
+
"less-loader": "^6.2.0",
|
|
73
|
+
"react-bmap": "^1.0.130",
|
|
74
74
|
"script-loader": "^0.7.2",
|
|
75
|
-
"style-resources-loader": "^1.
|
|
75
|
+
"style-resources-loader": "^1.5.0",
|
|
76
76
|
"vue-amap": "^0.5.10",
|
|
77
77
|
"vue-baidu-map": "^0.21.22",
|
|
78
|
-
"vue-bmap-gl": "0.0.
|
|
79
|
-
"vue-cli-plugin-style-resources-loader": "^0.1.
|
|
80
|
-
"vue-mapvgl": "0.0.
|
|
81
|
-
"vue-template-compiler": "^2.6.
|
|
82
|
-
"vuepress": "^1.
|
|
83
|
-
"webpack-theme-color-replacer": "1.
|
|
84
|
-
"whatwg-fetch": "^3.
|
|
78
|
+
"vue-bmap-gl": "0.0.30",
|
|
79
|
+
"vue-cli-plugin-style-resources-loader": "^0.1.5",
|
|
80
|
+
"vue-mapvgl": "0.0.34",
|
|
81
|
+
"vue-template-compiler": "^2.6.14",
|
|
82
|
+
"vuepress": "^1.9.7",
|
|
83
|
+
"webpack-theme-color-replacer": "1.4.1",
|
|
84
|
+
"whatwg-fetch": "^3.6.2"
|
|
85
85
|
},
|
|
86
86
|
"browserslist": [
|
|
87
87
|
"> 1%",
|
|
@@ -68,20 +68,25 @@
|
|
|
68
68
|
v-for="(columnItem, index) in form.column"
|
|
69
69
|
:key="index"
|
|
70
70
|
draggable="true"
|
|
71
|
+
class="column_item"
|
|
71
72
|
@dragstart="handleDragStart($event, columnItem)"
|
|
72
73
|
@dragover.prevent="handleDragOver($event, columnItem)"
|
|
73
74
|
@dragenter="handleDragEnter($event, columnItem)"
|
|
74
75
|
@dragend="handleDragEnd($event, columnItem)">
|
|
75
|
-
<a-row
|
|
76
|
-
<
|
|
76
|
+
<a-row v-if="ending && dragging && columnItem.key === ending.key && dragging.key !== ending.key" class="dragTipsWarp">
|
|
77
|
+
<span class="dragTips">拖到此处放置</span>
|
|
78
|
+
</a-row>
|
|
79
|
+
<a-row :gutter="24">
|
|
80
|
+
<a-col :span="20">
|
|
77
81
|
<span style="font-weight: bold">{{ columnItem.title }}({{ columnItem.key }})</span>
|
|
78
82
|
</a-col>
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
83
|
+
<!-- 江超说先不要上下移动了 因为可以拖动了-->
|
|
84
|
+
<!-- <a-col v-if="index > 0 && form.column.length > 1" :span="2">-->
|
|
85
|
+
<!-- <a-icon type="up-square" @click="upColumnItem(columnItem.key,index)"/>-->
|
|
86
|
+
<!-- </a-col>-->
|
|
87
|
+
<!-- <a-col v-if="(index !== form.column.length - 1) && form.column.length > 1" :span="2">-->
|
|
88
|
+
<!-- <a-icon type="down-square" @click="downColumnItem(columnItem.key,index)"/>-->
|
|
89
|
+
<!-- </a-col>-->
|
|
85
90
|
<a-col :span="2">
|
|
86
91
|
<a-icon type="edit" @click="editColumnItem(columnItem.key,index)"/>
|
|
87
92
|
</a-col>
|
|
@@ -520,4 +525,15 @@ export default {
|
|
|
520
525
|
}
|
|
521
526
|
</script>
|
|
522
527
|
<style lang="less" scoped>
|
|
528
|
+
.column_item :hover {
|
|
529
|
+
background-color:rgba(64, 169, 255,0.25);
|
|
530
|
+
}
|
|
531
|
+
.dragTips{
|
|
532
|
+
display:block;
|
|
533
|
+
text-align: center;
|
|
534
|
+
border:1px dashed rgba(64, 169, 255,0.55);
|
|
535
|
+
}
|
|
536
|
+
.dragTipsWarp{
|
|
537
|
+
padding: .5rem 2rem;
|
|
538
|
+
}
|
|
523
539
|
</style>
|