common.js 23 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150
  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. B: ["书院镇", "新场镇", "航头镇", "惠南镇", "泥城镇", "唐镇", "北蔡镇"],
  69. C: [
  70. "大团镇",
  71. "高东镇",
  72. "高行镇",
  73. "金桥镇",
  74. "周浦镇",
  75. "康桥镇",
  76. "万祥镇",
  77. "高桥镇",
  78. "张江镇",
  79. "宣桥镇",
  80. "曹路镇",
  81. "合庆镇",
  82. ],
  83. };
  84. /**
  85. * 土壤资源
  86. */
  87. export const soilData = {
  88. 全部街道: {
  89. A: 300,
  90. B: 200,
  91. C: 280,
  92. },
  93. 潍坊新村街道: {
  94. A: 330,
  95. B: 334,
  96. C: 250,
  97. },
  98. 陆家嘴街道: {
  99. A: 400,
  100. B: 320,
  101. C: 367,
  102. },
  103. 周家渡街道: {
  104. A: 240,
  105. B: 120,
  106. C: 289,
  107. },
  108. 塘桥街道: {
  109. A: 120,
  110. B: 90,
  111. C: 30,
  112. },
  113. 上钢新村街道: {
  114. A: 230,
  115. B: 302,
  116. C: 210,
  117. },
  118. 南码头路街道: {
  119. A: 30,
  120. B: 270,
  121. C: 280,
  122. },
  123. 沪东新村街道: {
  124. A: 300,
  125. B: 150,
  126. C: 280,
  127. },
  128. 金杨新村街道: {
  129. A: 182,
  130. B: 320,
  131. C: 227,
  132. },
  133. 洋泾街道: {
  134. A: 300,
  135. B: 320,
  136. C: 500,
  137. },
  138. 浦兴路街道: {
  139. A: 300,
  140. B: 320,
  141. C: 230,
  142. },
  143. 东明路街道: {
  144. A: 300,
  145. B: 220,
  146. C: 180,
  147. },
  148. 花木街道: {
  149. A: 182,
  150. B: 210,
  151. C: 182,
  152. },
  153. };
  154. // export const soilData = {
  155. // }
  156. /**
  157. * 水资源
  158. */
  159. export const waterData = {
  160. 全部街道: {
  161. A: 300,
  162. B: 320,
  163. C: 280,
  164. },
  165. 潍坊新村街道: {
  166. A: 330,
  167. B: 334,
  168. C: 250,
  169. },
  170. 陆家嘴街道: {
  171. A: 400,
  172. B: 320,
  173. C: 367,
  174. },
  175. 周家渡街道: {
  176. A: 240,
  177. B: 320,
  178. C: 289,
  179. },
  180. 塘桥街道: {
  181. A: 120,
  182. B: 90,
  183. C: 101,
  184. },
  185. 上钢新村街道: {
  186. A: 230,
  187. B: 300,
  188. C: 210,
  189. },
  190. 南码头路街道: {
  191. A: 300,
  192. B: 240,
  193. C: 280,
  194. },
  195. 沪东新村街道: {
  196. A: 300,
  197. B: 320,
  198. C: 250,
  199. },
  200. 金杨新村街道: {
  201. A: 182,
  202. B: 326,
  203. C: 400,
  204. },
  205. 洋泾街道: {
  206. A: 300,
  207. B: 320,
  208. C: 240,
  209. },
  210. 浦兴路街道: {
  211. A: 300,
  212. B: 320,
  213. C: 267,
  214. },
  215. 东明路街道: {
  216. A: 300,
  217. B: 230,
  218. C: 280,
  219. },
  220. 花木街道: {
  221. A: 182,
  222. B: 210,
  223. C: 182,
  224. },
  225. };
  226. /**
  227. * 林地资源
  228. */
  229. export const forestryData = {
  230. 全部街道: {
  231. A: 306,
  232. B: 320,
  233. C: 280,
  234. },
  235. 潍坊新村街道: {
  236. A: 330,
  237. B: 334,
  238. C: 250,
  239. },
  240. 陆家嘴街道: {
  241. A: 400,
  242. B: 320,
  243. C: 367,
  244. },
  245. 周家渡街道: {
  246. A: 240,
  247. B: 320,
  248. C: 289,
  249. },
  250. 塘桥街道: {
  251. A: 120,
  252. B: 190,
  253. C: 101,
  254. },
  255. 上钢新村街道: {
  256. A: 230,
  257. B: 320,
  258. C: 210,
  259. },
  260. 南码头路街道: {
  261. A: 300,
  262. B: 320,
  263. C: 280,
  264. },
  265. 沪东新村街道: {
  266. A: 300,
  267. B: 320,
  268. C: 280,
  269. },
  270. 金杨新村街道: {
  271. A: 182,
  272. B: 320,
  273. C: 300,
  274. },
  275. 洋泾街道: {
  276. A: 300,
  277. B: 320,
  278. C: 280,
  279. },
  280. 浦兴路街道: {
  281. A: 50,
  282. B: 418,
  283. C: 280,
  284. },
  285. 东明路街道: {
  286. A: 300,
  287. B: 320,
  288. C: 280,
  289. },
  290. 花木街道: {
  291. A: 182,
  292. B: 210,
  293. C: 182,
  294. },
  295. };
  296. /**
  297. * 综合分析 -- 树状结构图
  298. */
  299. export const treeModel = [
  300. {
  301. id: publicFun.buildGuid(),
  302. type: "所有图层",
  303. children: [
  304. {
  305. id: publicFun.buildGuid("defaultLayer"),
  306. type: "永久基本农田",
  307. cid: "yongjiu",
  308. color: "#f99531",
  309. children: [],
  310. },
  311. {
  312. id: publicFun.buildGuid("defaultLayer"),
  313. type: "一般耕地",
  314. cid: "yiban",
  315. color: "#f9fb4b",
  316. children: [],
  317. },
  318. {
  319. id: publicFun.buildGuid("defaultLayer"),
  320. type: "建设用地减量化",
  321. cid: "jianshe",
  322. color: "#4ac013",
  323. children: [],
  324. },
  325. {
  326. id: publicFun.buildGuid("defaultLayer"),
  327. type: "带征地",
  328. cid: "daizheng",
  329. color: "#41ebfa",
  330. children: [],
  331. },
  332. ],
  333. },
  334. {
  335. id: publicFun.buildGuid(),
  336. type: "预设模型",
  337. children: [
  338. {
  339. id: publicFun.buildGuid(),
  340. type: "土地资源",
  341. children: [
  342. {
  343. id: publicFun.buildGuid("soil"),
  344. type: "基本农田被违规占用",
  345. children: [
  346. {
  347. id: publicFun.buildGuid("soil_label"),
  348. name: "疑点1",
  349. },
  350. {
  351. id: publicFun.buildGuid("soil_label"),
  352. name: "疑点2",
  353. },
  354. {
  355. id: publicFun.buildGuid("soil_label"),
  356. name: "疑点3",
  357. },
  358. {
  359. id: publicFun.buildGuid("soil_label"),
  360. name: "疑点4",
  361. },
  362. {
  363. id: publicFun.buildGuid("soil_label"),
  364. name: "疑点5",
  365. },
  366. ],
  367. },
  368. {
  369. id: publicFun.buildGuid("soil"),
  370. type: "基本农田种林",
  371. children: [],
  372. },
  373. {
  374. id: publicFun.buildGuid("soil"),
  375. type: "基本农田抛荒",
  376. children: [],
  377. },
  378. {
  379. id: publicFun.buildGuid("soil"),
  380. type: "一般耕地被违规占用",
  381. children: [],
  382. },
  383. ],
  384. },
  385. {
  386. id: publicFun.buildGuid(),
  387. type: "水资源",
  388. children: [
  389. {
  390. id: publicFun.buildGuid("water"),
  391. type: "河道被截断或填埋",
  392. children: [],
  393. },
  394. {
  395. id: publicFun.buildGuid("water"),
  396. type: "河道范围内有施工",
  397. children: [],
  398. },
  399. {
  400. id: publicFun.buildGuid("water"),
  401. type: "河道周边存在不规范养殖",
  402. children: [],
  403. },
  404. {
  405. id: publicFun.buildGuid("water"),
  406. type: "渣土堆放",
  407. children: [],
  408. },
  409. {
  410. id: publicFun.buildGuid("water"),
  411. type: "垃圾倾倒",
  412. children: [],
  413. },
  414. {
  415. id: publicFun.buildGuid("water"),
  416. type: "违章搭建",
  417. children: [],
  418. },
  419. {
  420. id: publicFun.buildGuid("water"),
  421. type: "侵占水体",
  422. children: [],
  423. },
  424. ],
  425. },
  426. {
  427. id: publicFun.buildGuid(),
  428. type: "生态资源",
  429. children: [],
  430. },
  431. ],
  432. },
  433. {
  434. id: publicFun.buildGuid(),
  435. type: "我的模型",
  436. children: [],
  437. },
  438. {
  439. id: publicFun.buildGuid(),
  440. type: "我的图层",
  441. children: [],
  442. },
  443. ];
  444. /**
  445. * 我的标记 -- 用户标记疑点后产生的
  446. */
  447. export const soilLabelData = {
  448. 基本农田被违规占用: [
  449. {
  450. id: publicFun.buildGuid(),
  451. name: "疑点1",
  452. },
  453. {
  454. id: publicFun.buildGuid(),
  455. name: "疑点2",
  456. },
  457. {
  458. id: publicFun.buildGuid(),
  459. name: "疑点3",
  460. },
  461. {
  462. id: publicFun.buildGuid(),
  463. name: "疑点4",
  464. },
  465. {
  466. id: publicFun.buildGuid(),
  467. name: "疑点5",
  468. },
  469. ],
  470. 基本农田种林: [
  471. {
  472. id: publicFun.buildGuid(),
  473. name: "疑点1",
  474. },
  475. {
  476. id: publicFun.buildGuid(),
  477. name: "疑点2",
  478. },
  479. {
  480. id: publicFun.buildGuid(),
  481. name: "疑点3",
  482. },
  483. {
  484. id: publicFun.buildGuid(),
  485. name: "疑点4",
  486. },
  487. {
  488. id: publicFun.buildGuid(),
  489. name: "疑点5",
  490. },
  491. ],
  492. };
  493. export const waterLabelData = {
  494. 河道被截断或填埋: [
  495. {
  496. id: publicFun.buildGuid(),
  497. name: "疑点1",
  498. },
  499. {
  500. id: publicFun.buildGuid(),
  501. name: "疑点2",
  502. },
  503. {
  504. id: publicFun.buildGuid(),
  505. name: "疑点3",
  506. },
  507. {
  508. id: publicFun.buildGuid(),
  509. name: "疑点4",
  510. },
  511. {
  512. id: publicFun.buildGuid(),
  513. name: "疑点5",
  514. },
  515. ],
  516. };
  517. /**
  518. * 默认的所有图层类型
  519. */
  520. export const defaultLayers = {
  521. 永久基本农田: {
  522. id: publicFun.buildGuid("defaultLayer"),
  523. cid: "yongjiu",
  524. color: "#f99531",
  525. url: "",
  526. },
  527. 一般耕地: {
  528. id: publicFun.buildGuid("defaultLayer"),
  529. cid: "yiban",
  530. color: "#f9fb4b",
  531. },
  532. 建设用地减量化: {
  533. id: publicFun.buildGuid("defaultLayer"),
  534. cid: "jianshe",
  535. color: "#4ac013",
  536. },
  537. 带征地: {
  538. id: publicFun.buildGuid("defaultLayer"),
  539. cid: "daizheng",
  540. color: "#41ebfa",
  541. },
  542. };
  543. /**
  544. * 在线菜单配置
  545. */
  546. const menuOnLine = {
  547. left: [
  548. {
  549. type: "card",
  550. title: "土地资源",
  551. menuIndex: "1",
  552. position: "left",
  553. minDomWidth: 420,
  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: "公顷",
  567. categoryData: [
  568. "2019",
  569. "2020",
  570. "2021"
  571. ],
  572. valueData: [
  573. 100,
  574. 120,
  575. 150
  576. ]
  577. },
  578. {
  579. title: "储备土地面积",
  580. value: 250,
  581. unit: "公顷",
  582. categoryData: [
  583. "2019",
  584. "2020",
  585. "2021"
  586. ],
  587. valueData: [
  588. 2000,
  589. 220,
  590. 250
  591. ]
  592. },
  593. {
  594. title: "减量化面积",
  595. value: 350,
  596. unit: "公顷",
  597. categoryData: [
  598. "2019",
  599. "2020",
  600. "2021"
  601. ],
  602. valueData: [
  603. 300,
  604. 20,
  605. 350
  606. ]
  607. },
  608. {
  609. title: "一般耕地面积",
  610. value: 450,
  611. unit: "公顷",
  612. categoryData: [
  613. "2019",
  614. "2020",
  615. "2021"
  616. ],
  617. valueData: [
  618. 40,
  619. 420,
  620. 450
  621. ]
  622. },
  623. {
  624. type: "tb",
  625. title: "土地资源面积",
  626. valueData: [
  627. 172
  628. ],
  629. unit: "公顷"
  630. }
  631. ]
  632. },
  633. bottomSolt: {
  634. commonName: "ChartCard"
  635. }
  636. },
  637. {
  638. type: "card",
  639. title: "水资源",
  640. menuIndex: "1",
  641. position: "left",
  642. minDomWidth: 420,
  643. gotoPageInfo: {
  644. index: "2",
  645. subIndex: "2",
  646. name: "水资源"
  647. },
  648. topSolt: {
  649. commonName: "TagCard",
  650. commonDataGetUrl: "layout_water.json",
  651. commonData: [
  652. {
  653. type: "tb",
  654. title: "水域面积",
  655. unit: "公顷",
  656. categoryData: [
  657. "2019",
  658. "2020",
  659. "2021"
  660. ],
  661. valueData: [
  662. 40,
  663. 420,
  664. 654
  665. ]
  666. },
  667. {
  668. type: "tb",
  669. title: "区管河道数量",
  670. unit: "条",
  671. categoryData: [
  672. "2019",
  673. "2020",
  674. "2021"
  675. ],
  676. valueData: [
  677. 400,
  678. 420,
  679. 654
  680. ]
  681. },
  682. {
  683. type: "tb",
  684. title: "镇管河道数量",
  685. unit: "条",
  686. categoryData: [
  687. "2019",
  688. "2020",
  689. "2021"
  690. ],
  691. valueData: [
  692. 400,
  693. 40,
  694. 654
  695. ]
  696. }
  697. ]
  698. },
  699. bottomSolt: {
  700. commonName: "ChartCard"
  701. }
  702. },
  703. {
  704. type: "card",
  705. title: "林地资源",
  706. menuIndex: "1",
  707. position: "left",
  708. minDomWidth: 420,
  709. gotoPageInfo: {
  710. index: "2",
  711. subIndex: "3",
  712. name: "林地资源"
  713. },
  714. topSolt: {
  715. commonName: "TagCard",
  716. commonDataGetUrl: "layout_forest.json",
  717. commonData: [
  718. {
  719. type: "lr",
  720. title: "林地面积",
  721. unit: "公顷",
  722. categoryData: [
  723. "2019",
  724. "2020",
  725. "2021"
  726. ],
  727. valueData: [
  728. 40,
  729. 420,
  730. 654
  731. ]
  732. },
  733. {
  734. type: "lr",
  735. title: "公益林面积",
  736. unit: "公顷",
  737. categoryData: [
  738. "2019",
  739. "2020",
  740. "2021"
  741. ],
  742. valueData: [
  743. 400,
  744. 420,
  745. 654
  746. ]
  747. }
  748. ]
  749. },
  750. bottomSolt: {
  751. commonName: "ChartCard"
  752. }
  753. }
  754. ],
  755. leftW: [
  756. [
  757. {
  758. type: "imageMenu",
  759. index: 0,
  760. title: "基本农田被违规占用",
  761. titleWidth: 81,
  762. boxHeight: 236,
  763. imageUrl: "/static/images/2.png",
  764. menuIndex: "2",
  765. subMenuIndex: "1",
  766. menuName: "土地资源",
  767. position: "left",
  768. gotoPageInfo: {
  769. index: "3",
  770. subIndex: "",
  771. name: "综合分析"
  772. }
  773. },
  774. {
  775. type: "imageMenu",
  776. index: 1,
  777. title: "基本农田种林",
  778. titleWidth: 81,
  779. boxHeight: 236,
  780. imageUrl: "/static/images/3.png",
  781. menuIndex: "2",
  782. subMenuIndex: "1",
  783. menuName: "土地资源",
  784. position: "left",
  785. gotoPageInfo: {
  786. index: "3",
  787. subIndex: "",
  788. name: "综合分析"
  789. }
  790. },
  791. {
  792. type: "imageMenu",
  793. index: 2,
  794. title: "基本农田抛荒",
  795. titleWidth: 81,
  796. boxHeight: 236,
  797. imageUrl: "/static/images/1.png",
  798. menuIndex: "2",
  799. subMenuIndex: "1",
  800. menuName: "土地资源",
  801. position: "left",
  802. gotoPageInfo: {
  803. index: "3",
  804. subIndex: "",
  805. name: "综合分析"
  806. }
  807. },
  808. {
  809. type: "imageMenu",
  810. index: 3,
  811. title: "一般耕地被违规占用",
  812. titleWidth: 81,
  813. boxHeight: 236,
  814. imageUrl: "/static/images/4.png",
  815. menuIndex: "2",
  816. subMenuIndex: "1",
  817. menuName: "土地资源",
  818. position: "left",
  819. gotoPageInfo: {
  820. index: "3",
  821. subIndex: "",
  822. name: "综合分析"
  823. }
  824. }
  825. ],
  826. [
  827. {
  828. type: "imageMenu",
  829. index: 0,
  830. title: "水域面积",
  831. titleWidth: 81,
  832. boxHeight: 236,
  833. imageUrl: "/static/images/2.png",
  834. menuIndex: "2",
  835. subMenuIndex: "2",
  836. menuName: "水资源",
  837. position: "left",
  838. gotoPageInfo: {
  839. index: "3",
  840. subIndex: "",
  841. name: "综合分析"
  842. }
  843. },
  844. {
  845. type: "imageMenu",
  846. index: 1,
  847. title: "区管河道数量",
  848. titleWidth: 81,
  849. boxHeight: 236,
  850. imageUrl: "/static/images/3.png",
  851. menuIndex: "2",
  852. subMenuIndex: "2",
  853. menuName: "水资源",
  854. position: "left",
  855. gotoPageInfo: {
  856. index: "3",
  857. subIndex: "",
  858. name: "综合分析"
  859. }
  860. },
  861. {
  862. type: "imageMenu",
  863. index: 2,
  864. title: "镇管河道数量",
  865. titleWidth: 81,
  866. boxHeight: 236,
  867. imageUrl: "/static/images/1.png",
  868. menuIndex: "2",
  869. subMenuIndex: "2",
  870. menuName: "水资源",
  871. position: "left",
  872. gotoPageInfo: {
  873. index: "3",
  874. subIndex: "",
  875. name: "综合分析"
  876. }
  877. }
  878. ],
  879. [
  880. {
  881. type: "imageMenu",
  882. index: 0,
  883. title: "林地面积",
  884. titleWidth: 81,
  885. boxHeight: 236,
  886. imageUrl: "/static/images/1.png",
  887. menuIndex: "2",
  888. subMenuIndex: "3",
  889. menuName: "林地资源",
  890. position: "left",
  891. gotoPageInfo: {
  892. index: "3",
  893. subIndex: "",
  894. name: "综合分析"
  895. }
  896. },
  897. {
  898. type: "imageMenu",
  899. index: 1,
  900. title: "公益林面积",
  901. titleWidth: 81,
  902. boxHeight: 236,
  903. imageUrl: "/static/images/4.png",
  904. menuIndex: "2",
  905. subMenuIndex: "3",
  906. menuName: "林地资源",
  907. position: "left",
  908. gotoPageInfo: {
  909. index: "3",
  910. subIndex: "",
  911. name: "综合分析"
  912. }
  913. }
  914. ]
  915. ],
  916. main: [
  917. {
  918. type: "chart",
  919. title: "浦东新区自然资源分布",
  920. boxWidth: "360",
  921. boxHeight: "370",
  922. boxBackground: "rgba(0,39,77,0.6)",
  923. menuIndex: "1",
  924. position: "top",
  925. minDomWidth: 1500
  926. }
  927. ],
  928. right: [
  929. [
  930. {
  931. type: "card",
  932. title: "资金投入情况",
  933. titleWidth: 64,
  934. menuIndex: "1",
  935. position: "right",
  936. minDomWidth: 1000,
  937. columnId: 31,
  938. topSolt: {
  939. commonName: "TagCard",
  940. commonData: [
  941. {
  942. type: "lr",
  943. title: "资金投入",
  944. unit: "万元",
  945. categoryData: [],
  946. valueData: []
  947. }
  948. ]
  949. },
  950. bottomSolt: {
  951. commonName: "ChartCard"
  952. }
  953. },
  954. {
  955. type: "card",
  956. title: "资源环境项目",
  957. titleWidth: 64,
  958. menuIndex: "1",
  959. position: "right",
  960. minDomWidth: 1000,
  961. topSolt: {
  962. commonName: "TagCard",
  963. commonDataGetUrl: "layout_project.json",
  964. commonData: [
  965. {
  966. type: "tb",
  967. title: "资源环境项目",
  968. value: 172,
  969. unit: "个",
  970. categoryData: [
  971. "2019",
  972. "2020",
  973. "2021"
  974. ],
  975. valueData: [
  976. 40,
  977. 420,
  978. 172
  979. ]
  980. },
  981. {
  982. type: "tb",
  983. title: "自然资源环境项目",
  984. value: 156,
  985. unit: "个",
  986. categoryData: [
  987. "2019",
  988. "2020",
  989. "2021"
  990. ],
  991. valueData: [
  992. 400,
  993. 420,
  994. 156
  995. ]
  996. },
  997. {
  998. type: "tb",
  999. title: "调查项目",
  1000. value: 188,
  1001. unit: "个",
  1002. categoryData: [
  1003. "2019",
  1004. "2020",
  1005. "2021"
  1006. ],
  1007. valueData: [
  1008. 100,
  1009. 40,
  1010. 188
  1011. ]
  1012. }
  1013. ]
  1014. },
  1015. bottomSolt: {
  1016. commonName: "ChartCard"
  1017. }
  1018. },
  1019. {
  1020. type: "card",
  1021. title: "历年频发问题TOP5",
  1022. titleWidth: 81,
  1023. menuIndex: "1",
  1024. position: "right",
  1025. minDomWidth: 1000,
  1026. getUrl: "/dms/content/selectGroupByCountOrderBy",
  1027. columnId: 24,
  1028. pageSize: 5,
  1029. field: "c_wtfl",
  1030. dataType: "all",
  1031. dataSize: 5,
  1032. topData: [
  1033. {
  1034. number: 0,
  1035. c_wtfl: "--"
  1036. },
  1037. {
  1038. number: 0,
  1039. c_wtfl: "--"
  1040. },
  1041. {
  1042. number: 0,
  1043. c_wtfl: "--"
  1044. },
  1045. {
  1046. number: 0,
  1047. c_wtfl: "--"
  1048. },
  1049. {
  1050. number: 0,
  1051. c_wtfl: "--"
  1052. }
  1053. ],
  1054. commonName: "TOP",
  1055. gotoPageInfo: {
  1056. index: "5",
  1057. subIndex: "2",
  1058. name: "频发问题"
  1059. }
  1060. }
  1061. ],
  1062. [
  1063. {
  1064. type: "card",
  1065. title: "土地类问题",
  1066. titleWidth: 60,
  1067. menuIndex: "2",
  1068. subMenuIndex: "1",
  1069. position: "right",
  1070. minDomWidth: 1200,
  1071. topSolt: {
  1072. commonName: "TagCard",
  1073. commonData: [
  1074. {
  1075. type: "lr",
  1076. title: "土地类疑点",
  1077. value: 72,
  1078. unit: "个",
  1079. categoryData: [
  1080. "2019",
  1081. "2020",
  1082. "2021"
  1083. ],
  1084. valueData: [
  1085. 100,
  1086. 120,
  1087. 72
  1088. ]
  1089. }
  1090. ]
  1091. },
  1092. bottomSolt: {
  1093. commonName: "ChartCard"
  1094. }
  1095. },
  1096. {
  1097. type: "card",
  1098. title: "土地类问题TOP5",
  1099. titleWidth: 81,
  1100. menuIndex: "2",
  1101. subMenuIndex: "1",
  1102. position: "right",
  1103. minDomWidth: 1200,
  1104. commonName: "TOP",
  1105. getUrl: "/dms/content/selectGroupByCountOrderBy",
  1106. columnId: 24,
  1107. pageSize: 5,
  1108. field: "c_wtfl",
  1109. dataType: "all",
  1110. dataSize: 5,
  1111. topData: [
  1112. {
  1113. number: 0,
  1114. c_wtfl: "--"
  1115. },
  1116. {
  1117. number: 0,
  1118. c_wtfl: "--"
  1119. },
  1120. {
  1121. number: 0,
  1122. c_wtfl: "--"
  1123. },
  1124. {
  1125. number: 0,
  1126. c_wtfl: "--"
  1127. },
  1128. {
  1129. number: 0,
  1130. c_wtfl: "--"
  1131. }
  1132. ]
  1133. }
  1134. ]
  1135. ]
  1136. };