IndexChart.vue 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921
  1. <template>
  2. <div class="page-header-index-wide">
  3. <div>
  4. <div v-has="'sydwsy'" style="display: flex">
  5. <a-card style="margin-bottom: 1rem;width:30%;">
  6. <div>
  7. <a-col :sm="24" :md="30" :xl="20">
  8. <div @click="handleAdd" class='syxxtbbtn'>
  9. <span style="color: white;font-weight: bold">单位信息填报</span>
  10. </div>
  11. </a-col>
  12. <a-col :sm="24" :md="30" :xl="20">
  13. <div @click="handleAdd2" class='syxxtbbtn'>
  14. <span style="color: white;font-weight: bold">地块信息填报</span>
  15. </div>
  16. </a-col>
  17. </div>
  18. </a-card>
  19. <a-card :hoverable='false' style="margin-bottom: 1rem;width:70%;">
  20. <a-row :gutter="24" style="margin-top: 2%;margin-left: 5%">
  21. <a-col v-show="this.show" :sm="24" :md="12" :xl="10" :style="{ marginBottom: '24px'}" class="xfrw">
  22. <chart-card :loading="loading" title="下发任务数(省属企业)" :total='this.xfrws'>
  23. <a-tooltip title="指标说明" slot="action">
  24. <a-icon type="info-circle-o" />
  25. </a-tooltip>
  26. </chart-card>
  27. </a-col>
  28. <a-col v-show="this.show" :sm="24" :md="12" :xl="11" :style="{ marginBottom: '24px' }" class="yxdls">
  29. <chart-card :loading="loading" title="有效登录数(省属企业)" :total="this.yxdls">
  30. <a-tooltip title="指标说明" slot="action">
  31. <a-icon type="info-circle-o" />
  32. </a-tooltip>
  33. </chart-card>
  34. </a-col>
  35. <a-col :sm="24" :md="12" :xl="11" :style="{ marginBottom: '24px' }" class="sbdks">
  36. <chart-card v-if="this.yhjs=='shyh'" :loading="loading" title="上报地块数 | 面积 (省属企业)" :total="this.sbdks+' | '+this.sbdkmj+'㎡'">
  37. <a-tooltip title="指标说明" slot="action">
  38. <a-icon type="info-circle-o" />
  39. </a-tooltip>
  40. </chart-card>
  41. <chart-card v-else :loading="loading" title="上报地块数 | 面积" :total="this.sbdks+' | '+this.sbdkmj+'㎡'">
  42. <a-tooltip title="指标说明" slot="action">
  43. <a-icon type="info-circle-o" />
  44. </a-tooltip>
  45. </chart-card>
  46. </a-col>
  47. <a-col v-show="!this.show" :sm="24" :md="12" :xl="11" :style="{ marginBottom: '24px' }" class="dqsbs">
  48. <chart-card :loading="loading" title="审核通过数 | 面积" :total="this.shtgs+' | '+this.shtgmj+'㎡'">
  49. <a-tooltip title="指标说明" slot="action">
  50. <a-icon type="info-circle-o" />
  51. </a-tooltip>
  52. </chart-card>
  53. </a-col>
  54. </a-row>
  55. <a-row :gutter="24" style="margin-top: 1%;margin-left: 5%">
  56. <a-col v-show="!this.show" :sm="24" :md="12" :xl="11" :style="{ marginBottom: '24px' }" class="shbtg">
  57. <chart-card :loading="loading" title="审核不通过(退回) | 面积" :total="this.cwth+' | '+this.cwthmj+'㎡'">
  58. <a-tooltip title="指标说明" slot="action">
  59. <a-icon type="info-circle-o" />
  60. </a-tooltip>
  61. </chart-card>
  62. </a-col>
  63. <a-col :sm="24" :md="12" :xl="11" :style="{ marginBottom: '24px' }" class="wshsl">
  64. <chart-card v-if="this.yhjs=='shyh'" :loading="loading" title="未审核地块数 | 面积 (省属企业)" :total="this.wshsl+' | '+this.wshsmj+'㎡'">
  65. <a-tooltip title="指标说明" slot="action">
  66. <a-icon type="info-circle-o" />
  67. </a-tooltip>
  68. </chart-card>
  69. <chart-card v-else :loading="loading" title="未审核地块数 | 面积" :total="this.wshsl+' | '+this.wshsmj+'㎡'">
  70. <a-tooltip title="指标说明" slot="action">
  71. <a-icon type="info-circle-o" />
  72. </a-tooltip>
  73. </chart-card>
  74. </a-col>
  75. <a-col v-show="this.show" :sm="24" :md="12" :xl="11" :style="{ marginBottom: '24px'}" class="xfrw">
  76. <chart-card :loading="loading" title="下发任务数(省直单位)" :total='this.sydwxfrws'>
  77. <a-tooltip title="指标说明" slot="action">
  78. <a-icon type="info-circle-o" />
  79. </a-tooltip>
  80. </chart-card>
  81. </a-col>
  82. <a-col v-show="this.show" :sm="24" :md="12" :xl="11" :style="{ marginBottom: '24px' }" class="yxdls">
  83. <chart-card :loading="loading" title="有效登录数(省直单位)" :total="this.sydwyxdls">
  84. <a-tooltip title="指标说明" slot="action">
  85. <a-icon type="info-circle-o" />
  86. </a-tooltip>
  87. </chart-card>
  88. </a-col>
  89. <a-col v-show="this.show" :sm="24" :md="12" :xl="11" :style="{ marginBottom: '24px' }" class="sbdks">
  90. <chart-card :loading="loading" title="上报地块数(省直单位)" :total="this.sydwsbdks">
  91. <a-tooltip title="指标说明" slot="action">
  92. <a-icon type="info-circle-o" />
  93. </a-tooltip>
  94. </chart-card>
  95. </a-col>
  96. <a-col v-show="this.show" :sm="24" :md="12" :xl="11" :style="{ marginBottom: '24px' }" class="wshsl">
  97. <chart-card :loading="loading" title="未审核地块数(省直单位)" :total="this.sydwwsh">
  98. <a-tooltip title="指标说明" slot="action">
  99. <a-icon type="info-circle-o" />
  100. </a-tooltip>
  101. </chart-card>
  102. </a-col>
  103. </a-row>
  104. </a-card>
  105. </div>
  106. </div>
  107. <div>
  108. <div v-has="'ssqysy2'" style="display: flex">
  109. <a-card style="margin-bottom: 1rem;width:30%;">
  110. <div>
  111. <a-col :sm="24" :md="30" :xl="20">
  112. <div @click="handleRouter" class='syxxtbbtn'>
  113. <span style="color: white;font-weight: bold">用地单位信息填报</span>
  114. </div>
  115. </a-col>
  116. <a-col :sm="24" :md="30" :xl="20">
  117. <div @click="handleRouter2" class='syxxtbbtn'>
  118. <span style="color: white;font-weight: bold">用地地块信息填报</span>
  119. </div>
  120. </a-col>
  121. </div>
  122. </a-card>
  123. <a-card style="margin-bottom: 1rem;width:70%;">
  124. <a-row :gutter="24" style="margin-top: 2%;margin-left: 5%">
  125. <a-col v-show="this.show" :sm="24" :md="12" :xl="10" :style="{ marginBottom: '24px'}" class="xfrw">
  126. <chart-card :loading="loading" title="下发任务数(省属企业)" :total='this.xfrws'>
  127. <a-tooltip title="指标说明" slot="action">
  128. <a-icon type="info-circle-o" />
  129. </a-tooltip>
  130. </chart-card>
  131. </a-col>
  132. <a-col v-show="this.show" :sm="24" :md="12" :xl="11" :style="{ marginBottom: '24px' }" class="yxdls">
  133. <chart-card :loading="loading" title="有效登录数(省属企业)" :total="this.yxdls">
  134. <a-tooltip title="指标说明" slot="action">
  135. <a-icon type="info-circle-o" />
  136. </a-tooltip>
  137. </chart-card>
  138. </a-col>
  139. <a-col :sm="24" :md="12" :xl="11" :style="{ marginBottom: '24px' }" class="sbdks">
  140. <chart-card v-if="this.yhjs=='shyh'" :loading="loading" title="上报地块数 | 面积 (省属企业)" :total="this.sbdks+' | '+this.sbdkmj+'㎡'">
  141. <a-tooltip title="指标说明" slot="action">
  142. <a-icon type="info-circle-o" />
  143. </a-tooltip>
  144. </chart-card>
  145. <chart-card v-else :loading="loading" title="上报地块数 | 面积" :total="this.sbdks+' | '+this.sbdkmj+'㎡'">
  146. <a-tooltip title="指标说明" slot="action">
  147. <a-icon type="info-circle-o" />
  148. </a-tooltip>
  149. </chart-card>
  150. </a-col>
  151. <a-col v-show="!this.show" :sm="24" :md="12" :xl="11" :style="{ marginBottom: '24px' }" class="dqsbs">
  152. <chart-card :loading="loading" title="审核通过数 | 面积" :total="this.shtgs+' | '+this.shtgmj+'㎡'">
  153. <a-tooltip title="指标说明" slot="action">
  154. <a-icon type="info-circle-o" />
  155. </a-tooltip>
  156. </chart-card>
  157. </a-col>
  158. </a-row>
  159. <a-row :gutter="24" style="margin-top: 1%;margin-left: 5%">
  160. <a-col v-show="!this.show" :sm="24" :md="12" :xl="11" :style="{ marginBottom: '24px' }" class="shbtg">
  161. <chart-card :loading="loading" title="审核不通过(退回) | 面积" :total="this.cwth+' | '+this.cwthmj+'㎡'">
  162. <a-tooltip title="指标说明" slot="action">
  163. <a-icon type="info-circle-o" />
  164. </a-tooltip>
  165. </chart-card>
  166. </a-col>
  167. <a-col :sm="24" :md="12" :xl="11" :style="{ marginBottom: '24px' }" class="wshsl">
  168. <chart-card v-if="this.yhjs=='shyh'" :loading="loading" title="未审核地块数 | 面积 (省属企业)" :total="this.wshsl+' | '+this.wshsmj+'㎡'">
  169. <a-tooltip title="指标说明" slot="action">
  170. <a-icon type="info-circle-o" />
  171. </a-tooltip>
  172. </chart-card>
  173. <chart-card v-else :loading="loading" title="未审核地块数 | 面积" :total="this.wshsl+' | '+this.wshsmj+'㎡'">
  174. <a-tooltip title="指标说明" slot="action">
  175. <a-icon type="info-circle-o" />
  176. </a-tooltip>
  177. </chart-card>
  178. </a-col>
  179. <a-col v-show="this.show" :sm="24" :md="12" :xl="11" :style="{ marginBottom: '24px'}" class="xfrw">
  180. <chart-card :loading="loading" title="下发任务数(省直单位)" :total='this.sydwxfrws'>
  181. <a-tooltip title="指标说明" slot="action">
  182. <a-icon type="info-circle-o" />
  183. </a-tooltip>
  184. </chart-card>
  185. </a-col>
  186. <a-col v-show="this.show" :sm="24" :md="12" :xl="11" :style="{ marginBottom: '24px' }" class="yxdls">
  187. <chart-card :loading="loading" title="有效登录数(省直单位)" :total="this.sydwyxdls">
  188. <a-tooltip title="指标说明" slot="action">
  189. <a-icon type="info-circle-o" />
  190. </a-tooltip>
  191. </chart-card>
  192. </a-col>
  193. <a-col v-show="this.show" :sm="24" :md="12" :xl="11" :style="{ marginBottom: '24px' }" class="sbdks">
  194. <chart-card :loading="loading" title="上报地块数(省直单位)" :total="this.sydwsbdks">
  195. <a-tooltip title="指标说明" slot="action">
  196. <a-icon type="info-circle-o" />
  197. </a-tooltip>
  198. </chart-card>
  199. </a-col>
  200. <a-col v-show="this.show" :sm="24" :md="12" :xl="11" :style="{ marginBottom: '24px' }" class="wshsl">
  201. <chart-card :loading="loading" title="未审核地块数(省直单位)" :total="this.sydwwsh">
  202. <a-tooltip title="指标说明" slot="action">
  203. <a-icon type="info-circle-o" />
  204. </a-tooltip>
  205. </chart-card>
  206. </a-col>
  207. </a-row>
  208. </a-card>
  209. </div>
  210. </div>
  211. <a-card v-has="'ssqysy'">
  212. <a-row :gutter="24">
  213. <a-col v-show="this.show" :sm="24" :md="12" :xl="6" :style="{ marginBottom: '24px'}" class="xfrw">
  214. <div style="cursor:pointer" @click="handleXfrws('A04')">
  215. <chart-card :loading="loading" title="下发任务数(省属企业)" :total='this.xfrws'>
  216. <a-tooltip title="指标说明" slot="action">
  217. <a-icon type="info-circle-o" />
  218. </a-tooltip>
  219. </chart-card>
  220. </div>
  221. </a-col>
  222. <a-col v-show="this.show" :sm="24" :md="12" :xl="6" :style="{ marginBottom: '24px' }" class="yxdls">
  223. <div style="cursor:pointer" @click="handleYxdl('list2')">
  224. <chart-card :loading="loading" title="有效登录数(省属企业)" :total="this.yxdls">
  225. <a-tooltip title="指标说明" slot="action">
  226. <a-icon type="info-circle-o" />
  227. </a-tooltip>
  228. </chart-card>
  229. </div>
  230. </a-col>
  231. <a-col :sm="24" :md="12" :xl="6" :style="{ marginBottom: '24px' }" class="sbdks">
  232. <div style="cursor:pointer" @click="handleSbdks('qcsb-qcSsgqzysytdqk-list2')">
  233. <chart-card v-if="this.yhjs=='shyh'" :loading="loading" title="上报地块数(省属企业)" :total="this.sbdks">
  234. <a-tooltip title="指标说明" slot="action">
  235. <a-icon type="info-circle-o" />
  236. </a-tooltip>
  237. </chart-card>
  238. <chart-card v-else :loading="loading" title="上报地块数" :total="this.sbdks">
  239. <a-tooltip title="指标说明" slot="action">
  240. <a-icon type="info-circle-o" />
  241. </a-tooltip>
  242. </chart-card>
  243. </div>
  244. </a-col>
  245. <a-col v-show="!this.show" :sm="24" :md="12" :xl="6" :style="{ marginBottom: '24px' }" class="dqsbs">
  246. <chart-card :loading="loading" title="审核通过数" :total="this.shtgs">
  247. <a-tooltip title="指标说明" slot="action">
  248. <a-icon type="info-circle-o" />
  249. </a-tooltip>
  250. </chart-card>
  251. </a-col>
  252. <a-col v-show="!this.show" :sm="24" :md="12" :xl="6" :style="{ marginBottom: '24px' }" class="shbtg">
  253. <chart-card :loading="loading" title="审核不通过(退回)" :total="this.cwth">
  254. <a-tooltip title="指标说明" slot="action">
  255. <a-icon type="info-circle-o" />
  256. </a-tooltip>
  257. </chart-card>
  258. </a-col>
  259. <a-col :sm="24" :md="12" :xl="6" :style="{ marginBottom: '24px' }" class="wshsl">
  260. <div style="cursor:pointer" @click="handleWsh('qcsb-qcSsgqzysytdqk-list1')">
  261. <chart-card v-if="this.yhjs=='shyh'" :loading="loading" title="未审核地块数(省属企业)" :total="this.wshsl">
  262. <a-tooltip title="指标说明" slot="action">
  263. <a-icon type="info-circle-o" />
  264. </a-tooltip>
  265. </chart-card>
  266. <chart-card v-else :loading="loading" title="未审核地块数" :total="this.wshsl">
  267. <a-tooltip title="指标说明" slot="action">
  268. <a-icon type="info-circle-o" />
  269. </a-tooltip>
  270. </chart-card>
  271. </div>
  272. </a-col>
  273. <a-col v-show="this.show" :sm="24" :md="12" :xl="6" :style="{ marginBottom: '24px'}" class="xfrw">
  274. <div style="cursor:pointer" @click="handleXfrws('A03')">
  275. <chart-card :loading="loading" title="下发任务数(省直单位)" :total='this.sydwxfrws'>
  276. <a-tooltip title="指标说明" slot="action">
  277. <a-icon type="info-circle-o" />
  278. </a-tooltip>
  279. </chart-card>
  280. </div>
  281. </a-col>
  282. <a-col v-show="this.show" :sm="24" :md="12" :xl="6" :style="{ marginBottom: '24px' }" class="yxdls">
  283. <div style="cursor:pointer" @click="handleYxdl('list8')">
  284. <chart-card :loading="loading" title="有效登录数(省直单位)" :total="this.sydwyxdls">
  285. <a-tooltip title="指标说明" slot="action">
  286. <a-icon type="info-circle-o" />
  287. </a-tooltip>
  288. </chart-card>
  289. </div>
  290. </a-col>
  291. <a-col v-show="this.show" :sm="24" :md="12" :xl="6" :style="{ marginBottom: '24px' }" class="sbdks">
  292. <div style="cursor:pointer" @click="handleSbdks('qcsb-QcSsgqzysytdqkList-list7')">
  293. <chart-card :loading="loading" title="上报地块数(省直单位)" :total="this.sydwsbdks">
  294. <a-tooltip title="指标说明" slot="action">
  295. <a-icon type="info-circle-o" />
  296. </a-tooltip>
  297. </chart-card>
  298. </div>
  299. </a-col>
  300. <a-col v-show="this.show" :sm="24" :md="12" :xl="6" :style="{ marginBottom: '24px' }" class="wshsl">
  301. <div style="cursor:pointer" @click="handleWsh('qcsb-QcSsgqzysytdqkList-list6')">
  302. <chart-card :loading="loading" title="未审核地块数(省直单位)" :total="this.sydwwsh">
  303. <a-tooltip title="指标说明" slot="action">
  304. <a-icon type="info-circle-o" />
  305. </a-tooltip>
  306. </chart-card>
  307. </div>
  308. </a-col>
  309. </a-row>
  310. </a-card>
  311. <a-card v-has="'chart'" :loading="loading" :bordered="false" :body-style="{padding: '0'}">
  312. <div class="salesCard">
  313. <a-tabs default-active-key="1" size="large" :tab-bar-style="{marginBottom: '24px', paddingLeft: '16px'}">
  314. <a-tab-pane v-if="this.yhjs=='shyh'" loading="true" tab="土地资产上报审核情况(省属企业)" key="1">
  315. <a-row>
  316. <a-col :xl="16" :lg="12" :md="12" :sm="24" :xs="24">
  317. <Pie :dataSource="this.pieData"></Pie>
  318. </a-col>
  319. <a-col :xl="8" :lg="12" :md="12" :sm="24" :xs="24">
  320. <rank-list title="土地资产上报审核情况" :list="rankList1"/>
  321. </a-col>
  322. </a-row>
  323. </a-tab-pane>
  324. <a-tab-pane v-else loading="true" tab="土地资产上报审核情况" key="1">
  325. <a-row>
  326. <a-col :xl="16" :lg="12" :md="12" :sm="24" :xs="24">
  327. <Pie :dataSource="this.pieData"></Pie>
  328. </a-col>
  329. <a-col :xl="8" :lg="12" :md="12" :sm="24" :xs="24">
  330. <rank-list title="土地资产上报审核情况" :list="rankList1"/>
  331. </a-col>
  332. </a-row>
  333. </a-tab-pane>
  334. <a-tab-pane v-if="this.yhjs=='shyh'" tab="土地资产上报审核情况(省直单位)" key="2">
  335. <a-row>
  336. <a-col :xl="16" :lg="12" :md="12" :sm="24" :xs="24">
  337. <Pie :dataSource="this.sydwpieData"></Pie>
  338. </a-col>
  339. <a-col :xl="8" :lg="12" :md="12" :sm="24" :xs="24">
  340. <rank-list title="土地资产上报审核情况" :list="sydwrankList1"/>
  341. </a-col>
  342. </a-row>
  343. </a-tab-pane>
  344. </a-tabs>
  345. </div>
  346. </a-card>
  347. <a-card>
  348. <a-col>
  349. <UserAnnouncement></UserAnnouncement>
  350. </a-col>
  351. </a-card>
  352. <!-- <a-card style='margin-top: 20px'>-->
  353. <!-- <a-row>-->
  354. <!-- <a-col :xl="16" :lg="12" :md="12" :sm="24" :xs="24" style='z-index: 3000; position:fixed;top: 67%;left: 0.4%;width:220px;height:300px;background-color: white;text-align: center;box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;' v-show="showCallCenter" class="call-center" >-->
  355. <!-- <div class="ant-card-extra" style='padding: 0;position: absolute;right: 0.5em' @click='onClose'><i aria-label="图标: close" tabindex="-1" class="anticon anticon-close" style="cursor: pointer; color: rgb(236,150,45);"><svg viewBox="64 64 896 896" data-icon="close" width="1em" height="1em" fill="currentColor" aria-hidden="true" focusable="false" class=""><path d="M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 0 0 203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"></path></svg></i></div>-->
  356. <!-- <div v-if="this.Showchat==0" style='margin-top: 15px'>-->
  357. <!-- <img width='350px' style=" width:220px;height:260px" src='@/assets/wechat1.jpg' alt=''>-->
  358. <!-- </div>-->
  359. <!-- <div v-else-if="this.Showchat==1" style='margin-top: 15px'>-->
  360. <!-- <img width='350px' style=" width:200px;height:260px" src='@/assets/1666055160594.jpg' alt=''><img>-->
  361. <!-- </div>-->
  362. <!-- <span style="color: red">扫码进群,在线咨询</span>-->
  363. <!-- </a-col>-->
  364. <!--&lt;!&ndash; <a-col :xl="8" :lg="12" :md="12" :sm="24" :xs="24">-->
  365. <!-- <div>-->
  366. <!-- <a class="logout_title" target="_blank" href="/shuomingshu.pdf">-->
  367. <!-- 系统简明使用手册-->
  368. <!-- </a>-->
  369. <!-- </div>-->
  370. <!-- </a-col>&ndash;&gt;-->
  371. <!-- </a-row>-->
  372. <!-- </a-card>-->
  373. <QcQyxxModal ref="modalForm" ></QcQyxxModal>
  374. <QcSsgqzysytdqkModal ref="modalForm1"></QcSsgqzysytdqkModal>
  375. </div>
  376. </template>
  377. <script>
  378. import store from '@/store'
  379. import ChartCard from '@/components/ChartCard'
  380. import ACol from "ant-design-vue/es/grid/Col"
  381. import ATooltip from "ant-design-vue/es/tooltip/Tooltip"
  382. import MiniArea from '@/components/chart/MiniArea'
  383. import MiniBar from '@/components/chart/MiniBar'
  384. import MiniProgress from '@/components/chart/MiniProgress'
  385. import RankList from '@/components/chart/RankList'
  386. import Bar from '@/components/chart/Bar'
  387. import LineChartMultid from '@/components/chart/LineChartMultid'
  388. import HeadInfo from '@/components/tools/HeadInfo.vue'
  389. import { getAction } from '../../api/manage'
  390. import Trend from '@/components/Trend'
  391. import { getLoginfo,getVisitInfo } from '@/api/api'
  392. import Pie from "../../components/chart/Pie";
  393. import UserAnnouncement from "../../views/system/UserAnnouncementList";
  394. import QcQyxxModal from "@views/sydwqcsb/sydwxx/modules/QcQyxxModal";
  395. import QcSsgqzysytdqkModal from "@views/sydwqcsb/modules/QcSsgqzysytdqkModal";
  396. const rankList = []
  397. for (let i = 0; i < 7; i++) {
  398. rankList.push({
  399. name: '白鹭岛 ' + (i+1) + ' 号店',
  400. total: 1234.56 - i * 100
  401. })
  402. }
  403. const barData = []
  404. for (let i = 0; i < 12; i += 1) {
  405. barData.push({
  406. x: `${i + 1}月`,
  407. y: Math.floor(Math.random() * 1000) + 200
  408. })
  409. }
  410. export default {
  411. name: "IndexChart",
  412. components: {
  413. ATooltip,
  414. QcSsgqzysytdqkModal,
  415. Pie,
  416. ACol,
  417. ChartCard,
  418. MiniArea,
  419. MiniBar,
  420. MiniProgress,
  421. RankList,
  422. Bar,
  423. QcQyxxModal,
  424. Trend,
  425. LineChartMultid,
  426. HeadInfo,
  427. UserAnnouncement
  428. },
  429. data() {
  430. return {
  431. dataSource:[],
  432. yxdls:'',
  433. yhjs:'',
  434. wshsl:'',
  435. wshsmj:'', // 未审核面积数
  436. xfrws:'',
  437. sbdks:'',
  438. sbdkmj:'', // 上报地块面积
  439. dqsbs:'',
  440. tgsh:'',
  441. btgsh:'',
  442. shtgs:'',
  443. shtgmj:'', // 审核通过面积
  444. cwth:'',
  445. cwthmj:'', // 错误退回面积
  446. sydwxfrws:'',//下发任务数
  447. sydwyxdls:'',//有效登录数
  448. sydwsbdks:'',//上报地块数
  449. sydwwsh:'',//未审核数量
  450. sydwyhjs:'',//用戶角色
  451. showDqsbs:true,
  452. show:false,
  453. pieData:[],
  454. sydwpieData:[],
  455. sydwrankList1:[],
  456. rankList1:[],
  457. loading: true,
  458. center: null,
  459. rankList,
  460. Showchat:0,
  461. barData,
  462. loginfo:{},
  463. visitFields:['ip','visit'],
  464. visitInfo:[],
  465. indicator: <a-icon type="loading" style="font-size: 24px" spin />,
  466. // 按下时的坐标
  467. startX: '',
  468. startY: '',
  469. // 抬起时的坐标
  470. endX: '',
  471. endY: '',
  472. showCallCenter:true,
  473. cardStyle:"position:fixed;top: 160px;left: 400px;width:135px;height:121px",
  474. time:null,
  475. }
  476. },
  477. mounted() {
  478. //控制显示二维码
  479. if(store.getters.userInfo.orgCode!=null){
  480. if(store.getters.userInfo.orgCode.substring(0,3)=='A03'){
  481. this.Showchat=1 //显示机关上报用户
  482. }else if(store.getters.userInfo.orgCode.substring(0,3)=='A04'){
  483. this.Showchat=0 //显示企业上报用户
  484. }
  485. }
  486. this.selectDqsbs();
  487. this.selectWshsl();
  488. this.selectXfrws();
  489. this.selectShzt();
  490. this.selectsydw();
  491. this.selectsydwShzt();
  492. /* this.$nextTick(()=>{
  493. this.time=setInterval(()=>{
  494. /!*let callCenter = document.querySelector('#callCenter')
  495. let x=callCenter.offsetLeft;
  496. let y=callCenter.offsetTop;
  497. if(x<document.body.clientWidth - 30){
  498. callCenter.style.left = x + 20 + 'px'
  499. }else if(x>30) {
  500. callCenter.style.left = x - 20 + 'px'
  501. }
  502. if(y<document.body.clientHeight - 30){
  503. callCenter.style.top = y + 20 + 'px'
  504. }else if(y>30) {
  505. callCenter.style.top = y - 20 + 'px'
  506. }*!/
  507. console.log(11)
  508. this.autoMoveBox()
  509. },2000)
  510. })*/
  511. },
  512. created() {
  513. setTimeout(() => {
  514. this.loading = !this.loading
  515. }, 1000)
  516. this.initLogInfo();
  517. },
  518. destroyed() {
  519. console.log(999)
  520. clearInterval(this.time)
  521. },
  522. methods: {
  523. handleYxdl(view){
  524. this.$router.push({name:'qcsb.qyxx-qcQyxx-'+view})
  525. },
  526. onClose(){
  527. this.showCallCenter=false;
  528. clearInterval(this.time)
  529. },
  530. handleAdd(){
  531. this.$router.push({path:'/enterpriseInfo/infoSubmit'})
  532. },
  533. handleRouter(){
  534. this.$router.push({path:'/enterpriseInfo/infoSubmit'})
  535. },
  536. handleRouter2(){
  537. this.$router.push({path:'/land/landInfo'})
  538. },
  539. handleSbdks(view){
  540. this.$router.push({name:view})
  541. },
  542. handleXfrws(orgCode){
  543. if (JSON.stringify(this.$store.state.permission.routers[6]).includes('isystem-user')) {
  544. this.$router.push({name:'isystem-user',query:{orgCode: orgCode}})
  545. } else {
  546. this.$notification.error({
  547. message: '提示',
  548. description: `没有该菜单权限,不支持查看!`,
  549. duration:3
  550. });
  551. }
  552. },
  553. handleWsh(view){
  554. this.$router.push({name:view})
  555. },
  556. handleAdd2(){
  557. this.$router.push({path:'/land/landInfo'})
  558. /* getAction("/qcsb/qcSsgqzysytdqk/selectQyxx").then(res=>{
  559. if(res.result==null){
  560. this.$message.warn("请先补全用地单位信息并上报!")
  561. }else
  562. if(res.result.sfsjtdzc=='是'){
  563. this.$refs.modalForm1.add();
  564. this.$refs.modalForm1.title = "新增";
  565. this.$refs.modalForm1.disableSubmit = false;
  566. }else if(res.result.sfsjtdzc=='否'){
  567. this.$message.warn("未涉及省内土地资产!")
  568. }
  569. })*/
  570. },
  571. autoMoveBox(){
  572. var windowHeight = window.innerHeight;
  573. var windowWidth = window.innerWidth;
  574. var box = document.getElementById("callCenter");
  575. var boxWidth = parseInt(box.style.width);
  576. var boxHeight = parseInt(box.style.height);
  577. var boxTop = parseInt(box.style.top);
  578. var boxLeft = parseInt(box.style.left);
  579. var size = 20;
  580. // 左上角,开始右移
  581. if( (boxTop-boxHeight<=0) && (boxLeft+boxWidth)<windowWidth )
  582. {
  583. box.style.left = boxLeft + size + "px";
  584. }
  585. else if((boxTop+boxHeight<windowHeight) && (boxLeft+boxWidth)>=windowWidth)
  586. {
  587. // 右上角,开始下移
  588. box.style.top = boxTop + size + "px";
  589. }
  590. else if((boxTop+boxHeight)>=windowHeight && (boxLeft- boxWidth)>0)
  591. {
  592. // 右下角,开始左移
  593. box.style.left = boxLeft - size + "px";
  594. }
  595. else if((boxTop-boxHeight)>=0 && (boxLeft-boxWidth)<=0)
  596. {
  597. // 左下角,开始上移
  598. box.style.top = boxTop - size + "px";
  599. }else {
  600. box.style.left = boxLeft + size + "px";
  601. box.style.top = boxTop + size + "px";
  602. }
  603. // setTimeout(()=>{this.autoMoveBox()},50);
  604. },
  605. // 拖动窗口,鼠标按下
  606. move(event) {
  607. /*if(this.time){
  608. clearInterval(this.time)
  609. }
  610. // 给对应div添加拖拽属性
  611. let callCenter = document.querySelector('#callCenter');
  612. console.log(callCenter)
  613. callCenter.style.cursor = 'move'
  614. var distanceX = event.clientX - callCenter.offsetLeft
  615. var distanceY = event.clientY - callCenter.offsetTop
  616. // 获取按下时对应的坐标
  617. this.startX = event.pageX
  618. this.startY = event.pageY
  619. document.onmousemove = function (ev) {
  620. var oevent = ev || event
  621. // 加入判断,让浮窗在限定的页面内可拖动
  622. if (ev.clientX < 40 || ev.clientX > document.body.clientWidth - 30) {
  623. return
  624. }
  625. if (ev.clientY < 40 || ev.clientY > document.body.clientHeight - 30) {
  626. return
  627. }
  628. callCenter.style.left = oevent.clientX - distanceX + 'px'
  629. callCenter.style.top = oevent.clientY - distanceY + 'px'
  630. }
  631. document.onmouseup = function () {
  632. document.onmousemove = null
  633. document.onmouseup = null
  634. callCenter.style.cursor = 'default'
  635. }*/
  636. },
  637. // 鼠标抬起触发
  638. moveEnd(event) {
  639. /* // 获取鼠标抬起时的坐标
  640. this.endX = event.pageX
  641. this.endY = event.pageY
  642. this.time=setInterval(()=>this.autoMoveBox(),1000)
  643. // 计算按下与抬起位置差值
  644. var d = Math.sqrt((this.startX - this.endX) * (this.startX - this.endX) + (this.startY - this.endY) * (this.startY - this.endY))
  645. console.log(1)
  646. if (d === 0 || d < 7) {
  647. console.log("执行了点击事件")
  648. }else {
  649. console.log("执行了拖拽事件")
  650. }*/
  651. },
  652. selectXfrws(){
  653. getAction("/qcsb.qyxx/qcQyxx/rwdls").then(res=>{
  654. if(res.code==200){
  655. for (let i = 0; i <res.result1.length; i++) {
  656. this.xfrws=res.result1[0];//下发任务数
  657. this.yxdls=res.result1[1];//有效登录数
  658. this.sbdks=res.result1[2];//上报地块数
  659. this.yhjs=res.result1[3];//用戶角色
  660. this.sbdkmj=res.result1[4];//上报地块数
  661. }
  662. }
  663. if(this.yhjs=='shyh'||this.yhjs=='sjzh'){
  664. this.show=true;
  665. }
  666. })
  667. },
  668. selectsydw(){
  669. getAction("/qcsb.qyxx/qcQyxx/sydw").then(res=>{
  670. if(res.code==200){
  671. for (let i = 0; i <res.result1.length; i++) {
  672. this.sydwxfrws=res.result1[0];//下发任务数
  673. this.sydwyxdls=res.result1[1];//有效登录数
  674. this.sydwsbdks=res.result1[2];//上报地块数
  675. this.sydwwsh=res.result1[3];//未审核数量
  676. this.sydwyhjs=res.result1[4];//用戶角色
  677. }
  678. }
  679. })
  680. },
  681. selectShzt(){
  682. getAction("/qcsb.qyxx/qcQyxx/shzt").then(res=>{
  683. if(res.code==200){
  684. this.pieData=[
  685. { item: '审核通过地块', count:parseInt(res.result1[0]) },
  686. { item: '审核不通过地块',count:parseInt(res.result1[1]) },
  687. { item: '未审核地块', count:parseInt(res.result1[2]) },
  688. { item: '审核中地块', count:parseInt(res.result1[3]) }
  689. ]
  690. for (let i = 0; i < this.pieData.length; i++) {
  691. this.rankList1.push({
  692. name: this.pieData[i].item,
  693. total: this.pieData[i].count
  694. })
  695. }
  696. }
  697. })
  698. debugger
  699. },
  700. selectsydwShzt(){
  701. getAction("/qcsb.qyxx/qcQyxx/sydwshzt").then(res=>{
  702. if(res.code==200){
  703. this.sydwpieData=[
  704. { item: '审核通过地块', count:parseInt(res.result1[0]) },
  705. { item: '审核不通过地块',count:parseInt(res.result1[1]) },
  706. { item: '未审核地块', count:parseInt(res.result1[2]) },
  707. { item: '审核中地块', count:parseInt(res.result1[3]) }
  708. ]
  709. for (let i = 0; i < this.sydwpieData.length; i++) {
  710. this.sydwrankList1.push({
  711. name: this.sydwpieData[i].item,
  712. total: this.sydwpieData[i].count
  713. })
  714. }
  715. }
  716. })
  717. },
  718. selectDqsbs(){
  719. let usercode=''
  720. usercode = store.getters.userInfo.username
  721. getAction("/qcsb.qyxx/qcQyxx/dqsbs").then(res=>{
  722. if(res.code==200){
  723. this.shtgs=res.result1[0]//审核通过数
  724. this.cwth=res.result1[1]//错误退回
  725. this.yhjs=res.result1[2];
  726. this.shtgmj=res.result1[3]; // 通过审核面积
  727. this.cwthmj=res.result1[4]; // 未通过审核面积
  728. if(this.yhjs=="shyh"){
  729. this.showDqsbs=false;
  730. }
  731. }
  732. })
  733. },
  734. selectWshsl(){
  735. getAction("/qcsb.qyxx/qcQyxx/wshsl").then(res=>{
  736. if(res.code==200){
  737. // res.result返回格式 “0|0”
  738. let wsh = res.result.slice('|');
  739. this.wshsl = wsh.length > 1 ? wsh[0] : wsh;
  740. this.wshsmj = wsh.length > 1 ? wsh[2]: 0; // 未审核面积数
  741. }
  742. })
  743. },
  744. initLogInfo () {
  745. getLoginfo(null).then((res)=>{
  746. if(res.success){
  747. Object.keys(res.result).forEach(key=>{
  748. res.result[key] =res.result[key]+""
  749. })
  750. this.loginfo = res.result;
  751. }
  752. })
  753. getVisitInfo().then(res=>{
  754. if(res.success){
  755. this.visitInfo = res.result;
  756. }
  757. })
  758. },
  759. }
  760. }
  761. </script>
  762. <style lang="less" scoped>
  763. .circle-cust{
  764. position: relative;
  765. top: 28px;
  766. left: -100%;
  767. }
  768. .logout_title {
  769. font-size: 1.5rem;
  770. }
  771. .chart-card-header{
  772. text-align: center;
  773. }
  774. .extra-wrapper {
  775. line-height: 55px;
  776. padding-right: 24px;
  777. .extra-item {
  778. display: inline-block;
  779. margin-right: 24px;
  780. a {
  781. margin-left: 24px;
  782. }
  783. }
  784. }
  785. /* 首页访问量统计 */
  786. .head-info {
  787. position: relative;
  788. text-align: left;
  789. padding: 0 32px 0 0;
  790. min-width: 125px;
  791. &.center {
  792. text-align: center;
  793. padding: 0 32px;
  794. }
  795. span {
  796. color: rgba(0, 0, 0, .45);
  797. display: inline-block;
  798. font-size: .95rem;
  799. line-height: 42px;
  800. margin-bottom: 4px;
  801. }
  802. p {
  803. line-height: 42px;
  804. margin: 0;
  805. a {
  806. font-weight: 600;
  807. font-size: 1rem;
  808. }
  809. }
  810. }
  811. </style>
  812. <style>
  813. .syxxtbbtn{
  814. height: 80%;
  815. width: 100%;
  816. background-color: #1890FF;
  817. background-image: url('~@/assets/syxxtb_bg.png');
  818. background-size: 100% 100%;
  819. margin-left: 2rem;
  820. margin-top:1rem;
  821. margin-bottom: 1rem;
  822. font-size:32px;
  823. text-align: center ;
  824. line-height: 9rem;
  825. box-shadow: 10px 10px 15px -10px;
  826. border-radius: 1rem;cursor:pointer
  827. }
  828. .xfrw .ant-card{
  829. /*border: 2px solid rgb(204,204,255);*/
  830. text-align: center;
  831. background-image: url('~@/assets/sytj_1.png');
  832. background-size: 100% 100%;
  833. box-shadow: 10px 10px 15px -10px;
  834. border-radius: 6px;
  835. }
  836. .yxdls .ant-card{
  837. text-align: center;
  838. background-image: url('~@/assets/sytj_2.png');
  839. background-size: 100% 100%;
  840. box-shadow: 10px 10px 15px -10px;
  841. border-radius: 6px;
  842. }
  843. .sbdks .ant-card{
  844. /* border: 2px solid rgb(192,192,192);*/
  845. text-align: center;
  846. background-image: url('~@/assets/sytj_3.png');
  847. background-size: 100% 100%;
  848. box-shadow: 10px 10px 15px -10px;
  849. border-radius: 6px;
  850. }
  851. .wshsl .ant-card{
  852. /* border: 2px solid rgb( 124,130,96);*/
  853. /* border: 2px solid rgb(225,215,100);*/
  854. text-align: center;
  855. background-image: url('~@/assets/sytj_4.png');
  856. background-size: 100% 100%;
  857. box-shadow: 10px 10px 15px -10px;
  858. border-radius: 6px;
  859. }
  860. .shbtg .ant-card{
  861. text-align: center;
  862. background-image: url('~@/assets/sytj_2.png');
  863. background-size: 100% 100%;
  864. box-shadow: 10px 10px 15px -10px;
  865. border-radius: 6px;
  866. }
  867. .dqsbs .ant-card{
  868. text-align: center;
  869. background-image: url('~@/assets/sytj_1.png');
  870. background-size: 100% 100%;
  871. box-shadow: 10px 10px 15px -10px;
  872. border-radius: 6px;
  873. }
  874. .chart-card-footer{
  875. border-top: 0px solid #e8e8e8 !important;
  876. }
  877. </style>