vue2-client 1.15.62 → 1.15.64
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
@@ -3,13 +3,11 @@
|
|
3
3
|
<div class="file-grid">
|
4
4
|
<div v-for="file in files" :key="file.id" class="file-item">
|
5
5
|
<div class="file-info">
|
6
|
-
<div
|
7
|
-
<
|
8
|
-
|
9
|
-
|
10
|
-
<
|
11
|
-
<a-icon :type="getFileIcon(file.name)" class="file-icon" />
|
12
|
-
</template>
|
6
|
+
<div v-if="isImageType(file.name)">
|
7
|
+
<img :src="file.url" class="file-thumb" />
|
8
|
+
</div>
|
9
|
+
<div v-else class="file-icon-wrapper" :class="getFileTypeClass(file.name)">
|
10
|
+
<a-icon :type="getFileIcon(file.name)" class="file-icon" />
|
13
11
|
</div>
|
14
12
|
<div class="file-content">
|
15
13
|
<div class="file-header">
|
@@ -219,13 +217,6 @@ export default {
|
|
219
217
|
font-size: 24px;
|
220
218
|
color: #fff;
|
221
219
|
}
|
222
|
-
.file-thumb {
|
223
|
-
width: 40px;
|
224
|
-
height: 40px;
|
225
|
-
object-fit: cover;
|
226
|
-
border-radius: 8px;
|
227
|
-
box-shadow: 0 1px 4px rgba(0,0,0,0.08);
|
228
|
-
}
|
229
220
|
}
|
230
221
|
|
231
222
|
.file-content {
|
@@ -318,4 +309,12 @@ export default {
|
|
318
309
|
}
|
319
310
|
}
|
320
311
|
}
|
312
|
+
.file-thumb {
|
313
|
+
width: 48px;
|
314
|
+
height: 48px;
|
315
|
+
object-fit: cover;
|
316
|
+
margin-right: 16px;
|
317
|
+
border-radius: 12px;
|
318
|
+
box-shadow: 0 1px 4px rgba(0,0,0,0.08);
|
319
|
+
}
|
321
320
|
</style>
|
@@ -73,7 +73,7 @@ export default {
|
|
73
73
|
methods: {
|
74
74
|
init () {
|
75
75
|
this.fixedQueryForm = { w_f_workflow_id: this.workflowId }
|
76
|
-
this.fixedAddForm = {
|
76
|
+
this.fixedAddForm = { w_defname: this.details.f_sub_state }
|
77
77
|
this.$refs.xFormTable.refreshTable(true)
|
78
78
|
},
|
79
79
|
toDetail (record, id) {
|