Commit c2546305 authored by 高滢's avatar 高滢

feat(审核): 列

parent e34d7a04
import { BasicColumn, FormSchema } from '@/components/Table'; import { BasicColumn, FormSchema } from '@/components/Table';
import {useUserStore} from "@/store/modules/user";
const deptId = useUserStore().userInfo.deptParentId;
type CheckedType = boolean | string | number; type CheckedType = boolean | string | number;
//主模块-已竣工列表页 //主模块-已竣工列表页
export const columns: ( export const columns: (
...@@ -65,6 +66,7 @@ export const columns: ( ...@@ -65,6 +66,7 @@ export const columns: (
{ {
title: '审核状态', title: '审核状态',
dataIndex: 'auditResult', dataIndex: 'auditResult',
ifShow: deptId != '100',
width: 180, width: 180,
}, },
{ {
......
import { BasicColumn, FormSchema } from '@/components/Table'; import { BasicColumn, FormSchema } from '@/components/Table';
import {useUserStore} from "@/store/modules/user";
const deptId = useUserStore().userInfo.deptParentId;
type CheckedType = boolean | string | number; type CheckedType = boolean | string | number;
export const columns: ( export const columns: (
| { dataIndex: string; width: number; title: string } | { dataIndex: string; width: number; title: string }
...@@ -64,6 +65,7 @@ export const columns: ( ...@@ -64,6 +65,7 @@ export const columns: (
{ {
title: '审核状态', title: '审核状态',
dataIndex: 'planResult', dataIndex: 'planResult',
ifShow: deptId != '100',
width: 180, width: 180,
}, },
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment