index.vue 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960
  1. <template>
  2. <div class="background-image">
  3. <div class="header">
  4. <!-- <div class="roll-name-box">
  5. <div class="scroll-content">
  6. <span v-for="(item, index) in notifyList" :key="index">
  7. <span>{{ item.title}}:</span>
  8. <span>{{ item.content }}</span>
  9. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  10. </span>
  11. </div>
  12. </div> -->
  13. </div>
  14. <div class="headline">
  15. <div class="headline-text">盐都区工业企业产品发布平台</div>
  16. </div>
  17. <div class="main">
  18. <div style="width: 1.5%"></div>
  19. <div class="main-1">
  20. <div class="main-periphery">
  21. <div style="height: 25%"></div>
  22. <div class="main-periphery-font" style="height: 30%; color: #031c57">
  23. 今日入库企业数
  24. </div>
  25. <div class="main-periphery-numerical" style="height: 45%; color: #0843cd">
  26. {{ pageInfo.todayenterprisec }}
  27. </div>
  28. </div>
  29. <div class="main-periphery">
  30. <div style="height: 25%"></div>
  31. <div class="main-periphery-font" style="height: 30%; color: #031c57">
  32. 入库企业总数
  33. </div>
  34. <div class="main-periphery-numerical" style="height: 45%; color: #0843cd">
  35. {{ pageInfo.enterprisec }}
  36. </div>
  37. </div>
  38. </div>
  39. <div class="main-2">
  40. <div class="main-periphery">
  41. <div style="height: 25%"></div>
  42. <div class="main-periphery-font" style="height: 30%; color: #063e2a">
  43. 今天活跃数
  44. </div>
  45. <div class="main-periphery-numerical" style="height: 45%; color: #028455">
  46. {{ pageInfo.todayc }}
  47. </div>
  48. </div>
  49. <div class="main-periphery">
  50. <div style="height: 25%"></div>
  51. <div class="main-periphery-font" style="height: 30%; color: #063e2a">
  52. 当月活跃数
  53. </div>
  54. <div class="main-periphery-numerical" style="height: 45%; color: #028455">
  55. {{ pageInfo.samemonthc }}
  56. </div>
  57. </div>
  58. </div>
  59. <div class="main-4">
  60. <div class="main-periphery">
  61. <div style="height: 25%"></div>
  62. <div class="main-periphery-font" style="height: 30%; color: #764710">
  63. 入库企业行业
  64. <span class="main-periphery-font-small" style="color: #764710"></span>
  65. </div>
  66. <div class="main-periphery2">
  67. <div style="height: 15%"></div>
  68. <div class="main-periphery-font-small" style="height: 30%; color: #764710">
  69. {{pageInfo2[0].industry}}
  70. <span class="main-periphery-font"
  71. style="font-weight: bold; color: #b86504; margin-left: 10px">{{ pageInfo2[0].cc }}</span>
  72. <span class="main-periphery-font-small"
  73. style="font-weight: bold; color: #b86504; margin-left: 10px">家</span>
  74. </div>
  75. <div style="height: 15%"></div>
  76. <div class="main-periphery-font-small" style="height: 30%; color: #764710">
  77. {{pageInfo2[1].industry}}
  78. <span class="main-periphery-font"
  79. style="font-weight: bold; color: #b86504; margin-left: 10px">{{ pageInfo2[1].cc }}</span>
  80. <span class="main-periphery-font-small"
  81. style="font-weight: bold; color: #b86504; margin-left: 10px">家</span>
  82. </div>
  83. </div>
  84. <div class="main-periphery2">
  85. <div style="height: 15%"></div>
  86. <div class="main-periphery-font-small" style="height: 30%; color: #764710">
  87. {{pageInfo2[2].industry}}
  88. <span class="main-periphery-font"
  89. style="font-weight: bold; color: #b86504; margin-left: 10px">{{ pageInfo2[2].cc }}</span>
  90. <span class="main-periphery-font-small"
  91. style="font-weight: bold; color: #b86504; margin-left: 10px">家</span>
  92. </div>
  93. <div style="height: 15%"></div>
  94. <div class="main-periphery-font-small" style="height: 30%; color: #764710">
  95. {{pageInfo2[3].industry}}
  96. <span class="main-periphery-font"
  97. style="font-weight: bold; color: #b86504; margin-left: 10px">{{ pageInfo2[3].cc }}</span>
  98. <span class="main-periphery-font-small"
  99. style="font-weight: bold; color: #b86504; margin-left: 10px">家</span>
  100. </div>
  101. <div style="height: 15%"></div>
  102. <div class="main-periphery-font-small" style="height: 30%; color: #764710">
  103. {{pageInfo2[4].industry}}
  104. <span class="main-periphery-font"
  105. style="font-weight: bold; color: #b86504; margin-left: 10px">{{ pageInfo2[4].cc }}</span>
  106. <span class="main-periphery-font-small"
  107. style="font-weight: bold; color: #b86504; margin-left: 10px">家</span>
  108. </div>
  109. </div>
  110. </div>
  111. </div>
  112. <!-- <div class="main-5">
  113. <div class="main-periphery">
  114. <div style="height: 25%"></div>
  115. <div class="main-periphery-font" style="height: 30%; color: #016a61">
  116. 本年税源办
  117. <span class="main-periphery-font-small" style="color: #016a61"
  118. >(万元)</span
  119. >
  120. </div>
  121. <div
  122. class="main-periphery-numerical"
  123. style="height: 45%; color: #0fb9c4"
  124. >
  125. {{ pageInfo.bnrukussZF }}
  126. </div>
  127. </div>
  128. <div class="main-periphery">
  129. <div style="height: 25%"></div>
  130. <div class="main-periphery-font" style="height: 30%; color: #016a61">
  131. 本月税源办
  132. <span class="main-periphery-font-small" style="color: #016a61"
  133. >(万元)</span
  134. >
  135. </div>
  136. <div style="display: flex; width: 100%; height: 45%">
  137. <div
  138. class="main-periphery-numerical"
  139. style="display: flex; width: 55%; color: #0fb9c4"
  140. >
  141. {{ pageInfo.byrukuZFss }}
  142. </div>
  143. <div style="width: 45%">
  144. <div
  145. class="main-periphery-font-small"
  146. style="height: 30%"
  147. :style="{ color: textColor5 }"
  148. >
  149. 环比
  150. <i
  151. :class="{
  152. 'el-icon-top icon': Number(pageInfo.rkhbzf) > 0,
  153. 'el-icon-bottom icon': Number(pageInfo.rkhbzf) < 0,
  154. }"
  155. ></i>
  156. {{ Math.abs(pageInfo.rkhbzf) }}%
  157. </div>
  158. <div style="height: 10%"></div>
  159. <div
  160. class="main-periphery-font-small"
  161. style="height: 30%"
  162. :style="{ color: textColor6 }"
  163. >
  164. 同比
  165. <i
  166. :class="{
  167. 'el-icon-top icon': Number(pageInfo.rkzftb) > 0,
  168. 'el-icon-bottom icon': Number(pageInfo.rkzftb) < 0,
  169. }"
  170. ></i>
  171. {{ Math.abs(pageInfo.rkzftb) }}%
  172. </div>
  173. </div>
  174. </div>
  175. </div>
  176. </div> -->
  177. </div>
  178. <div class="footer">
  179. <!-- <div class="footer-main">
  180. <div style="height: 10%"></div>
  181. <div class="footer-main-top">
  182. <i class="el-icon-s-promotion icon"></i>
  183. 快捷入口
  184. </div>
  185. <div class="footer-fast">
  186. <div class="footer-fast-2" v-show="haveCJYQ">
  187. <router-link to="/parkmanagement/ParkManagementList">
  188. <div class="footer-fast-1-1"></div>
  189. <div style="height: 10%"></div>
  190. <div class="footer-fast-1-2">创建园区</div>
  191. </router-link>
  192. </div>
  193. <div class="footer-fast-2" v-show="haveCJLY">
  194. <router-link to="/buildinginfo/BuildingManagementList">
  195. <div class="footer-fast-2-1"></div>
  196. <div style="height: 10%"></div>
  197. <div class="footer-fast-1-2">创建楼宇</div>
  198. </router-link>
  199. </div>
  200. <div class="footer-fast-2" v-show="haveCJQY">
  201. <router-link to="/enterpriseinfo/EnterpriseInfoList">
  202. <div class="footer-fast-2-2"></div>
  203. <div style="height: 10%"></div>
  204. <div class="footer-fast-1-2">创建企业</div>
  205. </router-link>
  206. </div>
  207. <div class="footer-fast-2" v-show="haveCJYG">
  208. <router-link to="/qyuser/QyUserList">
  209. <div class="footer-fast-2-3"></div>
  210. <div style="height: 10%"></div>
  211. <div class="footer-fast-1-2">新增员工</div>
  212. </router-link>
  213. </div>
  214. <div class="footer-fast-2" v-show="haveSBSS">
  215. <router-link to="/saleinventory/SaleInventoryList">
  216. <div class="footer-fast-2-4"></div>
  217. <div style="height: 10%"></div>
  218. <div class="footer-fast-1-2">申报税收</div>
  219. </router-link>
  220. </div>
  221. <div class="footer-fast-2" v-show="haveXXWH">
  222. <router-link to="/enterpriseother/EnterpriseOtherList">
  223. <div class="footer-fast-2-5"></div>
  224. <div style="height: 10%"></div>
  225. <div class="footer-fast-1-2">信息维护</div>
  226. </router-link>
  227. </div>
  228. </div>
  229. </div> -->
  230. <div class="headline">
  231. <div class="headline-text">大走访看板</div>
  232. </div>
  233. <div class="footer-main">
  234. <el-row>
  235. <el-col :span="12">
  236. <div class="">
  237. <el-button autofocus @click="getTime(0)" size="mini">月度</el-button>
  238. <el-button @click="getTime(1)" size="mini">季度</el-button>
  239. <el-button @click="getTime(2)" size="mini">年度</el-button>
  240. </div>
  241. </el-col>
  242. <el-col :span="12">
  243. <div style="text-align: right;">
  244. <el-date-picker size="mini" @change="getTime(3)" v-model="value2" type="daterange" align="right"
  245. unlink-panels range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"
  246. :picker-options="pickerOptions">
  247. </el-date-picker>
  248. </div>
  249. </el-col>
  250. </el-row>
  251. <el-row :gutter="20">
  252. <el-col :span="4">
  253. <el-card shadow="always" :body-style="{padding: '5px',margin:'0px'}">
  254. <div class="footer-fast-1-1" @click="goInfo(0,1)">
  255. <p><span style="color: red;">●</span>未完成大走访人数</p>
  256. <p><span style="font-size: 20px;font-weight: 700;margin-right: 10px;">{{allSum.perUnFinishSum}}</span>人
  257. </p>
  258. <p>占比<span style="font-size: 12px;color: red;margin-left: 5px;">{{parseFloat(allSum.perUnfinish).toFixed(2)}}%</span></p>
  259. </div>
  260. </el-card>
  261. </el-col>
  262. <el-col :span="4">
  263. <el-card shadow="always" :body-style="{padding: '5px',margin:'0px'}">
  264. <div class="footer-fast-1-1" @click="goInfo(0,2)">
  265. <p><span style="color: #0843cd;">●</span>完成大走访人数</p>
  266. <p><span style="font-size: 20px;font-weight: 700;margin-right: 10px;">{{allSum.perFinishSum}}</span>人
  267. </p>
  268. <p>占比<span style="font-size: 12px;color: #0843cd;margin-left: 5px;">{{parseFloat(allSum.perAcount).toFixed(2)}}%</span></p>
  269. </div>
  270. </el-card>
  271. </el-col>
  272. <el-col :span="4">
  273. <el-card shadow="always" :body-style="{padding: '5px',margin:'0px'}">
  274. <div class="footer-fast-1-1" @click="goInfo(3,1)">
  275. <p><span style="color: red;">●</span>未完成大走访企业数</p>
  276. <p><span style="font-size: 20px;font-weight: 700;margin-right: 10px;">{{allSum.qyUnFinishSum}}</span>个
  277. </p>
  278. <p>占比<span style="font-size: 12px;color: red;margin-left: 5px;">{{parseFloat(allSum.qyUnfinish).toFixed(2)}}%</span></p>
  279. </div>
  280. </el-card>
  281. </el-col>
  282. <el-col :span="4">
  283. <el-card shadow="always" :body-style="{padding: '5px',margin:'0px'}">
  284. <div class="footer-fast-1-1" @click="goInfo(3,2)">
  285. <p><span style="color: #0843cd;">●</span>完成大走访企业数</p>
  286. <p><span style="font-size: 20px;font-weight: 700;margin-right: 10px;">{{allSum.qyFinishSum}}</span>个
  287. </p>
  288. <p>占比<span style="font-size: 12px;color: #0843cd;margin-left: 5px;">{{parseFloat(allSum.qyAcount).toFixed(2)}}%</span></p>
  289. </div>
  290. </el-card>
  291. </el-col>
  292. <el-col :span="4">
  293. <el-card shadow="always" :body-style="{padding: '5px',margin:'0px'}" >
  294. <div class="footer-fast-1-1" @click="goInfo(1,1)">
  295. <p><span style="color: red;">●</span>未办结问题数</p>
  296. <p><span style="font-size: 20px;font-weight: 700;margin-right: 10px;">{{allSum.queUnFinishSum}}</span>个
  297. </p>
  298. <p>占比<span style="font-size: 12px;color: red;margin-left: 5px;">{{parseFloat(allSum.queUnfinish).toFixed(2)}}%</span></p>
  299. </div>
  300. </el-card>
  301. </el-col>
  302. <el-col :span="4">
  303. <el-card shadow="always" :body-style="{padding: '5px',margin:'0px'}" >
  304. <div class="footer-fast-1-1" @click="goInfo(2,2)">
  305. <p><span style="color: #0843cd;">●</span>办结问题数</p>
  306. <p><span style="font-size: 20px;font-weight: 700;margin-right: 10px;">{{allSum.queFinishSum}}</span>个
  307. </p>
  308. <p>占比<span
  309. style="font-size: 12px;color: #0843cd;margin-left: 5px;">{{parseFloat(allSum.queAcount).toFixed(2)}}%</span>
  310. </p>
  311. </div>
  312. </el-card>
  313. </el-col>
  314. </el-row>
  315. <div style="width:100%;height:280px;">
  316. <div id="eChart2" style="width:100%;height:100%;"></div>
  317. </div>
  318. </div>
  319. </div>
  320. <question-info ref="questionInfo"></question-info>
  321. <index-info ref="indexInfo"></index-info>
  322. <index-info2 ref="indexInfo2"></index-info2>
  323. </div>
  324. </template>
  325. <script>
  326. import bigScreenService from "@/api/bigScreen/bigScreenApi";
  327. import notifyService from "@/api/notify/notifyService";
  328. import lyService from "@/api/service/lyServiceService";
  329. import userService from "@/api/sys/userService";
  330. import visitStatistics from './visitStatistics';
  331. import questionInfo from './questionInfo';
  332. import indexInfo from './indexInfo';
  333. import indexInfo2 from './indexInfo2';
  334. export default {
  335. data() {
  336. return {
  337. parkSum: "24",
  338. enterpriseSum: "1025",
  339. premisesAcreage: "24152.3",
  340. usableArea: "18122.1",
  341. residualArea: "6030.2",
  342. moneyYear: "1025.2",
  343. moneyMonth: "101.2",
  344. moneyMoM: "2.2%",
  345. moneyYoY: "0.2%",
  346. revenueYear: "201.2",
  347. revenueMonth: "31.2",
  348. revenueMoM: "2.2%",
  349. revenueYoY: "0.2%",
  350. taxYear: "201.2",
  351. taxMonth: "31.2",
  352. taxMoM: "2.2%",
  353. taxYoY: "0.2%",
  354. textColor1: "#028455",
  355. textColor2: "#028455",
  356. textColor3: "#028455",
  357. textColor4: "#028455",
  358. textColor5: "#028455",
  359. textColor6: "#028455",
  360. isTop1: true,
  361. isTop2: true,
  362. isTop3: true,
  363. isTop4: true,
  364. isTop5: true,
  365. isTop6: true,
  366. isBottom1: false,
  367. isBottom2: false,
  368. isBottom3: false,
  369. isBottom4: false,
  370. isBottom5: false,
  371. isBottom6: false,
  372. pageInfo: {},
  373. pageInfo2: [{
  374. industry: '',
  375. cc: ''
  376. }, {
  377. industry: '',
  378. cc: ''
  379. }, {
  380. industry: '',
  381. cc: ''
  382. }, {
  383. industry: '',
  384. cc: ''
  385. }, {
  386. industry: '',
  387. cc: ''
  388. }, {
  389. industry: '',
  390. cc: ''
  391. }, ],
  392. haveCJYQ: false,
  393. haveCJLY: false,
  394. haveCJQY: false,
  395. haveCJYG: false,
  396. haveSBSS: false,
  397. haveXXWH: false,
  398. nowYQInfo: {
  399. BelowUndergraduate: 0,
  400. Undergraduate: 0,
  401. Postgraduate: 0,
  402. DoctoralStudent: 0,
  403. },
  404. notifyList: [],
  405. tablePage: {
  406. total: 0,
  407. currentPage: 1,
  408. pageSize: 10,
  409. orders: [{
  410. column: 'a.create_date',
  411. asc: false
  412. }]
  413. },
  414. pickerOptions: {
  415. shortcuts: [{
  416. text: '最近一周',
  417. onClick(picker) {
  418. const end = new Date();
  419. const start = new Date();
  420. start.setTime(start.getTime() - 3600 * 1000 * 24 * 7);
  421. picker.$emit('pick', [start, end]);
  422. }
  423. }, {
  424. text: '最近一个月',
  425. onClick(picker) {
  426. const end = new Date();
  427. const start = new Date();
  428. start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);
  429. picker.$emit('pick', [start, end]);
  430. }
  431. }, {
  432. text: '最近三个月',
  433. onClick(picker) {
  434. const end = new Date();
  435. const start = new Date();
  436. start.setTime(start.getTime() - 3600 * 1000 * 24 * 90);
  437. picker.$emit('pick', [start, end]);
  438. }
  439. }]
  440. },
  441. value2: [new Date().setTime(new Date().getTime() - 3600 * 1000 * 24 * 30), new Date()],
  442. allSum: {},
  443. visible: false,
  444. };
  445. },
  446. components: {
  447. visitStatistics,
  448. questionInfo,
  449. indexInfo,
  450. indexInfo2
  451. },
  452. activated() {
  453. this.changeColor();
  454. this.getPageInfo();
  455. this.getMenuList();
  456. this.getNotifyList();
  457. const end = new Date();
  458. const start = new Date();
  459. start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);
  460. this.getAllAum(start, end)
  461. this.get2();
  462. },
  463. methods: {
  464. get2() {
  465. var that = this
  466. //获取id并初始化图表
  467. var myChart = this.$echarts.init(document.getElementById("eChart2"));
  468. lyService.getPerson().then(({
  469. data
  470. }) => {
  471. const x = [];
  472. const y = [];
  473. for (let i = 0; i < data.length; i++) {
  474. x.push(data[i].des1)
  475. y.push(data[i].perNum)
  476. }
  477. // const x = this.tableData.x//x轴
  478. // const y = this.tableData.y//y轴
  479. //配置项
  480. let option = {
  481. tooltip: {
  482. show: false
  483. },
  484. legend: {
  485. show: false
  486. },
  487. grid: {
  488. left: "4%",
  489. right: "3%",
  490. bottom: "7%",
  491. top: "15%",
  492. containLabel: true
  493. },
  494. // dataZoom: [
  495. // //滑动条
  496. // {
  497. // xAxisIndex: 0, //这里是从X轴的0刻度开始
  498. // show: false, //是否显示滑动条,不影响使用
  499. // type: "inside", // 这个 dataZoom 组件是 slider 型 dataZoom 组件
  500. // startValue: 0, // 从头开始。
  501. // endValue: 8, // 一次性展示几个。
  502. // },
  503. // ],
  504. xAxis: {
  505. type: "category",
  506. data: x.length && y.length > 0 ? x : tableData1,
  507. boundaryGap: [0, 0.01],
  508. axisLine: {
  509. lineStyle: {
  510. color: "rgba(255, 255, 255, 0.1)",
  511. width: 1
  512. }
  513. },
  514. splitLine: {
  515. show: true,
  516. lineStyle: {
  517. color: "rgba(255, 255, 255, 0.1)"
  518. }
  519. },
  520. axisTick: {
  521. show: true
  522. },
  523. axisLabel: {
  524. show: true,
  525. color: "#000",
  526. fontSize: 14
  527. }
  528. },
  529. yAxis: {
  530. name: "人",
  531. nameTextStyle: {
  532. color: "#000",
  533. fontSize: 13,
  534. },
  535. type: "value",
  536. boundaryGap: [0, 0.01],
  537. axisLine: {
  538. lineStyle: {
  539. color: "#333",
  540. width: 1
  541. }
  542. },
  543. splitLine: {
  544. show: true,
  545. lineStyle: {
  546. color: "rgba(255, 255, 255, 0.1)"
  547. }
  548. },
  549. axisTick: {
  550. show: false
  551. },
  552. axisLabel: {
  553. show: true,
  554. color: "#000",
  555. fontSize: 14
  556. }
  557. },
  558. series: [{
  559. name: "人",
  560. type: "bar",
  561. data: y,
  562. barWidth: 20,
  563. label: {
  564. normal: {
  565. show: true,
  566. position: "top",
  567. fontSize: 12,
  568. color: '#000'
  569. }
  570. },
  571. itemStyle: {
  572. normal: {
  573. label: {
  574. show: false
  575. },
  576. borderRadius: 2,
  577. color: '#0184ff'
  578. }
  579. }
  580. }]
  581. };
  582. myChart.setOption(option); //通过setOption()方法生成图表
  583. myChart.on('click', function(params) {
  584. that.$router.push({
  585. name: 'visit',
  586. params: {
  587. name: params.name,
  588. createTime: that.value2
  589. }
  590. })
  591. })
  592. })
  593. },
  594. goInfo(val,state) {
  595. if(val == 0){
  596. this.$refs.indexInfo.init(this.value2,state)
  597. }else if (val == 3){
  598. this.$refs.indexInfo2.init(this.value2,state)
  599. }else{
  600. this.$refs.questionInfo.init(val, this.value2)
  601. }
  602. },
  603. getPageInfo() {
  604. bigScreenService.InfoStatistics({}).then(({
  605. data
  606. }) => {
  607. this.pageInfo = data;
  608. });
  609. bigScreenService.InfoStatistics_industry({}).then(({
  610. data
  611. }) => {
  612. this.pageInfo2 = data;
  613. });
  614. },
  615. getAllAum(start, end) {
  616. lyService.getProgressStatistics(start, end).then(({
  617. data
  618. }) => {
  619. this.allSum = data
  620. })
  621. },
  622. getTime(val) {
  623. const end = new Date();
  624. const start = new Date();
  625. if (val == 0) {
  626. start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);
  627. } else if (val == 1) {
  628. start.setTime(start.getTime() - 3600 * 1000 * 24 * 90);
  629. } else if (val == 2) {
  630. start.setFullYear(start.getFullYear() - 1);
  631. } else if (val == 3) {
  632. start.setTime(this.value2[0])
  633. end.setTime(this.value2[1])
  634. }
  635. this.value2 = [start, end]
  636. this.getAllAum(start, end);
  637. },
  638. getNotifyList() {
  639. notifyService
  640. .list({
  641. current: this.tablePage.currentPage,
  642. size: this.tablePage.pageSize,
  643. orders: this.tablePage.orders,
  644. isSelf: true,
  645. ...this.searchForm,
  646. })
  647. .then(({
  648. data
  649. }) => {
  650. this.notifyList = data.records;
  651. });
  652. },
  653. getMenuList() {
  654. userService.getMenus().then(({
  655. data
  656. }) => {
  657. let routerList = data.routerList;
  658. let allList = [];
  659. routerList.forEach((item) => {
  660. if (item.href) {
  661. allList.push(item.href);
  662. }
  663. if (item.children.length > 0) {
  664. item.children.forEach((itemIn) => {
  665. if (itemIn.href) {
  666. allList.push(itemIn.href);
  667. }
  668. });
  669. }
  670. });
  671. console.log(allList, "====================>allList");
  672. this.haveCJYQ = allList.includes("/parkmanagement/ParkManagementList");
  673. this.haveCJLY = allList.includes(
  674. "/buildinginfo/BuildingManagementList"
  675. );
  676. this.haveCJQY = allList.includes("/enterpriseinfo/EnterpriseInfoList");
  677. this.haveCJYG = allList.includes("/qyuser/QyUserList");
  678. this.haveSBSS = allList.includes("/saleinventory/SaleInventoryList");
  679. this.haveXXWH = allList.includes(
  680. "/enterpriseother/EnterpriseOtherList"
  681. );
  682. this.$router.push({
  683. name: "home"
  684. });
  685. });
  686. },
  687. changeColor() {
  688. this.textColor1 = "#FF1C1C";
  689. this.textColor4 = "#FF1C1C";
  690. this.isTop1 = false;
  691. this.isTop4 = false;
  692. this.isBottom1 = true;
  693. this.isBottom4 = true;
  694. },
  695. },
  696. };
  697. </script>
  698. <style scoped lang="less">
  699. .background-image {
  700. background-image: url("~@/assets/img/homePage/hou_bg2.png");
  701. background-position: bottom;
  702. background-size: 100% 100%;
  703. width: 100%;
  704. height: 100%;
  705. }
  706. .header {
  707. width: 100%;
  708. height: 20px;
  709. }
  710. .headline {
  711. width: 100%;
  712. height: 5%;
  713. position: relative;
  714. }
  715. .headline-text {
  716. margin-left: 4%;
  717. font-family: Alibaba PuHuiTi 2;
  718. font-weight: normal;
  719. font-size: 30px;
  720. color: #3c507e;
  721. }
  722. .main-1 {
  723. margin-left: 1.5%;
  724. width: 29%;
  725. height: 75%;
  726. background-image: url("~@/assets/img/homePage/hou_5.png");
  727. background-size: 100% 100%;
  728. border-radius: 10px;
  729. }
  730. .main-2 {
  731. margin-left: 1.5%;
  732. width: 29%;
  733. height: 75%;
  734. background-image: url("~@/assets/img/homePage/hou_4.png");
  735. background-size: 100% 100%;
  736. border-radius: 10px;
  737. }
  738. .main-3 {
  739. margin-left: 1.5%;
  740. width: 29%;
  741. height: 75%;
  742. background-image: url("~@/assets/img/homePage/hou_3.png");
  743. background-size: 100% 100%;
  744. border-radius: 10px;
  745. }
  746. .main-4 {
  747. margin-left: 1.5%;
  748. width: 30%;
  749. height: 75%;
  750. background-image: url("~@/assets/img/homePage/hou_2.png");
  751. background-size: 100% 100%;
  752. border-radius: 10px;
  753. }
  754. .main-5 {
  755. margin-left: 1.5%;
  756. width: 17%;
  757. height: 75%;
  758. background-image: url("~@/assets/img/homePage/hou_1.png");
  759. background-size: 100% 100%;
  760. border-radius: 10px;
  761. }
  762. .main {
  763. width: 100%;
  764. height: 30%;
  765. /* 开启Flexbox布局 */
  766. display: flex;
  767. }
  768. .footer {
  769. width: 100%;
  770. position: relative;
  771. top: -5%;
  772. // height: 43%;
  773. }
  774. .el-row {
  775. margin-bottom: 20px;
  776. }
  777. .footer-main {
  778. margin-left: 4%;
  779. width: 91%;
  780. border-radius: 10px;
  781. margin-top: 15px;
  782. }
  783. .footer-main-top {
  784. height: 26%;
  785. font-family: Alibaba PuHuiTi 2;
  786. font-weight: normal;
  787. font-size: 16px;
  788. color: #333333;
  789. margin-left: 2%;
  790. }
  791. .footer-fast {
  792. width: 100%;
  793. height: 64%;
  794. /* 开启Flexbox布局 */
  795. display: flex;
  796. }
  797. // .footer-fast-1 {
  798. // margin-left: 5%;
  799. // width: 4.5%;
  800. // height: 100%;
  801. // }
  802. .footer-fast-2 {
  803. margin-left: 5%;
  804. width: 4.5%;
  805. height: 100%;
  806. }
  807. .footer-fast-1-1 p {
  808. margin: 10px;
  809. font-size: 14px;
  810. // width: 100%;
  811. // height: 53.84%;
  812. // background-image: url("~@/assets/img/homePage/hou_addyuan.png");
  813. // background-size: 100% 100%;
  814. }
  815. .footer-fast-1-2 {
  816. font-family: Alibaba PuHuiTi 2;
  817. font-weight: normal;
  818. font-size: 14px;
  819. text-align: center;
  820. }
  821. .footer-fast-2-1 {
  822. width: 100%;
  823. height: 53.84%;
  824. background-image: url("~@/assets/img/homePage/hou_addlou.png");
  825. background-size: 100% 100%;
  826. }
  827. .footer-fast-2-2 {
  828. width: 100%;
  829. height: 53.84%;
  830. background-image: url("~@/assets/img/homePage/hou_addqiye.png");
  831. background-size: 100% 100%;
  832. }
  833. .footer-fast-2-3 {
  834. width: 100%;
  835. height: 53.84%;
  836. background-image: url("~@/assets/img/homePage/hou_addren.png");
  837. background-size: 100% 100%;
  838. }
  839. .footer-fast-2-4 {
  840. width: 100%;
  841. height: 53.84%;
  842. background-image: url("~@/assets/img/homePage/hou_shuishou.png");
  843. background-size: 100% 100%;
  844. }
  845. .footer-fast-2-5 {
  846. width: 100%;
  847. height: 53.84%;
  848. background-image: url("~@/assets/img/homePage/hou_addint.png");
  849. background-size: 100% 100%;
  850. }
  851. .main-periphery {
  852. margin-left: 8%;
  853. width: 92%;
  854. height: 50%;
  855. }
  856. .main-periphery2 {
  857. margin-left: 0%;
  858. height: 50%;
  859. }
  860. .main-periphery-font {
  861. font-family: Alibaba PuHuiTi 2;
  862. font-weight: normal;
  863. font-size: 20px;
  864. }
  865. .main-periphery-numerical {
  866. font-family: Alibaba PuHuiTi 2;
  867. font-weight: bold;
  868. font-size: 40px;
  869. }
  870. .main-periphery-font-small {
  871. font-family: Alibaba PuHuiTi 2;
  872. font-weight: normal;
  873. font-size: 15px;
  874. }
  875. .roll-name-box {
  876. width: 100%;
  877. padding-left: 1vw;
  878. padding-right: 1vw;
  879. height: 3vh;
  880. color: #fff;
  881. background: #0f467a;
  882. line-height: 3vh;
  883. font-size: 1.5vh;
  884. overflow: hidden;
  885. white-space: nowrap;
  886. }
  887. .scroll-content {
  888. margin-left: 50%; // 把文字弄出可见区域
  889. width: 200%;
  890. animation: myMove 100s linear infinite; // 重点,定义动画
  891. animation-fill-mode: forwards;
  892. color: #fff;
  893. }
  894. @keyframes myMove {
  895. 0% {
  896. transform: translateX(0%);
  897. }
  898. 100% {
  899. transform: translateX(-100%);
  900. }
  901. }
  902. </style>