|
@@ -151,7 +151,7 @@
|
|
const permissionStore = usePermissionStore();
|
|
const permissionStore = usePermissionStore();
|
|
const { getCheckPerm } = permissionStore;
|
|
const { getCheckPerm } = permissionStore;
|
|
const loading = ref(false);
|
|
const loading = ref(false);
|
|
- const tableType = ref<Recordable>(0); //0看看 、1看见、2深时
|
|
|
|
|
|
+ const tableType = ref<number>(0); //0看看 、1看见、2深时
|
|
const columns: BasicColumn[] = [
|
|
const columns: BasicColumn[] = [
|
|
{
|
|
{
|
|
title: '标题',
|
|
title: '标题',
|
|
@@ -162,12 +162,18 @@
|
|
minWidth: 150,
|
|
minWidth: 150,
|
|
width: 300,
|
|
width: 300,
|
|
},
|
|
},
|
|
- // {
|
|
|
|
- // title: '场景码',
|
|
|
|
- // dataIndex: 'num',
|
|
|
|
- // ellipsis: true,
|
|
|
|
- // width: 180,
|
|
|
|
- // },
|
|
|
|
|
|
+ {
|
|
|
|
+ title: '人员编号',
|
|
|
|
+ dataIndex: 'nickName',
|
|
|
|
+ ellipsis: true,
|
|
|
|
+ width: 100,
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ title: '姓名',
|
|
|
|
+ dataIndex: 'userName',
|
|
|
|
+ ellipsis: true,
|
|
|
|
+ width: 100,
|
|
|
|
+ },
|
|
{
|
|
{
|
|
title: '创建时间',
|
|
title: '创建时间',
|
|
dataIndex: 'createTime',
|
|
dataIndex: 'createTime',
|
|
@@ -281,7 +287,7 @@
|
|
ifShow: true,
|
|
ifShow: true,
|
|
fixed: 'right',
|
|
fixed: 'right',
|
|
flag: 'ACTION',
|
|
flag: 'ACTION',
|
|
- width: 400,
|
|
|
|
|
|
+ width: 200,
|
|
},
|
|
},
|
|
];
|
|
];
|
|
const searchForm: Partial<FormProps> = {
|
|
const searchForm: Partial<FormProps> = {
|
|
@@ -310,7 +316,7 @@
|
|
const [registerDownModal, { openModal: openDownModal }] = useModal();
|
|
const [registerDownModal, { openModal: openDownModal }] = useModal();
|
|
const [registerMoveModal, { openModal: openMoveModal }] = useModal();
|
|
const [registerMoveModal, { openModal: openMoveModal }] = useModal();
|
|
const [registerPowersModal, { openModal: openPowersModal }] = useModal();
|
|
const [registerPowersModal, { openModal: openPowersModal }] = useModal();
|
|
- const [registerTable, { reload }] = useTable({
|
|
|
|
|
|
+ const [registerTable, { reload, setColumns }] = useTable({
|
|
api: caseListApi,
|
|
api: caseListApi,
|
|
title: ``,
|
|
title: ``,
|
|
// titleHelpMessage: ['已启用expandRowByClick', '已启用stopButtonPropagation'],
|
|
// titleHelpMessage: ['已启用expandRowByClick', '已启用stopButtonPropagation'],
|
|
@@ -337,7 +343,7 @@
|
|
},
|
|
},
|
|
canResize: true,
|
|
canResize: true,
|
|
});
|
|
});
|
|
- function changeTable(val: string) {
|
|
|
|
|
|
+ function changeTable(val: number) {
|
|
tableType.value = val;
|
|
tableType.value = val;
|
|
reload();
|
|
reload();
|
|
}
|
|
}
|