|
@@ -168,10 +168,14 @@ const getAllRoleList = async () => {
|
|
|
//角色被点击
|
|
|
const roleItem = ref({})
|
|
|
const roleItemClick = async(item) => {
|
|
|
+
|
|
|
+
|
|
|
//roleItem.value = item
|
|
|
//const arr = getArrValue(item.childRoleList)
|
|
|
// positionList.value = deepClone(arr)
|
|
|
if (roleItem.value.roleId === item.roleId) {
|
|
|
+
|
|
|
+
|
|
|
// 如果点击的是已选中的角色,则清空选择
|
|
|
roleItem.value = {}
|
|
|
positionList.value = []
|
|
@@ -204,6 +208,7 @@ const positionSearch = () => {
|
|
|
//岗位被点击
|
|
|
const positionItem = ref({})
|
|
|
const positionItemClick = async(item) => {
|
|
|
+
|
|
|
// positionItem.value = item
|
|
|
// setSignPfxUser(item.signPfxFileList)
|
|
|
if (positionItem.value.roleId === item.roleId) {
|