案例所有人可见和判断没有案例操作

This commit is contained in:
NiSen
2023-06-26 12:21:45 +08:00
parent 914268558a
commit b1bebb8ef1
2 changed files with 16 additions and 12 deletions

View File

@@ -292,7 +292,7 @@
</a-menu-item> -->
<!-- 案例修改 -->
<!-- <a-sub-menu key="sub12" @titleClick="titleClick" v-if="checkMenu('casemanage')"> -->
<a-sub-menu key="sub12" @titleClick="titleClick" v-if="checkMenu('casemanage')">
<a-sub-menu key="sub12" @titleClick="titleClick" >
<template #icon>
<div class="imgBox">
<img

View File

@@ -71,7 +71,7 @@ import {
} from "@/api/case";
import dialog from "@/utils/dialog";
import InitiateRecommend from "@/components/drawers/InitiateRecommend.vue";
import { checkMenu } from "@/utils/utils";
const column = [
{
title: "推荐人",
@@ -153,7 +153,8 @@ const column = [
return text ? text : "-";
},
},
{
];
const authenticationColumn = {
title: "操作",
width: "20%",
className: "h",
@@ -162,8 +163,8 @@ const column = [
fixed: "right",
align: "center",
slots: { customRender: "operation" },
},
];
}
const state = reactive({
data: [],
total: 0,
@@ -209,6 +210,9 @@ onMounted(() => {
if (isOpen) {
newNext.value = true;
}
if (checkMenu('casemanage')) {
column.push(authenticationColumn)
}
});
const { resetFields } = Form.useForm(searchData, {});