vue2-client 1.20.51 → 1.20.52

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/.env CHANGED
@@ -15,6 +15,6 @@ VUE_APP_DIVISIONSOHCHINA=admin.divisionsohchina
15
15
  VUE_APP_WEB_CONFIG_KEY=admin.webconfig
16
16
  VUE_APP_WEB_STYLES_KEY=admin.webstylesconfig
17
17
  VUE_APP_API_BASE_URL=http://123.60.214.109:8405
18
- VUE_APP_SYSTEM_NAME=af-system
18
+ VUE_APP_SYSTEM_NAME=af-safecheck
19
19
  VUE_APP_LOGIN_VERSION=V4
20
20
  # VUE_APP_SINGLE_PAPER=TRUE
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="com.codeverse.userSettings.MarscodeWorkspaceAppSettingsState">
4
+ <option name="ckgOperationStatus" value="SUCCESS" />
5
+ <option name="progress" value="1.0" />
6
+ </component>
7
+ </project>
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="JAVA_MODULE" version="4">
3
+ <component name="NewModuleRootManager" inherit-compiler-output="true">
4
+ <exclude-output />
5
+ <content url="file://$MODULE_DIR$" />
6
+ <orderEntry type="inheritedJdk" />
7
+ <orderEntry type="sourceFolder" forTests="false" />
8
+ </component>
9
+ </module>
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="PublishConfigData" remoteFilesAllowedToDisappearOnAutoupload="false">
4
+ <serverData>
5
+ <paths name="50.4">
6
+ <serverdata>
7
+ <mappings>
8
+ <mapping local="$PROJECT_DIR$" web="/" />
9
+ </mappings>
10
+ </serverdata>
11
+ </paths>
12
+ </serverData>
13
+ </component>
14
+ </project>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Encoding" native2AsciiForPropertiesFiles="true" defaultCharsetForPropertiesFiles="UTF-8">
4
+ <file url="PROJECT" charset="UTF-8" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="GradleMigrationSettings" migrationVersion="1" />
4
+ <component name="GradleSettings">
5
+ <option name="parallelModelFetch" value="true" />
6
+ </component>
7
+ </project>
@@ -0,0 +1,6 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <profile version="1.0">
3
+ <option name="myName" value="Project Default" />
4
+ <inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
5
+ </profile>
6
+ </component>
package/.idea/misc.xml ADDED
@@ -0,0 +1,6 @@
1
+ <project version="4">
2
+ <component name="ExternalStorageConfigurationManager" enabled="true" />
3
+ <component name="ProjectRootManager" version="2" languageLevel="JDK_21" default="true" project-jdk-name="corretto-21" project-jdk-type="JavaSDK">
4
+ <output url="file://$PROJECT_DIR$/out" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/af-vue2-client.iml" filepath="$PROJECT_DIR$/.idea/af-vue2-client.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
package/.idea/vcs.xml ADDED
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="" vcs="Git" />
5
+ </component>
6
+ </project>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.20.51",
3
+ "version": "1.20.52",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -1,3 +1,3 @@
1
- <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg
2
- class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
3
- xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M512 0C229.376 0 0 229.376 0 512c0 282.624 229.376 512 512 512 282.624 0 512-229.376 512-512 0-282.624-229.376-512-512-512z" fill="#6E6E6E" opacity=".15"></path><path d="M646.2464 284.4672q-43.349333-39.936-115.165867-39.936-80.9984 0-128.341333 47.240533-47.377067 46.250667-47.377067 130.116267v0.6144l0.068267 0.6144q6.382933 43.997867 47.4112 43.997867 40.994133 0 48.981333-43.690667l0.136534-0.750933v-0.785067q0-43.997867 15.2576-65.1264l0.1024-0.136533 0.068266-0.136534q16.896-25.3952 58.4704-25.3952 31.880533 0 49.3568 17.783467 17.408 18.909867 17.408 49.322667 0 23.722667-16.827733 44.8512l-8.328533 9.557333q-67.9936 62.088533-82.363734 92.4672c-7.304533 14.404267-11.946667 26.4192-13.994666 36.078933l-0.068267 0.273067-0.034133 0.273067c-2.628267 18.602667-0.7168 33.211733 5.802666 43.895466 6.826667 11.298133 18.295467 17.749333 34.269867 19.3536 31.812267 3.1744 49.493333-8.704 53.077333-35.566933 2.321067-10.581333 5.358933-19.456 9.045334-26.7264 1.297067-2.594133 2.389333-4.7104 3.1744-6.382933 0.512-1.024 1.297067-2.525867 2.389333-4.437334 0.170667-0.341333 0.682667-1.024 1.4336-2.116266q1.3312-1.774933 1.911467-2.730667a30.890667 30.890667 0 0 0 1.672533-3.140267 13.277867 13.277867 0 0 1 0.682667-1.365333 13.994667 13.994667 0 0 1 1.058133-1.058133 29.013333 29.013333 0 0 0 4.4032-5.358934q0.8192-1.262933 1.160533-1.6384a48.469333 48.469333 0 0 1 5.802667-5.9392 48.469333 48.469333 0 0 0 3.754667-3.652266 20.616533 20.616533 0 0 1 1.501866-1.501867l0.1024-0.068267 0.068267-0.1024q53.248-47.616 61.098667-56.558933l0.273066-0.273067 0.2048-0.3072q27.306667-37.205333 27.306667-92.706133 0-68.608-44.9536-108.8512z m-82.978133 420.522667q-18.466133-17.646933-44.8512-17.646934-25.770667 0-44.202667 17.6128-18.2272 17.373867-18.2272 44.475734c0 18.090667 6.075733 32.904533 18.2272 44.475733q18.432 17.646933 44.202667 17.646933 26.385067 0 44.202666-16.9984 18.5344-17.749333 18.5344-45.124266 0-26.180267-17.681066-44.270934l-0.1024-0.1024-0.1024-0.1024z" fill="#6E6E6E"></path></svg>
1
+ <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg
2
+ class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
3
+ xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M512 0C229.376 0 0 229.376 0 512c0 282.624 229.376 512 512 512 282.624 0 512-229.376 512-512 0-282.624-229.376-512-512-512z" fill="#6E6E6E" opacity=".15"></path><path d="M646.2464 284.4672q-43.349333-39.936-115.165867-39.936-80.9984 0-128.341333 47.240533-47.377067 46.250667-47.377067 130.116267v0.6144l0.068267 0.6144q6.382933 43.997867 47.4112 43.997867 40.994133 0 48.981333-43.690667l0.136534-0.750933v-0.785067q0-43.997867 15.2576-65.1264l0.1024-0.136533 0.068266-0.136534q16.896-25.3952 58.4704-25.3952 31.880533 0 49.3568 17.783467 17.408 18.909867 17.408 49.322667 0 23.722667-16.827733 44.8512l-8.328533 9.557333q-67.9936 62.088533-82.363734 92.4672c-7.304533 14.404267-11.946667 26.4192-13.994666 36.078933l-0.068267 0.273067-0.034133 0.273067c-2.628267 18.602667-0.7168 33.211733 5.802666 43.895466 6.826667 11.298133 18.295467 17.749333 34.269867 19.3536 31.812267 3.1744 49.493333-8.704 53.077333-35.566933 2.321067-10.581333 5.358933-19.456 9.045334-26.7264 1.297067-2.594133 2.389333-4.7104 3.1744-6.382933 0.512-1.024 1.297067-2.525867 2.389333-4.437334 0.170667-0.341333 0.682667-1.024 1.4336-2.116266q1.3312-1.774933 1.911467-2.730667a30.890667 30.890667 0 0 0 1.672533-3.140267 13.277867 13.277867 0 0 1 0.682667-1.365333 13.994667 13.994667 0 0 1 1.058133-1.058133 29.013333 29.013333 0 0 0 4.4032-5.358934q0.8192-1.262933 1.160533-1.6384a48.469333 48.469333 0 0 1 5.802667-5.9392 48.469333 48.469333 0 0 0 3.754667-3.652266 20.616533 20.616533 0 0 1 1.501866-1.501867l0.1024-0.068267 0.068267-0.1024q53.248-47.616 61.098667-56.558933l0.273066-0.273067 0.2048-0.3072q27.306667-37.205333 27.306667-92.706133 0-68.608-44.9536-108.8512z m-82.978133 420.522667q-18.466133-17.646933-44.8512-17.646934-25.770667 0-44.202667 17.6128-18.2272 17.373867-18.2272 44.475734c0 18.090667 6.075733 32.904533 18.2272 44.475733q18.432 17.646933 44.202667 17.646933 26.385067 0 44.202666-16.9984 18.5344-17.749333 18.5344-45.124266 0-26.180267-17.681066-44.270934l-0.1024-0.1024-0.1024-0.1024z" fill="#6E6E6E"></path></svg>
@@ -1,141 +1,141 @@
1
- <template>
2
- <div class="info-window-content">
3
- <!-- 关闭按钮 -->
4
- <div class="info-window-header">
5
- <h3>{{ title }}</h3>
6
- <button class="close-btn" @click="handleClose">×</button>
7
- </div>
8
-
9
- <!-- 数据展示 -->
10
- <div class="info-window-body">
11
- <div v-if="data">
12
- {{ data }}
13
- </div>
14
- <div v-else class="no-data">
15
- 暂无数据
16
- </div>
17
- </div>
18
- </div>
19
- </template>
20
-
21
- <script>
22
- export default {
23
- name: 'InfoWindowComponent',
24
- props: {
25
- data: {
26
- type: [Object, Array],
27
- default: null
28
- },
29
- title: {
30
- type: String,
31
- default: '巡检计划详情'
32
- }
33
- },
34
- computed: {
35
- // 格式化数据,只显示简单类型(避免显示复杂对象)
36
- formattedData() {
37
- if (!this.data) return {}
38
-
39
- const result = {}
40
- const dataObj = Array.isArray(this.data) ? this.data[0] || {} : this.data
41
-
42
- Object.entries(dataObj).forEach(([key, value]) => {
43
- // 只显示简单类型(字符串、数字、布尔值)
44
- if (typeof value !== 'object' || value === null) {
45
- result[key] = value
46
- } else if (Array.isArray(value)) {
47
- result[key] = `数组(${value.length}项)`
48
- } else {
49
- result[key] = '对象'
50
- }
51
- })
52
-
53
- return result
54
- }
55
- },
56
- methods: {
57
- handleClose() {
58
- // 触发父组件传递的 close 事件
59
- this.$emit('close')
60
- }
61
- }
62
- }
63
- </script>
64
-
65
- <style scoped>
66
- .info-window-content {
67
- background: white;
68
- border-radius: 8px;
69
- box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
70
- min-width: 200px;
71
- max-width: 300px;
72
- overflow: hidden;
73
- }
74
-
75
- .info-window-header {
76
- display: flex;
77
- justify-content: space-between;
78
- align-items: center;
79
- padding: 12px 16px;
80
- background: linear-gradient(135deg, #1890ff, #096dd9);
81
- color: white;
82
- }
83
-
84
- .info-window-header h3 {
85
- margin: 0;
86
- font-size: 16px;
87
- font-weight: 500;
88
- }
89
-
90
- .close-btn {
91
- background: none;
92
- border: none;
93
- color: white;
94
- font-size: 20px;
95
- cursor: pointer;
96
- width: 24px;
97
- height: 24px;
98
- line-height: 24px;
99
- text-align: center;
100
- border-radius: 50%;
101
- transition: background-color 0.3s;
102
- }
103
-
104
- .close-btn:hover {
105
- background: rgba(255, 255, 255, 0.2);
106
- }
107
-
108
- .info-window-body {
109
- padding: 16px;
110
- max-height: 400px;
111
- overflow-y: auto;
112
- }
113
-
114
- .data-item {
115
- margin-bottom: 8px;
116
- padding-bottom: 8px;
117
- border-bottom: 1px solid #f0f0f0;
118
- }
119
-
120
- .data-item:last-child {
121
- margin-bottom: 0;
122
- border-bottom: none;
123
- }
124
-
125
- .data-key {
126
- font-weight: 600;
127
- color: #666;
128
- margin-right: 8px;
129
- }
130
-
131
- .data-value {
132
- color: #333;
133
- word-break: break-all;
134
- }
135
-
136
- .no-data {
137
- text-align: center;
138
- color: #999;
139
- padding: 20px 0;
140
- }
141
- </style>
1
+ <template>
2
+ <div class="info-window-content">
3
+ <!-- 关闭按钮 -->
4
+ <div class="info-window-header">
5
+ <h3>{{ title }}</h3>
6
+ <button class="close-btn" @click="handleClose">×</button>
7
+ </div>
8
+
9
+ <!-- 数据展示 -->
10
+ <div class="info-window-body">
11
+ <div v-if="data">
12
+ {{ data }}
13
+ </div>
14
+ <div v-else class="no-data">
15
+ 暂无数据
16
+ </div>
17
+ </div>
18
+ </div>
19
+ </template>
20
+
21
+ <script>
22
+ export default {
23
+ name: 'InfoWindowComponent',
24
+ props: {
25
+ data: {
26
+ type: [Object, Array],
27
+ default: null
28
+ },
29
+ title: {
30
+ type: String,
31
+ default: '巡检计划详情'
32
+ }
33
+ },
34
+ computed: {
35
+ // 格式化数据,只显示简单类型(避免显示复杂对象)
36
+ formattedData() {
37
+ if (!this.data) return {}
38
+
39
+ const result = {}
40
+ const dataObj = Array.isArray(this.data) ? this.data[0] || {} : this.data
41
+
42
+ Object.entries(dataObj).forEach(([key, value]) => {
43
+ // 只显示简单类型(字符串、数字、布尔值)
44
+ if (typeof value !== 'object' || value === null) {
45
+ result[key] = value
46
+ } else if (Array.isArray(value)) {
47
+ result[key] = `数组(${value.length}项)`
48
+ } else {
49
+ result[key] = '对象'
50
+ }
51
+ })
52
+
53
+ return result
54
+ }
55
+ },
56
+ methods: {
57
+ handleClose() {
58
+ // 触发父组件传递的 close 事件
59
+ this.$emit('close')
60
+ }
61
+ }
62
+ }
63
+ </script>
64
+
65
+ <style scoped>
66
+ .info-window-content {
67
+ background: white;
68
+ border-radius: 8px;
69
+ box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
70
+ min-width: 200px;
71
+ max-width: 300px;
72
+ overflow: hidden;
73
+ }
74
+
75
+ .info-window-header {
76
+ display: flex;
77
+ justify-content: space-between;
78
+ align-items: center;
79
+ padding: 12px 16px;
80
+ background: linear-gradient(135deg, #1890ff, #096dd9);
81
+ color: white;
82
+ }
83
+
84
+ .info-window-header h3 {
85
+ margin: 0;
86
+ font-size: 16px;
87
+ font-weight: 500;
88
+ }
89
+
90
+ .close-btn {
91
+ background: none;
92
+ border: none;
93
+ color: white;
94
+ font-size: 20px;
95
+ cursor: pointer;
96
+ width: 24px;
97
+ height: 24px;
98
+ line-height: 24px;
99
+ text-align: center;
100
+ border-radius: 50%;
101
+ transition: background-color 0.3s;
102
+ }
103
+
104
+ .close-btn:hover {
105
+ background: rgba(255, 255, 255, 0.2);
106
+ }
107
+
108
+ .info-window-body {
109
+ padding: 16px;
110
+ max-height: 400px;
111
+ overflow-y: auto;
112
+ }
113
+
114
+ .data-item {
115
+ margin-bottom: 8px;
116
+ padding-bottom: 8px;
117
+ border-bottom: 1px solid #f0f0f0;
118
+ }
119
+
120
+ .data-item:last-child {
121
+ margin-bottom: 0;
122
+ border-bottom: none;
123
+ }
124
+
125
+ .data-key {
126
+ font-weight: 600;
127
+ color: #666;
128
+ margin-right: 8px;
129
+ }
130
+
131
+ .data-value {
132
+ color: #333;
133
+ word-break: break-all;
134
+ }
135
+
136
+ .no-data {
137
+ text-align: center;
138
+ color: #999;
139
+ padding: 20px 0;
140
+ }
141
+ </style>