From d4d65c814113e47b6dd61fe39dd0a09ec737bc10 Mon Sep 17 00:00:00 2001 From: Crunchy <3114200645@qq.com> Date: 星期日, 26 五月 2024 23:05:38 +0800 Subject: [PATCH] 2024-5-24 需求小调整 --- src/components/view/person-manage.vue | 20 +++++++++++++------- 1 files changed, 13 insertions(+), 7 deletions(-) diff --git a/src/components/view/person-manage.vue b/src/components/view/person-manage.vue index 868ad70..c8f2816 100644 --- a/src/components/view/person-manage.vue +++ b/src/components/view/person-manage.vue @@ -289,7 +289,8 @@ font: '缂栬緫', type: 'text', method: 'doDiy', - field: ['createUserName', 'updateUserName', 'roleName', '瑙掕壊=roleId', '瀵嗙爜=password'] + field: ['createUserName', 'updateUserName', '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 }) }, @@ -630,11 +633,11 @@ } let arr = [] this.currentCompaniesList.forEach(b=>{ - this.companiesList.forEach(a=>{ + /* this.companiesList.forEach(a=>{ if(a.companyId===b){ console.log(a) } - }) + }) */ let obj = this.companiesList.find(a=>a.companyId==b) arr.push(obj) }) @@ -652,10 +655,13 @@ return } this.$message.success('鎿嶄綔鎴愬姛') - this.refresh() this.multipleSelection = [] this.$refs.personTable.clearSelection() this.addthirdParty = false + this.addLoad = false + this.personList = [] + this.userSearch2 = '' + this.refresh() }).catch(e => { this.addthirdParty = false this.addLoad = false -- Gitblit v1.9.3