基础管理

This commit is contained in:
jjLv 2024-10-24 18:11:40 +08:00
parent 753b02ed90
commit 77b4ec475b
1 changed files with 6 additions and 5 deletions

View File

@ -428,6 +428,7 @@ export default {
roleOptions: [],
//
form: {},
levelTemp:0,
// defaultProps: {
// children: "children",
// // label: "nickName"
@ -541,6 +542,7 @@ export default {
handleNodeClick(data) {
console.log('data',data)
this.chosenUserId = data.id;
this.levelTemp = data.level
this.queryParams.userId = data.userId;
// this.getList()
// this.queryParams.deptId = data.id;
@ -601,16 +603,15 @@ export default {
handleSave() {
console.log(this.chosenUserId, 'chosenUserId')
console.log(this.ids, 'ids')
if(this.levelTemp!=3) {
this.$modal.msgError("请先选择配置人员!")
return
}
if( this.ids.length < 1) {
this.$modal.msgError('请勾选需要绑定的单位!')
return
}
if(!this.chosenUserId) {
this.$modal.msgError("请先选择配置人员!")
return
}
let param = {