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-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
|
||||
|
||||
@@ -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, {});
|
||||
|
||||
Reference in New Issue
Block a user