修改禅道已知bug
This commit is contained in:
@@ -322,12 +322,23 @@
|
|||||||
content.push(res)
|
content.push(res)
|
||||||
}
|
}
|
||||||
} else if (res.type == 'Depart') {
|
} else if (res.type == 'Depart') {
|
||||||
|
if (!this.selectDepartment) {
|
||||||
|
res.disabled = true
|
||||||
|
}
|
||||||
content.push(res)
|
content.push(res)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
this.gData = this.toTree(content)
|
this.gData = this.toTree(content)
|
||||||
} else {
|
} else {
|
||||||
this.gData = this.toTree(JSON.parse(gData))
|
let content = JSON.parse(gData)
|
||||||
|
if (!this.selectDepartment) {
|
||||||
|
content.forEach(res => {
|
||||||
|
if (res.type == 'Depart') {
|
||||||
|
res.disabled = true
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
this.gData = this.toTree(content)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.defaultCheckedKeys = this.userIds
|
this.defaultCheckedKeys = this.userIds
|
||||||
@@ -524,6 +535,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.treeWrap {
|
.treeWrap {
|
||||||
height: 600px;
|
height: calc(100vh - 240px);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -208,7 +208,7 @@
|
|||||||
<a-form-model-item class="itemModel" prop="authManageIdsName">
|
<a-form-model-item class="itemModel" prop="authManageIdsName">
|
||||||
<PersonnelSelection class="box-input add-input"
|
<PersonnelSelection class="box-input add-input"
|
||||||
:personneQuery="form"
|
:personneQuery="form"
|
||||||
selectDepartment
|
:selectDepartment="true"
|
||||||
:query="{db_field_name:'authManageIds',db_field_txt:$t('Administrativeprivileges')}"
|
:query="{db_field_name:'authManageIds',db_field_txt:$t('Administrativeprivileges')}"
|
||||||
@change="PersonnelSelectionChange"
|
@change="PersonnelSelectionChange"
|
||||||
v-model="form.authManageIdsName"/>
|
v-model="form.authManageIdsName"/>
|
||||||
@@ -226,7 +226,7 @@
|
|||||||
<a-form-model-item class="itemModel" prop="authViewIdsName">
|
<a-form-model-item class="itemModel" prop="authViewIdsName">
|
||||||
<PersonnelSelection
|
<PersonnelSelection
|
||||||
class="box-input add-input"
|
class="box-input add-input"
|
||||||
selectDepartment
|
:selectDepartment="true"
|
||||||
:personneQuery="form"
|
:personneQuery="form"
|
||||||
:query="{db_field_name:'authViewIds',db_field_txt:$t('Checkthepermissions')}"
|
:query="{db_field_name:'authViewIds',db_field_txt:$t('Checkthepermissions')}"
|
||||||
@change="PersonnelSelectionChange"
|
@change="PersonnelSelectionChange"
|
||||||
|
|||||||
@@ -33,7 +33,6 @@
|
|||||||
:title="titleName"
|
:title="titleName"
|
||||||
:isSendBack="isSendBackOne"
|
:isSendBack="isSendBackOne"
|
||||||
ref="examineInformationRef"
|
ref="examineInformationRef"
|
||||||
:isSendBack="isSendBackOne"
|
|
||||||
:url="url"/>
|
:url="url"/>
|
||||||
<!-- @terminationProcess="terminationProcess"-->
|
<!-- @terminationProcess="terminationProcess"-->
|
||||||
<footerProcess
|
<footerProcess
|
||||||
|
|||||||
Reference in New Issue
Block a user