af-mobile-client-vue3 1.0.78 → 1.0.79
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
|
@@ -100,8 +100,9 @@ defineExpose({ init })
|
|
|
100
100
|
:title="item.describe ? item.describe : item.tableName "
|
|
101
101
|
>
|
|
102
102
|
<div class="x-form-group-item">
|
|
103
|
+
<!-- :ref="`xFormListRef-${index}`" -->
|
|
103
104
|
<XForm
|
|
104
|
-
|
|
105
|
+
ref="xFormListRef"
|
|
105
106
|
:mode="props.mode"
|
|
106
107
|
:group-form-items="item"
|
|
107
108
|
:form-data="item.groupName ? formData[item.groupName] : formData"
|
|
@@ -1,22 +1,20 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import XFormGroup from '@af-mobile-client-vue3/components/data/XFormGroup/index.vue'
|
|
3
3
|
import NormalDataLayout from '@af-mobile-client-vue3/components/layout/NormalDataLayout/index.vue'
|
|
4
|
-
import {onBeforeMount, onMounted, ref} from 'vue'
|
|
4
|
+
import { onBeforeMount, onMounted, ref } from 'vue'
|
|
5
5
|
import { showDialog } from 'vant'
|
|
6
|
-
import {runLogic} from "@af-mobile-client-vue3/services/api/common";
|
|
7
6
|
import { useRoute } from 'vue-router'
|
|
8
7
|
|
|
9
|
-
|
|
10
8
|
// 纯表单
|
|
11
|
-
const configName = ref(
|
|
12
|
-
const serviceName = ref(
|
|
9
|
+
const configName = ref('form_check_test')
|
|
10
|
+
const serviceName = ref('af-system')
|
|
13
11
|
|
|
14
12
|
// const configName = ref("计划下发Form")
|
|
15
13
|
// const serviceName = ref("af-linepatrol")
|
|
16
14
|
|
|
17
15
|
// 表单组
|
|
18
|
-
// const configName = ref(
|
|
19
|
-
// const serviceName = ref(
|
|
16
|
+
// const configName = ref('lngChargeAuditMobileFormGroup')
|
|
17
|
+
// const serviceName = ref('af-gaslink')
|
|
20
18
|
|
|
21
19
|
const formData = ref({})
|
|
22
20
|
const formGroup = ref(null)
|
|
@@ -44,12 +42,12 @@ function submit(_result) {
|
|
|
44
42
|
// runLogic('getlngChargeAuditMobileFormGroupData', { id: route.query?.id, o_id: route.query?.o_id }, 'af-gaslink').then((res) => {
|
|
45
43
|
// console.log('res------', res)
|
|
46
44
|
// formData.value = { ...res }
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
45
|
+
// formGroup.value.init({
|
|
46
|
+
// configName: configName.value,
|
|
47
|
+
// serviceName: serviceName.value,
|
|
48
|
+
// groupFormData: { ...res },
|
|
49
|
+
// mode: "新增"
|
|
50
|
+
// })
|
|
53
51
|
// isInit.value = true
|
|
54
52
|
// })
|
|
55
53
|
// }
|
|
@@ -62,7 +60,7 @@ function submit(_result) {
|
|
|
62
60
|
<template>
|
|
63
61
|
<NormalDataLayout id="XFormGroupView" title="纯表单">
|
|
64
62
|
<template #layout_content>
|
|
65
|
-
<!-- v-if="isInit"-->
|
|
63
|
+
<!-- v-if="isInit" -->
|
|
66
64
|
<XFormGroup
|
|
67
65
|
ref="formGroup"
|
|
68
66
|
:config-name="configName"
|