mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 12:26:47 +08:00
案例所有人可见和判断没有案例操作
This commit is contained in:
@@ -292,7 +292,7 @@
|
|||||||
</a-menu-item> -->
|
</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" v-if="checkMenu('casemanage')">
|
<a-sub-menu key="sub12" @titleClick="titleClick" >
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<div class="imgBox">
|
<div class="imgBox">
|
||||||
<img
|
<img
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ import {
|
|||||||
} from "@/api/case";
|
} from "@/api/case";
|
||||||
import dialog from "@/utils/dialog";
|
import dialog from "@/utils/dialog";
|
||||||
import InitiateRecommend from "@/components/drawers/InitiateRecommend.vue";
|
import InitiateRecommend from "@/components/drawers/InitiateRecommend.vue";
|
||||||
|
import { checkMenu } from "@/utils/utils";
|
||||||
const column = [
|
const column = [
|
||||||
{
|
{
|
||||||
title: "推荐人",
|
title: "推荐人",
|
||||||
@@ -153,17 +153,18 @@ const column = [
|
|||||||
return text ? text : "-";
|
return text ? text : "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
|
||||||
title: "操作",
|
|
||||||
width: "20%",
|
|
||||||
className: "h",
|
|
||||||
dataIndex: "id",
|
|
||||||
key: "id",
|
|
||||||
fixed: "right",
|
|
||||||
align: "center",
|
|
||||||
slots: { customRender: "operation" },
|
|
||||||
},
|
|
||||||
];
|
];
|
||||||
|
const authenticationColumn = {
|
||||||
|
title: "操作",
|
||||||
|
width: "20%",
|
||||||
|
className: "h",
|
||||||
|
dataIndex: "id",
|
||||||
|
key: "id",
|
||||||
|
fixed: "right",
|
||||||
|
align: "center",
|
||||||
|
slots: { customRender: "operation" },
|
||||||
|
}
|
||||||
|
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
data: [],
|
data: [],
|
||||||
total: 0,
|
total: 0,
|
||||||
@@ -209,6 +210,9 @@ onMounted(() => {
|
|||||||
if (isOpen) {
|
if (isOpen) {
|
||||||
newNext.value = true;
|
newNext.value = true;
|
||||||
}
|
}
|
||||||
|
if (checkMenu('casemanage')) {
|
||||||
|
column.push(authenticationColumn)
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
const { resetFields } = Form.useForm(searchData, {});
|
const { resetFields } = Form.useForm(searchData, {});
|
||||||
|
|||||||
Reference in New Issue
Block a user