|
|
@@ -2,6 +2,7 @@ import { BasicColumn } from '/@/components/Table';
|
|
|
import { FormSchema } from '/@/components/Table';
|
|
|
import { RoleEnum } from '/@/enums/roleEnum';
|
|
|
import { getServiceTypes, queryServiceTags, queryDicsByName, queryCoors } from '/@/api/resource/map';
|
|
|
+import moment from 'moment';
|
|
|
|
|
|
const resTag = await queryServiceTags()
|
|
|
let listTag = []
|
|
|
@@ -42,11 +43,10 @@ export const EPSGCodes = await queryDicsByName('EPSG code')
|
|
|
|
|
|
|
|
|
const checkStatus = [
|
|
|
- { label: '未提交', value: 1 },
|
|
|
- { label: '审核中', value: 2 },
|
|
|
- { label: '审核不通过', value: 3 },
|
|
|
- { label: '被驳回', value: 4 },
|
|
|
- { label: '审核通过', value: 5 },
|
|
|
+ { label: '未提交', value: '未提交' },
|
|
|
+ { label: '审核中', value: '审核中' },
|
|
|
+ { label: '审核不通过', value: '审核不通过' },
|
|
|
+ { label: '审核通过', value: '审核通过' },
|
|
|
]
|
|
|
export enum KeysTypeEnum {
|
|
|
DISABLED = 'disabled',
|
|
|
@@ -64,24 +64,24 @@ export const RoleMenuDictEnum: Recordable<{ key: string; keyType: KeysTypeEnum }
|
|
|
* 查询条件
|
|
|
*/
|
|
|
export const searchFormSchema: FormSchema[] = [
|
|
|
+ // {
|
|
|
+ // field: 'resTag',
|
|
|
+ // label: '资源标签',
|
|
|
+ // component: 'Select',
|
|
|
+ // componentProps: {
|
|
|
+ // options: serviceTags,
|
|
|
+ // // options: [
|
|
|
+ // // { label: '地图浏览工具', value: '地图浏览工具' },
|
|
|
+ // // { label: '服务加载工具', value: '服务加载工具' },
|
|
|
+ // // { label: 'GIS功能工具', value: 'GIS功能工具' },
|
|
|
+ // // { label: '空间分析工具', value: '空间分析工具' },
|
|
|
+ // // { label: '三维可视化效果工具', value: '三维可视化效果工具' },
|
|
|
+ // // ],
|
|
|
+ // },
|
|
|
+ // colProps: { span: 5 },
|
|
|
+ // },
|
|
|
{
|
|
|
- field: 'resTag',
|
|
|
- label: '资源标签',
|
|
|
- component: 'Select',
|
|
|
- componentProps: {
|
|
|
- options: serviceTags,
|
|
|
- // options: [
|
|
|
- // { label: '地图浏览工具', value: '地图浏览工具' },
|
|
|
- // { label: '服务加载工具', value: '服务加载工具' },
|
|
|
- // { label: 'GIS功能工具', value: 'GIS功能工具' },
|
|
|
- // { label: '空间分析工具', value: '空间分析工具' },
|
|
|
- // { label: '三维可视化效果工具', value: '三维可视化效果工具' },
|
|
|
- // ],
|
|
|
- },
|
|
|
- colProps: { span: 5 },
|
|
|
- },
|
|
|
- {
|
|
|
- field: 'resName',
|
|
|
+ field: 'keyword',
|
|
|
label: '资源名称',
|
|
|
component: 'Input',
|
|
|
colProps: { span: 5 },
|
|
|
@@ -90,7 +90,7 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- field: 'checkStatus',
|
|
|
+ field: 'shzt',
|
|
|
label: '审核状态',
|
|
|
component: 'Select',
|
|
|
componentProps: {
|
|
|
@@ -98,6 +98,17 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
},
|
|
|
colProps: { span: 5 },
|
|
|
},
|
|
|
+ {
|
|
|
+ field: 'sqsj',
|
|
|
+ label: '申请时间',
|
|
|
+ component: 'DatePicker',
|
|
|
+ componentProps: {
|
|
|
+ showTime: {
|
|
|
+ defaultValue: [moment('00:00:00', 'HH:mm:ss')],
|
|
|
+ },
|
|
|
+ },
|
|
|
+ colProps: { span: 6 },
|
|
|
+ },
|
|
|
];
|
|
|
|
|
|
/**
|
|
|
@@ -119,11 +130,11 @@ export const columns: BasicColumn[] = [
|
|
|
dataIndex: 'servicename',
|
|
|
width: 160,
|
|
|
},
|
|
|
- {
|
|
|
- title: '申请单位',
|
|
|
- dataIndex: 'servicename',
|
|
|
- width: 160,
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title: '申请单位',
|
|
|
+ // dataIndex: 'servicename',
|
|
|
+ // width: 160,
|
|
|
+ // },
|
|
|
// {
|
|
|
// title: '发布人',
|
|
|
// dataIndex: 'publisher',
|
|
|
@@ -137,16 +148,16 @@ export const columns: BasicColumn[] = [
|
|
|
// },
|
|
|
{
|
|
|
title: '申请时间',
|
|
|
- dataIndex: 'checkTime',
|
|
|
- width: 100,
|
|
|
- },
|
|
|
- {
|
|
|
- title: '申请人',
|
|
|
- dataIndex: 'curHandler',
|
|
|
- width: 100,
|
|
|
+ dataIndex: 'applyCarInfo.createtime',
|
|
|
+ width: 130,
|
|
|
},
|
|
|
+ // {
|
|
|
+ // title: '申请人',
|
|
|
+ // dataIndex: 'curHandler',
|
|
|
+ // width: 100,
|
|
|
+ // },
|
|
|
{
|
|
|
- title: '审核状态',
|
|
|
+ title: '申请状态',
|
|
|
dataIndex: 'shzt',
|
|
|
width: 110,
|
|
|
slots: { customRender: 'shzt' },
|