af-mobile-client-vue3 1.4.78 → 1.4.80
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/common/MateChat/index.vue +1 -1
- package/src/components/common/otherCharge/CodePayment.vue +1 -1
- package/src/components/common/otherCharge/ReceiptModal.vue +1 -1
- package/src/components/core/Signature/SignatureComponent.vue +1 -1
- package/src/components/core/XGridDropOption/index.vue +0 -1
- package/src/components/core/XMultiSelect/index.vue +1 -1
- package/src/components/core/XSelect/index.vue +1 -1
- package/src/components/data/XCellList/index.vue +1 -1
- package/src/components/data/XCellListFilter/index.vue +1 -1
- package/src/components/data/XForm/index.vue +1 -1
- package/src/components/data/XFormGroup/doc/DeviceForm.vue +1 -1
- package/src/components/data/XFormGroup/doc/UserForm.vue +1 -1
- package/src/components/data/XFormGroup/index.vue +1 -1
- package/src/components/data/XFormItem/index.vue +0 -3
- package/src/components/data/XReportForm/index.vue +1 -1
- package/src/components/data/XReportGrid/XReportDesign.vue +2 -2
- package/src/components/layout/TabBarLayout/index.vue +0 -1
- package/src/views/component/XCellListView/index.vue +1 -1
- package/src/views/userRecords/operateRecordDetail/index.vue +1 -1
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ import { usePasswordManager } from '@af-mobile-client-vue3/components/common/Mat
|
|
|
6
6
|
import { getConfigByNameAsync } from '@af-mobile-client-vue3/services/api/common'
|
|
7
7
|
// MateChat ai 对话相关
|
|
8
8
|
import { showFailToast, Button as VanButton, Icon as VanIcon, Loading as VanLoading } from 'vant'
|
|
9
|
-
import { computed,
|
|
9
|
+
import { computed, onMounted, ref } from 'vue'
|
|
10
10
|
|
|
11
11
|
interface MateChatProps {
|
|
12
12
|
/**
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type { SignatureComponentExpose, SignatureComponentProps } from '@af-mobile-client-vue3/components/core/Signature/signature'
|
|
3
3
|
import { mobileUtil } from '@af-mobile-client-vue3/utils/mobileUtil'
|
|
4
4
|
import { showImagePreview, showToast } from 'vant'
|
|
5
|
-
import {
|
|
5
|
+
import { inject, ref } from 'vue'
|
|
6
6
|
|
|
7
7
|
const props = withDefaults(defineProps<SignatureComponentProps>(), {
|
|
8
8
|
label: '用户签字',
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
Popup as VanPopup,
|
|
6
6
|
Search as VanSearch,
|
|
7
7
|
} from 'vant'
|
|
8
|
-
import { computed,
|
|
8
|
+
import { computed, onBeforeMount, ref, watch } from 'vue'
|
|
9
9
|
|
|
10
10
|
const props = defineProps({
|
|
11
11
|
columns: {
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
Space as VanSpace,
|
|
25
25
|
Tag as VanTag,
|
|
26
26
|
} from 'vant'
|
|
27
|
-
import { computed,
|
|
27
|
+
import { computed, getCurrentInstance, onBeforeMount, ref, useSlots, watch } from 'vue'
|
|
28
28
|
import { useRouter } from 'vue-router'
|
|
29
29
|
|
|
30
30
|
const {
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
Icon as VanIcon,
|
|
13
13
|
Row as VanRow,
|
|
14
14
|
} from 'vant'
|
|
15
|
-
import { computed,
|
|
15
|
+
import { computed, nextTick, onMounted, ref } from 'vue'
|
|
16
16
|
import QrScanner from './QrScanner/index.vue'
|
|
17
17
|
import VpnRecognition from './VpnRecognition/index.vue'
|
|
18
18
|
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
CellGroup as VanCellGroup,
|
|
14
14
|
Form as VanForm,
|
|
15
15
|
} from 'vant'
|
|
16
|
-
import { computed,
|
|
16
|
+
import { computed, inject, nextTick, onBeforeMount, reactive, ref, watch } from 'vue'
|
|
17
17
|
|
|
18
18
|
interface FormItem {
|
|
19
19
|
addOrEdit: string
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { Cell as VanCell, CellGroup as VanCellGroup, Field as VanField, Switch as VanSwitch } from 'vant'
|
|
3
|
-
import {
|
|
3
|
+
import { onMounted, onUnmounted, ref } from 'vue'
|
|
4
4
|
|
|
5
5
|
interface DeviceFormProps {
|
|
6
6
|
setRef?: (refValue: any) => void
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { CellGroup as VanCellGroup, Field as VanField } from 'vant'
|
|
3
|
-
import { defineExpose,
|
|
3
|
+
import { defineExpose, onMounted, onUnmounted, ref } from 'vue'
|
|
4
4
|
|
|
5
5
|
interface UserFormProps {
|
|
6
6
|
setRef?: (refValue: any) => void
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import XForm from '@af-mobile-client-vue3/components/data/XForm/index.vue'
|
|
3
3
|
import { getConfigByName } from '@af-mobile-client-vue3/services/api/common'
|
|
4
4
|
import { Button as VanButton, Tab as VanTab, Tabs as VanTabs } from 'vant'
|
|
5
|
-
import { computed,
|
|
5
|
+
import { computed, onBeforeMount, onMounted, ref, useSlots } from 'vue'
|
|
6
6
|
|
|
7
7
|
const props = withDefaults(defineProps<{
|
|
8
8
|
configName?: string
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
NavBar as vanNavBar,
|
|
17
17
|
Skeleton as vanSkeleton,
|
|
18
18
|
} from 'vant'
|
|
19
|
-
import {
|
|
19
|
+
import { nextTick, reactive, ref, watch } from 'vue'
|
|
20
20
|
// 移除 VueHashCalendar,使用自定义的 DateTimeSecondsPicker
|
|
21
21
|
|
|
22
22
|
// ------------------------- 类型定义 -------------------------
|
|
@@ -291,7 +291,7 @@ watch(() => activatedConfig.value, (val) => {
|
|
|
291
291
|
<template v-for="(num, listIndex) in row[0].listLength + 1">
|
|
292
292
|
<template v-if="!forDisplay">
|
|
293
293
|
<XReportTrGroup
|
|
294
|
-
:key="rowIndex
|
|
294
|
+
:key="`${rowIndex}-${listIndex}`"
|
|
295
295
|
:show-img-in-cell="showImgInCell"
|
|
296
296
|
:img-prefix="imgPrefix"
|
|
297
297
|
:server-name="serverName"
|
|
@@ -309,7 +309,7 @@ watch(() => activatedConfig.value, (val) => {
|
|
|
309
309
|
</template>
|
|
310
310
|
<template v-else>
|
|
311
311
|
<XReportTrGroup
|
|
312
|
-
:key="rowIndex
|
|
312
|
+
:key="`${rowIndex}-${listIndex}`"
|
|
313
313
|
:show-img-in-cell="showImgInCell"
|
|
314
314
|
:img-prefix="imgPrefix"
|
|
315
315
|
:server-name="serverName"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import XCellList from '@af-mobile-client-vue3/components/data/XCellList/index.vue'
|
|
3
3
|
import NormalDataLayout from '@af-mobile-client-vue3/components/layout/NormalDataLayout/index.vue'
|
|
4
4
|
import { useUserStore } from '@af-mobile-client-vue3/stores/modules/user'
|
|
5
|
-
import {
|
|
5
|
+
import { ref } from 'vue'
|
|
6
6
|
import { useRouter } from 'vue-router'
|
|
7
7
|
|
|
8
8
|
// 定义事件
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { runLogic } from '@af-mobile-client-vue3/services/api/common'
|
|
3
3
|
import { Loading as VanLoading } from 'vant'
|
|
4
|
-
import {
|
|
4
|
+
import { ref, watch } from 'vue'
|
|
5
5
|
|
|
6
6
|
import AddUserDetail from './operateRecordDetails/AddUserDetail.vue'
|
|
7
7
|
import AdvanceDeliveryDetail from './operateRecordDetails/AdvanceDeliveryDetail.vue'
|