licp
2024-05-27 58a959d4c793ff56b1d001d3b3b82baa08973b9c
src/components/view/person-manage.vue
@@ -289,7 +289,8 @@
            font: '编辑',
            type: 'text',
            method: 'doDiy',
            field: ['createUserName', 'updateUserName', 'roleName', '角色=roleId', '密码=password']
            field: ['roleName', '角色=roleId', '密码=password',
            '姓名EN=nameEn','年龄=age','邮箱=email','单位=company','签名=pictureUrl','本人照=signatureUrl']
          }],
          tagField: {
            state: {
@@ -489,8 +490,10 @@
        this.addUserPower = addUserPower
      },
      handleAdd() {
        console.log(`output->this.addOb.fatherId`,this.addOb.fatherId)
        console.log(`output->this.addOb.name`,this.addOb.name)
        if (this.addOb.fatherId||this.addOb.name=='全部') {
          this.addDia0 = true;
          this.addDia = true;
        } else {
          this.$message.error('请选择一个架构层级')
        }
@@ -586,13 +589,13 @@
            return
          }
          this.$message.success('添加成功')
          this.addDia0 = false
          this.addDia = false
          this.selectTreeList()
          this.addLoad = false
          this.addOb.name = ''
          this.addOb.fatherId = ''
        }).catch(e => {
          this.addDia0 = false
          this.addDia = false
          this.addLoad = false
        })
      },