af-mobile-client-vue3 1.4.66 → 1.4.67
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 +7 -0
- package/src/components/data/OtherCharge/OtherChargeGroupModal.vue +542 -542
- package/src/components/data/XOlMap/types.ts +1 -1
- package/src/views/component/FilePreviewView/index.vue +31 -31
- package/src/views/component/XCellListView/index.vue +2 -78
- package/src/views/component/XFormView/index.vue +13 -28
- package/src/views/component/XOlMapView/XLocationPicker/index.vue +118 -118
package/package.json
CHANGED
|
@@ -5,6 +5,7 @@ import { mobileUtil } from '@af-mobile-client-vue3/utils/mobileUtil'
|
|
|
5
5
|
import { formatNow } from '@af-mobile-client-vue3/utils/timeUtil'
|
|
6
6
|
import {
|
|
7
7
|
ActionSheet,
|
|
8
|
+
showDialog,
|
|
8
9
|
Icon as VanIcon,
|
|
9
10
|
Uploader as vanUploader,
|
|
10
11
|
} from 'vant'
|
|
@@ -171,6 +172,12 @@ function triggerCamera() {
|
|
|
171
172
|
if (result.status === 'success') {
|
|
172
173
|
handlePhotoUpload(result.data)
|
|
173
174
|
}
|
|
175
|
+
else if (result.status === 'error') {
|
|
176
|
+
showDialog({
|
|
177
|
+
title: '拍照异常',
|
|
178
|
+
message: result.message || '拍照失败,请重试',
|
|
179
|
+
})
|
|
180
|
+
}
|
|
174
181
|
},
|
|
175
182
|
})
|
|
176
183
|
}
|