lyfO_o
2022-05-13 a3ee87d62ccecc2e1e0b4f2f0cb8875a5efa88c8
src/views/systemManage/userManage/index.vue
@@ -676,6 +676,7 @@
                    idcard:'',
                    email:'',
                    company:'',
                    companyid:'',
                    department:'',
                    job:'',
                    type:'',
@@ -764,6 +765,7 @@
            },
            companyChange(val){
                this.dataForm.company = val.company
                this.dataForm.companyid = val.id
                if (val.ismain === 1) {
                    this.isMain = true;
                }else{
@@ -1028,6 +1030,7 @@
                this.resetDataForm()
                this.dataForm = row
                this.dataForm.password = null
                this.dataForm.companyid = row.companyInfo.id
                this.dialogStatus = 'update'
                this.dialogFormVisible = true
                let ismain = this.companyList.find(item=>item.company === row.company).ismain