diff --git a/src/api/sys/model/layerModel.ts b/src/api/sys/model/layerModel.ts index 5f8c4ff6..45206b11 100644 --- a/src/api/sys/model/layerModel.ts +++ b/src/api/sys/model/layerModel.ts @@ -31,7 +31,7 @@ export interface GetGeomParams { FieldValue:Array, page:number, limit:number, - key:string + key:string | null, } export interface RoleInfo { diff --git a/src/components/illegalmining/PaginationComponent/index.vue b/src/components/illegalmining/PaginationComponent/index.vue new file mode 100644 index 00000000..be6d2361 --- /dev/null +++ b/src/components/illegalmining/PaginationComponent/index.vue @@ -0,0 +1,33 @@ + + + + + diff --git a/src/components/illegalmining/SearchComponent/index.vue b/src/components/illegalmining/SearchComponent/index.vue new file mode 100644 index 00000000..7938a995 --- /dev/null +++ b/src/components/illegalmining/SearchComponent/index.vue @@ -0,0 +1,192 @@ + + + + + diff --git a/src/components/illegalmining/ShowListComponent/index.vue b/src/components/illegalmining/ShowListComponent/index.vue new file mode 100644 index 00000000..b47e3615 --- /dev/null +++ b/src/components/illegalmining/ShowListComponent/index.vue @@ -0,0 +1,307 @@ + + + + + diff --git a/src/components/illegalmining/SortComponent/index.vue b/src/components/illegalmining/SortComponent/index.vue new file mode 100644 index 00000000..a630ef16 --- /dev/null +++ b/src/components/illegalmining/SortComponent/index.vue @@ -0,0 +1,123 @@ + + + + + diff --git a/src/components/illegalmining/util.ts b/src/components/illegalmining/util.ts new file mode 100644 index 00000000..b3a35ea0 --- /dev/null +++ b/src/components/illegalmining/util.ts @@ -0,0 +1,73 @@ +/** + * 年份 year + * 图斑来源 tubanlaiyuan + * 图斑类型 typename + * 县区 countyid + * 乡镇 streetid + * 处理状态 nowStatus + * 下发时间段 startTime-endTime + * 图斑号 caseNo + */ +// 图斑来源 +import { getChildrenTree } from '@/api/demo/system'; +const counties = await getChildrenTree({ parentId: 371300 }) +console.log(counties,'counties') +export const polygonSourceOptions= [ + { label: '群众举报', value: '群众举报'}, + { label: '舆情', value: '舆情'}, + { label: '12345', value: '12345'}, + { label: '矿产卫片', value: '矿产卫片'}, + { label: '无人机巡查', value: '无人机巡查'}, + { label: '其他部门移交', value: '其他部门移交'}, + { label: '上级领导交班', value: '上级领导交班'}, + { label: '县级自查上报', value: '县级自查上报'}, +] +// 图斑类型 +export const polygonTypeOptions= [ + { label: '开采', value: '开采'}, + { label: '加工', value: '加工'}, +] +// 当前状态 +export const statusOptions = [ + { label: '待填报', value: '1'}, + { label: '待整改', value: '2'}, + { label: '待县级审核', value: '3'}, + { label: '待市级审核', value: '4'}, + { label: '待查处', value: '5'}, + { label: '查处待县级审核', value: '6'}, + { label: '查处待市级审核', value: '7'}, + { label: '查处后待整改', value: '8'}, + { label: '整改后待县级审核', value: '9'}, + { label: '整改后待市级审核', value: '10'}, + { label: '已归档', value: '99'}, +] +// 整改类型 +export const rectifyTypeOptions = [ + { label: '取缔', value: '取缔'}, + { label: '保留', value: '保留'}, +] +// 违法类型(开采) +export const mineIllegalTypeOptions = [ + { label: '无证开采类', value: '无证开采类'}, + { label: '越界开采类', value: '越界开采类'}, + { label: '持证矿山类', value: '持证矿山类'}, + { label: '以项目名义类', value: '以项目名义类'}, + { label: '其他', value: '其他'}, +] +// 违法类型(加工) +export const processIllegalTypeOptions = [ + { label: '违法占地', value: '违法占地'}, + { label: '购销非法开采矿产品', value: '购销非法开采矿产品'}, + { label: '其他', value: '其他'}, +] +export const countiesOptions = counties.map(item => { + return { + label: item.name, + value: item.id + } +}) +export const orderUtils = { + 0: null, + 1: 'asc', + 2: 'desc', +} \ No newline at end of file diff --git a/src/views/demo/illegalmining/patternfilling/MapList/index.vue b/src/views/demo/illegalmining/patternfilling/MapList/index.vue new file mode 100644 index 00000000..f6d18934 --- /dev/null +++ b/src/views/demo/illegalmining/patternfilling/MapList/index.vue @@ -0,0 +1,147 @@ + + + + + diff --git a/src/views/demo/illegalmining/patternfilling/index.vue b/src/views/demo/illegalmining/patternfilling/index.vue new file mode 100644 index 00000000..78cb45ca --- /dev/null +++ b/src/views/demo/illegalmining/patternfilling/index.vue @@ -0,0 +1,86 @@ + + + + + diff --git a/types/store.d.ts b/types/store.d.ts index 3bd85830..754954a0 100644 --- a/types/store.d.ts +++ b/types/store.d.ts @@ -36,6 +36,7 @@ export interface ErrorLogInfo { } export interface UserInfo { + id?: string | number; userId: string | number; username: string; realName: string;