房屋详情待完善
This commit is contained in:
@@ -39,15 +39,15 @@ const menutlist = [
|
||||
// { label: '详情', value: 'main' }
|
||||
];
|
||||
|
||||
if (checkPermi(['system:house:remove'])) {
|
||||
menutlist.push({ label: '删除', value: 'delete' });
|
||||
}
|
||||
if (checkPermi(['system:house:edit'])) {
|
||||
menutlist.push({ label: '编辑', value: 'edit' });
|
||||
}
|
||||
if (checkPermi(['system:house:query'])) {
|
||||
if (checkPermi(['system:house:ByIdList'])) {
|
||||
menutlist.push({ label: '详情', value: 'main' });
|
||||
}
|
||||
if (checkPermi(['system:house:remove'])) {
|
||||
menutlist.push({ label: '删除', value: 'delete' });
|
||||
}
|
||||
function handleChangeCheckhouses(val: string[]) {
|
||||
houseStore.checkoutHousesFun([]);
|
||||
houseStore.checkoutHousesFun(val);
|
||||
@@ -76,7 +76,6 @@ function contextMenuFun(val: { type: string; value: string }) {
|
||||
if (!checkPermi(['house:delete:house'])) {
|
||||
break;
|
||||
}
|
||||
|
||||
proxy?.$modal.confirm('该信息删除后无法恢复,确定要删除吗?').then(() => {
|
||||
deleteHouseApi(val.value).then(() => {
|
||||
houseStore.switchBuilding(houseStore.currentBuildingInfo.id);
|
||||
|
||||
Reference in New Issue
Block a user