| | |
| | | checkedList.forEach((item) => { |
| | | arr.push({ leader: item.leader, userId: item.id ? item.id : item.userId }); |
| | | }); |
| | | if (arr.length === 0) { |
| | | this.$message({ |
| | | type: 'warning', |
| | | message: '请选择部门人员', |
| | | }) |
| | | } else { |
| | | // if (arr.length === 0) { |
| | | // this.$message({ |
| | | // type: 'warning', |
| | | // message: '请选择部门人员', |
| | | // }) |
| | | // } else { |
| | | this.$axios |
| | | .post("sccg/depart/update", { |
| | | id: user.id, |
| | |
| | | parentId: user.parentId === '暂无上级部门' ? 0 : user.parentId, |
| | | departDes: user.departDes, |
| | | departManagerList: arr, |
| | | departType: user.departType |
| | | }) |
| | | .then((res) => { |
| | | this.$message({ |
| | |
| | | this.$emit("changeDialog", { flag: false }); |
| | | this.getDepartList(); |
| | | }); |
| | | } |
| | | // } |
| | | } else { |
| | | return false; |
| | | } |
| | |
| | | <style lang="scss" scoped> |
| | | .updateUser { |
| | | border-radius: 1px; |
| | | background-color: #09152f; |
| | | // background-color: #09152f; |
| | | |
| | | main { |
| | | // border: 1px solid #fff; |
| | | text-align: left; |
| | | padding: 0 55px; |
| | | background-color: #09152f; |
| | | // background-color: #09152f; |
| | | padding-bottom: 50px; |
| | | |
| | | // .mainTitle { |
| | |
| | | } |
| | | |
| | | .updateUser::v-deep .el-form-item__label { |
| | | color: #4b9bb7; |
| | | // color: #4b9bb7; |
| | | } |
| | | |
| | | .updateUser::v-deep .el-input__inner { |
| | | background-color: #09152f; |
| | | border: 1px solid #17324c; |
| | | // background-color: #09152f; |
| | | // border: 1px solid #17324c; |
| | | } |
| | | |
| | | .addPerson { |
| | |
| | | min-height: 240px; |
| | | max-height: 260px; |
| | | overflow: hidden; |
| | | background-color: #09152f; |
| | | // background-color: #09152f; |
| | | position: relative; |
| | | max-width: 220px; |
| | | |
| | |
| | | right: 20px; |
| | | width: 20px; |
| | | height: 180px; |
| | | background-color: #09152f; |
| | | // background-color: #09152f; |
| | | } |
| | | |
| | | .item { |