From 8de16eb6c1bc4a001dc16edbf398d946bf4cbc95 Mon Sep 17 00:00:00 2001
From: 13176889840 <13176889840@163.com>
Date: Thu, 26 May 2022 15:26:05 +0800
Subject: [PATCH] dd
---
src/views/components/resiForm.vue | 11 +++++++++--
src/views/modules/base/resi.vue | 14 ++++++++------
2 files changed, 17 insertions(+), 8 deletions(-)
diff --git a/src/views/components/resiForm.vue b/src/views/components/resiForm.vue
index 615d860c..1f138a54 100644
--- a/src/views/components/resiForm.vue
+++ b/src/views/components/resiForm.vue
@@ -205,14 +205,18 @@
+ :label="ns.value" @change="hanldeChangeRadio(n)">
{{ ns.label }}
- {{ns.label}}
+
+
+ {{ns.label}}
+
+
@@ -487,6 +491,9 @@ export default {
// }
})
},
+ hanldeChangeRadio(n) {
+ this.$emit('changeradio', n)
+ },
handleValidBlur(n) {
console.log('n---', n)
if (n.columnName !== 'ID_CARD') return
diff --git a/src/views/modules/base/resi.vue b/src/views/modules/base/resi.vue
index a76cfa99..f1f84829 100644
--- a/src/views/modules/base/resi.vue
+++ b/src/views/modules/base/resi.vue
@@ -197,7 +197,7 @@
{
+ let list = [...this.tabsList]
+ list.forEach((item, index) => {
if (item.tableName === childGroup.tableName) {
hasT = true
i = index
@@ -853,12 +854,13 @@ export default {
// console.log('')
}
})
- this.tabsList.push(childGroup)
+ list.push(childGroup)
}
} else {
// console.log('changegroup----000', value)
- if (hasT) this.tabsList.splice(i, 1)
+ if (hasT) list.splice(i, 1)
}
+ this.tabsList = [...list]
},
formetForm () {
const _baseForm = this.$refs.baseForm.handleForm()