Sfoglia il codice sorgente

fix: 提交

bug/0816
yinsiyu 1 mese fa
parent
commit
a3222fe23b
1 ha cambiato i file con 13 aggiunte e 14 eliminazioni
  1. +13
    -14
      src/views/userManage/roleManage/roleDetail/index.vue

+ 13
- 14
src/views/userManage/roleManage/roleDetail/index.vue Vedi File

@@ -166,7 +166,7 @@ export default {
},
// 新增角色
handleAddRole() {
this.$refs.crud.open().then((res) => {
this.$refs.crud.open({}).then((res) => {
this.currentRole = res;
this.loadRoleList();
});
@@ -196,7 +196,7 @@ export default {
(children || []).forEach((item2, index2) => {
const { menuName: secondName, id } = item2;
if (!this.doctorWorkPers.includes(id)) {
return
return;
}
let pushItem = {
id,
@@ -213,7 +213,7 @@ export default {
}
if (doctorWorkData.length > 0) {
doctorWorkData[0].rowspan = doctorWorkData.length;
doctorWorkData[0].moduleName = "随访中心"
doctorWorkData[0].moduleName = "随访中心";
}

if (this.saleManageMenus?.length > 0) {
@@ -223,7 +223,7 @@ export default {
(children || []).forEach((item2, index2) => {
const { menuName: secondName, id } = item2;
if (!this.saleManagePers.includes(id)) {
return
return;
}
let pushItem = {
id,
@@ -231,7 +231,6 @@ export default {
secondName,
};
sChildren.push(pushItem);

});
if (sChildren?.length > 0) {
sChildren[0].rowspan2 = sChildren.length;
@@ -251,7 +250,7 @@ export default {
(children || []).forEach((item2, index2) => {
const { menuName: secondName, id } = item2;
if (!this.saleProcessPers.includes(id)) {
return
return;
}
let pushItem = {
id,
@@ -274,24 +273,24 @@ export default {
return tableData;
};
})(),
mergeTable({row, column, rowIndex, columnIndex}) {
mergeTable({ row, column, rowIndex, columnIndex }) {
if (columnIndex === 0) {
return {
rowspan: row.rowspan ? row.rowspan : 0,
colspan: 1
}
colspan: 1,
};
} else if (columnIndex === 1) {
return {
rowspan: row.rowspan2 ? row.rowspan2 : 0,
colspan: 1
}
colspan: 1,
};
} else {
return {
rowspan: 1,
colspan: 1
}
colspan: 1,
};
}
}
},
},
};
</script>


Loading…
Annulla
Salva