common.js 32 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483
  1. import publicFun from "@/utils/publicFunction.js";
  2. /**
  3. * 街道
  4. */
  5. export const street = {
  6. 全部: "全部",
  7. 老港镇: "老港镇",
  8. 泥城镇: "泥城镇",
  9. 祝桥镇: "祝桥镇",
  10. 大团镇: "大团镇",
  11. 书院镇: "书院镇",
  12. 新场镇: "新场镇",
  13. 川沙新镇: "川沙新镇",
  14. 万祥镇: "万祥镇",
  15. 南汇新城镇: "南汇新城镇",
  16. 曹路镇: "曹路镇",
  17. 宣桥镇: "宣桥镇",
  18. 合庆镇: "合庆镇",
  19. 惠南镇: "惠南镇",
  20. 周浦镇: "周浦镇",
  21. 张江镇: "张江镇",
  22. 高东镇: "高东镇",
  23. 康桥镇: "康桥镇",
  24. 三林镇: "三林镇",
  25. 唐镇: "唐镇",
  26. 高桥镇: "高桥镇",
  27. 北蔡镇: "北蔡镇",
  28. 金桥镇: "金桥镇",
  29. 高行镇: "高行镇",
  30. };
  31. /**
  32. * 街道地址
  33. */
  34. export const streetLocation = {
  35. 全部街道: [31.209453, 121.555531],
  36. 潍坊新村街道: [31.222874, 121.523662],
  37. 陆家嘴街道: [31.23649, 121.514115],
  38. 周家渡街道: [31.182553, 121.50484],
  39. 塘桥街道: [31.208764, 121.521792],
  40. 上钢新村街道: [31.175747, 121.481091],
  41. 南码头路街道: [31.193814, 121.51455],
  42. 沪东新村街道: [31.273855, 121.576895],
  43. 金杨新村街道: [31.252801, 121.568576],
  44. 洋泾街道: [31.241746, 121.545513],
  45. 浦兴路街道: [31.269637, 121.596475],
  46. 东明路街道: [31.145477, 121.515708],
  47. 花木街道: [31.209453, 121.555531],
  48. };
  49. /**
  50. * 审计法律类别
  51. */
  52. export const lawType = {
  53. 水资源: "水资源",
  54. 林业资源: "林业资源",
  55. 生态保护与治理: "生态保护与治理",
  56. 大气: "大气",
  57. 农业资源: "农业资源",
  58. 其他: "其他",
  59. 土地资源: "土地资源",
  60. };
  61. /**
  62. * A,B,C类 对应的镇 -- 按镇耕、林地面积总和排序;
  63. *
  64. * 首页地图分类标准;
  65. */
  66. export const townData = {
  67. A: [
  68. "书院镇",
  69. "新场镇",
  70. "万祥镇",
  71. "老港镇",
  72. "宣桥镇",
  73. "航头镇",
  74. "泥城镇",
  75. "大团镇",
  76. "川沙新镇",
  77. "南汇新城镇",
  78. "祝桥镇",
  79. ],
  80. B: ["惠南镇", "曹路镇", "合庆镇", "张江镇", "高桥镇", "周浦镇", "康桥镇"],
  81. C: ["北蔡镇", "唐镇", "高东镇", "三林镇", "高行镇", "金桥镇"],
  82. };
  83. /**
  84. * 土壤资源
  85. */
  86. export const soilData = {
  87. 全部街道: {
  88. A: 300,
  89. B: 200,
  90. C: 280,
  91. },
  92. 潍坊新村街道: {
  93. A: 330,
  94. B: 334,
  95. C: 250,
  96. },
  97. 陆家嘴街道: {
  98. A: 400,
  99. B: 320,
  100. C: 367,
  101. },
  102. 周家渡街道: {
  103. A: 240,
  104. B: 120,
  105. C: 289,
  106. },
  107. 塘桥街道: {
  108. A: 120,
  109. B: 90,
  110. C: 30,
  111. },
  112. 上钢新村街道: {
  113. A: 230,
  114. B: 302,
  115. C: 210,
  116. },
  117. 南码头路街道: {
  118. A: 30,
  119. B: 270,
  120. C: 280,
  121. },
  122. 沪东新村街道: {
  123. A: 300,
  124. B: 150,
  125. C: 280,
  126. },
  127. 金杨新村街道: {
  128. A: 182,
  129. B: 320,
  130. C: 227,
  131. },
  132. 洋泾街道: {
  133. A: 300,
  134. B: 320,
  135. C: 500,
  136. },
  137. 浦兴路街道: {
  138. A: 300,
  139. B: 320,
  140. C: 230,
  141. },
  142. 东明路街道: {
  143. A: 300,
  144. B: 220,
  145. C: 180,
  146. },
  147. 花木街道: {
  148. A: 182,
  149. B: 210,
  150. C: 182,
  151. },
  152. };
  153. // export const soilData = {
  154. // }
  155. /**
  156. * 水资源
  157. */
  158. export const waterData = {
  159. 全部街道: {
  160. A: 300,
  161. B: 320,
  162. C: 280,
  163. },
  164. 潍坊新村街道: {
  165. A: 330,
  166. B: 334,
  167. C: 250,
  168. },
  169. 陆家嘴街道: {
  170. A: 400,
  171. B: 320,
  172. C: 367,
  173. },
  174. 周家渡街道: {
  175. A: 240,
  176. B: 320,
  177. C: 289,
  178. },
  179. 塘桥街道: {
  180. A: 120,
  181. B: 90,
  182. C: 101,
  183. },
  184. 上钢新村街道: {
  185. A: 230,
  186. B: 300,
  187. C: 210,
  188. },
  189. 南码头路街道: {
  190. A: 300,
  191. B: 240,
  192. C: 280,
  193. },
  194. 沪东新村街道: {
  195. A: 300,
  196. B: 320,
  197. C: 250,
  198. },
  199. 金杨新村街道: {
  200. A: 182,
  201. B: 326,
  202. C: 400,
  203. },
  204. 洋泾街道: {
  205. A: 300,
  206. B: 320,
  207. C: 240,
  208. },
  209. 浦兴路街道: {
  210. A: 300,
  211. B: 320,
  212. C: 267,
  213. },
  214. 东明路街道: {
  215. A: 300,
  216. B: 230,
  217. C: 280,
  218. },
  219. 花木街道: {
  220. A: 182,
  221. B: 210,
  222. C: 182,
  223. },
  224. };
  225. /**
  226. * 林地资源
  227. */
  228. export const forestryData = {
  229. 全部街道: {
  230. A: 306,
  231. B: 320,
  232. C: 280,
  233. },
  234. 潍坊新村街道: {
  235. A: 330,
  236. B: 334,
  237. C: 250,
  238. },
  239. 陆家嘴街道: {
  240. A: 400,
  241. B: 320,
  242. C: 367,
  243. },
  244. 周家渡街道: {
  245. A: 240,
  246. B: 320,
  247. C: 289,
  248. },
  249. 塘桥街道: {
  250. A: 120,
  251. B: 190,
  252. C: 101,
  253. },
  254. 上钢新村街道: {
  255. A: 230,
  256. B: 320,
  257. C: 210,
  258. },
  259. 南码头路街道: {
  260. A: 300,
  261. B: 320,
  262. C: 280,
  263. },
  264. 沪东新村街道: {
  265. A: 300,
  266. B: 320,
  267. C: 280,
  268. },
  269. 金杨新村街道: {
  270. A: 182,
  271. B: 320,
  272. C: 300,
  273. },
  274. 洋泾街道: {
  275. A: 300,
  276. B: 320,
  277. C: 280,
  278. },
  279. 浦兴路街道: {
  280. A: 50,
  281. B: 418,
  282. C: 280,
  283. },
  284. 东明路街道: {
  285. A: 300,
  286. B: 320,
  287. C: 280,
  288. },
  289. 花木街道: {
  290. A: 182,
  291. B: 210,
  292. C: 182,
  293. },
  294. };
  295. /**
  296. * 综合分析 -- 树状结构图
  297. */
  298. export const treeModel = [
  299. {
  300. id: publicFun.buildGuid(),
  301. type: "所有图层",
  302. children: [
  303. {
  304. id: publicFun.buildGuid("defaultLayer"),
  305. type: "永久基本农田",
  306. cid: "yongjiu",
  307. color: "#f99531",
  308. children: [],
  309. },
  310. {
  311. id: publicFun.buildGuid("defaultLayer"),
  312. type: "一般耕地",
  313. cid: "yiban",
  314. color: "#f9fb4b",
  315. children: [],
  316. },
  317. {
  318. id: publicFun.buildGuid("defaultLayer"),
  319. type: "建设用地减量化",
  320. cid: "jianshe",
  321. color: "#4ac013",
  322. children: [],
  323. },
  324. {
  325. id: publicFun.buildGuid("defaultLayer"),
  326. type: "带征地",
  327. cid: "daizheng",
  328. color: "#41ebfa",
  329. children: [],
  330. },
  331. ],
  332. },
  333. {
  334. id: publicFun.buildGuid(),
  335. type: "预设模型",
  336. children: [
  337. {
  338. id: publicFun.buildGuid(),
  339. type: "土地资源",
  340. children: [
  341. {
  342. id: publicFun.buildGuid("soil"),
  343. type: "基本农田被违规占用",
  344. children: [
  345. {
  346. id: publicFun.buildGuid("soil_label"),
  347. name: "疑点1",
  348. },
  349. {
  350. id: publicFun.buildGuid("soil_label"),
  351. name: "疑点2",
  352. },
  353. {
  354. id: publicFun.buildGuid("soil_label"),
  355. name: "疑点3",
  356. },
  357. {
  358. id: publicFun.buildGuid("soil_label"),
  359. name: "疑点4",
  360. },
  361. {
  362. id: publicFun.buildGuid("soil_label"),
  363. name: "疑点5",
  364. },
  365. ],
  366. },
  367. {
  368. id: publicFun.buildGuid("soil"),
  369. type: "基本农田种林",
  370. children: [],
  371. },
  372. {
  373. id: publicFun.buildGuid("soil"),
  374. type: "基本农田抛荒",
  375. children: [],
  376. },
  377. {
  378. id: publicFun.buildGuid("soil"),
  379. type: "一般耕地被违规占用",
  380. children: [],
  381. },
  382. ],
  383. },
  384. {
  385. id: publicFun.buildGuid(),
  386. type: "水资源",
  387. children: [
  388. {
  389. id: publicFun.buildGuid("water"),
  390. type: "河道被截断或填埋",
  391. children: [],
  392. },
  393. {
  394. id: publicFun.buildGuid("water"),
  395. type: "河道范围内有施工",
  396. children: [],
  397. },
  398. {
  399. id: publicFun.buildGuid("water"),
  400. type: "河道周边存在不规范养殖",
  401. children: [],
  402. },
  403. {
  404. id: publicFun.buildGuid("water"),
  405. type: "渣土堆放",
  406. children: [],
  407. },
  408. {
  409. id: publicFun.buildGuid("water"),
  410. type: "垃圾倾倒",
  411. children: [],
  412. },
  413. {
  414. id: publicFun.buildGuid("water"),
  415. type: "违章搭建",
  416. children: [],
  417. },
  418. {
  419. id: publicFun.buildGuid("water"),
  420. type: "侵占水体",
  421. children: [],
  422. },
  423. ],
  424. },
  425. {
  426. id: publicFun.buildGuid(),
  427. type: "生态资源",
  428. children: [],
  429. },
  430. ],
  431. },
  432. {
  433. id: publicFun.buildGuid(),
  434. type: "我的模型",
  435. children: [],
  436. },
  437. {
  438. id: publicFun.buildGuid(),
  439. type: "我的图层",
  440. children: [],
  441. },
  442. ];
  443. /**
  444. * 我的标记 -- 用户标记疑点后产生的
  445. */
  446. export const soilLabelData = {
  447. 基本农田被违规占用: [
  448. {
  449. id: publicFun.buildGuid(),
  450. name: "疑点1",
  451. },
  452. {
  453. id: publicFun.buildGuid(),
  454. name: "疑点2",
  455. },
  456. {
  457. id: publicFun.buildGuid(),
  458. name: "疑点3",
  459. },
  460. {
  461. id: publicFun.buildGuid(),
  462. name: "疑点4",
  463. },
  464. {
  465. id: publicFun.buildGuid(),
  466. name: "疑点5",
  467. },
  468. ],
  469. 基本农田种林: [
  470. {
  471. id: publicFun.buildGuid(),
  472. name: "疑点1",
  473. },
  474. {
  475. id: publicFun.buildGuid(),
  476. name: "疑点2",
  477. },
  478. {
  479. id: publicFun.buildGuid(),
  480. name: "疑点3",
  481. },
  482. {
  483. id: publicFun.buildGuid(),
  484. name: "疑点4",
  485. },
  486. {
  487. id: publicFun.buildGuid(),
  488. name: "疑点5",
  489. },
  490. ],
  491. };
  492. export const waterLabelData = {
  493. 河道被截断或填埋: [
  494. {
  495. id: publicFun.buildGuid(),
  496. name: "疑点1",
  497. },
  498. {
  499. id: publicFun.buildGuid(),
  500. name: "疑点2",
  501. },
  502. {
  503. id: publicFun.buildGuid(),
  504. name: "疑点3",
  505. },
  506. {
  507. id: publicFun.buildGuid(),
  508. name: "疑点4",
  509. },
  510. {
  511. id: publicFun.buildGuid(),
  512. name: "疑点5",
  513. },
  514. ],
  515. };
  516. /**
  517. * 默认的所有图层类型
  518. */
  519. export const defaultLayers = {
  520. 永久基本农田: {
  521. id: publicFun.buildGuid("defaultLayer"),
  522. cid: "yongjiu",
  523. color: "#f99531",
  524. url: "",
  525. },
  526. 一般耕地: {
  527. id: publicFun.buildGuid("defaultLayer"),
  528. cid: "yiban",
  529. color: "#f9fb4b",
  530. },
  531. 建设用地减量化: {
  532. id: publicFun.buildGuid("defaultLayer"),
  533. cid: "jianshe",
  534. color: "#4ac013",
  535. },
  536. 带征地: {
  537. id: publicFun.buildGuid("defaultLayer"),
  538. cid: "daizheng",
  539. color: "#41ebfa",
  540. },
  541. };
  542. /**
  543. * 在线菜单配置
  544. */
  545. export const menuOnLine = {
  546. left: [
  547. {
  548. type: "card",
  549. title: "土地资源",
  550. menuIndex: "1",
  551. position: "left",
  552. minDomWidth: 420,
  553. intervalTime: 3000,
  554. gotoPageInfo: {
  555. index: "2",
  556. subIndex: "1",
  557. name: "土地资源",
  558. },
  559. topSolt: {
  560. commonName: "TagTableCard",
  561. commonDataGetUrl: "layout_land.json",
  562. commonData: [
  563. {
  564. title: "基本农田面积",
  565. value: 150,
  566. unit: "km²",
  567. categoryData: ["2019", "2020", "2021"],
  568. valueData: [100, 120, 150],
  569. },
  570. {
  571. title: "带征地",
  572. value: 250,
  573. unit: "km²",
  574. categoryData: ["2019", "2020", "2021"],
  575. valueData: [2000, 220, 250],
  576. },
  577. {
  578. title: "减量化面积",
  579. value: 350,
  580. unit: "km²",
  581. categoryData: ["2019", "2020", "2021"],
  582. valueData: [300, 20, 350],
  583. },
  584. {
  585. title: "设施农用地",
  586. value: 450,
  587. unit: "km²",
  588. categoryData: ["2019", "2020", "2021"],
  589. valueData: [40, 420, 450],
  590. },
  591. {
  592. type: "tb",
  593. title: "土地资源面积",
  594. valueData: [],
  595. categoryData: [],
  596. unit: "km²",
  597. },
  598. ],
  599. },
  600. bottomSolt: {
  601. commonName: "ChartCard",
  602. },
  603. },
  604. {
  605. type: "card",
  606. title: "水资源",
  607. menuIndex: "1",
  608. position: "left",
  609. minDomWidth: 420,
  610. gotoPageInfo: {
  611. index: "2",
  612. subIndex: "2",
  613. name: "水资源",
  614. },
  615. topSolt: {
  616. commonName: "TagCard",
  617. commonDataGetUrl: "layout_water.json",
  618. commonData: [
  619. {
  620. type: "tb",
  621. title: "水域面积",
  622. unit: "km²",
  623. categoryData: ["2019", "2020", "2021"],
  624. valueData: [40, 420, 654],
  625. },
  626. {
  627. type: "tb",
  628. title: "区管河道数量",
  629. unit: "条",
  630. categoryData: ["2019", "2020", "2021"],
  631. valueData: [400, 420, 654],
  632. },
  633. {
  634. type: "tb",
  635. title: "镇管河道数量",
  636. unit: "条",
  637. categoryData: ["2019", "2020", "2021"],
  638. valueData: [400, 40, 654],
  639. },
  640. ],
  641. },
  642. bottomSolt: {
  643. commonName: "ChartCard",
  644. },
  645. },
  646. {
  647. type: "card",
  648. title: "林地资源",
  649. menuIndex: "1",
  650. position: "left",
  651. minDomWidth: 420,
  652. gotoPageInfo: {
  653. index: "2",
  654. subIndex: "3",
  655. name: "林地资源",
  656. },
  657. topSolt: {
  658. commonName: "TagCard",
  659. commonDataGetUrl: "layout_forest.json",
  660. commonData: [
  661. {
  662. type: "lr",
  663. title: "林地面积",
  664. unit: "km²",
  665. categoryData: ["2019", "2020", "2021"],
  666. valueData: [40, 420, 654],
  667. },
  668. {
  669. type: "lr",
  670. title: "公益林面积",
  671. unit: "km²",
  672. categoryData: ["2019", "2020", "2021"],
  673. valueData: [400, 420, 654],
  674. },
  675. ],
  676. },
  677. bottomSolt: {
  678. commonName: "ChartCard",
  679. },
  680. },
  681. ],
  682. leftW: [
  683. [
  684. {
  685. type: "imageMenu",
  686. index: 0,
  687. title: "基本农田被违规占用",
  688. titleWidth: 81,
  689. boxHeight: 236,
  690. imageUrl: "/static/images/2.png",
  691. menuIndex: "2",
  692. subMenuIndex: "1",
  693. menuName: "土地资源",
  694. position: "left",
  695. gotoPageInfo: {
  696. index: "3",
  697. subIndex: "",
  698. name: "综合分析",
  699. },
  700. },
  701. {
  702. type: "imageMenu",
  703. index: 1,
  704. title: "基本农田种林",
  705. titleWidth: 81,
  706. boxHeight: 236,
  707. imageUrl: "/static/images/3.png",
  708. menuIndex: "2",
  709. subMenuIndex: "1",
  710. menuName: "土地资源",
  711. position: "left",
  712. gotoPageInfo: {
  713. index: "3",
  714. subIndex: "",
  715. name: "综合分析",
  716. },
  717. },
  718. {
  719. type: "imageMenu",
  720. index: 2,
  721. title: "基本农田抛荒",
  722. titleWidth: 81,
  723. boxHeight: 236,
  724. imageUrl: "/static/images/1.png",
  725. menuIndex: "2",
  726. subMenuIndex: "1",
  727. menuName: "土地资源",
  728. position: "left",
  729. gotoPageInfo: {
  730. index: "3",
  731. subIndex: "",
  732. name: "综合分析",
  733. },
  734. },
  735. {
  736. type: "imageMenu",
  737. index: 3,
  738. title: "一般耕地被违规占用",
  739. titleWidth: 81,
  740. boxHeight: 236,
  741. imageUrl: "/static/images/4.png",
  742. menuIndex: "2",
  743. subMenuIndex: "1",
  744. menuName: "土地资源",
  745. position: "left",
  746. gotoPageInfo: {
  747. index: "3",
  748. subIndex: "",
  749. name: "综合分析",
  750. },
  751. },
  752. {
  753. type: "imageMenu",
  754. index: 4,
  755. title: "一般耕地种林",
  756. titleWidth: 81,
  757. boxHeight: 236,
  758. imageUrl: "/static/images/4.png",
  759. menuIndex: "2",
  760. subMenuIndex: "1",
  761. menuName: "土地资源",
  762. position: "left",
  763. gotoPageInfo: {
  764. index: "3",
  765. subIndex: "",
  766. name: "综合分析",
  767. },
  768. },
  769. {
  770. type: "imageMenu",
  771. index: 5,
  772. title: "一般耕地抛荒",
  773. titleWidth: 81,
  774. boxHeight: 236,
  775. imageUrl: "/static/images/4.png",
  776. menuIndex: "2",
  777. subMenuIndex: "1",
  778. menuName: "土地资源",
  779. position: "left",
  780. gotoPageInfo: {
  781. index: "3",
  782. subIndex: "",
  783. name: "综合分析",
  784. },
  785. },
  786. {
  787. type: "imageMenu",
  788. index: 6,
  789. title: "减量化复垦地块后种林",
  790. titleWidth: 81,
  791. boxHeight: 236,
  792. imageUrl: "/static/images/4.png",
  793. menuIndex: "2",
  794. subMenuIndex: "1",
  795. menuName: "土地资源",
  796. position: "left",
  797. gotoPageInfo: {
  798. index: "3",
  799. subIndex: "",
  800. name: "综合分析",
  801. },
  802. },
  803. {
  804. type: "imageMenu",
  805. index: 7,
  806. title: "减量化复垦地块……",
  807. titleWidth: 81,
  808. boxHeight: 236,
  809. imageUrl: "/static/images/4.png",
  810. menuIndex: "2",
  811. subMenuIndex: "1",
  812. menuName: "土地资源",
  813. position: "left",
  814. gotoPageInfo: {
  815. index: "3",
  816. subIndex: "",
  817. name: "综合分析",
  818. },
  819. },
  820. ],
  821. [
  822. {
  823. type: "imageMenu",
  824. index: 0,
  825. title: "河道被截断或填埋",
  826. titleWidth: 81,
  827. boxHeight: 236,
  828. imageUrl: "/static/images/2.png",
  829. menuIndex: "2",
  830. subMenuIndex: "2",
  831. menuName: "水资源",
  832. position: "left",
  833. gotoPageInfo: {
  834. index: "3",
  835. subIndex: "",
  836. name: "综合分析",
  837. },
  838. },
  839. {
  840. type: "imageMenu",
  841. index: 1,
  842. title: "河道范围内有施工",
  843. titleWidth: 81,
  844. boxHeight: 236,
  845. imageUrl: "/static/images/3.png",
  846. menuIndex: "2",
  847. subMenuIndex: "2",
  848. menuName: "水资源",
  849. position: "left",
  850. gotoPageInfo: {
  851. index: "3",
  852. subIndex: "",
  853. name: "综合分析",
  854. },
  855. },
  856. {
  857. type: "imageMenu",
  858. index: 2,
  859. title: "河道周边存在不规范养殖",
  860. titleWidth: 81,
  861. boxHeight: 236,
  862. imageUrl: "/static/images/1.png",
  863. menuIndex: "2",
  864. subMenuIndex: "2",
  865. menuName: "水资源",
  866. position: "left",
  867. gotoPageInfo: {
  868. index: "3",
  869. subIndex: "",
  870. name: "综合分析",
  871. },
  872. },
  873. {
  874. type: "imageMenu",
  875. index: 3,
  876. title: "渣土堆放",
  877. titleWidth: 81,
  878. boxHeight: 236,
  879. imageUrl: "/static/images/1.png",
  880. menuIndex: "2",
  881. subMenuIndex: "2",
  882. menuName: "水资源",
  883. position: "left",
  884. gotoPageInfo: {
  885. index: "3",
  886. subIndex: "",
  887. name: "综合分析",
  888. },
  889. },
  890. {
  891. type: "imageMenu",
  892. index: 2,
  893. title: "垃圾倾倒",
  894. titleWidth: 81,
  895. boxHeight: 236,
  896. imageUrl: "/static/images/1.png",
  897. menuIndex: "2",
  898. subMenuIndex: "2",
  899. menuName: "水资源",
  900. position: "left",
  901. gotoPageInfo: {
  902. index: "3",
  903. subIndex: "",
  904. name: "综合分析",
  905. },
  906. },
  907. {
  908. type: "imageMenu",
  909. index: 2,
  910. title: "违章搭建",
  911. titleWidth: 81,
  912. boxHeight: 236,
  913. imageUrl: "/static/images/1.png",
  914. menuIndex: "2",
  915. subMenuIndex: "2",
  916. menuName: "水资源",
  917. position: "left",
  918. gotoPageInfo: {
  919. index: "3",
  920. subIndex: "",
  921. name: "综合分析",
  922. },
  923. },
  924. {
  925. type: "imageMenu",
  926. index: 2,
  927. title: "侵占水体",
  928. titleWidth: 81,
  929. boxHeight: 236,
  930. imageUrl: "/static/images/1.png",
  931. menuIndex: "2",
  932. subMenuIndex: "2",
  933. menuName: "水资源",
  934. position: "left",
  935. gotoPageInfo: {
  936. index: "3",
  937. subIndex: "",
  938. name: "综合分析",
  939. },
  940. },
  941. ],
  942. [
  943. {
  944. type: "imageMenu",
  945. index: 0,
  946. title: "储备地块造林",
  947. titleWidth: 81,
  948. boxHeight: 236,
  949. imageUrl: "/static/images/1.png",
  950. menuIndex: "2",
  951. subMenuIndex: "3",
  952. menuName: "林地资源",
  953. position: "left",
  954. gotoPageInfo: {
  955. index: "3",
  956. subIndex: "",
  957. name: "综合分析",
  958. },
  959. },
  960. {
  961. type: "imageMenu",
  962. index: 1,
  963. title: "林地被违规占用",
  964. titleWidth: 81,
  965. boxHeight: 236,
  966. imageUrl: "/static/images/4.png",
  967. menuIndex: "2",
  968. subMenuIndex: "3",
  969. menuName: "林地资源",
  970. position: "left",
  971. gotoPageInfo: {
  972. index: "3",
  973. subIndex: "",
  974. name: "综合分析",
  975. },
  976. },
  977. ],
  978. ],
  979. main: [
  980. {
  981. type: "chart",
  982. title: "浦东新区自然资源分布",
  983. boxWidth: "360",
  984. boxHeight: "370",
  985. boxBackground: "rgba(0,39,77,0.6)",
  986. menuIndex: "1",
  987. position: "top",
  988. minDomWidth: 1500,
  989. },
  990. ],
  991. right: [
  992. [
  993. {
  994. type: "card",
  995. title: "资金投入情况",
  996. titleWidth: 64,
  997. menuIndex: "1",
  998. position: "right",
  999. minDomWidth: 1000,
  1000. columnId: 31,
  1001. sortField: {
  1002. field: "c_years",
  1003. orderByType: 1,
  1004. },
  1005. topSolt: {
  1006. commonName: "TagCard",
  1007. commonData: [
  1008. {
  1009. type: "lr",
  1010. title: "资金投入",
  1011. unit: "万元",
  1012. categoryData: [],
  1013. valueData: [],
  1014. },
  1015. ],
  1016. },
  1017. bottomSolt: {
  1018. commonName: "ChartCard",
  1019. },
  1020. },
  1021. {
  1022. type: "card",
  1023. title: "资源环境项目",
  1024. titleWidth: 64,
  1025. menuIndex: "1",
  1026. // getUrl: "/dms/content/selectGroupByAndOrderByAndTerm",
  1027. // columnId: 821,
  1028. // states: "1,2,3,4",
  1029. // paramJson: [{"key":"c_years","value":"2019","type":"or"},{"key":"c_years","value":"2020","type":"or"},{"key":"c_years","value":"2021","type":"or"}],
  1030. // feild: "c_select",
  1031. position: "right",
  1032. minDomWidth: 1000,
  1033. topSolt: {
  1034. commonName: "TagCard",
  1035. commonDataGetUrl: "layout_project.json",
  1036. commonData: [
  1037. {
  1038. type: "tb",
  1039. title: "资源环境项目",
  1040. value: 3,
  1041. unit: "个",
  1042. categoryData: ["2019", "2020", "2021"],
  1043. valueData: [3, 3, 3],
  1044. },
  1045. {
  1046. type: "tb",
  1047. title: "实现“五个结合”审计项目",
  1048. value: 6,
  1049. unit: "个",
  1050. categoryData: ["2019", "2020", "2021"],
  1051. valueData: [7, 6, 6],
  1052. },
  1053. {
  1054. type: "tb",
  1055. title: "调查项目",
  1056. value: 1,
  1057. unit: "个",
  1058. categoryData: ["2019", "2020", "2021"],
  1059. valueData: [2, 1, 2],
  1060. },
  1061. ],
  1062. },
  1063. gotoPageInfo: {
  1064. index: "4",
  1065. name: "全流程管理",
  1066. },
  1067. bottomSolt: {
  1068. commonName: "ChartCard",
  1069. },
  1070. },
  1071. {
  1072. type: "card",
  1073. title: "历年频发问题TOP10",
  1074. titleWidth: 81,
  1075. menuIndex: "1",
  1076. boxHeight: 320,
  1077. position: "right",
  1078. minDomWidth: 1000,
  1079. getUrl: "/dms/content/selectGroupByCountOrderBy",
  1080. columnId: 1127,
  1081. pageSize: 10,
  1082. field: "c_ckwtdxwt",
  1083. isScroll: true,
  1084. pramJson: {
  1085. c_bsjzwt: "",
  1086. },
  1087. bsjzColumnName: "c_bsjzwt",
  1088. topData: [
  1089. {
  1090. number: 0,
  1091. c_ckwtdxwt: "--",
  1092. },
  1093. {
  1094. number: 0,
  1095. c_ckwtdxwt: "--",
  1096. },
  1097. {
  1098. number: 0,
  1099. c_ckwtdxwt: "--",
  1100. },
  1101. {
  1102. number: 0,
  1103. c_ckwtdxwt: "--",
  1104. },
  1105. {
  1106. number: 0,
  1107. c_ckwtdxwt: "--",
  1108. },
  1109. ],
  1110. commonName: "TOP",
  1111. gotoPageInfo: {
  1112. index: "5",
  1113. subIndex: "2",
  1114. name: "历史问题",
  1115. },
  1116. },
  1117. ],
  1118. [
  1119. {
  1120. type: "card",
  1121. title: "土地类问题",
  1122. titleWidth: 60,
  1123. menuIndex: "2",
  1124. subMenuIndex: "1",
  1125. position: "right",
  1126. minDomWidth: 1200,
  1127. // getUrl: "/dms/content/selectGroupByCountOrderBy",
  1128. // columnId: 24,
  1129. pageSize: 5,
  1130. field: "c_zdsjsx",
  1131. // commonName: "SUM",
  1132. categoryData: ["2020", "2021", "2022"],
  1133. paramJson: {
  1134. sj_select: "1",
  1135. },
  1136. topSolt: {
  1137. commonName: "TagCard",
  1138. commonData: [
  1139. {
  1140. type: "lr",
  1141. // title: "土地类疑点",
  1142. unit: "个",
  1143. categoryData: [],
  1144. valueData: [],
  1145. },
  1146. ],
  1147. },
  1148. bottomSolt: {
  1149. commonName: "ChartCard",
  1150. },
  1151. },
  1152. {
  1153. type: "card",
  1154. title: "土地类问题TOP5",
  1155. titleWidth: 81,
  1156. menuIndex: "2",
  1157. subMenuIndex: "1",
  1158. position: "right",
  1159. minDomWidth: 1200,
  1160. commonName: "TOP",
  1161. getUrl: "/dms/content/selectGroupByCountOrderBy",
  1162. columnId: 24,
  1163. pageSize: 5,
  1164. field: "c_zdsjsx",
  1165. paramJson: {
  1166. sj_select: "1",
  1167. },
  1168. topData: [],
  1169. },
  1170. ],
  1171. [
  1172. {
  1173. type: "card",
  1174. title: "水资源类问题",
  1175. titleWidth: 60,
  1176. menuIndex: "2",
  1177. subMenuIndex: "2",
  1178. position: "right",
  1179. minDomWidth: 1200,
  1180. // getUrl: "/dms/content/selectGroupByCountOrderBy",
  1181. // columnId: 24,
  1182. pageSize: 5,
  1183. field: "c_zdsjsx",
  1184. // commonName: "SUM",
  1185. categoryData: ["2020", "2021", "2022"],
  1186. paramJson: {
  1187. sj_select: "2",
  1188. },
  1189. topSolt: {
  1190. commonName: "TagCard",
  1191. commonData: [
  1192. {
  1193. type: "lr",
  1194. // title: "水资源类疑点",
  1195. unit: "个",
  1196. categoryData: [],
  1197. valueData: [],
  1198. },
  1199. ],
  1200. },
  1201. bottomSolt: {
  1202. commonName: "ChartCard",
  1203. },
  1204. },
  1205. {
  1206. type: "card",
  1207. title: "水资源类问题TOP5",
  1208. titleWidth: 81,
  1209. menuIndex: "2",
  1210. subMenuIndex: "2",
  1211. position: "right",
  1212. minDomWidth: 1200,
  1213. commonName: "TOP",
  1214. getUrl: "/dms/content/selectGroupByCountOrderBy",
  1215. columnId: 24,
  1216. pageSize: 5,
  1217. field: "c_zdsjsx",
  1218. paramJson: {
  1219. sj_select: "2",
  1220. },
  1221. topData: [],
  1222. },
  1223. ],
  1224. [
  1225. {
  1226. type: "card",
  1227. title: "林地类问题",
  1228. titleWidth: 60,
  1229. menuIndex: "2",
  1230. subMenuIndex: "3",
  1231. position: "right",
  1232. minDomWidth: 1200,
  1233. // getUrl: "/dms/content/selectGroupByCountOrderBy",
  1234. // columnId: 24,
  1235. pageSize: 5,
  1236. field: "c_zdsjsx",
  1237. // commonName: "SUM",
  1238. categoryData: ["2020", "2021", "2022"],
  1239. paramJson: {
  1240. sj_select: "3",
  1241. },
  1242. topSolt: {
  1243. commonName: "TagCard",
  1244. commonData: [
  1245. {
  1246. type: "lr",
  1247. // title: "林地类疑点",
  1248. unit: "个",
  1249. categoryData: [],
  1250. valueData: [],
  1251. },
  1252. ],
  1253. },
  1254. bottomSolt: {
  1255. commonName: "ChartCard",
  1256. },
  1257. },
  1258. {
  1259. type: "card",
  1260. title: "林类问题TOP5",
  1261. titleWidth: 81,
  1262. menuIndex: "2",
  1263. subMenuIndex: "3",
  1264. position: "right",
  1265. minDomWidth: 1200,
  1266. commonName: "TOP",
  1267. getUrl: "/dms/content/selectGroupByCountOrderBy",
  1268. columnId: 24,
  1269. pageSize: 5,
  1270. field: "c_zdsjsx",
  1271. paramJson: {
  1272. sj_select: "3",
  1273. },
  1274. topData: [],
  1275. },
  1276. ],
  1277. [
  1278. {
  1279. type: "card",
  1280. title: "生态类问题",
  1281. titleWidth: 60,
  1282. menuIndex: "2",
  1283. subMenuIndex: "4",
  1284. position: "right",
  1285. minDomWidth: 1200,
  1286. // getUrl: "/dms/content/selectGroupByCountOrderBy",
  1287. // columnId: 24,
  1288. pageSize: 5,
  1289. field: "c_zdsjsx",
  1290. // commonName: "SUM",
  1291. categoryData: ["2020", "2021", "2022"],
  1292. paramJson: {
  1293. sj_select: "4",
  1294. },
  1295. topSolt: {
  1296. commonName: "TagCard",
  1297. commonData: [
  1298. {
  1299. type: "lr",
  1300. // title: "生态类疑点",
  1301. unit: "个",
  1302. categoryData: [],
  1303. valueData: [],
  1304. },
  1305. ],
  1306. },
  1307. bottomSolt: {
  1308. commonName: "ChartCard",
  1309. },
  1310. },
  1311. {
  1312. type: "card",
  1313. title: "生态问题TOP5",
  1314. titleWidth: 81,
  1315. menuIndex: "2",
  1316. subMenuIndex: "4",
  1317. position: "right",
  1318. minDomWidth: 1200,
  1319. commonName: "TOP",
  1320. getUrl: "/dms/content/selectGroupByCountOrderBy",
  1321. columnId: 24,
  1322. pageSize: 5,
  1323. field: "c_zdsjsx",
  1324. paramJson: {
  1325. sj_select: "4",
  1326. },
  1327. topData: [],
  1328. },
  1329. ],
  1330. ],
  1331. rightW: [
  1332. [
  1333. {
  1334. type: "card",
  1335. title: "资源问题",
  1336. beforeTitle: "homeSpecialTown",
  1337. titleWidth: 40,
  1338. boxWidth: "800",
  1339. menuIndex: "2",
  1340. subMenuIndex: "5",
  1341. position: "right",
  1342. minDomWidth: 1200,
  1343. getUrl: "/dms/content/selectGroupByCountOrderBy",
  1344. columnId: 24,
  1345. pageSize: 5,
  1346. field: "c_zdsjsx",
  1347. commonName: "ALLLIST",
  1348. paramJson: {
  1349. sj_select: ["1", "2", "3", "4"],
  1350. },
  1351. topSolt: {
  1352. commonName: "TagCard",
  1353. commonData: [
  1354. {
  1355. type: "lr",
  1356. title: "土地资源问题",
  1357. value: 0,
  1358. unit: "个",
  1359. },
  1360. {
  1361. type: "lr",
  1362. title: "水资源问题",
  1363. value: 0,
  1364. unit: "个",
  1365. },
  1366. {
  1367. type: "lr",
  1368. title: "林地资源问题",
  1369. value: 0,
  1370. unit: "个",
  1371. },
  1372. {
  1373. type: "lr",
  1374. title: "生态资源问题",
  1375. value: 0,
  1376. unit: "个",
  1377. },
  1378. ],
  1379. },
  1380. },
  1381. {
  1382. type: "card",
  1383. title: "资金投入TOP5(亿元)",
  1384. titleWidth: 100,
  1385. boxWidth: "395",
  1386. menuIndex: "2",
  1387. subMenuIndex: "5",
  1388. position: "right",
  1389. minDomWidth: 1200,
  1390. commonName: "TOP",
  1391. setBarWidth:35,
  1392. // getUrl: "/dms/content/selectGroupByCountOrderBy",
  1393. // columnId: 1133,
  1394. // pageSize: 10,
  1395. // bsjzColumnName: "c_ssjzzjtr",
  1396. field: "c_kmc",
  1397. paramJson: {},
  1398. topData: [
  1399. {
  1400. c_kmc: "农业",
  1401. number: 50.9,
  1402. info: "8.22",
  1403. },
  1404. {
  1405. c_kmc: "农村综合改革",
  1406. number: 34,
  1407. info: "3.44",
  1408. },
  1409. {
  1410. c_kmc: "水利",
  1411. number: 12.8,
  1412. info: "2.06",
  1413. },
  1414. {
  1415. c_kmc: "其他农林水支出",
  1416. number: 5.7,
  1417. info: "0.92",
  1418. },
  1419. {
  1420. c_kmc: "自然生态保护",
  1421. number: 4.3,
  1422. info: "0.70",
  1423. },
  1424. // {
  1425. // c_kmc: "林业和草原",
  1426. // number: 2.0,
  1427. // info: "0.32"
  1428. // }, {
  1429. // c_kmc: "环境保护管理事务",
  1430. // number: 1.0,
  1431. // info: "0.17"
  1432. // }, {
  1433. // c_kmc: "农业农村",
  1434. // number: 0.9,
  1435. // info: "0.15"
  1436. // }, {
  1437. // c_kmc: "扶贫",
  1438. // number: 0.7,
  1439. // info: "0.12"
  1440. // }, {
  1441. // c_kmc: "其他节能环保支出",
  1442. // number: 0.2,
  1443. // info: "0.02"
  1444. // }
  1445. ],
  1446. },
  1447. {
  1448. type: "card",
  1449. title: "历年频发问题TOP10",
  1450. titleWidth: 85,
  1451. boxWidth: "395",
  1452. menuIndex: "2",
  1453. subMenuIndex: "5",
  1454. position: "right",
  1455. minDomWidth: 1200,
  1456. commonName: "TOP",
  1457. getUrl: "/dms/content/selectGroupByCountOrderBy",
  1458. columnId: 1127,
  1459. pageSize: 10,
  1460. field: "c_ckwtdxwt",
  1461. pramJson: {
  1462. c_bsjzwt: "",
  1463. },
  1464. bsjzColumnName: "c_bsjzwt",
  1465. topData: [],
  1466. },
  1467. ],
  1468. ],
  1469. };