MrShi
2024-01-26 cece17f846dca06261e4b56fb2b9789dec380670
company/src/components/business/OperaInsuranceApplyWindow.vue
@@ -1,7 +1,7 @@
<template>
    <GlobalWindow
        :title="title"
        width="80%"
        width="100%"
        :visible.sync="visible"
        :confirm-working="isWorking"
        @confirm="confirm"
@@ -410,6 +410,7 @@
                    user: '',
                    region: ''
                },
                value1: '',
                visible1: false,
                visible2: false,
                visible3: false,
@@ -442,6 +443,24 @@
            })
        },
        methods: {
            open (title, target) {
                this.title = title
                this.visible = true
                // 新建
                // 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]
                    }
                })
            },
            handleRemove(file, fileList) {
                console.log(file, fileList);
            },