|
|
@@ -1,7 +1,7 @@
|
|
|
import { BasicColumn } from '/@/components/Table';
|
|
|
import { FormSchema } from '/@/components/Table';
|
|
|
import { RoleEnum } from '/@/enums/roleEnum';
|
|
|
-import { serviceTags, checkStatus } from '../sysDic'
|
|
|
+import { serviceTags, checkStatus } from '../sysDic';
|
|
|
|
|
|
export enum KeysTypeEnum {
|
|
|
DISABLED = 'disabled',
|
|
|
@@ -17,7 +17,7 @@ export const RoleMenuDictEnum: Recordable<{ key: string; keyType: KeysTypeEnum }
|
|
|
|
|
|
/**
|
|
|
* 查询条件
|
|
|
-*/
|
|
|
+ */
|
|
|
export const searchFormSchema: FormSchema[] = [
|
|
|
{
|
|
|
field: 'tagValue',
|
|
|
@@ -50,25 +50,30 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
|
|
|
/**
|
|
|
* 列表显示信息
|
|
|
-*/
|
|
|
+ */
|
|
|
export const columns: BasicColumn[] = [
|
|
|
+ {
|
|
|
+ title: '序号',
|
|
|
+ slots: { customRender: 'index' },
|
|
|
+ width: 50
|
|
|
+ },
|
|
|
{
|
|
|
title: '资源编号',
|
|
|
dataIndex: 'serviceid',
|
|
|
width: 120,
|
|
|
- align: 'left'
|
|
|
+ align: 'left',
|
|
|
},
|
|
|
{
|
|
|
title: '资源名称',
|
|
|
dataIndex: 'servicename',
|
|
|
width: 160,
|
|
|
- align: 'left'
|
|
|
+ align: 'left',
|
|
|
},
|
|
|
{
|
|
|
title: '坐标系名称',
|
|
|
dataIndex: 'crs',
|
|
|
width: 140,
|
|
|
- align: 'left'
|
|
|
+ align: 'left',
|
|
|
},
|
|
|
// {
|
|
|
// title: '资源标签',
|
|
|
@@ -85,7 +90,7 @@ export const columns: BasicColumn[] = [
|
|
|
title: '发布人',
|
|
|
dataIndex: 'publisher',
|
|
|
width: 100,
|
|
|
- align: 'left'
|
|
|
+ align: 'left',
|
|
|
},
|
|
|
// {
|
|
|
// title: '发布时间',
|
|
|
@@ -98,36 +103,34 @@ export const columns: BasicColumn[] = [
|
|
|
dataIndex: 'nodename',
|
|
|
width: 90,
|
|
|
slots: { customRender: 'nodename' },
|
|
|
- align: 'left'
|
|
|
+ align: 'left',
|
|
|
},
|
|
|
{
|
|
|
title: '当前处理人',
|
|
|
dataIndex: 'checkname',
|
|
|
width: 100,
|
|
|
slots: { customRender: 'checkname' },
|
|
|
- align: 'left'
|
|
|
+ align: 'left',
|
|
|
},
|
|
|
{
|
|
|
title: '审核状态',
|
|
|
dataIndex: 'status',
|
|
|
width: 110,
|
|
|
slots: { customRender: 'status' },
|
|
|
- align: 'left'
|
|
|
+ align: 'left',
|
|
|
},
|
|
|
{
|
|
|
title: '审核时间',
|
|
|
dataIndex: 'checktime',
|
|
|
width: 160,
|
|
|
slots: { customRender: 'checktime' },
|
|
|
- align: 'left'
|
|
|
+ align: 'left',
|
|
|
},
|
|
|
];
|
|
|
|
|
|
-
|
|
|
-
|
|
|
/**
|
|
|
* 表单
|
|
|
-*/
|
|
|
+ */
|
|
|
export const formSchema: FormSchema[] = [
|
|
|
{
|
|
|
field: 'groupName',
|
|
|
@@ -147,5 +150,5 @@ export const formSchema: FormSchema[] = [
|
|
|
maxLength: 255,
|
|
|
placeholder: '请输入排序',
|
|
|
},
|
|
|
- }
|
|
|
+ },
|
|
|
];
|