af-mobile-client-vue3 1.3.69 → 1.3.70
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 +1 -1
- package/src/components/core/ImageUploader/index.vue +3 -3
- package/src/router/routes.ts +421 -421
- package/src/utils/queryFormDefaultRangePicker.ts +57 -57
- package/src/views/component/XCellListView/index.vue +44 -19
- package/src/views/component/XFormGroupView/index.vue +82 -78
- package/src/views/component/XFormView/index.vue +42 -41
- package/src/views/component/XOlMapView/XLocationPicker/index.vue +118 -118
package/package.json
CHANGED
|
@@ -209,7 +209,7 @@ function handlePhotoUpload(photoData: any) {
|
|
|
209
209
|
emit('updateAllFileList', imageList.value.filter(item => item.status === 'done').map(item => item)) // 新增
|
|
210
210
|
|
|
211
211
|
const doneIds = Object.values(imageList.value)
|
|
212
|
-
.filter(item => item.status === 'done')
|
|
212
|
+
.filter(item => !item.status || item.status === 'done')
|
|
213
213
|
.map(item => item.photo_name)
|
|
214
214
|
|
|
215
215
|
if (props.outerIndex !== undefined)
|
|
@@ -272,7 +272,7 @@ function deleteFileFunction(file: any) {
|
|
|
272
272
|
const doneIds = ref(null)
|
|
273
273
|
if (props.isAsyncUpload) {
|
|
274
274
|
doneIds.value = Object.values(imageList.value)
|
|
275
|
-
.filter(item => item.status === 'done')
|
|
275
|
+
.filter(item => !item.status || item.status === 'done')
|
|
276
276
|
.map(item => item.photo_name)
|
|
277
277
|
}
|
|
278
278
|
else {
|
|
@@ -299,7 +299,7 @@ function deleteFileFunction(file: any) {
|
|
|
299
299
|
const doneIds = ref(null)
|
|
300
300
|
if (props.isAsyncUpload) {
|
|
301
301
|
doneIds.value = Object.values(imageList.value)
|
|
302
|
-
.filter(item => item.status === 'done')
|
|
302
|
+
.filter(item => !item.status || item.status === 'done')
|
|
303
303
|
.map(item => item.photo_name)
|
|
304
304
|
}
|
|
305
305
|
else {
|