import publicFun from "@/utils/publicFunction.js"; /** * 街道 */ export const street = { 全部: "全部", 祝桥镇: "祝桥镇", 大团镇: "大团镇", 老港镇: "老港镇", 泥城镇: "泥城镇", 书院镇: "书院镇", 新场镇: "新场镇", 川沙新镇: "川沙新镇", 万祥镇: "万祥镇", 南汇新城镇: "南汇新城镇", 曹路镇: "曹路镇", 宣桥镇: "宣桥镇", 合庆镇: "合庆镇", 惠南镇: "惠南镇", 周浦镇: "周浦镇", 张江镇: "张江镇", 高东镇: "高东镇", 康桥镇: "康桥镇", 三林镇: "三林镇", 唐镇: "唐镇", 高桥镇: "高桥镇", 北蔡镇: "北蔡镇", 金桥镇: "金桥镇", 高行镇: "高行镇", }; /** * 街道地址 */ export const streetLocation = { 全部街道: [31.209453, 121.555531], 潍坊新村街道: [31.222874, 121.523662], 陆家嘴街道: [31.23649, 121.514115], 周家渡街道: [31.182553, 121.50484], 塘桥街道: [31.208764, 121.521792], 上钢新村街道: [31.175747, 121.481091], 南码头路街道: [31.193814, 121.51455], 沪东新村街道: [31.273855, 121.576895], 金杨新村街道: [31.252801, 121.568576], 洋泾街道: [31.241746, 121.545513], 浦兴路街道: [31.269637, 121.596475], 东明路街道: [31.145477, 121.515708], 花木街道: [31.209453, 121.555531], }; /** * 审计法律类别 */ export const lawType = { 水资源: "水资源", 林业资源: "林业资源", 生态保护与治理: "生态保护与治理", 大气: "大气", 农业资源: "农业资源", 其他: "其他", 土地资源: "土地资源", }; /** * A,B,C类 对应的镇 -- 按镇耕、林地面积总和排序; * * 首页地图分类标准; */ export const townData = { A: ["南汇新城镇", "祝桥镇", "川沙新镇", "三林镇", "老港镇"], B: ["书院镇", "新场镇", "航头镇", "惠南镇", "泥城镇", "唐镇", "北蔡镇"], C: [ "大团镇", "高东镇", "高行镇", "金桥镇", "周浦镇", "康桥镇", "万祥镇", "高桥镇", "张江镇", "宣桥镇", "曹路镇", "合庆镇", ], }; /** * 土壤资源 */ export const soilData = { 全部街道: { A: 300, B: 200, C: 280, }, 潍坊新村街道: { A: 330, B: 334, C: 250, }, 陆家嘴街道: { A: 400, B: 320, C: 367, }, 周家渡街道: { A: 240, B: 120, C: 289, }, 塘桥街道: { A: 120, B: 90, C: 30, }, 上钢新村街道: { A: 230, B: 302, C: 210, }, 南码头路街道: { A: 30, B: 270, C: 280, }, 沪东新村街道: { A: 300, B: 150, C: 280, }, 金杨新村街道: { A: 182, B: 320, C: 227, }, 洋泾街道: { A: 300, B: 320, C: 500, }, 浦兴路街道: { A: 300, B: 320, C: 230, }, 东明路街道: { A: 300, B: 220, C: 180, }, 花木街道: { A: 182, B: 210, C: 182, }, }; // export const soilData = { // } /** * 水资源 */ export const waterData = { 全部街道: { A: 300, B: 320, C: 280, }, 潍坊新村街道: { A: 330, B: 334, C: 250, }, 陆家嘴街道: { A: 400, B: 320, C: 367, }, 周家渡街道: { A: 240, B: 320, C: 289, }, 塘桥街道: { A: 120, B: 90, C: 101, }, 上钢新村街道: { A: 230, B: 300, C: 210, }, 南码头路街道: { A: 300, B: 240, C: 280, }, 沪东新村街道: { A: 300, B: 320, C: 250, }, 金杨新村街道: { A: 182, B: 326, C: 400, }, 洋泾街道: { A: 300, B: 320, C: 240, }, 浦兴路街道: { A: 300, B: 320, C: 267, }, 东明路街道: { A: 300, B: 230, C: 280, }, 花木街道: { A: 182, B: 210, C: 182, }, }; /** * 林地资源 */ export const forestryData = { 全部街道: { A: 306, B: 320, C: 280, }, 潍坊新村街道: { A: 330, B: 334, C: 250, }, 陆家嘴街道: { A: 400, B: 320, C: 367, }, 周家渡街道: { A: 240, B: 320, C: 289, }, 塘桥街道: { A: 120, B: 190, C: 101, }, 上钢新村街道: { A: 230, B: 320, C: 210, }, 南码头路街道: { A: 300, B: 320, C: 280, }, 沪东新村街道: { A: 300, B: 320, C: 280, }, 金杨新村街道: { A: 182, B: 320, C: 300, }, 洋泾街道: { A: 300, B: 320, C: 280, }, 浦兴路街道: { A: 50, B: 418, C: 280, }, 东明路街道: { A: 300, B: 320, C: 280, }, 花木街道: { A: 182, B: 210, C: 182, }, }; /** * 综合分析 -- 树状结构图 */ export const treeModel = [ { id: publicFun.buildGuid(), type: "所有图层", children: [ { id: publicFun.buildGuid("defaultLayer"), type: "永久基本农田", cid: "yongjiu", color: "#f99531", children: [], }, { id: publicFun.buildGuid("defaultLayer"), type: "一般耕地", cid: "yiban", color: "#f9fb4b", children: [], }, { id: publicFun.buildGuid("defaultLayer"), type: "建设用地减量化", cid: "jianshe", color: "#4ac013", children: [], }, { id: publicFun.buildGuid("defaultLayer"), type: "带征地", cid: "daizheng", color: "#41ebfa", children: [], }, ], }, { id: publicFun.buildGuid(), type: "预设模型", children: [ { id: publicFun.buildGuid(), type: "土地资源", children: [ { id: publicFun.buildGuid("soil"), type: "基本农田被违规占用", children: [ { id: publicFun.buildGuid("soil_label"), name: "疑点1", }, { id: publicFun.buildGuid("soil_label"), name: "疑点2", }, { id: publicFun.buildGuid("soil_label"), name: "疑点3", }, { id: publicFun.buildGuid("soil_label"), name: "疑点4", }, { id: publicFun.buildGuid("soil_label"), name: "疑点5", }, ], }, { id: publicFun.buildGuid("soil"), type: "基本农田种林", children: [], }, { id: publicFun.buildGuid("soil"), type: "基本农田抛荒", children: [], }, { id: publicFun.buildGuid("soil"), type: "一般耕地被违规占用", children: [], }, ], }, { id: publicFun.buildGuid(), type: "水资源", children: [ { id: publicFun.buildGuid("water"), type: "河道被截断或填埋", children: [], }, { id: publicFun.buildGuid("water"), type: "河道范围内有施工", children: [], }, { id: publicFun.buildGuid("water"), type: "河道周边存在不规范养殖", children: [], }, { id: publicFun.buildGuid("water"), type: "渣土堆放", children: [], }, { id: publicFun.buildGuid("water"), type: "垃圾倾倒", children: [], }, { id: publicFun.buildGuid("water"), type: "违章搭建", children: [], }, { id: publicFun.buildGuid("water"), type: "侵占水体", children: [], }, ], }, { id: publicFun.buildGuid(), type: "生态资源", children: [], }, ], }, { id: publicFun.buildGuid(), type: "我的模型", children: [], }, { id: publicFun.buildGuid(), type: "我的图层", children: [], }, ]; /** * 我的标记 -- 用户标记疑点后产生的 */ export const soilLabelData = { 基本农田被违规占用: [ { id: publicFun.buildGuid(), name: "疑点1", }, { id: publicFun.buildGuid(), name: "疑点2", }, { id: publicFun.buildGuid(), name: "疑点3", }, { id: publicFun.buildGuid(), name: "疑点4", }, { id: publicFun.buildGuid(), name: "疑点5", }, ], 基本农田种林: [ { id: publicFun.buildGuid(), name: "疑点1", }, { id: publicFun.buildGuid(), name: "疑点2", }, { id: publicFun.buildGuid(), name: "疑点3", }, { id: publicFun.buildGuid(), name: "疑点4", }, { id: publicFun.buildGuid(), name: "疑点5", }, ], }; export const waterLabelData = { 河道被截断或填埋: [ { id: publicFun.buildGuid(), name: "疑点1", }, { id: publicFun.buildGuid(), name: "疑点2", }, { id: publicFun.buildGuid(), name: "疑点3", }, { id: publicFun.buildGuid(), name: "疑点4", }, { id: publicFun.buildGuid(), name: "疑点5", }, ], }; /** * 默认的所有图层类型 */ export const defaultLayers = { 永久基本农田: { id: publicFun.buildGuid("defaultLayer"), cid: "yongjiu", color: "#f99531", url: "", }, 一般耕地: { id: publicFun.buildGuid("defaultLayer"), cid: "yiban", color: "#f9fb4b", }, 建设用地减量化: { id: publicFun.buildGuid("defaultLayer"), cid: "jianshe", color: "#4ac013", }, 带征地: { id: publicFun.buildGuid("defaultLayer"), cid: "daizheng", color: "#41ebfa", }, }; /** * 在线菜单配置 */ const menuOnLine = { left: [ { type: "card", title: "土地资源", menuIndex: "1", position: "left", minDomWidth: 420, gotoPageInfo: { index: "2", subIndex: "1", name: "土地资源" }, topSolt: { commonName: "TagTableCard", commonDataGetUrl: "layout_land.json", commonData: [ { title: "基本农田面积", value: 150, unit: "公顷", categoryData: [ "2019", "2020", "2021" ], valueData: [ 100, 120, 150 ] }, { title: "储备土地面积", value: 250, unit: "公顷", categoryData: [ "2019", "2020", "2021" ], valueData: [ 2000, 220, 250 ] }, { title: "减量化面积", value: 350, unit: "公顷", categoryData: [ "2019", "2020", "2021" ], valueData: [ 300, 20, 350 ] }, { title: "一般耕地面积", value: 450, unit: "公顷", categoryData: [ "2019", "2020", "2021" ], valueData: [ 40, 420, 450 ] }, { type: "tb", title: "土地资源面积", valueData: [ 172 ], unit: "公顷" } ] }, bottomSolt: { commonName: "ChartCard" } }, { type: "card", title: "水资源", menuIndex: "1", position: "left", minDomWidth: 420, gotoPageInfo: { index: "2", subIndex: "2", name: "水资源" }, topSolt: { commonName: "TagCard", commonDataGetUrl: "layout_water.json", commonData: [ { type: "tb", title: "水域面积", unit: "公顷", categoryData: [ "2019", "2020", "2021" ], valueData: [ 40, 420, 654 ] }, { type: "tb", title: "区管河道数量", unit: "条", categoryData: [ "2019", "2020", "2021" ], valueData: [ 400, 420, 654 ] }, { type: "tb", title: "镇管河道数量", unit: "条", categoryData: [ "2019", "2020", "2021" ], valueData: [ 400, 40, 654 ] } ] }, bottomSolt: { commonName: "ChartCard" } }, { type: "card", title: "林地资源", menuIndex: "1", position: "left", minDomWidth: 420, gotoPageInfo: { index: "2", subIndex: "3", name: "林地资源" }, topSolt: { commonName: "TagCard", commonDataGetUrl: "layout_forest.json", commonData: [ { type: "lr", title: "林地面积", unit: "公顷", categoryData: [ "2019", "2020", "2021" ], valueData: [ 40, 420, 654 ] }, { type: "lr", title: "公益林面积", unit: "公顷", categoryData: [ "2019", "2020", "2021" ], valueData: [ 400, 420, 654 ] } ] }, bottomSolt: { commonName: "ChartCard" } } ], leftW: [ [ { type: "imageMenu", index: 0, title: "基本农田被违规占用", titleWidth: 81, boxHeight: 236, imageUrl: "/static/images/2.png", menuIndex: "2", subMenuIndex: "1", menuName: "土地资源", position: "left", gotoPageInfo: { index: "3", subIndex: "", name: "综合分析" } }, { type: "imageMenu", index: 1, title: "基本农田种林", titleWidth: 81, boxHeight: 236, imageUrl: "/static/images/3.png", menuIndex: "2", subMenuIndex: "1", menuName: "土地资源", position: "left", gotoPageInfo: { index: "3", subIndex: "", name: "综合分析" } }, { type: "imageMenu", index: 2, title: "基本农田抛荒", titleWidth: 81, boxHeight: 236, imageUrl: "/static/images/1.png", menuIndex: "2", subMenuIndex: "1", menuName: "土地资源", position: "left", gotoPageInfo: { index: "3", subIndex: "", name: "综合分析" } }, { type: "imageMenu", index: 3, title: "一般耕地被违规占用", titleWidth: 81, boxHeight: 236, imageUrl: "/static/images/4.png", menuIndex: "2", subMenuIndex: "1", menuName: "土地资源", position: "left", gotoPageInfo: { index: "3", subIndex: "", name: "综合分析" } } ], [ { type: "imageMenu", index: 0, title: "水域面积", titleWidth: 81, boxHeight: 236, imageUrl: "/static/images/2.png", menuIndex: "2", subMenuIndex: "2", menuName: "水资源", position: "left", gotoPageInfo: { index: "3", subIndex: "", name: "综合分析" } }, { type: "imageMenu", index: 1, title: "区管河道数量", titleWidth: 81, boxHeight: 236, imageUrl: "/static/images/3.png", menuIndex: "2", subMenuIndex: "2", menuName: "水资源", position: "left", gotoPageInfo: { index: "3", subIndex: "", name: "综合分析" } }, { type: "imageMenu", index: 2, title: "镇管河道数量", titleWidth: 81, boxHeight: 236, imageUrl: "/static/images/1.png", menuIndex: "2", subMenuIndex: "2", menuName: "水资源", position: "left", gotoPageInfo: { index: "3", subIndex: "", name: "综合分析" } } ], [ { type: "imageMenu", index: 0, title: "林地面积", titleWidth: 81, boxHeight: 236, imageUrl: "/static/images/1.png", menuIndex: "2", subMenuIndex: "3", menuName: "林地资源", position: "left", gotoPageInfo: { index: "3", subIndex: "", name: "综合分析" } }, { type: "imageMenu", index: 1, title: "公益林面积", titleWidth: 81, boxHeight: 236, imageUrl: "/static/images/4.png", menuIndex: "2", subMenuIndex: "3", menuName: "林地资源", position: "left", gotoPageInfo: { index: "3", subIndex: "", name: "综合分析" } } ] ], main: [ { type: "chart", title: "浦东新区自然资源分布", boxWidth: "360", boxHeight: "370", boxBackground: "rgba(0,39,77,0.6)", menuIndex: "1", position: "top", minDomWidth: 1500 } ], right: [ [ { type: "card", title: "资金投入情况", titleWidth: 64, menuIndex: "1", position: "right", minDomWidth: 1000, columnId: 31, topSolt: { commonName: "TagCard", commonData: [ { type: "lr", title: "资金投入", unit: "万元", categoryData: [], valueData: [] } ] }, bottomSolt: { commonName: "ChartCard" } }, { type: "card", title: "资源环境项目", titleWidth: 64, menuIndex: "1", position: "right", minDomWidth: 1000, topSolt: { commonName: "TagCard", commonDataGetUrl: "layout_project.json", commonData: [ { type: "tb", title: "资源环境项目", value: 172, unit: "个", categoryData: [ "2019", "2020", "2021" ], valueData: [ 40, 420, 172 ] }, { type: "tb", title: "自然资源环境项目", value: 156, unit: "个", categoryData: [ "2019", "2020", "2021" ], valueData: [ 400, 420, 156 ] }, { type: "tb", title: "调查项目", value: 188, unit: "个", categoryData: [ "2019", "2020", "2021" ], valueData: [ 100, 40, 188 ] } ] }, bottomSolt: { commonName: "ChartCard" } }, { type: "card", title: "历年频发问题TOP5", titleWidth: 81, menuIndex: "1", position: "right", minDomWidth: 1000, getUrl: "/dms/content/selectGroupByCountOrderBy", columnId: 24, pageSize: 5, field: "c_wtfl", dataType: "all", dataSize: 5, topData: [ { number: 0, c_wtfl: "--" }, { number: 0, c_wtfl: "--" }, { number: 0, c_wtfl: "--" }, { number: 0, c_wtfl: "--" }, { number: 0, c_wtfl: "--" } ], commonName: "TOP", gotoPageInfo: { index: "5", subIndex: "2", name: "频发问题" } } ], [ { type: "card", title: "土地类问题", titleWidth: 60, menuIndex: "2", subMenuIndex: "1", position: "right", minDomWidth: 1200, topSolt: { commonName: "TagCard", commonData: [ { type: "lr", title: "土地类疑点", value: 72, unit: "个", categoryData: [ "2019", "2020", "2021" ], valueData: [ 100, 120, 72 ] } ] }, bottomSolt: { commonName: "ChartCard" } }, { type: "card", title: "土地类问题TOP5", titleWidth: 81, menuIndex: "2", subMenuIndex: "1", position: "right", minDomWidth: 1200, commonName: "TOP", getUrl: "/dms/content/selectGroupByCountOrderBy", columnId: 24, pageSize: 5, field: "c_wtfl", dataType: "all", dataSize: 5, topData: [ { number: 0, c_wtfl: "--" }, { number: 0, c_wtfl: "--" }, { number: 0, c_wtfl: "--" }, { number: 0, c_wtfl: "--" }, { number: 0, c_wtfl: "--" } ] } ] ] };