jiangping
2024-02-02 f8b1073fbb28d37e08016eed32c682f8c5eae391
company/src/components/enterprise/insuranceRecords.vue
@@ -79,20 +79,14 @@
                this.title = title
                this.list = []
                this.visible = true
      this.form = {
        id: null,
        name: '',
        idcardNo: '',
        solutionsStatus: ''
      }
      this.form = target
                // 新建
                if (target == null) {
                    this.$nextTick(() => {
                        this.$refs.form.resetFields()
                        this.form[this.configData['field.id']] = null
                    })
                    return
                }
                // 编辑
                this.$nextTick(() => {
                    for (const key in this.form) {
                        this.form[key] = target[key]
                    }
                })
                this.getList()
            },
            expr() {
@@ -109,7 +103,7 @@
            },
            getList() {
                findList({
                    memberId: this.form.id
        memberId: this.form.id || -1
                }).then(res => {
                    console.log(res)
                    this.list = res