sjtjModules.vue 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814
  1. <template>
  2. <div>
  3. <div>
  4. <a-row>
  5. <a-col :sm="24" :md="12" :xl="4">
  6. <a-card style="height: 146px">
  7. <a-avatar style="margin-left: 3%" :size="40" icon="user"/>
  8. <a-select default-value="ssqy" style="width: 150px;margin-top: 12%;margin-left: 4%" @change="handleChange">
  9. <a-select-option value="szdw">
  10. 省直单位
  11. </a-select-option>
  12. <a-select-option value="ssqy">
  13. 省属企业
  14. </a-select-option>
  15. </a-select>
  16. </a-card>
  17. </a-col>
  18. <a-col v-show="this.type=='ssqy'" :sm="24" :md="12" :xl="20">
  19. <a-card class="flex-space-between">
  20. <a-col class="flex-center" :sm="18" :md="12" :xl="5" @click="handleQy">
  21. <div class='tjcxcound1'>
  22. <div style="color: white;padding-top: 0.6rem">
  23. <div style="width: 5rem;margin-left: 1rem;margin-top:10px;float: left; ">已审核省属企业数量</div>
  24. <div style="font-size: 24px; margin-top:6%;float: right;font-weight:600;">{{ SSQYSL }}<span
  25. style="font-size: 16px;margin-left:5px;margin-right: 10px;font-weight:400">家</span></div>
  26. <!-- <div style="font-size: 24px; float: right;font-weight:600;">{{ SUMSZ }}<span style="font-size: 16px;margin-left:5px;margin-right: 5px;font-weight:400" >亩</span></div>-->
  27. </div>
  28. </div>
  29. </a-col>
  30. <a-col class="flex-center" :sm="24" :md="12" :xl="5">
  31. <div class='tjcxcound2'>
  32. <div style="color: white;padding-top: 0.6rem">
  33. <div style="width: 5rem;margin-left: 1rem;margin-top:10px;float: left; ">上报地块企业数量</div>
  34. <div style="font-size: 24px;margin-top:6%; float: right;font-weight:600;">{{ SBDKQYSL }}<span
  35. style="font-size: 16px;margin-left:5px;margin-right: 10px;font-weight:400">家</span></div>
  36. </div>
  37. <!-- <div style="color: white;padding-top: 1rem">-->
  38. <!-- <div>已上报省属企业地块总面积</div>-->
  39. <!-- <div>-->
  40. <!-- <span style="font-size: 24px">{{ SUMSS }}</span><span style="margin-left: 5px">亩</span>-->
  41. <!-- </div>-->
  42. <!-- </div>-->
  43. </div>
  44. </a-col>
  45. <a-col class="flex-center" :sm="24" :md="12" :xl="5">
  46. <div class='tjcxcound3' @click="visibleInfo({sfsb:3})">
  47. <div style="color: white;padding-top: 0.6rem">
  48. <div style="width: 5rem;margin-left: 1rem;margin-top:10px;float: left; ">已审核省属企业地块</div>
  49. <div style="font-size: 24px; float: right;font-weight:600;">{{ COUNTDK }}<span
  50. style="font-size: 16px;margin-left:5px;margin-right: 10px;font-weight:400">块</span></div>
  51. <div style="font-size: 24px; float: right;font-weight:600;">{{ SUMSS }}<span
  52. style="font-size: 16px;margin-left:5px;margin-right: 10px;font-weight:400">亩</span></div>
  53. </div>
  54. <!-- <div>其中省直单位闲置低效面积</div>-->
  55. <!-- <div>-->
  56. <!-- <span style="font-size: 24px">{{ SUMSZXZDX }}</span><span style="margin-left: 5px">亩</span>-->
  57. <!-- </div>-->
  58. </div>
  59. </a-col>
  60. <a-col class="flex-center" :sm="24" :md="12" :xl="5">
  61. <div class='tjcxcound4' @click="visibleInfo({sfsb:3,tdsyxz:'闲置低效土地'})">
  62. <div style="color: white;padding-top: 0.6rem">
  63. <div style="width: 8rem;margin-left: 1rem;margin-top:10px;float: left; ">其中省属企业闲置低效地块</div>
  64. <div style="font-size: 24px; float: right;font-weight:600;">{{ COUNTDKBYSSXZDX }}<span
  65. style="font-size: 16px;margin-left:5px;margin-right: 10px;font-weight:400">块</span></div>
  66. <div style="font-size: 24px; float: right;font-weight:600;">{{ SUMSSXZDX }}<span
  67. style="font-size: 16px;margin-left:5px;margin-right: 10px;font-weight:400">亩</span></div>
  68. </div>
  69. <!-- <div style="color: white;padding-top: 1rem">-->
  70. <!-- <div>其中省属企业闲置低效面积</div>-->
  71. <!-- <div>-->
  72. <!-- <span style="font-size: 24px;">{{ SUMSSXZDX }}</span><span style="margin-left: 5px">亩</span>-->
  73. <!-- </div>-->
  74. <!-- </div>-->
  75. </div>
  76. </a-col>
  77. </a-card>
  78. </a-col>
  79. <a-col v-show="this.type=='szdw'" :sm="24" :md="12" :xl="20">
  80. <a-card class="flex-space-between">
  81. <a-col class="flex-center" :sm="18" :md="12" :xl="5">
  82. <div class='tjcxcound1' @click="handleDw()">
  83. <div style="color: white;padding-top: 0.6rem">
  84. <div style="width: 5rem;margin-left: 1rem;margin-top:10px;float: left; ">已审核省直单位数量</div>
  85. <div style="font-size: 24px; margin-top:6%; float: right;font-weight:600;">{{ SZQYSL }}<span
  86. style="font-size: 16px;margin-left:5px;margin-right: 10px;font-weight:400">家</span></div>
  87. </div>
  88. </div>
  89. </a-col>
  90. <a-col class="flex-center" :sm="24" :md="12" :xl="5">
  91. <div class='tjcxcound2'>
  92. <div style="color: white;padding-top: 0.6rem">
  93. <div style="width: 5rem;margin-left: 1rem;margin-top:10px;float: left; ">上报地块单位数量</div>
  94. <div style="font-size: 24px; margin-top:6%; float: right;font-weight:600;">{{ SSDWSL }}<span
  95. style="font-size: 16px;margin-left:5px;margin-right: 10px;font-weight:400">家</span></div>
  96. </div>
  97. <!-- <div style="color: white;padding-top: 1rem">-->
  98. <!-- <div>已上报省属企业地块总面积</div>-->
  99. <!-- <div>-->
  100. <!-- <span style="font-size: 24px">{{ SUMSS }}</span><span style="margin-left: 5px">亩</span>-->
  101. <!-- </div>-->
  102. <!-- </div>-->
  103. </div>
  104. </a-col>
  105. <a-col class="flex-center" :sm="24" :md="12" :xl="5">
  106. <div class='tjcxcound3' @click="visibleInfoBySz({sfsb:3})">
  107. <div style="color: white;padding-top: 0.6rem">
  108. <div style="width: 5rem;margin-left: 1rem;margin-top:10px;float: left; ">已审核省直单位地块</div>
  109. <div style="font-size: 24px; float: right;font-weight:600;">{{ COUNTDKBYSZ }}<span
  110. style="font-size: 16px;margin-left:5px;margin-right: 10px;font-weight:400">块</span></div>
  111. <div style="font-size: 24px; float: right;font-weight:600;">{{ SUMSZ }}<span
  112. style="font-size: 16px;margin-left:5px;margin-right: 10px;font-weight:400">亩</span></div>
  113. </div>
  114. <!-- <div>其中省直单位闲置低效面积</div>-->
  115. <!-- <div>-->
  116. <!-- <span style="font-size: 24px">{{ SUMSZXZDX }}</span><span style="margin-left: 5px">亩</span>-->
  117. <!-- </div>-->
  118. </div>
  119. </a-col>
  120. <a-col class="flex-center" :sm="24" :md="12" :xl="5">
  121. <div class='tjcxcound4' @click="visibleInfoBySz({sfsb:3,tdsyxz:'闲置低效土地'})">
  122. <div style="color: white;padding-top: 0.6rem">
  123. <div style="width: 8rem;margin-left: 1rem;margin-top:10px;float: left; ">其中省直单位闲置低效地块</div>
  124. <div style="font-size: 24px; float: right;font-weight:600;">{{ COUNTDKBYSZXZDX }}<span
  125. style="font-size: 16px;margin-left:5px;margin-right: 10px;font-weight:400">块</span></div>
  126. <div style="font-size: 24px; float: right;font-weight:600;">{{ SUMSZXZDX }}<span
  127. style="font-size: 16px;margin-left:5px;margin-right: 10px;font-weight:400">亩</span></div>
  128. </div>
  129. <!-- <div style="color: white;padding-top: 1rem">-->
  130. <!-- <div>其中省属企业闲置低效面积</div>-->
  131. <!-- <div>-->
  132. <!-- <span style="font-size: 24px;">{{ SUMSSXZDX }}</span><span style="margin-left: 5px">亩</span>-->
  133. <!-- </div>-->
  134. <!-- </div>-->
  135. </div>
  136. </a-col>
  137. </a-card>
  138. </a-col>
  139. </a-row>
  140. </div>
  141. <div>
  142. <a-row v-show="this.type=='szdw'">
  143. <a-col :sm="24" :md="12" :xl="12">
  144. <a-card style="margin-bottom: 1rem;width:100%;height: 42rem">
  145. <mapData ref="map2ref" :resultMapData="this.resMapSzData" :titles="this.title2"
  146. @visible="visibleInfoBySz"></mapData>
  147. </a-card>
  148. </a-col>
  149. <a-col :sm="24" :md="12" :xl="6">
  150. <a-card style="margin-bottom: 1rem;width:100%;height: 21rem">
  151. <PieData :resultData="this.resData1"
  152. :titleText="this.tem_xzqhmc ? this.tem_xzqhmc+'省直单位土地获取方式占比':'省直单位土地获取方式占比'"
  153. @visible="visibleInfoBySz"></PieData>
  154. </a-card>
  155. </a-col>
  156. <a-col :sm="24" :md="12" :xl="6">
  157. <a-card style="margin-bottom: 1rem;width:100%;height: 21rem">
  158. <DoughnutData :titleText="this.tem_xzqhmc ? this.tem_xzqhmc+'省直单位权证登记比例情况':'省直单位权证登记比例情况’' +
  159. '' +
  160. '' " :result-data="this.DoughnutData"
  161. :pie-color="this.color" @visibleZs="visibleInfoBySz"></DoughnutData>
  162. </a-card>
  163. </a-col>
  164. <a-col :sm="24" :md="12" :xl="12">
  165. <a-card style="margin-bottom: 1rem;width:100%;height: 20rem">
  166. <a-col :sm="24" :md="12" :xl="24">
  167. <BarTdsjyt :titleText="this.tem_xzqhmc? this.tem_xzqhmc+'省直单位土地批准用途情况':'省直单位土地批准用途情况'"
  168. :result-x-data=this.resXData :dw="this.dw2"
  169. style="width:800px ;height:300px;" @visibleSz="visibleInfoBySz"></BarTdsjyt>
  170. </a-col>
  171. </a-card>
  172. </a-col>
  173. <!-- <a-col :sm="24" :md="12" :xl="12">-->
  174. <!-- <a-card style="margin-bottom: 1rem;width:100%;height: 21rem">-->
  175. <!-- &lt;!&ndash; <NightingaleCharData style="margin-left: 10rem"></NightingaleCharData>&ndash;&gt;-->
  176. <!-- <a-col :xl="5">-->
  177. <!-- <WaterWorld :titleText=this.WaterWorldTitle :bottomTitle=this.WaterWorldTitleByqyzy-->
  178. <!-- :resultData="this.resWordDataZy"></WaterWorld>-->
  179. <!-- </a-col>-->
  180. <!-- <a-col :xl="5" style="margin-left: 5rem">-->
  181. <!-- <WaterWorld :bottomTitle=this.WaterWorldTitleBydycz :resultData="this.resWordDataCz"></WaterWorld>-->
  182. <!-- </a-col>-->
  183. <!-- <a-col :xl="5" style="margin-left: 5rem">-->
  184. <!-- <WaterWorld :bottomTitle=this.WaterWorldTitleByxzdx :resultData="this.resWordDataXz"></WaterWorld>-->
  185. <!-- </a-col>-->
  186. <!-- </a-card>-->
  187. <!-- </a-col>-->
  188. <a-col :sm="24" :md="12" :xl="24">
  189. <a-card style="margin-bottom: 1rem;width:100%;height: 21rem">
  190. <BarDobuleData style="width: 1600px"
  191. :titleText="this.tem_xzqhmc ? this.tem_xzqhmc+'省直单位实际占用面积':'省直单位实际占用面积'"
  192. :result-x-data="resBarSzData"
  193. @visible="visibleInfoSzXzqh">
  194. </BarDobuleData>
  195. </a-card>
  196. </a-col>
  197. </a-row>
  198. <a-row v-show="this.type=='ssqy'">
  199. <a-col :sm="24" :md="12" :xl="12">
  200. <a-card style="margin-bottom: 1rem;width:100%;height: 43rem">
  201. <mapData
  202. ref="mapref"
  203. :resultMapData="this.resMapSsData"
  204. :titles="this.title1"
  205. @visible="visibleInfo">
  206. </mapData>
  207. </a-card>
  208. </a-col>
  209. <a-col :sm="24" :md="12" :xl="6">
  210. <a-card style="margin-bottom: 1rem;width:100%;height: 21rem">
  211. <PieData
  212. :resultData="this.resData"
  213. :titleText="this.tem_xzqhmc ? this.tem_xzqhmc+'省属企业土地获取方式占比':'省属企业土地获取方式占比'"
  214. @visible="visibleInfo">
  215. </PieData>
  216. </a-card>
  217. </a-col>
  218. <a-col :sm="24" :md="12" :xl="6">
  219. <a-card style="margin-bottom: 1rem;width:100%;height: 21rem">
  220. <DoughnutData
  221. :titleText="this.tem_xzqhmc ? this.tem_xzqhmc+'省属企业权证登记比例情况':'省属企业权证登记比例情况'"
  222. :result-data="this.DoughnutData1"
  223. :pie-color="this.color1" @visibleCard="visibleInfo">
  224. </DoughnutData>
  225. </a-card>
  226. </a-col>
  227. <a-col :sm="24" :md="12" :xl="6">
  228. <a-card style="margin-bottom: 1rem;width:100%;height: 21rem">
  229. <PieQdfsMj
  230. :resultData="this.resData2"
  231. :titleText="this.tem_xzqhmc ? this.tem_xzqhmc+'省属企业土地地块面积获取方式占比' : '省属企业土地地块面积获取方式占比'"
  232. @visible="visibleInfo">
  233. </PieQdfsMj>
  234. </a-card>
  235. </a-col>
  236. <a-col :sm="24" :md="12" :xl="6">
  237. <a-card style="margin-bottom: 1rem;width:100%;height: 21rem">
  238. <DoughnutData
  239. :titleText="this.tem_xzqh ? this.tem_xzqhmc+'省属企业土地使用现状占比':'省属企业土地使用现状占比'"
  240. :result-data="this.DoughnutData2"
  241. :PieColor="this.color" @visible="visibleInfo">
  242. </DoughnutData>
  243. </a-card>
  244. </a-col>
  245. <a-col :sm="24" :md="12" :xl="12">
  246. <a-card style="margin-bottom: 1rem;width:100%;height: 21rem">
  247. <a-col :sm="24" :md="12" :xl="24">
  248. <!-- <a-card style="margin-bottom: 1rem;width:100%;height: 20rem">-->
  249. <BarTdsjyt
  250. :titleText="this.tem_xzqhmc ? this.tem_xzqhmc+'省属企业土地实际用途情况':'省属企业土地实际用途情况'"
  251. :result-x-data="this.resYData"
  252. :dw="this.dw2"
  253. :seriesName="'地块数量'" @visible="visibleInfo">
  254. </BarTdsjyt>
  255. </a-col>
  256. </a-card>
  257. </a-col>
  258. <a-col :sm="24" :md="12" :xl="12">
  259. <a-card style="margin-bottom: 1rem;width:100%;height: 21rem">
  260. <BarDobuleData
  261. :titleText="this.tem_xzqhmc ? this.tem_xzqhmc+'省属企业实际占用面积':'省属企业实际占用面积'"
  262. :result-x-data="resBarSsData"
  263. @visible="visibleInfoXzqh">
  264. </BarDobuleData>
  265. </a-card>
  266. </a-col>
  267. <a-col :sm="24" :md="12" :xl="24">
  268. <a-card style="margin-bottom: 1rem;width:100%;height: 21rem">
  269. <BarData :titleText="this.tem_xzqhmc ? this.tem_xzqhmc+'一级单位用地面积汇总':'一级单位用地面积汇总'"
  270. :result-x-data="this.resYDatas"
  271. :seriesName="'地块面积(亩)'"
  272. :dw="this.dw" @visible="visibleInfoYjdw"
  273. style="width:calc(100% - 0px);height:300px;">
  274. </BarData>
  275. </a-card>
  276. </a-col>
  277. </a-row>
  278. <j-modal
  279. :visible="visible"
  280. @cancel="handleCancel"
  281. @ok="handleOk"
  282. cancelText="关闭"
  283. :okButtonProps="{ class:{'jee-hidden': false} }"
  284. >
  285. <QcSsgqzysytdqkListBySs :param="this.param"></QcSsgqzysytdqkListBySs>
  286. </j-modal>
  287. <j-modal
  288. :visible="visibleQy"
  289. @cancel="handleCancel"
  290. @ok="handleOk"
  291. cancelText="关闭"
  292. >
  293. <QcQyxxListBySs></QcQyxxListBySs>
  294. </j-modal>
  295. <j-modal
  296. :visible="visibleDw"
  297. @cancel="handleCancel"
  298. @ok="handleOk"
  299. cancelText="关闭"
  300. >
  301. <QcQyxxListBySz></QcQyxxListBySz>
  302. </j-modal>
  303. <j-modal
  304. :visible="visibleSz"
  305. @cancel="handleCancel"
  306. @ok="handleOk"
  307. cancelText="关闭"
  308. >
  309. <QcSsgqzysytdqkListBySz :param="this.paramSz"></QcSsgqzysytdqkListBySz>
  310. </j-modal>
  311. </div>
  312. </div>
  313. </template>
  314. <script>
  315. import mapData from "@views/tj/compoent/map3Data";
  316. import PieData from "@views/tj/compoent/PieData";
  317. import PieQdfsMj from "@views/tj/compoent/PieQdfsMj";
  318. import DoughnutData from "@views/tj/compoent/DoughnutData";
  319. import BarData from "@views/tj/compoent/BarData";
  320. import BarTdsjyt from "@views/tj/compoent/BarTdsjyt";
  321. import BarDobuleData from "@views/tj/compoent/BarDobuleData";
  322. import WaterWorld from "@views/tj/compoent/WaterWorld";
  323. import NightingaleCharData from "@views/tj/compoent/NightingaleCharData";
  324. import {getAction} from "@api/manage";
  325. import QcSsgqzysytdqkListBySs from "@views/qcsb/QcSsgqzysytdqkList_tj"
  326. import QcQyxxListBySs from "@views/qcsb/qyxx/QcQyxxList_tj"
  327. import QcQyxxListBySz from "@views/sydwqcsb/sydwxx/QcQyxxList_tj"
  328. import {initDictOptions} from '@/components/dict/JDictSelectUtil'
  329. import QcSsgqzysytdqkListBySz from "@views/sydwqcsb/QcSsgqzysytdqkList_tj"
  330. export default {
  331. name: "sjtj",
  332. data() {
  333. return {
  334. SUMSS: "",
  335. SUMSSXZDX: "",
  336. visible: false,
  337. visibleDw: false,
  338. SUMSZ: "",
  339. SZQYSL: "",
  340. SSDWSL: "",
  341. SUMSZXZDX: "",
  342. type: 'ssqy',
  343. DoughnutData: [],
  344. title2: {
  345. title: "省直单位地块统计",
  346. orgCode: "A03"
  347. },
  348. title1: {
  349. title: "省属企业地块统计",
  350. orgCode: "A04"
  351. },
  352. DoughnutData1: [],
  353. DoughnutData2: [],
  354. resXData: [],
  355. resYData: [],
  356. resYDatas: [],
  357. visibleQy: false,
  358. dw: '单位(亩)',
  359. dw2: '单位(块)',
  360. resData: [],
  361. SSQYSL: "",
  362. SBDKQYSL: "",
  363. resMapSzData: [],
  364. resMapSsData: [],
  365. resBarSsData: [],
  366. resBarSzData: [],
  367. cz: "",
  368. qyzy: "",
  369. xzdx: "",
  370. visibleSz: false,
  371. sum: "",
  372. param: {},
  373. COUNTDK: "",
  374. COUNTDKBYSZ: "",
  375. COUNTDKBYSSXZDX: "",
  376. COUNTDKBYSZXZDX: "",
  377. tem_xzqhmc: "",
  378. paramSz: "",
  379. resData2: [],
  380. color: ['#8E42FF', '#FF6B6B', '#FF9B42', '#F0D418', '#2E64FF'],
  381. color1: ['#ff8c37', '#a181fc','#fd6f97','#389af4'],
  382. resData1:
  383. [ //每个模块的名字和值
  384. ],
  385. resWordDataZy: 0.98,
  386. resWordDataCz: 0.01,
  387. resWordDataXz: 0.01,
  388. tem_xzqh: "",
  389. textBysz: "省直单位土地获取方式占比",
  390. textByss: "省属企业土地地块数量获取方式占比",
  391. textBysss: "省属企业土地地块面积获取方式占比",
  392. //titleBysz2: "单位权证登记比例情况",
  393. //titleByszs: "土地使用现状占比",
  394. BarTitleBysz: '土地批准用途情况',
  395. BarTitleByss: '土地实际用途情况',
  396. BarTitleBysjzymj: '省属企业实际占用面积',
  397. BarTitleBysjzymjs: '一级单位用地面积汇总',
  398. BarTitleBysjzymj2: '省直单位实际占用面积',
  399. WaterWorldTitle: '企业土地使用情况',
  400. // WaterWorldTitleByqyzy: '企业自用',
  401. // WaterWorldTitleBydycz: '对外出租',
  402. // WaterWorldTitleByxzdx: '闲置低效'
  403. }
  404. },
  405. watch: {
  406. "param": {
  407. handler(newVal, oldVal) {
  408. if (newVal.sfsb == null) {
  409. this.tem_xzqh = newVal.xzqh
  410. this.tem_xzqhmc = newVal.xzqhmc
  411. this.initTable();
  412. }
  413. if (!this.param.xzqh) {
  414. this.param.xzqh = this.tem_xzqh;
  415. }
  416. }
  417. },
  418. "paramSz": {
  419. handler(newVal, oldVal) {
  420. if (newVal.sfsb == null) {
  421. this.tem_xzqh = newVal.xzqh
  422. this.tem_xzqhmc = newVal.xzqhmc
  423. this.initTable();
  424. }
  425. if (!this.paramSz.xzqh) {
  426. this.paramSz.xzqh = this.tem_xzqh;
  427. }
  428. }
  429. }
  430. },
  431. mounted() {
  432. new Promise(resolve => {
  433. this.initTable();
  434. this.initMap()
  435. }).then(res => {
  436. console.log(res);//数据返回了
  437. })
  438. },
  439. components: {
  440. mapData, DoughnutData,
  441. BarData, BarTdsjyt, WaterWorld,
  442. NightingaleCharData, BarDobuleData,
  443. PieData, PieQdfsMj, QcSsgqzysytdqkListBySz,
  444. QcSsgqzysytdqkListBySs, QcQyxxListBySs, QcQyxxListBySz
  445. },
  446. methods: {
  447. initTable() {
  448. this.getPieData();
  449. // this.getPieQdfsMj(resolve);
  450. this.getPieData2();
  451. this.getPieDatasz();
  452. this.getDougatasz();
  453. this.getTdsyxzDougatasz();
  454. this.getDougatass();
  455. this.getBarsz();
  456. this.getBarss();
  457. this.getBarszSjzyData();
  458. this.getAreaData();
  459. this.getBarssSjzyData();
  460. this.geszqyzytData()
  461. },
  462. initMap() {
  463. this.getMapSzData();
  464. this.getMapSsData();
  465. },
  466. handleChange(value) {
  467. if (value == "ssqy") {
  468. getAction("/qcsb.qyxx/qcQyxx/ssdtdktj").then(res => {
  469. if (res.code == 200) {
  470. this.resMapSsData = res.result
  471. this.$refs.mapref.initMap();
  472. //初始化图表
  473. this.tem_xzqh = "";
  474. this.tem_xzqhmc = "";
  475. this.initTable()
  476. this.type = value;
  477. }
  478. })
  479. }
  480. if (value == "szdw") {
  481. getAction("/qcsb.qyxx/qcQyxx/szdtdktj").then(res => {
  482. if (res.code == 200) {
  483. this.resMapSzData = res.result
  484. this.$refs.map2ref.initMap();
  485. this.tem_xzqh = "";
  486. this.tem_xzqhmc = "";
  487. this.initTable()
  488. this.type = value;
  489. }
  490. })
  491. }
  492. },
  493. handleCancel() {
  494. this.visible = false
  495. this.visibleSz = false
  496. this.visibleQy = false
  497. this.visibleDw = false
  498. },
  499. visibleInfoBySz(params) {
  500. this.paramSz = params
  501. if (params.sfsb != null) {
  502. this.visibleSz = true
  503. }
  504. },
  505. handleOk() {
  506. this.visible = false
  507. this.visibleSz = false
  508. this.visibleQy = false
  509. this.visibleDw = false
  510. },
  511. handleQy() {
  512. this.visibleQy = true
  513. },
  514. handleDw() {
  515. this.visibleDw = true
  516. },
  517. handleQydk() {
  518. //this.param=""
  519. this.visible = true
  520. },
  521. visibleInfoXzqh(params) {
  522. initDictOptions("xq").then(res => {
  523. for (const re of res.result) {
  524. if (re.text == params.xzqh) {
  525. this.param = {xzqh: re.value, sfsb: "3"}
  526. this.visible = true
  527. }
  528. }
  529. })
  530. // this.param=params
  531. // this.visible = true
  532. // this.$router.push({ name:'qcsb-qcSsgqzysytdqk-list', query:{sfsb:3} });
  533. },
  534. visibleInfoSzXzqh(params) {
  535. initDictOptions("xq").then(res => {
  536. for (const re of res.result) {
  537. if (re.text == params.xzqh) {
  538. this.paramSz = {xzqh: re.value, sfsb: "3"}
  539. this.visibleSz = true
  540. }
  541. }
  542. })
  543. // this.param=params
  544. // this.visible = true
  545. // this.$router.push({ name:'qcsb-qcSsgqzysytdqk-list', query:{sfsb:3} });
  546. },
  547. visibleInfoYjdw(params) {
  548. initDictOptions("yjdw").then(res => {
  549. for (const re of res.result) {
  550. if (re.text == params.sysOrgCode) {
  551. this.param = {sysOrgCode: re.value, sfsb: "3"}
  552. this.visible = true
  553. }
  554. }
  555. })
  556. // this.param=params
  557. // this.visible = true
  558. // this.$router.push({ name:'qcsb-qcSsgqzysytdqk-list', query:{sfsb:3} });
  559. },
  560. visibleInfo(params) {
  561. this.param = params
  562. if (params.sfsb != null) {
  563. this.visible = true
  564. }
  565. },
  566. // 顶部四大卡片数据查询
  567. getAreaData() {
  568. getAction("/qcsb.qyxx/qcQyxx/sbdkmj").then(res => {
  569. if (res.code == 200) {
  570. this.SUMSS = res.result.SUMSS.toFixed(2);
  571. this.SUMSSXZDX = res.result.SUMSSXZDX.toFixed(2);
  572. this.SUMSZXZDX = res.result.SUMSZXZDX.toFixed(2);
  573. this.SUMSZ = res.result.SUMSZ.toFixed(2);
  574. this.COUNTDK = res.result.COUNTDK;
  575. this.COUNTDKBYSZ = res.result.COUNTDKBYSZ;
  576. this.COUNTDKBYSSXZDX = res.result.COUNTDKBYSSXZDX;
  577. this.COUNTDKBYSZXZDX = res.result.COUNTDKBYSZXZDX;
  578. this.SSQYSL = res.result.SSQYSL;
  579. this.SBDKQYSL = res.result.SBDKQYSL;
  580. this.SZQYSL = res.result.SZQYSL;
  581. this.SSDWSL = res.result.SSDWSL;
  582. }
  583. })
  584. },
  585. // 省属企业土地获取方式占比
  586. getPieData() {
  587. getAction("/qcsb.qyxx/qcQyxx/tdhqfs", {xzqh: this.tem_xzqh}).then(res => {
  588. if (res.code == 200) {
  589. this.resData = res.result;
  590. }
  591. })
  592. },
  593. // getPieQdfsMj() {
  594. // getAction("/qcsb.qyxx/qcQyxx/tdhqfs").then(res => {
  595. // if (res.code == 200) {
  596. // this.resData = res.result;
  597. // }
  598. // })
  599. // },
  600. // 省属企业土地地块面积获取方式占比
  601. getPieData2() {
  602. getAction("/qcsb.qyxx/qcQyxx/tdhqfsArea", {xzqh: this.tem_xzqh}).then(res => {
  603. if (res.code == 200) {
  604. this.resData2 = res.result;
  605. }
  606. })
  607. },
  608. // 省直单位土地获取方式占比
  609. getPieDatasz() {
  610. getAction("/qcsb.qyxx/qcQyxx/tdhqfssz", {xzqh: this.tem_xzqh}).then(res => {
  611. if (res.code == 200) {
  612. this.resData1 = res.result;
  613. }
  614. })
  615. },
  616. // 省直单位权证登记比例情况
  617. getDougatass() {
  618. getAction("/qcsb.qyxx/qcQyxx/qzdjblss", {xzqh: this.tem_xzqh}).then(res => {
  619. if (res.code == 200) {
  620. this.DoughnutData = res.result;
  621. }
  622. })
  623. },
  624. // 省属企业权证登记比例情况
  625. getDougatasz() {
  626. getAction("/qcsb.qyxx/qcQyxx/qzdjblsz", {xzqh: this.tem_xzqh}).then(res => {
  627. if (res.code == 200) {
  628. this.DoughnutData1 = res.result;
  629. }
  630. })
  631. },
  632. //统计-土地使用现状占比/省属企业土地使用现状占比
  633. getTdsyxzDougatasz() {
  634. getAction("/qcsb.qyxx/qcQyxx/tdsyxzzb", {xzqh: this.tem_xzqh}).then(res => {
  635. if (res.code == 200) {
  636. this.DoughnutData2 = res.result;
  637. }
  638. })
  639. },
  640. // 省直单位土地批准用途情况
  641. getBarsz() {
  642. getAction("/qcsb.qyxx/qcQyxx/sjyttjsz", {xzqh: this.tem_xzqh}).then(res => {
  643. if (res.code == 200) {
  644. this.resXData = res.result
  645. }
  646. })
  647. },
  648. // 省属企业土地实际用途情况
  649. getBarss() {
  650. getAction("/qcsb.qyxx/qcQyxx/sjyttjss", {xzqh: this.tem_xzqh}).then(res => {
  651. if (res.code == 200) {
  652. this.resYData = res.result
  653. }
  654. }),
  655. getAction("/qcsb.qyxx/qcQyxx/yjdwmjhz", {xzqh: this.tem_xzqh}).then(res => {
  656. if (res.code == 200) {
  657. this.resYDatas = res.result
  658. }
  659. })
  660. },
  661. // 省直单位地块统计
  662. getMapSzData() {
  663. getAction("/qcsb.qyxx/qcQyxx/szdtdktj").then(res => {
  664. if (res.code == 200) {
  665. this.resMapSzData = res.result
  666. }
  667. })
  668. },
  669. // 省属企业地块统计
  670. getMapSsData() {
  671. getAction("/qcsb.qyxx/qcQyxx/ssdtdktj").then(res => {
  672. if (res.code == 200) {
  673. this.resMapSsData = res.result
  674. }
  675. })
  676. },
  677. // 省属企业实际占用面积
  678. getBarssSjzyData() {
  679. getAction("/qcsb.qyxx/qcQyxx/sszytdmjtj", {xzqh: this.tem_xzqh}).then(res => {
  680. if (res.code == 200) {
  681. this.resBarSsData = res.result
  682. }
  683. })
  684. },
  685. // 省直单位实际占用面积
  686. getBarszSjzyData() {
  687. getAction("/qcsb.qyxx/qcQyxx/szzytdmjtj", {xzqh: this.tem_xzqh}).then(res => {
  688. if (res.code == 200) {
  689. this.resBarSzData = res.result
  690. }
  691. })
  692. },
  693. geszqyzytData() {
  694. getAction("/qcsb.qyxx/qcQyxx/szqyzy").then(res => {
  695. if (res.code == 200) {
  696. this.resWordDataCz = parseFloat(res.result[0].value / res.result[3].value);
  697. this.resWordDataZy = parseFloat(res.result[1].value / res.result[3].value);
  698. this.resWordDataXz = parseFloat(res.result[2].value / res.result[3].value);
  699. }
  700. })
  701. },
  702. }
  703. }
  704. </script>
  705. <style>
  706. .tjcxcound1 {
  707. height: 6rem;
  708. width: 18rem;
  709. background-image: url('~@/assets/sytj_1.png');
  710. background-size: 100% 100%;
  711. /*margin-left: 3rem;*/
  712. font-size: 16px;
  713. text-align: left;
  714. border-radius: 10px;
  715. cursor: pointer
  716. }
  717. .tjcxcound2 {
  718. height: 6rem;
  719. width: 18rem;
  720. background-image: url('~@/assets/sytj_2.png');
  721. background-size: 100% 100%;
  722. /*margin-left: 10rem;*/
  723. font-size: 16px;
  724. text-align: left;
  725. border-radius: 10px;
  726. /*cursor: pointer*/
  727. }
  728. .tjcxcound3 {
  729. height: 6rem;
  730. width: 18rem;
  731. background-image: url('~@/assets/sytj_3.png');
  732. background-size: 100% 100%;
  733. /*margin-left: 17rem;*/
  734. font-size: 16px;
  735. text-align: left;
  736. border-radius: 10px;
  737. cursor: pointer
  738. }
  739. .tjcxcound4 {
  740. height: 6rem;
  741. width: 18rem;
  742. background-image: url('~@/assets/sytj_4.png');
  743. background-size: 100% 100%;
  744. /*margin-left: 24rem;*/
  745. font-size: 16px;
  746. text-align: left;
  747. border-radius: 10px;
  748. cursor: pointer
  749. }
  750. .flex-space-between > div.ant-card-body {
  751. display: flex;
  752. justify-content: space-between;
  753. }
  754. .flex-center {
  755. display: flex;
  756. justify-content: center;
  757. }
  758. </style>