vue2-client 1.2.89 → 1.2.93

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 CHANGED
@@ -1,6 +1,19 @@
1
1
  # Change Log
2
2
  > 所有关于本项目的变化都在该文档里。
3
3
 
4
+ **1.2.93 -2022-08-03 @江超**
5
+ - 功能新增:
6
+ - util增加uuid方法
7
+
8
+ **1.2.90 - 1.2.92 -2022-08-01 @江超**
9
+ - 功能新增:
10
+ - XCard增加空状态显示
11
+ - 修复依赖
12
+
13
+ **1.2.89 - 1.2.90 -2022-07-31 @张振宇**
14
+ - 功能新增:
15
+ - 物联网表用气分析图表
16
+
4
17
  **1.2.81 - 1.2.89 -2022-07-21 @朱子峰**
5
18
  - 功能新增:
6
19
  - 兼容V4登陆
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.2.89",
3
+ "version": "1.2.93",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -13,7 +13,6 @@
13
13
  "@antv/data-set": "^0.11.8",
14
14
  "@antv/f2": "^3.8.11",
15
15
  "@antv/g2plot": "^2.4.20",
16
- "@babel/core": "^7.18.5",
17
16
  "@logicflow/core": "^1.1.20",
18
17
  "@logicflow/extension": "^1.1.20",
19
18
  "@vue/babel-helper-vue-jsx-merge-props": "^1.2.1",
@@ -22,14 +21,13 @@
22
21
  "ant-design-vue": "^1.7.8",
23
22
  "axios": "^0.27.2",
24
23
  "clipboard": "^2.0.11",
25
- "core-js": "^3.23.2",
26
- "webpack": "^4.46.0",
24
+ "core-js": "^3.23.5",
27
25
  "date-fns": "^2.28.0",
28
26
  "default-passive-events": "^2.0.0",
29
27
  "enquire.js": "^2.1.6",
30
28
  "file-saver": "^2.0.5",
31
- "highlight.js": "^11.5.1",
32
- "js-cookie": "^3.0.1",
29
+ "highlight.js": "^10.7.3",
30
+ "js-cookie": "^2.2.1",
33
31
  "jsencrypt": "^3.2.1",
34
32
  "lodash.get": "^4.4.2",
35
33
  "mockjs": "^1.1.0",
@@ -42,16 +40,16 @@
42
40
  "vue-router": "^3.5.4",
43
41
  "vuedraggable": "^2.24.3",
44
42
  "vuex": "^3.6.2",
45
- "xlsx": "^0.18.5"
43
+ "xlsx": "0.18.5"
46
44
  },
47
45
  "devDependencies": {
48
- "@ant-design/colors": "^6.0.0",
49
- "@vue/cli-plugin-babel": "^4.5.18",
50
- "@vue/cli-plugin-eslint": "^4.5.18",
51
- "@vue/cli-plugin-router": "^4.5.18",
46
+ "@ant-design/colors": "^4.0.5",
47
+ "@vue/cli-plugin-babel": "^4.5.19",
48
+ "@vue/cli-plugin-eslint": "^4.5.19",
49
+ "@vue/cli-plugin-router": "^4.5.19",
52
50
  "@vue/cli-plugin-unit-jest": "~4.5.19",
53
- "@vue/cli-plugin-vuex": "^4.5.18",
54
- "@vue/cli-service": "^4.5.18",
51
+ "@vue/cli-plugin-vuex": "^4.5.19",
52
+ "@vue/cli-service": "^4.5.19",
55
53
  "@vue/eslint-config-standard": "^4.0.0",
56
54
  "@vue/test-utils": "^1.3.0",
57
55
  "@vue/vue2-jest": "^27.0.0",
@@ -60,7 +58,7 @@
60
58
  "babel-jest": "^27.1.0",
61
59
  "babel-plugin-transform-remove-console": "^6.9.4",
62
60
  "babel-polyfill": "^6.26.0",
63
- "compression-webpack-plugin": "^5.0.2",
61
+ "compression-webpack-plugin": "^4.0.1",
64
62
  "deepmerge": "^4.2.2",
65
63
  "echarts": "^5.3.3",
66
64
  "eslint": "^6.8.0",
@@ -71,19 +69,18 @@
71
69
  "fast-deep-equal": "^3.1.3",
72
70
  "gh-pages": "^3.2.3",
73
71
  "jest": "^27.1.0",
74
- "less": "^3.13.1",
75
- "less-loader": "^7.3.0",
72
+ "less-loader": "^6.2.0",
76
73
  "react-bmap": "^1.0.130",
77
74
  "script-loader": "^0.7.2",
78
75
  "style-resources-loader": "^1.5.0",
79
76
  "vue-amap": "^0.5.10",
80
77
  "vue-baidu-map": "^0.21.22",
81
- "vue-bmap-gl": "^0.0.30",
78
+ "vue-bmap-gl": "0.0.30",
82
79
  "vue-cli-plugin-style-resources-loader": "^0.1.5",
83
- "vue-mapvgl": "^0.0.34",
80
+ "vue-mapvgl": "0.0.34",
84
81
  "vue-template-compiler": "2.6.14",
85
82
  "vuepress": "^1.9.7",
86
- "webpack-theme-color-replacer": "^1.4.1",
83
+ "webpack-theme-color-replacer": "1.4.1",
87
84
  "whatwg-fetch": "^3.6.2"
88
85
  },
89
86
  "browserslist": [
@@ -1,59 +1,64 @@
1
- <template>
2
- <div>
3
- <a-card :bordered="false" :body-style="{ margin: 0, padding: 0 }">
4
- <a-skeleton active v-show="loadState === 'loading'" style="padding: 16px"/>
5
- <a-card
6
- v-show="loadState === 'error'"
7
- :body-style="{ margin: '0 auto' }"
8
- :bordered="false"
9
- class="retryCard"
10
- :hoverable="true"
11
- @click="retry" >
12
- <a-icon type="global" :style="{ fontSize: '28px' }"/>
13
- <p style="margin-top: 20px" class="noSelect">网络好像开小差了,点击重新加载...</p>
14
- </a-card>
15
- <div v-show="loadState === 'success'">
16
- <slot></slot>
17
- </div>
18
- </a-card>
19
- </div>
20
- </template>
21
-
22
- <script>
23
-
24
- export default {
25
- name: 'XCard',
26
- props: {
27
- loadState: {
28
- type: String,
29
- default: 'success'
30
- },
31
- retry: {
32
- type: Function,
33
- default: () => {
34
- console.error('未实现重新加载')
35
- }
36
- }
37
- },
38
- data () {
39
- return {
40
-
41
- }
42
- }
43
- }
44
- </script>
45
-
46
- <style lang="less" scoped>
47
- .retryCard {
48
- text-align: center;
49
- }
50
- .noSelect {
51
- -webkit-touch-callout: none; /* iOS Safari */
52
- -webkit-user-select: none; /* Chrome/Safari/Opera */
53
- -khtml-user-select: none; /* Konqueror */
54
- -moz-user-select: none; /* Firefox */
55
- -ms-user-select: none; /* Internet Explorer/Edge */
56
- user-select: none; /* Non-prefixed version, currently
57
- not supported by any browser */
58
- }
59
- </style>
1
+ <template>
2
+ <div>
3
+ <a-card :body-style="{ margin: 0, padding: 0 }" :bordered="false">
4
+ <a-skeleton v-show="loadState === 'loading'" active style="padding: 16px"/>
5
+ <a-empty v-show="loadState === 'empty'">
6
+ <a-button type="dashed" @click="retry">
7
+ 重新加载
8
+ </a-button>
9
+ </a-empty>
10
+ <a-card
11
+ v-show="loadState === 'error'"
12
+ :body-style="{ margin: '0 auto' }"
13
+ :bordered="false"
14
+ :hoverable="true"
15
+ class="retryCard"
16
+ @click="retry" >
17
+ <a-icon :style="{ fontSize: '28px' }" type="global"/>
18
+ <p class="noSelect" style="margin-top: 20px">网络好像开小差了,点击重新加载...</p>
19
+ </a-card>
20
+ <div v-show="loadState === 'success'">
21
+ <slot></slot>
22
+ </div>
23
+ </a-card>
24
+ </div>
25
+ </template>
26
+
27
+ <script>
28
+
29
+ export default {
30
+ name: 'XCard',
31
+ props: {
32
+ loadState: {
33
+ type: String,
34
+ default: 'success'
35
+ },
36
+ retry: {
37
+ type: Function,
38
+ default: () => {
39
+ console.error('未实现重新加载')
40
+ }
41
+ }
42
+ },
43
+ data () {
44
+ return {
45
+
46
+ }
47
+ }
48
+ }
49
+ </script>
50
+
51
+ <style lang="less" scoped>
52
+ .retryCard {
53
+ text-align: center;
54
+ }
55
+ .noSelect {
56
+ -webkit-touch-callout: none; /* iOS Safari */
57
+ -webkit-user-select: none; /* Chrome/Safari/Opera */
58
+ -khtml-user-select: none; /* Konqueror */
59
+ -moz-user-select: none; /* Firefox */
60
+ -ms-user-select: none; /* Internet Explorer/Edge */
61
+ user-select: none; /* Non-prefixed version, currently
62
+ not supported by any browser */
63
+ }
64
+ </style>
@@ -17,7 +17,7 @@
17
17
  <a-select-option
18
18
  v-for="(item,index) in attr.keys"
19
19
  :key="index"
20
- :value="Object.keys(item)[0]">{{ item[Object.keys(item)[0]] }}
20
+ :value="item.value">{{ item.label }}
21
21
  </a-select-option>
22
22
  </a-select>
23
23
  </a-input>
@@ -62,8 +62,8 @@
62
62
  <a-select-option
63
63
  v-for="(item,index) in attr.keys"
64
64
  :key="index"
65
- :value="Object.keys(item)[0]">
66
- {{ item[Object.keys(item)[0]] }}
65
+ :value="item.value">
66
+ {{ item.label }}
67
67
  </a-select-option>
68
68
  </template>
69
69
  <template v-else>
@@ -71,7 +71,7 @@
71
71
  <a-select-option
72
72
  v-for="(item,index) in option"
73
73
  :key="index"
74
- :value="Object.keys(item)[0]">{{ item[Object.keys(item)[0]] }}
74
+ :value="item.value">{{ item.label }}
75
75
  </a-select-option>
76
76
  </template>
77
77
  <template v-else>
@@ -104,7 +104,7 @@
104
104
  <a-select-option
105
105
  v-for="(item,index) in option"
106
106
  :key="index"
107
- :value="Object.keys(item)[0]">{{ item[Object.keys(item)[0]] }}
107
+ :value="item.value">{{ item.label }}
108
108
  </a-select-option>
109
109
  </a-select>
110
110
  </a-form-model-item>