From 2d5128f2638dcf08970c792a51e00f6dcee9a800 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BB=95=E5=B5=A9?= <17854119262@163.com> Date: Wed, 28 May 2025 15:36:57 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=9D=E6=B3=95=E7=94=A8=E5=9C=B0-=E6=8C=81?= =?UTF-8?q?=E7=BB=AD=E7=9B=91=E7=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/demo/system.ts | 23 +- .../MapList/ShowInfoModal/index.vue | 24 +- .../demo/tiankongdi/keepSupervision/index.vue | 446 ++++++++++++++++++ .../keepSupervision/keepSupervision.data.ts | 305 ++++++++++++ .../keepSupervision/uploadModal.vue | 228 +++++++++ 5 files changed, 1023 insertions(+), 3 deletions(-) create mode 100644 src/views/demo/tiankongdi/keepSupervision/index.vue create mode 100644 src/views/demo/tiankongdi/keepSupervision/keepSupervision.data.ts create mode 100644 src/views/demo/tiankongdi/keepSupervision/uploadModal.vue diff --git a/src/api/demo/system.ts b/src/api/demo/system.ts index c224197d..c3139301 100644 --- a/src/api/demo/system.ts +++ b/src/api/demo/system.ts @@ -138,6 +138,14 @@ enum Api { CaseOffenceMinerals = '/api/DroneCaseInfoMinerals/CaseOffenceMinerals', // 非法采矿-统计列表New CaseOffenceMineralsNew = '/api/DroneCaseInfoMinerals/CaseOffenceMineralsNew', + // 持续监管-列表 + LoadCaseInfoCxjgTuBanList = '/api/DroneCaseInfoSingle/LoadCaseInfoCxjgTuBanList', + // 持续监管-图片插入 + UpdateCxjgData = '/api/DroneCaseInfoSingle/UpdateCxjgData', + // 持续监管-审核 + CheckCxjgPic = '/api/DroneCaseInfoSingle/CheckCxjgPic', + // 持续监管-迁入违法专题 + MoveInIllegalSubejct = '/api/DroneCaseInfoSingle/MoveInIllegalSubejct', } export const getPositionsTree = (params?: AccountParams) => defHttp.get({ url: Api.PositionsTree, params }); @@ -529,4 +537,17 @@ export const CaseOffenceMinerals = (params: ReportParams) => defHttp.get({ url: Api.CaseOffenceMinerals, params }); // 非法采矿-统计列表New export const CaseOffenceMineralsNew = (params: ReportParams) => - defHttp.get({ url: Api.CaseOffenceMineralsNew, params }); \ No newline at end of file + defHttp.get({ url: Api.CaseOffenceMineralsNew, params }); + +// 持续监管-列表 +export const LoadCaseInfoCxjgTuBanList = (params) => + defHttp.get({ url: Api.LoadCaseInfoCxjgTuBanList, params }); +// 持续监管-图片插入 +export const UpdateCxjgData = (params) => + defHttp.get({ url: Api.UpdateCxjgData, params }); +// 持续监管-审核 +export const CheckCxjgPic = (params) => + defHttp.get({ url: Api.CheckCxjgPic, params }); +// 持续监管-迁入违法专题 +export const MoveInIllegalSubejct = (params) => + defHttp.post({ url: Api.MoveInIllegalSubejct, params }); \ No newline at end of file diff --git a/src/views/demo/tiankongdi/curbspotcity/MapList/ShowInfoModal/index.vue b/src/views/demo/tiankongdi/curbspotcity/MapList/ShowInfoModal/index.vue index 3c6eb31b..8f80af2c 100644 --- a/src/views/demo/tiankongdi/curbspotcity/MapList/ShowInfoModal/index.vue +++ b/src/views/demo/tiankongdi/curbspotcity/MapList/ShowInfoModal/index.vue @@ -438,6 +438,12 @@ --> +
+ 转入违法用地 +
@@ -462,8 +468,8 @@ diff --git a/src/views/demo/tiankongdi/keepSupervision/keepSupervision.data.ts b/src/views/demo/tiankongdi/keepSupervision/keepSupervision.data.ts new file mode 100644 index 00000000..72fea56f --- /dev/null +++ b/src/views/demo/tiankongdi/keepSupervision/keepSupervision.data.ts @@ -0,0 +1,305 @@ +import { BasicColumn, FormSchema } from '@/components/Table'; +import { getChildrenTree } from '@/api/demo/system'; +import { getLoad } from '@/api/sys/sysDataItemDetail'; +import { + patchSourceOptions, + yearOptions, + markTypeOptions, + nowStatusOptions, + mapTypeOptions, +} from '@/utils/global'; + +export const columns: BasicColumn[] = [ + { + title: '图斑来源', + dataIndex: 'tubanlaiyuan', + }, + { + title: '区县', + dataIndex: 'countyname', + width: 100, + }, + { + title: '乡镇', + dataIndex: 'streetname', + }, + { + title: '社区/村', + dataIndex: 'communityname', + }, + { + title: '图斑编号', + dataIndex: 'caseno', + width: 200, + }, + { + title: '图斑类型', + dataIndex: 'typename', + }, + { + title: '图斑面积', + dataIndex: 'area', + width: 110, + }, + { + title: '农用地面积', + dataIndex: 'nongyongdiarea', + width: 110, + }, + { + title: '耕地面积', + dataIndex: 'gengdiarea', + width: 110, + }, + { + title: '永农面积', + dataIndex: 'yongjiujibennongtianarea', + width: 110, + }, + { + title: '当前状态', + dataIndex: 'handlestatusname', + width: 80, + }, + { + title: '判定结果', + dataIndex: 'isillegal', + width: 80, + }, + { + title: '下发时间', + dataIndex: 'identificationtime', + }, + { + title: '项目名称', + dataIndex: 'xiangmumc', + }, + { + title: '项目主体', + dataIndex: 'xiangmuzhuti', + }, + { + title: '实际用途', + dataIndex: 'actualuseto', + }, + { + title: '违法类型', + dataIndex: 'weifaleixing', + }, + { + title: '整改措施', + dataIndex: 'measurename', + }, +]; + +export const searchFormSchema: FormSchema[] = [ + { + field: 'year', + component: 'Select', + colProps: { span: 4 }, + label: '年份', + componentProps: { + options: yearOptions, + }, + }, + { + field: 'tubanlaiyuan', + label: '图斑来源', + component: 'ApiSelect', + colProps: { span: 4 }, + componentProps: ({ formModel }) => { + return { + api: getLoad, + params: { code: 'wfydtbly' }, + // 接口参数 + resultField: 'result', + labelField: 'itemName', + valueField: 'itemValue', + mode: 'multiple', + maxTagCount: 1 + }; + }, + }, + { + field: 'picihao', + label: '批次', + component: 'Select', + colProps: { span: 4 }, + componentProps: { + options: [], + }, + }, + + { + field: 'typename', + label: '图斑类型', + component: 'Select', + colProps: { span: 4 }, + componentProps: { + options: [ + { label: '农用地', value: '农用地' }, + { label: '建设用地', value: '建设用地' }, + { label: '推堆土', value: '推堆土' }, + ], + }, + }, + { + field: 'isBuildName', + label: '标注类型', + component: 'Select', + colProps: { span: 4 }, + componentProps: { + options: markTypeOptions, + }, + }, + { + field: 'countyid', + label: '区县', + component: 'ApiSelect', + colProps: { span: 4 }, + componentProps: ({ tableAction, formModel }) => { + return { + api: getChildrenTree, + params: { parentId: 371300 }, + // 接口参数 + resultField: 'result', + labelField: 'name', + valueField: 'id', + onChange: () => { + formModel.streetid = ''; + }, + }; + }, + }, + { + field: 'streetid', + label: '乡镇', + component: 'ApiSelect', + colProps: { span: 4 }, + componentProps: ({ formModel }) => { + return { + api: formModel.countyid && getChildrenTree, + params: { parentId: formModel.countyid }, + // 接口参数 + resultField: 'result', + labelField: 'name', + valueField: 'id', + }; + }, + }, + { + field: 'nowStatus', + label: '当前状态', + component: 'Select', + componentProps: { + options: nowStatusOptions, + }, + colProps: { span: 4 }, + slot: 'dangqianzhuangtai', + }, + { + field: 'isIllegal', + label: '判定结果', + component: 'Select', + colProps: { span: 4 }, + componentProps: { + options: mapTypeOptions, + }, + }, + { + field: 'weifaleixing', + label: '违法类型', + component: 'Select', + colProps: { span: 4 }, + componentProps: { + options: [ + { label: '非农化违法用地', value: '0' }, + { label: '非粮化违法用地', value: '1' }, + ], + }, + }, + { + field: 'measureName', + label: '整改措施', + component: 'Select', + colProps: { span: 4 }, + componentProps: { + options: [ + { label: '拆除复耕', value: '0' }, + { label: '补办手续', value: '1' }, + ], + }, + }, + + // 增加图斑面积、耕地面积、永农面积的筛选项; + { + field: 'tubanmianji', + label: '图斑面积', + colProps: { span: 4 }, + slot: 'tubanmianji', + }, + { + field: 'gengdimianji', + label: '耕地面积', + colProps: { span: 4 }, + slot: 'gengdimianji', + }, + { + field: 'jibennongtianmianji', + label: '永农面积', + colProps: { span: 4 }, + slot: 'jibennongtianmianji', + }, + { + field: 'originalcaseno', + label: '标识号', + component: 'Input', + colProps: { span: 4 }, + }, + { + field: '[startTime, endTime]', + label: '下发时间', + component: 'RangePicker', + colProps: { span: 5 }, + componentProps: { + format: 'YYYY-MM-DD', + placeholder: ['开始日期', '结束日期'], + }, + }, + { + field: 'caseNo', + label: '图斑编号', + component: 'Input', + colProps: { span: 4 }, + }, +]; + + +export const uploadColumns: BasicColumn[] = [ + { + title: '名称', + dataIndex: 'name', + width: 150, + }, + { + title: '大小', + dataIndex: 'size', + width: 80, + }, + { + title: '进度', + dataIndex: 'percent', + width: 100, + }, + { + title: '状态', + dataIndex: 'status', + width: 80, + align: 'center', + }, + { + title: '路径/失败原因', + dataIndex: 'url', + width: 280, + }, +]; \ No newline at end of file diff --git a/src/views/demo/tiankongdi/keepSupervision/uploadModal.vue b/src/views/demo/tiankongdi/keepSupervision/uploadModal.vue new file mode 100644 index 00000000..f55c45a8 --- /dev/null +++ b/src/views/demo/tiankongdi/keepSupervision/uploadModal.vue @@ -0,0 +1,228 @@ + + +