index.vue 34 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048
  1. <template>
  2. <div class="in_box" style="background-color: #eef0ff;">
  3. <div>
  4. <div class="indes_fag">
  5. <div>
  6. <p @click="nhl(1)" :class="jk == false ? 'lo' : ''">招商首页</p>
  7. <p @click="nhl(2)" :class="jk == true ? 'lo' : ''">发改委首页</p>
  8. </div>
  9. </div>
  10. <el-row v-if="jk == true">
  11. <el-col :xs="12" :sm="12" :lg="16" :xl="16">
  12. <div class="fgw_index">
  13. <p class="p">项目整体概况</p>
  14. <div class="fgwindex_act">
  15. <div>
  16. <p><i></i><span>项目总数(个)</span></p>
  17. <p>{{mjieus.xmzs}}</p>
  18. </div>
  19. <div>
  20. <p><i style="background-color: #10D235;"></i><span>正常项目</span></p>
  21. <p style="color: #10D235;">{{mjieus.zcxm}}</p>
  22. </div>
  23. <div>
  24. <p><i style="background-color: #D388E4;"></i><span>超期节点项目</span></p>
  25. <p style="color: #D388E4;">{{mjieus.cqjdxm}}</p>
  26. </div>
  27. <div>
  28. <p><i style="background-color: #D388E4;"></i><span>严重滞后项目</span></p>
  29. <p style="color: #D388E4;">{{mjieus.yzzhxm}}</p>
  30. </div>
  31. </div>
  32. <div class="fgwindex_act">
  33. <div>
  34. <p><i style="background-color: #FF5061;"></i><span>节点总数</span></p>
  35. <p style="color: #FF5061;">{{mjieus.jdzs}}</p>
  36. </div>
  37. <div>
  38. <p><i style="background-color: #FF7821;"></i><span>正常节点</span></p>
  39. <p style="color: #FF7821;">{{mjieus.zcjd}}</p>
  40. </div>
  41. <div>
  42. <p><i style="background-color: #2529EA;"></i><span>超期节点</span></p>
  43. <p style="color: #2529EA;">{{mjieus.cqjd}}</p>
  44. </div>
  45. <div>
  46. <p><i style="background-color: #2529EA;"></i><span>严重滞后节点</span></p>
  47. <p style="color: #2529EA;">{{mjieus.yzzhjd}}</p>
  48. </div>
  49. </div>
  50. </div>
  51. </el-col>
  52. <el-col :xs="12" :sm="12" :lg="8" :xl="8">
  53. <div class="fgw_index">
  54. <p class="p">本月汇报进度</p>
  55. <el-col :span="14" style="background-color: #fff; height: 210px;">
  56. <div style="text-align: center;">
  57. <panel-groups v-if="fgwcbs" :chart-data="panelChartDataleidfgw" />
  58. </div>
  59. </el-col>
  60. <el-col :span="10" style="background-color: #fff; height: 210px;">
  61. <div class="nslesfgw">
  62. <p>未汇报项目<span style="color: #FC3500; font-size: 29px; line-height: 20px; margin-left: 5px;margin-right: 5px;">{{panelChartDataleidfgw.whb}}</span>个</p>
  63. <p>已汇报项目<span style="color: #10D235; font-size: 29px; margin-left: 5px;margin-right: 5px;">{{panelChartDataleidfgw.yhb}}</span>个</p>
  64. <el-button v-hasPermi="['fgw:sytj:sycb']" @click="fgwcbyj">一键催报</el-button>
  65. </div>
  66. </el-col>
  67. </div>
  68. </el-col>
  69. </el-row>
  70. <el-row v-if="jk == true">
  71. <el-col :xs="24" :sm="24" :lg="24" :xl="24">
  72. <div class="fgw_index" style="height: 460px;">
  73. <p class="p">项目产业进展</p>
  74. <div class="fgwindex_act">
  75. <div>
  76. <line-charts />
  77. </div>
  78. </div>
  79. </div>
  80. </el-col>
  81. <!-- <el-col :xs="24" :sm="24" :lg="12" :xl="12">
  82. <div class="fgw_index" style="height: 460px;">
  83. <el-col :xs="12" :sm="12" :lg="17" :xl="16">
  84. <p class="p">全市投资完成情况</p>
  85. <div class="fgwindex_act">
  86. <div style="padding-left: 39px;">
  87. <el-table
  88. :data="tableData"
  89. style="width: 100%">
  90. <el-table-column
  91. prop="date"
  92. label="日期"
  93. align="center"
  94. width="180">
  95. </el-table-column>
  96. <el-table-column
  97. prop="name"
  98. label="姓名"
  99. align="center"
  100. width="180">
  101. </el-table-column>
  102. <el-table-column
  103. prop="address"
  104. align="center"
  105. label="地址">
  106. </el-table-column>
  107. </el-table>
  108. </div>
  109. </div>
  110. </el-col> -->
  111. <!-- <el-col :xs="12" :sm="12" :lg="7" :xl="8">
  112. <div class="fgw_index" >
  113. <div>
  114. <panel-group />
  115. </div>
  116. </div>
  117. </el-col> -->
  118. <!-- </div> -->
  119. <!-- </el-col> -->
  120. <!-- <el-col :xs="12" :sm="12" :lg="8" :xl="8">
  121. <div class="fgw_index" style="height: 460px;">
  122. <p class="p">问题类型统计</p>
  123. <div>
  124. <panel-groupsone :chart-data="panelChartDataleid" />
  125. </div>
  126. </div>
  127. </el-col> -->
  128. </el-row>
  129. <el-row v-if="jk == true">
  130. <div class="fgw_index" >
  131. <el-col :xs="24" :sm="24" :lg="24" :xl="24" style="background-color: #fff; padding-bottom: 20px; padding-right: 40px;">
  132. <p class="p">全市投资完成情况</p>
  133. <div class="fgwindex_act">
  134. <div style="padding-left: 39px;">
  135. <el-table
  136. :data="tableData"
  137. style="width: 100%">
  138. <el-table-column
  139. prop="date"
  140. label="汇报单位 "
  141. align="center"
  142. width="180">
  143. </el-table-column>
  144. <el-table-column
  145. prop="name"
  146. label="总投资(万元) "
  147. align="center"
  148. width="180">
  149. </el-table-column>
  150. <el-table-column
  151. prop="address"
  152. align="center"
  153. label="年度计划投资(万元) ">
  154. </el-table-column>
  155. <el-table-column
  156. prop="address"
  157. align="center"
  158. label="当月完成投资(万元) ">
  159. </el-table-column>
  160. <el-table-column
  161. prop="address"
  162. align="center"
  163. label="累计投资(万元) ">
  164. </el-table-column>
  165. </el-table>
  166. </div>
  167. </div>
  168. </el-col>
  169. <!-- <el-col :xs="12" :sm="12" :lg="7" :xl="8">
  170. <div class="fgw_index" >
  171. <div>
  172. <panel-group />
  173. </div>
  174. </div>
  175. </el-col> -->
  176. </div>
  177. </el-row>
  178. <el-row :gutter="20" style="padding: 0 20px; " v-if="jk == false">
  179. <div style="background-color: #fff; padding: 10px 0; margin: 10px; margin-bottom: 0; border-radius: 15px;">
  180. <div style="padding-left: 10px; display: flex; justify-content: flex-start; align-items: center;">
  181. 年度:<el-input type="number" v-model="conversion_time1" placeholder="请输入年度" clearable size="small" style="width: 250px; margin-left: 20px; margin-right: 10px;" />
  182. <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery" style="margin-right: 20px;">搜索</el-button>
  183. 按年份统计,默认本年度
  184. <p style="margin: 0;padding: 0; margin-left: 10px;">项目总数: <span style="color: #2529EA;">{{nhgewo.all}}</span>个 </p>
  185. </div>
  186. </div>
  187. <el-col :xs="12" :sm="12" :lg="8" :xl="8" >
  188. <div @click="pkue(0)" class="headerone heser" style="background-color: #fff; position: relative;">
  189. <img src="../assets/images/icon_hp_ztxs.png" style="width: 68px; height: 68px;" alt="">
  190. <p>
  191. <span>{{nhgewo.st}} <i style="font-style:normal;">项</i> </span>
  192. <span>在谈线索数</span>
  193. </p>
  194. <p>
  195. <span>在谈线索</span>
  196. </p>
  197. <img src="../assets/images/icon_ztsj_blue.png" style="width: 12px; height: 19px;position: absolute; right: 0; top:15px" alt="" >
  198. <img src="../assets/images/pic_hthp_ztbg.png" style="width: 100%; position: absolute; right: 0; bottom: 0;" alt="" >
  199. </div></el-col>
  200. <el-col :xs="12" :sm="12" :lg="8" :xl="8"><div @click="pkue(1)" class="headertwo heser" style="background-color: #fff; position: relative;">
  201. <img src="../assets/images/icon_hp_qyxm.png" style="width: 68px; height: 68px;" alt="">
  202. <p>
  203. <span>{{nhgewo.qy}} <i style="font-style:normal;">项</i> </span>
  204. <span>签约项目数</span>
  205. </p>
  206. <p>
  207. <span>签约项目</span>
  208. </p>
  209. <img src="../assets/images/icon_ztsj_pink.png" style="width: 12px; height: 19px;position: absolute; right: 0; top:15px" alt="" >
  210. <img src="../assets/images/pic_hthp_qybg.png" style="width: 100%; position: absolute; right: 0; bottom: 0;" alt="" >
  211. </div></el-col>
  212. <el-col @click="pkue(2)" :xs="12" :sm="12" :lg="8" :xl="8">
  213. <div @click="pkue(2)" class="headerther heser" style="background-color: #fff; position: relative;">
  214. <img src="../assets/images/icon_hp_zjxm.png" style="width: 68px; height: 68px;" alt="">
  215. <p >
  216. <span>{{nhgewo.kg}} <i style="font-style:normal;">项</i> </span>
  217. <span>在建项目数</span>
  218. </p>
  219. <p>
  220. <span>在建项目</span>
  221. </p>
  222. <img src="../assets/images/icon_ztsj_green.png" style="width: 12px; height: 19px;position: absolute; right: 0; top:15px" alt="" >
  223. <img src="../assets/images/pic_hthp_zjbg.png" style="width: 100%; position: absolute; right: 0; bottom: 0;" alt="" >
  224. </div>
  225. </el-col>
  226. <el-col :xs="12" :sm="12" :lg="8" :xl="8"><div @click="pkue(3)" class="headerfour heser" style="background-color: #fff; position: relative;">
  227. <img src="../assets/images/icon_hp_tcxm.png" style="width: 68px; height: 68px;" alt="">
  228. <p>
  229. <span>{{nhgewo.tc}} <i style="font-style:normal;">项</i> </span>
  230. <span>投产项目数</span>
  231. </p>
  232. <p>
  233. <span>投产项目</span>
  234. </p>
  235. <img src="../assets/images/icon_ztsj_yellow.png" style="width: 12px; height: 19px;position: absolute; right: 0; top:15px" alt="" >
  236. <!-- <img src="../assets/images/icon_ztsj_bluesss.png" style="width: 12px; height: 19px;position: absolute; right: 0; top:15px" alt="" > -->
  237. <img src="../assets/images/pic_hthp_tcbg.png" style="width: 100%; position: absolute; right: 0; bottom: 0;" alt="" >
  238. <!-- <img src="../assets/images/pic_hthp_ztbgsss.png" style="width: 100%; position: absolute; right: 0; bottom: 0;" alt="" > -->
  239. </div>
  240. </el-col>
  241. <el-col :xs="12" :sm="12" :lg="8" :xl="8"><div @click="pkues" class="headerfour heser" style="background-color: #fff; position: relative;">
  242. <img src="../assets/images/icon_hp_ztxss.png" style="width: 68px; height: 68px;" alt="">
  243. <p>
  244. <span>{{nhgewo.sk}} <i style="font-style:normal;">项</i> </span>
  245. <span>省库项目数</span>
  246. </p>
  247. <p>
  248. <span>省库项目</span>
  249. </p>
  250. <img src="../assets/images/icon_ztsj_blues.png" style="width: 12px; height: 19px;position: absolute; right: 0; top:15px" alt="" >
  251. <img src="../assets/images/pic_hthp_ztbgs.png" style="width: 100%; position: absolute; right: 0; bottom: 0;" alt="" >
  252. </div>
  253. </el-col>
  254. <el-col :xs="12" :sm="12" :lg="8" :xl="8"><div @click="pkue" class="headerfour heser" style="background-color: #fff; position: relative;">
  255. <img src="../assets/images/icon_hp_ztxsss.png" style="width: 68px; height: 68px;" alt="">
  256. <p>
  257. <span>{{nhgewo.all}} <i style="font-style:normal;">项</i> </span>
  258. <span>全部信息数</span>
  259. </p>
  260. <p>
  261. <span>全部信息</span>
  262. </p>
  263. <img src="../assets/images/icon_ztsj_bluesss.png" style="width: 12px; height: 19px;position: absolute; right: 0; top:15px" alt="" >
  264. <img src="../assets/images/pic_hthp_ztbgsss.png" style="width: 100%; position: absolute; right: 0; bottom: 0;" alt="" >
  265. </div></el-col>
  266. </el-row>
  267. <el-row :gutter="10" style="padding: 0 20px" v-if="jk == false">
  268. <el-col :xs="24" :sm="24" :lg="12" :xl="12" v-if="ndhw">
  269. <div class="chart-wrapper" style="background-color: #fff;border-radius: 5px; margin-bottom: 10px; padding: 10px;"><raddar-chart :chart-data="panelChartDataleid"/></div>
  270. </el-col>
  271. <el-col :xs="24" :sm="24" :lg="12" :xl="12" v-if="ndhw">
  272. <div class="chart-wrapper" style="background-color: #fff; border-radius: 5px; padding: 10px;"><line-chart :chart-data="panelChartDataleid" /></div>
  273. </el-col>
  274. <!-- <el-col :xs="24" :sm="24" :lg="8" >
  275. <div class="chart-wrapper" style="background-color: #fff; border-radius: 5px; padding: 10px;"><bar-chart :chart-data="panelChartDatazhuzh" /></div>
  276. </el-col> -->
  277. </el-row>
  278. <!-- <el-row>
  279. <el-col :span="18">
  280. <div class="in_left">
  281. <div class="exl_box" style="background-color: #fff;">
  282. <div class="exl_title" style="display: flex; align-items: center; position: relative;">
  283. <img src="../assets/images/icon_ztsj_blue.png" alt="" style="width: 12px;height: 19px; position: absolute;top: 50%;left: -20px; transform: translateY(-50%);">
  284. <span>招资引资项目到资金额</span>
  285. <el-date-picker
  286. v-model="lb_value"
  287. style="width: 100px;"
  288. type="year"
  289. value-format="yyyy"
  290. @change="picher_fn"
  291. placeholder="选择年">
  292. </el-date-picker>
  293. </div>
  294. <echarts :echartData="echartData" :ehaersList="ehaersList" v-if="flags"></echarts>
  295. </div>
  296. </div>
  297. </el-col>
  298. <el-col :span="6" style="padding: 0 12px 24px 0 ;">
  299. <div class="in_right" style="background-color: #fff;">
  300. <div class="rig_title" style="display: flex; align-items: center; position: relative;">
  301. <img src="../assets/images/icon_ztsj_blue.png" alt="" style="width: 12px;height: 19px; position: absolute;top: 50%;left: -20px; transform: translateY(-50%);">
  302. "两区"及乡镇
  303. </div>
  304. <div class="rig_tab_top">
  305. <div class="rig_tab_item">
  306. 单位名称
  307. </div>
  308. <div class="rig_tab_item">
  309. 新签约亿元以上项目的个数
  310. </div>
  311. <div class="rig_tab_item">
  312. 实际利用市外资金金额
  313. </div>
  314. <div class="rig_tab_item">
  315. 入省项目个数
  316. </div>
  317. </div>
  318. <div class="rig_cont">
  319. <div class="rig_items" v-for="(item,index) in unitList" :key="index">
  320. <span>{{item.deptName}}</span>
  321. <span>{{item.projectMillionNum?item.projectMillionNum:0}}个</span>
  322. <span>{{item.projectCityMoney?item.projectCityMoney:0}}亿元</span>
  323. <span>{{item.projectProNum?item.projectProNum:0}}个</span>
  324. </div>
  325. </div>
  326. <div class="rig_title" style="display: flex; align-items: center; position: relative;">
  327. <img src="../assets/images/icon_ztsj_blue.png" alt="" style="width: 12px;height: 19px; position: absolute;top: 50%;left: -20px; transform: translateY(-50%);">
  328. 市直榜单
  329. </div>
  330. <div class="rig_tab_top" style="background-color: #1C84C6;">
  331. <div class="rig_tab_item">
  332. 单位名称
  333. </div>
  334. <div class="rig_tab_item">
  335. 新签约目标金额
  336. </div>
  337. <div class="rig_tab_item">
  338. 实际到资金额
  339. </div>
  340. </div>
  341. <div class="rig_cont">
  342. <div class="rig_items" v-for="(item,index) in zjList" :key="index">
  343. <span>{{item.deptName}}</span>
  344. <span>{{item.targetArrivalAmount?item.targetArrivalAmount:0}}万元</span>
  345. <span>{{item.targetcAontractAmount?item.targetcAontractAmount:0}}万元</span>
  346. </div>
  347. </div>
  348. </div>
  349. </el-col>
  350. </el-row> -->
  351. <el-dialog :show-close="false" :close-on-click-modal="false" title="督办信息" :visible.sync="opensh" width="1200px" append-to-body>
  352. <el-table v-if="bgtesde" v-loading="loading" :data="xmList" @selection-change="handleSelectionChange" >
  353. <el-table-column type="selection" width="55" align="center" />
  354. <el-table-column label="项目编号" align="center" prop="xmbh" width="128"/>
  355. <el-table-column label="项目名称" align="center" prop="xmmc" />
  356. <el-table-column label="内容" align="center" prop="details" />
  357. <el-table-column label="操作" align="center" width="120" class-name="small-padding fixed-width" >
  358. <template slot-scope="scope">
  359. <el-button
  360. size="mini"
  361. type="text"
  362. @click="handleDelete(scope.row)"
  363. >添加对接模块</el-button>
  364. </template>
  365. </el-table-column>
  366. </el-table>
  367. <pagination v-show="totals>0" :total="totals" :page.sync="queryParamss.pageNum" :limit.sync="queryParamss.pageSize"
  368. @pagination="bd_btn"/>
  369. <div slot="footer" class="dialog-footer">
  370. <!-- <el-button type="primary" @click="submitForm">确 定</el-button> -->
  371. <!-- <el-button @click="cancel">取 消</el-button> -->
  372. </div>
  373. </el-dialog>
  374. <el-dialog :show-close="false" width="800px" :close-on-click-modal="false" :title="njdlos" :visible.sync="flags" append-to-body >
  375. <el-form ref="forms" :model="xs_form" :rules="xs_rules" label-width="120px">
  376. <el-row>
  377. <el-col :span="24">
  378. <el-form-item label="对接内容:" prop="jzqk">
  379. <el-input type="textarea" v-model="xs_form.jzqk" placeholder="请输入对接内容" />
  380. </el-form-item>
  381. </el-col>
  382. <el-col :span="24">
  383. <el-form-item label="附件上传:" prop="zsyzFjList">
  384. <fileUpload :limit="5" v-model="xs_form.zsyzFjList" />
  385. </el-form-item>
  386. </el-col>
  387. </el-row>
  388. </el-form>
  389. <div slot="footer" class="dialog-footer">
  390. <el-button type="primary" @click="xs_submit">确 定</el-button>
  391. <el-button @click="nskehk">取 消</el-button>
  392. </div>
  393. </el-dialog>
  394. </div>
  395. </div>
  396. </template>
  397. <script>
  398. // import echarts from '@/components/Echarts/index.vue'
  399. import RaddarChart from './dashboard/RaddarChart';
  400. import PieChart from './dashboard/PieChart';
  401. import BarChart from './dashboard/BarChart';
  402. import LineChart from './dashboard/LineChart';
  403. import LineCharts from './dashboard/LineCharts';
  404. import PanelGroups from './dashboard/PanelGroups';
  405. import PanelGroup from './dashboard/PanelGroup';
  406. import PanelGroupsone from './dashboard/PanelGroupsone';
  407. // import store from './store'
  408. import { listProject } from "@/api/projectInfo/info";
  409. import {listleida,toBeReviewedList,setExamine,getfgwcb,fcyjcb,setReject,getUnitList,getUnitAmountList,getIndexEharts,getUnitListNuber,getxingm} from '@/api/index.js'
  410. export default {
  411. components: {
  412. RaddarChart,
  413. PieChart,
  414. BarChart,
  415. LineChart,
  416. PanelGroups,
  417. LineCharts,
  418. PanelGroupsone,
  419. PanelGroup
  420. },
  421. data() {
  422. return {
  423. totals:0,
  424. infoList: [],
  425. echartData: {
  426. name: '到资金额柱状图',
  427. numName: '到资金额',
  428. numNameArr: ['到资金额']
  429. },
  430. zjList: [],
  431. ehaersList: {},
  432. loading: false,
  433. unitList: [],
  434. flags: false,
  435. lb_value: '2021', // 柱状图类别
  436. nhgewo:{},
  437. panelChartDatayuanh:{},
  438. panelChartDataleid:{},
  439. panelChartDataleidfgw:{},
  440. panelChartDatazhuzh:{},
  441. ndhw:false,
  442. opensh:false,
  443. njdlos:'项目进展',
  444. xmList:[],
  445. queryParamss:{
  446. pageNum:1,
  447. pageSize:10
  448. },
  449. xs_form:{},
  450. xs_rules:{
  451. jzqk: [{
  452. required: true,
  453. message: "请输入进展情况",
  454. trigger: "blur"
  455. }]
  456. },
  457. bskejsa:0,
  458. tableData:[
  459. ],
  460. jk:false,
  461. nhg:false,
  462. mjieus:{},
  463. fgwcbs:false,
  464. bgtesde:true,
  465. conversion_time1:'',
  466. kngegs:{
  467. }
  468. }
  469. },
  470. created() {
  471. var tempDate = new Date() // 获取今天的日期
  472. this.gettime(tempDate)
  473. console.log(this.$store.getters,34)
  474. let nhue = []
  475. nhue = this.$store.getters.userType.split(',')
  476. console.log(nhue)
  477. if(nhue.length == 2){
  478. this.nhg = true
  479. this.jk = false
  480. this.bd_btn(1)
  481. // this.zj_btn()
  482. // this.eharts_fn()
  483. this.getListyhte()
  484. this.leidaList()
  485. this.xmses()
  486. this.fgwcb()
  487. }else{
  488. if(nhue[0] == '发改委'){
  489. //发改委
  490. this.jk = true
  491. this.nhg = false
  492. this.xmses()
  493. this.fgwcb()
  494. }else if(this.$store.getters.roles[0] == 'admin'){
  495. this.nhg = true
  496. this.jk = false
  497. this.bd_btn(1)
  498. // this.zj_btn()
  499. // this.eharts_fn()
  500. this.getListyhte()
  501. this.leidaList()
  502. this.xmses()
  503. this.fgwcb()
  504. }else if(nhue[0] == '招商'){
  505. this.nhg = false
  506. this.jk = false
  507. this.bd_btn(1)
  508. // this.zj_btn()
  509. // this.eharts_fn()
  510. this.getListyhte()
  511. this.leidaList()
  512. }
  513. }
  514. // if(this.$store.getters.roles[0] == 'common_fgw'){
  515. // }else if(this.$store.getters.roles[0] == 'common_fgwd'){
  516. // this.nhg = false
  517. // this.jk = true
  518. // }else if( this.$store.getters.roles[0] == 'admin'){
  519. // }
  520. // else{
  521. // this.nhg = false
  522. // this.jk = false
  523. // this.bd_btn(1)
  524. // // this.zj_btn()
  525. // // this.eharts_fn()
  526. // this.getListyhte()
  527. // this.leidaList()
  528. // }
  529. console.log(this.jk)
  530. },
  531. mounted() {
  532. // this.getList()
  533. // this.dbyhList()
  534. // this.zhuzhList()
  535. },
  536. methods: {
  537. handleQuery(){
  538. this.getListyhte()
  539. this.leidaList()
  540. },
  541. gettime(date){
  542. var date = date;
  543. var y = date.getFullYear();
  544. var m = date.getMonth() + 1;
  545. m = m < 10 ? ('0' + m) : m;
  546. var d = date.getDate();
  547. d = d < 10 ? ('0' + d) : d;
  548. var h = date.getHours();
  549. h = h < 10 ? ('0' + h) : h;
  550. var min = date.getMinutes();
  551. min = min < 10 ? ('0' + min) : min;
  552. var s = date.getSeconds();
  553. s = s < 10 ? ('0' + s) : s;
  554. this.conversion_time1 = y ;
  555. return y + '-' + m + '-' + d + '/' +h +':' + min + ':' + s
  556. // this.njdes = parseInt(new Date().getTime() / 1000) + ''
  557. console.log()
  558. // 转换时间戳
  559. },
  560. nhl(val){
  561. if(this.nhg == false){
  562. return
  563. }
  564. if(val == 1){
  565. //招商
  566. this.jk = false
  567. }else if(val == 2){
  568. //发改委
  569. this.jk = true
  570. }
  571. console
  572. },
  573. // 多选框选中数据
  574. handleSelectionChange(selection) {
  575. this.ids = selection.map(item => item.id)
  576. this.single = selection.length !== 1
  577. this.multiple = !selection.length
  578. },
  579. picher_fn() {
  580. this.eharts_fn()
  581. },
  582. eharts_fn(val) {
  583. getIndexEharts({
  584. year: this.lb_value
  585. }).then(res => {
  586. this.ehaersList = res.data
  587. this.flags = true
  588. })
  589. },
  590. zj_btn() {
  591. getUnitAmountList().then(res => {
  592. if(res.rows == null){
  593. this.zjList = []
  594. }else{
  595. this.zjList = res.rows
  596. }
  597. })
  598. },
  599. bd_btn(row) {
  600. this.bgtesde = false
  601. getUnitList(this.queryParamss).then(res =>{
  602. console.log(res)
  603. if(res.rows != null){
  604. if(res.rows.length != 0){
  605. this.xmList = res.rows
  606. this.totals = res.total
  607. this.opensh = true
  608. if(res.total == 0 ){
  609. if(row == 3){
  610. this.flags = false;
  611. this.opensh = false
  612. }
  613. }
  614. }
  615. }
  616. this.bgtesde = true
  617. // if(res.rows == null){
  618. // this.unitList = []
  619. // }else{
  620. // this.unitList = res.rows
  621. // }
  622. })
  623. },
  624. // xmse
  625. xmses(){
  626. getxingm(this.queryParamss).then(res =>{
  627. console.log(res)
  628. this.mjieus = res.data
  629. })
  630. },
  631. dec_btn(row){
  632. this.$router.push({
  633. path: '/management/row/index',
  634. query: {
  635. setid: row.id,
  636. setrd: row.projectStatus,
  637. },
  638. })
  639. },
  640. pkue(row){
  641. //再谈项目
  642. console.log(34)
  643. this.$router.push({
  644. path: '/management/management/info/index',
  645. query: {
  646. tz: row,
  647. time:this.conversion_time1
  648. },
  649. })
  650. },
  651. pkues(){
  652. //再谈项目
  653. console.log(345)
  654. this.$router.push({
  655. path: '/management/reviewed/skxm',
  656. })
  657. },
  658. bh_brn(scope) {
  659. const _this = this
  660. this.$confirm('是否确认驳回审核', "提醒", {
  661. confirmButtonText: "确定",
  662. cancelButtonText: "取消",
  663. type: "warning"
  664. }).then(function() {
  665. return setReject({
  666. code: 2,
  667. bmProjectId: scrop.id
  668. });
  669. }).then(() => {
  670. _this.getList();
  671. _this.msgSuccess("提交成功");
  672. })
  673. },
  674. infoBtn(scope) {
  675. const _this = this
  676. this.$confirm('是否确认提交审核', "提醒", {
  677. confirmButtonText: "确定",
  678. cancelButtonText: "取消",
  679. type: "warning"
  680. }).then(function() {
  681. return setExamine({
  682. code: 1,
  683. bmProjectId: scrop.id
  684. });
  685. }).then(() => {
  686. _this.getList();
  687. _this.msgSuccess("提交成功");
  688. })
  689. },
  690. getList() {
  691. toBeReviewedList().then(res => {
  692. console.log(res)
  693. this.infoList = res.rows
  694. })
  695. },
  696. getListyhte() {
  697. let nhg = { params:{} }
  698. nhg.params.year = this.conversion_time1
  699. this.ndhw = false
  700. getUnitListNuber(nhg).then(res => {
  701. console.log(res)
  702. this.nhgewo = res.data
  703. this.ndhw = true
  704. })
  705. },
  706. // fgwcb
  707. fgwcb(){
  708. getfgwcb().then(res => {
  709. console.log(res)
  710. this.panelChartDataleidfgw = res.data
  711. this.fgwcbs = true
  712. })
  713. },
  714. fgwcbyj(){
  715. let nhder={'idList':this.panelChartDataleidfgw.whbId}
  716. console.log(nhder)
  717. fcyjcb(nhder).then(res => {
  718. console.log(res)
  719. this.msgSuccess("操作成功");
  720. // this.nhgewo = res.data
  721. })
  722. },
  723. // panelChartDataleidfgw
  724. // 雷达图
  725. leidaList(){
  726. this.ndhw = false
  727. listleida(this.conversion_time1).then(response => {
  728. if(response.data.y.st.length == 0){
  729. // response.data.y.xs = [17,36,59,28]
  730. }
  731. this.panelChartDataleid = response.data;
  732. this.ndhw = true
  733. console.log(this.panelChartDataleid,97)
  734. // this.panelChartDatas = this.deviceIpOptions
  735. });
  736. },
  737. // 底部圆环数据
  738. dbyhList(){
  739. listleida().then(response => {
  740. this.panelChartDatayuanh = response.data;
  741. // this.panelChartDatas = this.deviceIpOptions
  742. });
  743. },
  744. // 柱状图数据
  745. zhuzhList(){
  746. listleida().then(response => {
  747. this.panelChartDatazhuzh = response.data;
  748. // this.panelChartDatas = this.deviceIpOptions
  749. });
  750. },
  751. handleAuthRolexmshnej(){
  752. },
  753. cancel(){
  754. },
  755. handleDelete(row){
  756. this.opensh = false
  757. this.flags = true
  758. this.xs_form.xmId = row.xmId
  759. this.xs_form.xmbh = row.xmbh
  760. this.xs_form.xmmc = row.xmxsmc
  761. },
  762. xs_submit() {
  763. this.$refs["forms"].validate(valid => {
  764. if (valid) {
  765. // let data = JSON.parse(JSON.stringify(this.xs_form))
  766. // data.industryCategory = data.industryCategory.join(',')
  767. listProject(this.xs_form).then(res => {
  768. this.msgSuccess("添加成功");
  769. this.xs_form = {}
  770. this.flags = false;
  771. this.opensh = true
  772. this.bd_btn(3)
  773. this.bskejsa = this.bskejsa + 1
  774. console.log(this.bskejsa,98)
  775. // this.getList();
  776. // this.chei(res.data)
  777. })
  778. }
  779. });
  780. },
  781. nskehk(){
  782. this.flags = false;
  783. this.opensh = true
  784. },
  785. }
  786. }
  787. </script>
  788. <style lang="scss">
  789. .fgwindex_act{
  790. .el-table .el-table__header-wrapper th {
  791. background-color: #E6EDF1;
  792. font-size: 12px;
  793. font-family: PingFang SC;
  794. font-weight: bold;
  795. color: #343434;
  796. }
  797. }
  798. </style>
  799. <style lang="scss" scoped>
  800. .heser{
  801. background-color: #fff;
  802. height: 100px;
  803. margin-top: 20px;
  804. margin-bottom: 20px;
  805. display: flex;
  806. align-items: center;
  807. padding-left: 10px;
  808. box-shadow: 0px 1px 4px 0px rgba(47, 47, 47, 0.35);
  809. border-radius: 5px;
  810. p{
  811. flex: 1;
  812. }
  813. p:nth-child(3){
  814. height: 100%;
  815. margin: 0;
  816. padding-top: 15px;
  817. box-sizing: border-box;
  818. font-size: 17px;
  819. font-family: PingFang SC;
  820. font-weight: 800;
  821. color: #343434;
  822. position: relative;
  823. }
  824. p:nth-child(2){
  825. display: flex;
  826. flex-direction: column;
  827. span{
  828. font-size: 14px;
  829. color: #666666;
  830. padding-left: 10px;
  831. }
  832. span:nth-child(1){
  833. font-size: 17px;
  834. color: #343434;
  835. font-weight: 700;
  836. i{
  837. font-size: 14px;
  838. color: #666666;
  839. }
  840. }
  841. }
  842. }
  843. .rig_tab_top{
  844. display: flex;
  845. background: #6DCEF6;
  846. line-height: 36px;
  847. color: #fff;
  848. .rig_tab_item{
  849. font-size: 14px;
  850. flex: 1;
  851. text-align: center;
  852. overflow: hidden;
  853. text-overflow: ellipsis;
  854. white-space: nowrap;
  855. }
  856. }
  857. .rig_cont{
  858. border: 1px solid #CDCDCD;
  859. box-sizing: border-box;
  860. margin-bottom: 31px;
  861. max-height: 270px;
  862. overflow-y: auto;
  863. scrollbar-width: none;
  864. /* firefox */
  865. -ms-overflow-style: none;
  866. /* IE 10+ */
  867. &::-webkit-scrollbar {
  868. display: none;
  869. /* Chrome Safari */
  870. }
  871. .rig_items{
  872. line-height: 36px;
  873. color: #343434;
  874. font-size: 12px;
  875. display: flex;
  876. span{
  877. flex: 1;
  878. text-align: center;
  879. }
  880. }
  881. }
  882. .in_right{
  883. padding: 15px 20px 0;
  884. border: 1px solid #DADADA;
  885. box-shadow: 0px 7px 9px 2px rgba(201, 201, 201, 0.36);
  886. .rig_title{
  887. color: #1C84C6;
  888. font-size: 18px;
  889. line-height: 36px;
  890. margin-bottom: 15px;
  891. }
  892. }
  893. .in_left {
  894. padding: 0 20px 40px;
  895. .toReviewed {
  896. padding: 19px 16px;
  897. border: 1px solid #DADADA;
  898. box-shadow: 0px 7px 9px 2px rgba(201, 201, 201, 0.36);
  899. margin-bottom: 38px;
  900. .rev_title {
  901. margin-bottom: 23px;
  902. }
  903. }
  904. .exl_box {
  905. border: 1px solid #DADADA;
  906. box-shadow: 0px 7px 9px 2px rgba(201, 201, 201, 0.36);
  907. padding: 20px;
  908. box-sizing: border-box;
  909. .exl_title {
  910. display: flex;
  911. justify-content: space-between;
  912. span {
  913. color: #343434;
  914. font-size: 18px;
  915. line-height: 36px;
  916. }
  917. }
  918. }
  919. }
  920. .fgw_index{
  921. background-color: #fff;
  922. margin: 20px;
  923. padding-bottom: 30px;
  924. padding-top: 14px;
  925. border-radius: 7px;
  926. .p{
  927. border-left: 8px solid #1C83C6;
  928. font-size: 13px;
  929. font-family: PingFang SC;
  930. font-weight: bold;
  931. color: #343434;
  932. padding-left: 10px;
  933. }
  934. }
  935. .fgwindex_act{
  936. display: flex;
  937. margin-top: 30px;
  938. div{
  939. flex: 1;
  940. text-align: center;
  941. p{
  942. font-size: 13px;
  943. font-family: PingFang SC;
  944. font-weight: bold;
  945. color: #343434;
  946. margin: 0;
  947. i{
  948. display: inline-block;
  949. width: 12px;
  950. height: 12px;
  951. background: #3C9BCD;
  952. border-radius: 6px;
  953. margin-right: 12px;
  954. }
  955. }
  956. p:nth-child(2){
  957. font-size: 29px;
  958. font-family: PingFang SC;
  959. font-weight: bold;
  960. color: #3C9BCD;
  961. margin-top: 10px;
  962. text-align: center;
  963. }
  964. }
  965. }
  966. .nslesfgw{
  967. p{
  968. font-size: 13px;
  969. font-family: PingFang SC;
  970. font-weight: bold;
  971. color: #343434;
  972. margin-top: 22px;
  973. }
  974. }
  975. .indes_fag{
  976. padding-top: 30px;
  977. div{
  978. background-color: #fff;
  979. border-radius: 5px;
  980. margin: 20px;
  981. display: flex;
  982. margin-top: 0;
  983. margin-bottom: 10px;
  984. p{
  985. margin-left: 25px;
  986. color: #aaaaaa;
  987. cursor:pointer
  988. // background-color: red;
  989. }
  990. .lo{
  991. color: #1c83c6 ;
  992. }
  993. }
  994. // background-color: #fff;
  995. }
  996. </style>