vue2-client 1.20.81 → 1.20.83
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/.idea/af-vue2-client.iml +4 -7
- package/.idea/deployment.xml +14 -0
- package/.idea/material_theme_project_new.xml +12 -0
- package/.idea/misc.xml +6 -0
- package/package.json +1 -1
- package/src/base-client/components/common/XFormTable/demo.vue +1 -1
- package/src/base-client/components/common/XInspectionDetailDrawer/components/AiDeviceStatus.vue +27 -9
- package/src/services/v3Api.js +1 -1
- package/vue.config.js +1 -1
- package/.idea/git_toolbox_prj.xml +0 -15
- package/.idea/jsLinters/eslint.xml +0 -6
package/.idea/af-vue2-client.iml
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<module type="
|
|
3
|
-
<component name="NewModuleRootManager">
|
|
4
|
-
<
|
|
5
|
-
|
|
6
|
-
<excludeFolder url="file://$MODULE_DIR$/temp" />
|
|
7
|
-
<excludeFolder url="file://$MODULE_DIR$/tmp" />
|
|
8
|
-
</content>
|
|
2
|
+
<module type="JAVA_MODULE" version="4">
|
|
3
|
+
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
4
|
+
<exclude-output />
|
|
5
|
+
<content url="file://$MODULE_DIR$" />
|
|
9
6
|
<orderEntry type="inheritedJdk" />
|
|
10
7
|
<orderEntry type="sourceFolder" forTests="false" />
|
|
11
8
|
</component>
|
|
@@ -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,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="MaterialThemeProjectNewConfig">
|
|
4
|
+
<option name="metadata">
|
|
5
|
+
<MTProjectMetadataState>
|
|
6
|
+
<option name="migrated" value="true" />
|
|
7
|
+
<option name="pristineConfig" value="false" />
|
|
8
|
+
<option name="userId" value="4c2a086e:19d8ecb8080:-7ff9" />
|
|
9
|
+
</MTProjectMetadataState>
|
|
10
|
+
</option>
|
|
11
|
+
</component>
|
|
12
|
+
</project>
|
package/.idea/misc.xml
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ProjectRootManager" version="2" languageLevel="JDK_21" default="true" project-jdk-name="graalvm-21" project-jdk-type="JavaSDK">
|
|
4
|
+
<output url="file://$PROJECT_DIR$/out" />
|
|
5
|
+
</component>
|
|
6
|
+
</project>
|
package/package.json
CHANGED
package/src/base-client/components/common/XInspectionDetailDrawer/components/AiDeviceStatus.vue
CHANGED
|
@@ -49,12 +49,12 @@
|
|
|
49
49
|
class="violation-row">
|
|
50
50
|
<span class="violation-key">{{ item.key }}</span>
|
|
51
51
|
<div class="violation-images" v-if="item.img && item.img.length > 0">
|
|
52
|
-
<
|
|
53
|
-
|
|
54
|
-
:
|
|
55
|
-
:
|
|
56
|
-
:
|
|
57
|
-
|
|
52
|
+
<file-image-group
|
|
53
|
+
:file-ids="getImagesPhotos(item.img)"
|
|
54
|
+
:service-name="serviceName"
|
|
55
|
+
:columns="2"
|
|
56
|
+
:image-size="60"
|
|
57
|
+
:gap="8"
|
|
58
58
|
/>
|
|
59
59
|
</div>
|
|
60
60
|
<div v-else class="violation-images-empty"></div>
|
|
@@ -95,7 +95,16 @@
|
|
|
95
95
|
:key="item.index"
|
|
96
96
|
class="inconsistent-row">
|
|
97
97
|
<div class="inconsistent-item">{{ item.name }}</div>
|
|
98
|
-
<div class="inconsistent-item"
|
|
98
|
+
<div class="inconsistent-item">
|
|
99
|
+
<file-image-group
|
|
100
|
+
v-if="item.inspectorImg"
|
|
101
|
+
:file-ids="getImagesPhotos([item.inspectorImg])"
|
|
102
|
+
:service-name="serviceName"
|
|
103
|
+
:columns="2"
|
|
104
|
+
:image-size="60"
|
|
105
|
+
:gap="8"
|
|
106
|
+
/>
|
|
107
|
+
<span v-else></span></div>
|
|
99
108
|
<div class="inconsistent-item">
|
|
100
109
|
<a-tag :color="getStatusTag(item.inspectorVal, item.options)?.color">
|
|
101
110
|
{{ getStatusTag(item.inspectorVal, item.options)?.text }}
|
|
@@ -148,7 +157,16 @@
|
|
|
148
157
|
:key="item.index"
|
|
149
158
|
class="danger-row">
|
|
150
159
|
<div class="danger-item">{{ item.name }}</div>
|
|
151
|
-
<div class="danger-item"
|
|
160
|
+
<div class="danger-item">
|
|
161
|
+
<file-image-group
|
|
162
|
+
v-if="item.aiImg"
|
|
163
|
+
:file-ids="getImagesPhotos([item.aiImg])"
|
|
164
|
+
:service-name="serviceName"
|
|
165
|
+
:columns="2"
|
|
166
|
+
:image-size="60"
|
|
167
|
+
:gap="8"
|
|
168
|
+
/>
|
|
169
|
+
<span v-else></span></div>
|
|
152
170
|
<div class="danger-item">{{ item.aiVal }}</div>
|
|
153
171
|
</div>
|
|
154
172
|
</div>
|
|
@@ -250,7 +268,7 @@ export default {
|
|
|
250
268
|
*/
|
|
251
269
|
getImagesPhotos(images) {
|
|
252
270
|
return Array.isArray(images)
|
|
253
|
-
? images.map(url => ({url}))
|
|
271
|
+
? images.map(url => ({url, photo_name: url}))
|
|
254
272
|
: []
|
|
255
273
|
},
|
|
256
274
|
|
package/src/services/v3Api.js
CHANGED
|
@@ -54,7 +54,7 @@ function transformData(inputData) {
|
|
|
54
54
|
f_organization_id: node.f_organization_id,
|
|
55
55
|
parentid: node.parentid || node.parentId || node.parent_id,
|
|
56
56
|
orgid: node.orgid,
|
|
57
|
-
children: node.children ? node.children.map(transform) : []
|
|
57
|
+
children: Array.isArray(node.children) ? node.children.map(transform) : []
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
|
package/vue.config.js
CHANGED
|
@@ -12,7 +12,7 @@ const isProd = process.env.NODE_ENV === 'production'
|
|
|
12
12
|
|
|
13
13
|
// v4 产品演示
|
|
14
14
|
const liuli = 'http://192.168.50.67:31467'
|
|
15
|
-
const v3Server = 'http://192.168.50.67:
|
|
15
|
+
const v3Server = 'http://192.168.50.67:31467'
|
|
16
16
|
const geoserver = 'http://192.168.50.67:31467'
|
|
17
17
|
// const gateway = 'http://192.168.50.67:31467'
|
|
18
18
|
// const testUpload = 'http://123.60.214.109:8406'
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="GitToolBoxProjectSettings">
|
|
4
|
-
<option name="commitMessageIssueKeyValidationOverride">
|
|
5
|
-
<BoolValueOverride>
|
|
6
|
-
<option name="enabled" value="true" />
|
|
7
|
-
</BoolValueOverride>
|
|
8
|
-
</option>
|
|
9
|
-
<option name="commitMessageValidationEnabledOverride">
|
|
10
|
-
<BoolValueOverride>
|
|
11
|
-
<option name="enabled" value="true" />
|
|
12
|
-
</BoolValueOverride>
|
|
13
|
-
</option>
|
|
14
|
-
</component>
|
|
15
|
-
</project>
|