home.vue 78 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002
  1. <template>
  2. <div id="" class="zap-home__main">
  3. <!-- 平台 -->
  4. <div v-if="company.scyType == '00'">
  5. <!-- 数据 -->
  6. <div v-hasPermi="['system:home:companyData']">
  7. <div class="zap-home__title">平台数据统计</div>
  8. <el-row :gutter="20">
  9. <!-- 第一行 -->
  10. <el-col class="mb20" :xs="24" :sm="12" :md="8" :lg="8">
  11. <div class="zap-card">
  12. <div class="zap-card__title">入驻企业总数</div>
  13. <div class="zap-card__wrap zap-card__blue">
  14. <span class="zap-card__num">{{companyNum}}</span>
  15. <span class="zap-card__unit">家</span>
  16. </div>
  17. </div>
  18. </el-col>
  19. <el-col class="mb20" :xs="24" :sm="12" :md="8" :lg="8">
  20. <div class="zap-card">
  21. <div class="zap-card__title">入驻核心企业数</div>
  22. <div class="zap-card__wrap zap-card__pink">
  23. <span class="zap-card__num">{{coreNum}}</span>
  24. <span class="zap-card__unit">家</span>
  25. </div>
  26. </div>
  27. </el-col>
  28. <el-col class="mb20" :xs="24" :sm="12" :md="8" :lg="8">
  29. <div class="zap-card">
  30. <div class="zap-card__title">入驻供应商</div>
  31. <div class="zap-card__wrap zap-card__gold">
  32. <span class="zap-card__num">{{supplierNum}}</span>
  33. <span class="zap-card__unit">家</span>
  34. </div>
  35. </div>
  36. </el-col>
  37. <!-- 第二行 -->
  38. <el-col class="mb20" :xs="24" :sm="12" :md="8" :lg="8">
  39. <div class="zap-card">
  40. <div class="zap-card__title">平台总授信额度</div>
  41. <div class="zap-card__wrap zap-card__gold">
  42. <span class="zap-card__num">{{handleInput(creditLineAll)}}</span>
  43. <span class="zap-card__unit">元</span>
  44. </div>
  45. </div>
  46. </el-col>
  47. <el-col class="mb20" :xs="24" :sm="12" :md="8" :lg="8">
  48. <div class="zap-card">
  49. <div class="zap-card__title">平台可用授信额度</div>
  50. <div class="zap-card__wrap zap-card__pink">
  51. <span class="zap-card__num">{{handleInput(getsubNum())}}</span>
  52. <span class="zap-card__unit">元</span>
  53. </div>
  54. </div>
  55. </el-col>
  56. <el-col class="mb20" :xs="24" :sm="12" :md="8" :lg="8">
  57. <div class="zap-card">
  58. <div class="zap-card__title">平台放款金额</div>
  59. <div class="zap-card__wrap zap-card__pink">
  60. <span class="zap-card__num">{{handleInput(getAllLoanBalance())}}</span>
  61. <span class="zap-card__unit">元</span>
  62. </div>
  63. </div>
  64. </el-col>
  65. <!-- 第三行 -->
  66. <el-col class="mb20" :xs="24" :sm="12" :md="8" :lg="8">
  67. <div class="zap-card">
  68. <div class="zap-card__title">发起融资业务</div>
  69. <div class="zap-card__wrap zap-card__blue">
  70. <span class="zap-card__num">{{financeNum}}</span>
  71. <span class="zap-card__unit">笔</span>
  72. </div>
  73. </div>
  74. </el-col>
  75. <el-col class="mb20" :xs="24" :sm="12" :md="8" :lg="8">
  76. <div class="zap-card">
  77. <div class="zap-card__title">平台开立融信</div>
  78. <div class="zap-card__wrap zap-card__gold">
  79. <span class="zap-card__num">{{handleInput(getFinancedNumAll())}}</span>
  80. <span class="zap-card__unit">元</span>
  81. </div>
  82. </div>
  83. </el-col>
  84. <el-col class="mb20" :xs="24" :sm="12" :md="8" :lg="8">
  85. <div class="zap-card">
  86. <div class="zap-card__title">未融资额度</div>
  87. <div class="zap-card__wrap zap-card__pink">
  88. <span class="zap-card__num">{{handleInput(getNotUseAmt())}}</span>
  89. <span class="zap-card__unit">元</span>
  90. </div>
  91. </div>
  92. </el-col>
  93. </el-row>
  94. </div>
  95. <!-- 平台待办 -->
  96. <el-row style="margin-bottom: 20px" v-hasPermi="['system:home:companyWork']">
  97. <div class="zap-bg" style="padding: 0 30px;">
  98. <el-tabs v-model="activeName">
  99. <el-tab-pane label="我的待办" name="first" style="height:400px">
  100. <el-table :data="workList" :show-header="false">
  101. <el-table-column label="标题" align="center" prop="noticeTitle" :show-overflow-tooltip="true">
  102. <template slot-scope="scope">
  103. <el-badge is-dot class="item" v-if="scope.row.snyrUserStatus == '0'"></el-badge>
  104. <span>{{ scope.row.noticeTitle }}</span>
  105. </template>
  106. </el-table-column>
  107. <el-table-column label="时间" align="center" prop="createTime" :show-overflow-tooltip="true">
  108. <template slot-scope="scope">
  109. <span>{{ parseTime(new Date(scope.row.createTime)) }}</span>
  110. </template>
  111. </el-table-column>
  112. <el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right" width="200">
  113. <template slot-scope="scope">
  114. <el-button size="mini" type="text" @click="handleDetail(scope.row)" style="color:red">去办理</el-button>
  115. <!-- v-if="scope.row.openUrl" -->
  116. </template>
  117. </el-table-column>
  118. </el-table>
  119. <pagination
  120. v-show="workTotal>0"
  121. :total="workTotal"
  122. :page.sync="queryParamsWork.pageNum"
  123. :limit.sync="queryParamsWork.pageSize"
  124. :pager-count="5"
  125. :page-sizes="[5]"
  126. @pagination="getWorkList" />
  127. </el-tab-pane>
  128. <el-tab-pane label="消息" name="second" style="height:400px">
  129. <el-table :data="noticeList" :show-header="false">
  130. <el-table-column label="标题" align="center" prop="noticeTitle" :show-overflow-tooltip="true" />
  131. <el-table-column label="时间" align="center" prop="createTime" :show-overflow-tooltip="true">
  132. <template slot-scope="scope">
  133. <span>{{ parseTime(new Date(scope.row.createTime)) }}</span>
  134. </template>
  135. </el-table-column>
  136. </el-table>
  137. <pagination
  138. v-show="noticeTotal>0"
  139. :total="noticeTotal"
  140. :page.sync="queryParamsNotice.pageNum"
  141. :limit.sync="queryParamsNotice.pageSize"
  142. :pager-count="5"
  143. :page-sizes="[5]"
  144. @pagination="getNoticeList" />
  145. </el-tab-pane>
  146. <el-tab-pane label="已办记录" name="third" style="height:400px">
  147. <el-table :data="oldWorkList" :show-header="false">
  148. <el-table-column label="标题" align="center" prop="noticeTitle" :show-overflow-tooltip="true" />
  149. <el-table-column label="时间" align="center" prop="createTime" :show-overflow-tooltip="true">
  150. <template slot-scope="scope">
  151. <span>{{ parseTime(new Date(scope.row.createTime)) }}</span>
  152. </template>
  153. </el-table-column>
  154. </el-table>
  155. <pagination
  156. v-show="oldWorkTotal>0"
  157. :total="oldWorkTotal"
  158. :page.sync="queryParamsOldWork.pageNum"
  159. :limit.sync="queryParamsOldWork.pageSize"
  160. :pager-count="5"
  161. :page-sizes="[5]"
  162. @pagination="getOldWorkList" />
  163. </el-tab-pane>
  164. </el-tabs>
  165. </div>
  166. </el-row>
  167. <!-- 平台统计图 -->
  168. <div v-hasPermi="['system:home:companyChart']">
  169. <!-- 平台资金统计扇形图 -->
  170. <el-row class="zap-home-chart">
  171. <el-col>
  172. <div class="zap-home-chart__title">平台资金统计</div>
  173. <div id="echartPie" style="width: 100%;height: 490px"></div>
  174. </el-col>
  175. </el-row>
  176. <!-- 平台用户统计 -->
  177. <el-row class="zap-home-chart zap-home-chart--space">
  178. <el-col>
  179. <div class="zap-home-chart__title">
  180. <div class="zap-home-chart__wrap">
  181. 平台用户统计
  182. <el-select class="zap-home-chart__select" v-model="dateType" @change="getCompanyReport">
  183. <el-option v-for="(item,index) in dateTypeList" :key="index" :label="item.label" :value="item.value">
  184. </el-option>
  185. </el-select>
  186. </div>
  187. <div class="zap-home-chart__legend">
  188. <span class="zap-home-chart__circle zap-home-chart__circle--blue"></span>
  189. <span class="zap-home-chart__text">供应商</span>
  190. <span class="zap-home-chart__circle zap-home-chart__circle--green zap-home-chart__circle--margin"></span>
  191. <span class="zap-home-chart__text">核心企业</span>
  192. </div>
  193. </div>
  194. <div id="echarBarUser" style="width: 100%;height: 490px"></div>
  195. </el-col>
  196. </el-row>
  197. <!-- 平台业务统计 -->
  198. <el-row class="zap-home-chart zap-home-chart--space">
  199. <el-col>
  200. <div class="zap-home-chart__title">
  201. <div class="zap-home-chart__wrap">
  202. 平台业务统计
  203. <el-select class="zap-home-chart__select" v-model="financeDateType" @change="getFinanceRecordMonth">
  204. <el-option v-for="(item,index) in dateTypeList" :key="index" :label="item.label" :value="item.value">
  205. </el-option>
  206. </el-select>
  207. </div>
  208. <div class="zap-home-chart__legend">
  209. <span class="zap-home-chart__circle zap-home-chart__circle--blue"></span>
  210. <span class="zap-home-chart__text">融资开立</span>
  211. <span class="zap-home-chart__circle zap-home-chart__circle--green zap-home-chart__circle--margin"></span>
  212. <span class="zap-home-chart__text">融资还款</span>
  213. </div>
  214. </div>
  215. <div id="echarBarBusiness" style="width: 100%;height: 490px"></div>
  216. </el-col>
  217. </el-row>
  218. <!-- 核心企业可用额度比例 -->
  219. <el-row class="zap-home-chart zap-home-chart--space">
  220. <el-col>
  221. <div class="zap-home-chart__title">
  222. <div class="zap-home-chart__wrap">
  223. 核心企业可用额度比例
  224. <el-input class="zap-home-chart__search" placeholder="请输入" suffix-icon="el-icon-search" v-model="input1">
  225. </el-input>
  226. </div>
  227. <div class="zap-home-chart__legend">
  228. <span class="zap-home-chart__circle zap-home-chart__circle--blue"></span>
  229. <span class="zap-home-chart__text">可用额度</span>
  230. <span class="zap-home-chart__circle zap-home-chart__circle--green zap-home-chart__circle--margin"></span>
  231. <span class="zap-home-chart__text">已用额度</span>
  232. </div>
  233. </div>
  234. <div id="echarBarCore" style="width: 100%;height: 490px"></div>
  235. </el-col>
  236. </el-row>
  237. </div>
  238. </div>
  239. <!-- 核心企业 -->
  240. <div v-if="company.scyType == '01'" class="zap-margin">
  241. <el-row :gutter="20">
  242. <el-col :span="12">
  243. <home-statistics type="rongxin" title="招采融信统计" :options="hxDateTypeList" @change="changeFxHxDateType">
  244. <el-row>
  245. <el-col :span="12" class="zap-card" @click="toCreditLine()">
  246. <div class="zap-card__title">总授信额度(元)</div>
  247. <div class="zap-card__wrap zap-card__blue">
  248. <span class="zap-card__num">{{handleInput(hxCreditLineAll)}}</span>
  249. </div>
  250. </el-col>
  251. <el-col :span="12" class="zap-card" @click="toCreditLine()">
  252. <div class="zap-card__title">可用授信额度(元)</div>
  253. <div class="zap-card__wrap zap-card__pink">
  254. <span class="zap-card__num">{{handleInput(usableAmount)}}</span>
  255. </div>
  256. </el-col>
  257. </el-row>
  258. <div class="zap-line"></div>
  259. <el-row>
  260. <el-col :span="12">
  261. <div class="zap-card" @click="toCredit()">
  262. <div class="zap-card__title">我开立的融信(元)</div>
  263. <div class="zap-card__wrap zap-card__blue">
  264. <span class="zap-card__num">{{handleInput(hxCreditAll)}}</span>
  265. </div>
  266. </div>
  267. </el-col>
  268. <el-col :span="12">
  269. <div class="zap-card">
  270. <div class="zap-card__title">30天内待还款(元)</div>
  271. <div class="zap-card__wrap zap-card__pink">
  272. <span class="zap-card__num">{{handleInput(hxPendingMoney)}}</span>
  273. </div>
  274. </div>
  275. </el-col>
  276. </el-row>
  277. <el-row>
  278. <el-col :span="12">
  279. <div class="zap-card">
  280. <div class="zap-card__title">已融资金额(元)</div>
  281. <div class="zap-card__wrap zap-card__blue">
  282. <span class="zap-card__num">{{handleInput(hxHasRaised)}}</span>
  283. <span class="zap-card__unit">元</span>
  284. </div>
  285. </div>
  286. </el-col>
  287. <el-col :span="12" v-if="hxDateType != '00'">
  288. <div class="zap-card">
  289. <div class="zap-card__title">还款金额(元)</div>
  290. <div class="zap-card__wrap zap-card__pink">
  291. <span class="zap-card__num">{{handleInput(hxRepayment)}}</span>
  292. </div>
  293. </div>
  294. </el-col>
  295. </el-row>
  296. </home-statistics>
  297. </el-col>
  298. <el-col :span="12">
  299. <home-statistics type="rongzheng" title="招采融证统计" :options="hxDateTypeList" @change="changeZxHxDateType">
  300. <el-row>
  301. <el-col :span="12">
  302. <div class="zap-card">
  303. <div class="zap-card__title">总授信额度(元)</div>
  304. <div class="zap-card__wrap zap-card__blue">
  305. <span class="zap-card__num">{{handleInput(hxCreditLineAllForward)}}</span>
  306. </div>
  307. </div>
  308. </el-col>
  309. <el-col :span="12">
  310. <div class="zap-card">
  311. <div class="zap-card__title">可用授信额度(元)</div>
  312. <div class="zap-card__wrap zap-card__pink">
  313. <span class="zap-card__num">{{handleInput(usableAmountForward)}}</span>
  314. </div>
  315. </div>
  316. </el-col>
  317. </el-row>
  318. <div class="zap-line"></div>
  319. <el-row>
  320. <el-col :span="12">
  321. <div class="zap-card">
  322. <div class="zap-card__title">我确权的(元)</div>
  323. <div class="zap-card__wrap zap-card__blue">
  324. <span class="zap-card__num">{{handleInput(hxCreditAllForward)}}</span>
  325. </div>
  326. </div>
  327. </el-col>
  328. <el-col :span="12">
  329. <div class="zap-card">
  330. <div class="zap-card__title">30天内待还款(元)</div>
  331. <div class="zap-card__wrap zap-card__pink">
  332. <span class="zap-card__num">{{handleInput(hxPendingMoneyForward)}}</span>
  333. </div>
  334. </div>
  335. </el-col>
  336. </el-row>
  337. <el-row>
  338. <el-col :span="12">
  339. <div class="zap-card">
  340. <div class="zap-card__title">已融资金额(元)</div>
  341. <div class="zap-card__wrap zap-card__blue">
  342. <span class="zap-card__num">{{handleInput(hxHasRaisedForward)}}</span>
  343. </div>
  344. </div>
  345. </el-col>
  346. </el-row>
  347. </home-statistics>
  348. </el-col>
  349. </el-row>
  350. <!-- 我的待办、消息 -->
  351. <el-row class="zap-list mt20">
  352. <div class="text item">
  353. <el-tabs v-model="activeName">
  354. <el-tab-pane label="我的待办" name="first" style="height:400px">
  355. <el-table :data="workList" :show-header="false">
  356. <el-table-column label="标题" align="center" prop="noticeTitle" :show-overflow-tooltip="true">
  357. <template slot-scope="scope">
  358. <el-badge is-dot class="item" v-if="scope.row.snyrUserStatus == '0'"></el-badge>
  359. <span>{{ scope.row.noticeTitle }}</span>
  360. </template>
  361. </el-table-column>
  362. <el-table-column label="时间" align="center" prop="createTime" :show-overflow-tooltip="true">
  363. <template slot-scope="scope">
  364. <span>{{ parseTime(new Date(scope.row.createTime)) }}</span>
  365. </template>
  366. </el-table-column>
  367. <el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right" width="200">
  368. <template slot-scope="scope">
  369. <el-button size="mini" type="text" @click="handleDetail(scope.row)" style="color:red">去办理</el-button>
  370. <!-- v-if="scope.row.openUrl" -->
  371. </template>
  372. </el-table-column>
  373. </el-table>
  374. <pagination
  375. v-show="workTotal>0"
  376. :total="workTotal"
  377. :page.sync="queryParamsWork.pageNum"
  378. :limit.sync="queryParamsWork.pageSize"
  379. :pager-count="5"
  380. :page-sizes="[5]"
  381. @pagination="getWorkList" />
  382. </el-tab-pane>
  383. <el-tab-pane label="消息" name="second" style="height:400px">
  384. <el-table :data="noticeList" :show-header="false">
  385. <el-table-column label="标题" align="center" prop="noticeTitle" :show-overflow-tooltip="true" />
  386. <el-table-column label="时间" align="center" prop="createTime" :show-overflow-tooltip="true">
  387. <template slot-scope="scope">
  388. <span>{{ parseTime(new Date(scope.row.createTime)) }}</span>
  389. </template>
  390. </el-table-column>
  391. </el-table>
  392. <pagination
  393. v-show="noticeTotal>0"
  394. :total="noticeTotal"
  395. :page.sync="queryParamsNotice.pageNum"
  396. :limit.sync="queryParamsNotice.pageSize"
  397. :pager-count="5"
  398. :page-sizes="[5]"
  399. @pagination="getNoticeList" />
  400. </el-tab-pane>
  401. <el-tab-pane label="已办记录" name="third" style="height:400px">
  402. <el-table :data="oldWorkList" :show-header="false">
  403. <el-table-column label="标题" align="center" prop="noticeTitle" :show-overflow-tooltip="true" />
  404. <el-table-column label="时间" align="center" prop="createTime" :show-overflow-tooltip="true">
  405. <template slot-scope="scope">
  406. <span>{{ parseTime(new Date(scope.row.createTime)) }}</span>
  407. </template>
  408. </el-table-column>
  409. </el-table>
  410. <pagination
  411. v-show="oldWorkTotal>0"
  412. :total="oldWorkTotal"
  413. :page.sync="queryParamsOldWork.pageNum"
  414. :limit.sync="queryParamsOldWork.pageSize"
  415. :pager-count="5"
  416. :page-sizes="[5]"
  417. @pagination="getOldWorkList" />
  418. </el-tab-pane>
  419. <el-tab-pane label="30天内待还款汇总" name="fourth" style="height:400px">
  420. <el-table :data="expiredList" :show-header="true">
  421. <el-table-column label="融资编号" align="center" prop="zfrNumber" :show-overflow-tooltip="true" />
  422. <el-table-column label="金额" align="center" prop="zfrLoanAmount" :show-overflow-tooltip="true" />
  423. <el-table-column label="到期日期" align="center" prop="zfiExpireDate" :show-overflow-tooltip="true">
  424. </el-table-column>
  425. <el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right" width="200">
  426. <template slot-scope="scope">
  427. <el-button size="mini" type="text" icon="el-icon-info" @click="handleInfo(scope.row)">详情</el-button>
  428. </template>
  429. </el-table-column>
  430. </el-table>
  431. <pagination
  432. v-show="expiredTotal>0"
  433. :total="expiredTotal"
  434. :page.sync="queryParamsExpired.pageNum"
  435. :limit.sync="queryParamsExpired.pageSize"
  436. :pager-count="5"
  437. :page-sizes="[5]"
  438. @pagination="getExpiredList" />
  439. </el-tab-pane>
  440. </el-tabs>
  441. </div>
  442. </el-row>
  443. </div>
  444. <!-- 融资企业 -->
  445. <div v-if="company.scyType == '02'" class="zap-margin">
  446. <el-row :gutter="20">
  447. <el-col class="mb20" :xs="24" :sm="12" :md="8" :lg="8">
  448. <div class="zap-card" @click="toCredit()">
  449. <div class="zap-card__title">持有融信额度</div>
  450. <div class="zap-card__wrap zap-card__blue">
  451. <span class="zap-card__num">{{handleInput(effectBalance)}}</span>
  452. <span class="zap-card__unit">元</span>
  453. </div>
  454. </div>
  455. </el-col>
  456. <el-col class="mb20" :xs="24" :sm="12" :md="8" :lg="8">
  457. <div class="zap-card" @click="toFinanceRecord()">
  458. <div class="zap-card__title">融资中额度</div>
  459. <div class="zap-card__wrap zap-card__pink">
  460. <span class="zap-card__num">{{handleInput(availableBalance)}}</span>
  461. <span class="zap-card__unit">元</span>
  462. </div>
  463. </div>
  464. </el-col>
  465. <el-col class="mb20" :xs="24" :sm="12" :md="8" :lg="8">
  466. <div class="zap-card" @click="toFinanceRecord()">
  467. <div class="zap-card__title">已融资额度</div>
  468. <div class="zap-card__wrap zap-card__blue">
  469. <span class="zap-card__num">{{handleInput(loanBalance)}}</span>
  470. <span class="zap-card__unit">元</span>
  471. </div>
  472. </div>
  473. </el-col>
  474. <el-col class="mb20" :xs="24" :sm="12" :md="8" :lg="8">
  475. <div class="zap-card" @click="toCredit()">
  476. <div class="zap-card__title">即将到期融资额度(30天)</div>
  477. <div class="zap-card__wrap zap-card__pink">
  478. <span class="zap-card__num">{{handleInput(expiredBalance)}}</span>
  479. <span class="zap-card__unit">元</span>
  480. </div>
  481. </div>
  482. </el-col>
  483. </el-row>
  484. <div class="zap-form">
  485. <el-tabs v-model="activeName">
  486. <el-tab-pane label="我的待办" name="first" style="height:400px">
  487. <el-table :data="workList" :show-header="false">
  488. <el-table-column label="标题" align="center" prop="noticeTitle" :show-overflow-tooltip="true">
  489. <template slot-scope="scope">
  490. <el-badge is-dot class="item" v-if="scope.row.snyrUserStatus == '0'"></el-badge>
  491. <span>{{ scope.row.noticeTitle }}</span>
  492. </template>
  493. </el-table-column>
  494. <el-table-column label="时间" align="center" prop="createTime" :show-overflow-tooltip="true">
  495. <template slot-scope="scope">
  496. <span>{{ parseTime(new Date(scope.row.createTime)) }}</span>
  497. </template>
  498. </el-table-column>
  499. <el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right" width="200">
  500. <template slot-scope="scope">
  501. <el-button size="mini" type="text" @click="handleDetail(scope.row)" style="color:red">去办理</el-button>
  502. </template>
  503. </el-table-column>
  504. </el-table>
  505. <pagination
  506. v-show="workTotal>0"
  507. :total="workTotal"
  508. :page.sync="queryParamsWork.pageNum"
  509. :limit.sync="queryParamsWork.pageSize"
  510. :pager-count="5"
  511. :page-sizes="[5]"
  512. @pagination="getWorkList" />
  513. </el-tab-pane>
  514. <el-tab-pane label="消息" name="second" style="height:400px">
  515. <el-table :data="noticeList" :show-header="false">
  516. <el-table-column label="标题" align="center" prop="noticeTitle" :show-overflow-tooltip="true" />
  517. <el-table-column label="时间" align="center" prop="createTime" :show-overflow-tooltip="true">
  518. <template slot-scope="scope">
  519. <span>{{ parseTime(new Date(scope.row.createTime)) }}</span>
  520. </template>
  521. </el-table-column>
  522. </el-table>
  523. <pagination
  524. v-show="noticeTotal>0"
  525. :total="noticeTotal"
  526. :page.sync="queryParamsNotice.pageNum"
  527. :limit.sync="queryParamsNotice.pageSize"
  528. :pager-count="5"
  529. :page-sizes="[5]"
  530. @pagination="getNoticeList" />
  531. </el-tab-pane>
  532. <el-tab-pane label="已办记录" name="third" style="height:400px">
  533. <el-table :data="oldWorkList" :show-header="false">
  534. <el-table-column label="标题" align="center" prop="noticeTitle" :show-overflow-tooltip="true" />
  535. <el-table-column label="时间" align="center" prop="createTime" :show-overflow-tooltip="true">
  536. <template slot-scope="scope">
  537. <span>{{ parseTime(new Date(scope.row.createTime)) }}</span>
  538. </template>
  539. </el-table-column>
  540. </el-table>
  541. <pagination
  542. v-show="oldWorkTotal>0"
  543. :total="oldWorkTotal"
  544. :page.sync="queryParamsOldWork.pageNum"
  545. :limit.sync="queryParamsOldWork.pageSize"
  546. :pager-count="5"
  547. :page-sizes="[5]"
  548. @pagination="getOldWorkList" />
  549. </el-tab-pane>
  550. <el-tab-pane label="30天内到期融信汇总" name="fourth" style="height:400px">
  551. <el-table :data="expiredList" :show-header="true">
  552. <el-table-column label="融信编号" align="center" prop="zfiNumber" :show-overflow-tooltip="true" />
  553. <el-table-column label="金额" align="center" prop="zfiAmount" :show-overflow-tooltip="true" />
  554. <el-table-column label="到期日期" align="center" prop="zfiExpireDate" :show-overflow-tooltip="true">
  555. <!-- <template slot-scope="scope">
  556. <span>{{ parseTime(new Date(scope.row.afiExpireDate), '{y}-{m}-{d}') }}</span>
  557. </template> -->
  558. </el-table-column>
  559. <el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right" width="200">
  560. <template slot-scope="scope">
  561. <el-button size="mini" type="text" icon="el-icon-info" @click="handleCreditDetail(scope.row)">详情</el-button>
  562. </template>
  563. </el-table-column>
  564. </el-table>
  565. <pagination
  566. v-show="expiredTotal>0"
  567. :total="expiredTotal"
  568. :page.sync="queryParamsExpired.pageNum"
  569. :limit.sync="queryParamsExpired.pageSize"
  570. :pager-count="5"
  571. :page-sizes="[5]"
  572. @pagination="getExpiredList" />
  573. </el-tab-pane>
  574. </el-tabs>
  575. </div>
  576. </div>
  577. <!-- 资方 -->
  578. <div v-if="company.scyType == '03'" class="zap-margin">
  579. <el-row :gutter="20">
  580. <!-- 第一行 -->
  581. <el-col :xs="24" :sm="12" :md="8" :lg="8">
  582. <div class="zap-card">
  583. <div class="zap-card__title">总授信额度</div>
  584. <div class="zap-card__wrap zap-card__blue">
  585. <span class="zap-card__num">{{handleInput(creditLineAll)}}</span>
  586. <span class="zap-card__unit">元</span>
  587. </div>
  588. </div>
  589. </el-col>
  590. <el-col :xs="24" :sm="12" :md="8" :lg="8">
  591. <div class="zap-card">
  592. <div class="zap-card__title">已用额度</div>
  593. <div class="zap-card__wrap zap-card__gold">
  594. <span class="zap-card__num">{{handleInput(getFinancedNum())}}</span>
  595. <span class="zap-card__unit">元</span>
  596. </div>
  597. </div>
  598. </el-col>
  599. <el-col :xs="24" :sm="12" :md="8" :lg="8">
  600. <div class="zap-card">
  601. <div class="zap-card__title">可用额度</div>
  602. <div class="zap-card__wrap zap-card__pink">
  603. <span class="zap-card__num">{{handleInput(getsubNum())}}</span>
  604. <span class="zap-card__unit">元</span>
  605. </div>
  606. </div>
  607. </el-col>
  608. <!-- 第二行 -->
  609. <el-col :xs="24" :sm="12" :md="8" :lg="8">
  610. <div class="zap-card">
  611. <div class="zap-card__title">即将到期融资额度(30天)</div>
  612. <div class="zap-card__wrap zap-card__blue">
  613. <span class="zap-card__num">{{handleInput(expiredBalance)}}</span>
  614. <span class="zap-card__unit">元</span>
  615. </div>
  616. </div>
  617. </el-col>
  618. </el-row>
  619. </div>
  620. <el-dialog title="待办处理" :visible.sync="openWork" width="500px" append-to-body>
  621. <work-deal :tableId="tableId" :workType="workType" :noticeId="noticeId" @cancelOpen="cancel"></work-deal>
  622. </el-dialog>
  623. </div>
  624. </template>
  625. <script>
  626. import * as echarts from 'echarts';
  627. import {
  628. getCreditLineAll,
  629. getAvailableBalance,
  630. getEffectBalance,
  631. getLoanBalance,
  632. getLoseEffectBalance,
  633. getReturnBalance,
  634. getFinanceAmount,
  635. getFinanceAmountAll,
  636. getExpiredBalance,
  637. getCoreCreditLine,
  638. getCreditLineList,
  639. getCreditLineNumList,
  640. financeRecordMonth,
  641. getExpiredList,
  642. listCreditLineAll,
  643. listCreditAll,
  644. listHasRaised,
  645. listRepayment,
  646. listPendingRepayment
  647. } from '@/api/service/report/credit'
  648. import {
  649. getCompanyNum,
  650. getFinanceSupplier,
  651. getFinanceNum,
  652. getCompanyReport
  653. } from '@/api/service/report/company'
  654. import {
  655. getOwnCompany
  656. } from "@/api/common/company";
  657. import {
  658. accAdd,
  659. accSub
  660. } from "@/utils/calculation";
  661. import {
  662. listNotice,
  663. readWork
  664. } from '@/api/system/notice'
  665. import {
  666. amtformat
  667. } from "@/utils/amtCommon"
  668. import EchartPie from '@/components/Echart/pie/index'
  669. import EchartBar from '@/components/Echart/bar/index'
  670. import HomeStatistics from '@/components/HomeStatistics/index.vue'
  671. import {
  672. EventBus
  673. } from '@/util/event-bus.js'
  674. import WorkDeal from "@/views/workDeal";
  675. import {
  676. getRouters
  677. } from '@/api/menu'
  678. import Cookies from 'js-cookie'
  679. export default {
  680. components: {
  681. EchartPie,
  682. EchartBar,
  683. WorkDeal,
  684. HomeStatistics
  685. },
  686. data() {
  687. return {
  688. widthSize: '500px',
  689. heightSize: '280px',
  690. companyNum: 0,
  691. supplierNum: 0,
  692. coreNum: 0,
  693. financeSupplierNum: 0,
  694. availableBalance: 0,
  695. availableBalanceForward: 0,
  696. loanBalance: 0,
  697. loanBalanceForward: 0,
  698. effectBalance: 0,
  699. effectBalanceForward: 0,
  700. financeNum: 0,
  701. expiredBalance: 0,
  702. loseEffectBalance: 0,
  703. returnBalance: 0,
  704. financeAmountList: [],
  705. companyDataList: [],
  706. dateType: "00",
  707. financeDateType: "00",
  708. dateTypeList: [{
  709. label: "周",
  710. value: "00"
  711. },
  712. {
  713. label: "年",
  714. value: "01"
  715. }
  716. ],
  717. hxDateType: "00",
  718. hxDateTypeList: [{
  719. label: "实时",
  720. value: "00"
  721. },
  722. {
  723. label: "年度",
  724. value: "01"
  725. },
  726. {
  727. label: "历史",
  728. value: "02"
  729. }
  730. ],
  731. companyExtraOption: {
  732. xAxis: [{
  733. data: [],
  734. }],
  735. legend: {},
  736. },
  737. coreFinanceAmountList: [],
  738. coreFinanceAmountExtraOption: {
  739. yAxis: [{
  740. type: "category",
  741. data: [],
  742. }],
  743. xAxis: [{
  744. type: "value",
  745. }],
  746. legend: {},
  747. axisLabel: {
  748. show: true,
  749. textStyle: {
  750. color: '#fff'
  751. },
  752. interval: 0,
  753. //设置字数限制
  754. formatter: function (value) {
  755. if (value.length > 8) {
  756. return value.substring(0, 7) + "...";
  757. } else {
  758. return value;
  759. }
  760. }
  761. },
  762. },
  763. dataList: [],
  764. yearDataList: [],
  765. monthDataList: [],
  766. extraOption: {
  767. legend: {
  768. type: 'scroll',
  769. orient: 'vertical',
  770. left: "left",
  771. right: 10,
  772. top: 20,
  773. bottom: 20,
  774. },
  775. },
  776. yearExtraOption: {
  777. xAxis: [{
  778. data: [],
  779. }],
  780. legend: {},
  781. },
  782. monthExtraOption: {
  783. xAxis: [{
  784. data: [],
  785. }],
  786. legend: {},
  787. },
  788. creditLineAll: 0,
  789. creditLineAllForward: 0,
  790. creditLineList: [],
  791. creditLineTotal: 0,
  792. queryParams: {
  793. pageNum: 1,
  794. pageSize: 5
  795. },
  796. creditLineNumList: [],
  797. creditLineNumTotal: 0,
  798. queryParamsNum: {
  799. pageNum: 1,
  800. pageSize: 5
  801. },
  802. workList: [],
  803. workTotal: 0,
  804. queryParamsWork: {
  805. pageNum: 1,
  806. pageSize: 5,
  807. type: '00'
  808. },
  809. noticeList: [],
  810. noticeTotal: 0,
  811. queryParamsNotice: {
  812. pageNum: 1,
  813. pageSize: 5,
  814. type: '01'
  815. },
  816. oldWorkList: [],
  817. oldWorkTotal: 0,
  818. queryParamsOldWork: {
  819. pageNum: 1,
  820. pageSize: 5,
  821. type: '00',
  822. status: '1'
  823. },
  824. expiredList: [],
  825. expiredTotal: 0,
  826. queryParamsExpired: {
  827. pageNum: 1,
  828. pageSize: 5,
  829. },
  830. activeName: 'first',
  831. company: {},
  832. openWork: false,
  833. workUrl: null,
  834. workType: null,
  835. tableId: null,
  836. noticeId: null,
  837. //权限展示
  838. companyData: true,
  839. companyWork: true,
  840. companyChart: true,
  841. input1: '',
  842. //核心企业
  843. hxCreditLineAll: 0, //授信总额度反向
  844. hxCreditLineAllForward: 0, // 授信总额度正向
  845. usableAmount: 0, //可用授信额度反向
  846. usableAmountForward: 0, //可用授信额度正向
  847. hxCreditAll: 0, //我开立的融信
  848. hxPendingMoney: 0, //30天内待还款反向
  849. hxPendingMoneyForward: 0, //30天内待还款正向
  850. hxCreditAllForward: 0, //我确权的
  851. hxHasRaised: 0, //已融资金额反向
  852. hxHasRaisedForward: 0, //已融资金额正向
  853. hxRepayment: 0, //已放款金额
  854. }
  855. },
  856. created: function () {
  857. var children = [];
  858. this.$store.state.permission.routes.map((item) => {
  859. if (this.$route.matched[0] && item.alwaysShow && this.$route.matched[0].path == item.path) {
  860. children = item.children
  861. }
  862. });
  863. if (children && children.length != 0) {
  864. EventBus.$emit('on-click-higher', {
  865. children: children,
  866. basepath: this.$route.matched[0].path
  867. })
  868. }
  869. this.selectHome()
  870. },
  871. activated() {
  872. this.selectHome()
  873. },
  874. mounted() {},
  875. methods: {
  876. initChartPie(data, name, color, formatter) {
  877. let chartPie = document.getElementById('echartPie');
  878. let myChart = echarts.init(chartPie);
  879. let option = {
  880. tooltip: {
  881. trigger: 'item',
  882. formatter: '{b}: {d}%'
  883. },
  884. color: color,
  885. label: {
  886. alignTo: 'edge',
  887. formatter: formatter,
  888. minMargin: 5,
  889. edgeDistance: 10,
  890. rich: {
  891. name: {
  892. lineHeight: 14,
  893. fontSize: 14,
  894. color: '#333'
  895. },
  896. percent: {
  897. lineHeight: 14,
  898. fontSize: 14,
  899. },
  900. percentUnit: {
  901. lineHeight: 34,
  902. fontSize: 14,
  903. },
  904. unit: {
  905. lineHeight: 46,
  906. fontSize: 22,
  907. }
  908. }
  909. },
  910. series: [{
  911. name: name,
  912. type: 'pie',
  913. radius: '50%',
  914. data: data,
  915. emphasis: {
  916. itemStyle: {
  917. shadowBlur: 10,
  918. shadowOffsetX: 0,
  919. shadowColor: 'rgba(0, 0, 0, 0.5)'
  920. }
  921. }
  922. }]
  923. };
  924. myChart.setOption(option);
  925. },
  926. getShow() {
  927. getRouters().then(res => {
  928. // this.data = res.data
  929. this.setName(res.data)
  930. this.expandedKeys.forEach(element => {
  931. this.$set(this, element, true)
  932. });
  933. })
  934. },
  935. setName(datas) { //遍历树 获取id数组
  936. for (var i in datas) {
  937. if (datas[i].path == 'reportStatistics') {
  938. this.expandedKeys.push(datas[i].component)
  939. }
  940. if (datas[i].children) {
  941. this.setName(datas[i].children);
  942. }
  943. }
  944. },
  945. //查询各角色首页模块
  946. selectHome() {
  947. //查询企业类型
  948. getOwnCompany().then((response) => {
  949. this.company = response.data;
  950. }).then((response) => {
  951. //平台
  952. if (this.company.scyType == '00') {
  953. //入驻企业数量
  954. this.getCompanyNum()
  955. //入驻供应商数量
  956. this.getSupplierNum()
  957. //入驻核心企业数量
  958. this.getCoreNum()
  959. //融资开立月度统计 -- 柱状图
  960. this.getFinanceRecordMonth()
  961. //已融资供应商数量
  962. this.getFinanceSupplier()
  963. //融资中金额
  964. this.getAvailableBalance()
  965. //已放款金额
  966. this.getLoanBalance()
  967. //已生效金额
  968. this.getEffectBalance()
  969. //已失效金额
  970. this.getLoseEffectBalance()
  971. //已还款金额
  972. this.getReturnBalance()
  973. //融资业务数量
  974. this.getFinanceNum()
  975. //授信总额度
  976. this.getCreditLineAll()
  977. //平台资金 -- 饼图
  978. this.getFinanceAmount()
  979. //平台用户统计 -- 柱状图
  980. this.getCompanyReport()
  981. //核心企业额度比例 -- 柱状图
  982. this.getFinanceAmountAll()
  983. //查询待办
  984. this.getWorkList()
  985. //查询消息
  986. this.getNoticeList()
  987. //查询已办
  988. this.getOldWorkList()
  989. //核心企业
  990. } else if (this.company.scyType == '01') {
  991. this.changeFxHxDateType("00")
  992. this.changeZxHxDateType("00")
  993. //融资中金额
  994. this.getAvailableBalance()
  995. //融资中金额 -- 正向保理
  996. this.getAvailableBalanceForward()
  997. //已放款金额
  998. this.getLoanBalance()
  999. //已放款金额 -- 正向保理
  1000. this.getLoanBalanceForward()
  1001. //已生效金额
  1002. this.getEffectBalance()
  1003. //已生效金额 -- 正向保理
  1004. this.getEffectBalanceForward()
  1005. //融信授权额度 -- 饼图
  1006. this.getCreditLine()
  1007. //融信授权额度 -- 列表
  1008. this.getList()
  1009. //融信统计 -- 列表
  1010. this.getNumList()
  1011. //融资开立月度统计 -- 柱状图
  1012. this.getFinanceRecord()
  1013. //融资开立年度统计 -- 柱状图
  1014. this.getFinanceRecordYear()
  1015. //即将到期额度(30天)
  1016. this.getExpiredBalance()
  1017. this.getExpiredList()
  1018. //查询待办
  1019. this.getWorkList()
  1020. //查询消息
  1021. this.getNoticeList()
  1022. //查询已办
  1023. this.getOldWorkList()
  1024. //融资企业
  1025. } else if (this.company.scyType == '02') {
  1026. //授信总额度
  1027. this.getCreditLineAll()
  1028. //融资中金额
  1029. this.getAvailableBalance()
  1030. //已放款金额
  1031. this.getLoanBalance()
  1032. //已生效金额
  1033. this.getEffectBalance()
  1034. //即将到期额度(30天)
  1035. this.getExpiredBalance()
  1036. //即将到期额度(30天)-- 列表
  1037. this.getExpiredList()
  1038. //查询待办
  1039. this.getWorkList()
  1040. //查询消息
  1041. this.getNoticeList()
  1042. //查询已办
  1043. this.getOldWorkList()
  1044. //资方
  1045. } else if (this.company.scyType == '03') {
  1046. //授信总额度
  1047. this.getCreditLineAll()
  1048. //融资中金额
  1049. this.getAvailableBalance()
  1050. //已放款金额
  1051. this.getLoanBalance()
  1052. //已生效金额
  1053. this.getEffectBalance()
  1054. //即将到期额度(30天)
  1055. this.getExpiredBalance()
  1056. }
  1057. });
  1058. },
  1059. changeFxHxDateType(hxDateType) {
  1060. this.hxDateType = hxDateType;
  1061. //授信总额度
  1062. this.listCreditLineAll()
  1063. //我开立的融信
  1064. this.listCreditAll()
  1065. //已融资金额
  1066. this.listHasRaised()
  1067. //已放款
  1068. this.listRepayment()
  1069. //30天内待还款反向
  1070. this.listPendingRepayment()
  1071. },
  1072. changeZxHxDateType(hxDateType) {
  1073. this.hxDateType = hxDateType;
  1074. //授信总额度 -- 正向保理
  1075. this.listCreditLineAllForward()
  1076. //我确权的
  1077. this.listCreditAllForward()
  1078. //30天内待还款正向
  1079. this.listPendingRepaymentForward()
  1080. //已融资金额 正向
  1081. this.listHasRaisedForward()
  1082. },
  1083. //入驻企业数量
  1084. getCompanyNum() {
  1085. getCompanyNum().then((response) => {
  1086. this.companyNum = response.data.num
  1087. });
  1088. },
  1089. //入驻供应商数量
  1090. getSupplierNum() {
  1091. let queryParams = {}
  1092. queryParams.type = "02"
  1093. getCompanyNum(queryParams).then((response) => {
  1094. this.supplierNum = response.data.num
  1095. });
  1096. },
  1097. //入驻核心企业数量
  1098. getCoreNum() {
  1099. let queryParams = {}
  1100. queryParams.type = "01"
  1101. getCompanyNum(queryParams).then((response) => {
  1102. this.coreNum = response.data.num
  1103. });
  1104. },
  1105. //已融资供应商数量
  1106. getFinanceSupplier() {
  1107. getFinanceSupplier().then((response) => {
  1108. this.financeSupplierNum = response.data.num
  1109. });
  1110. },
  1111. //融资中金额
  1112. getAvailableBalance() {
  1113. getAvailableBalance().then(response => {
  1114. this.availableBalance = response.data.allAmount
  1115. })
  1116. },
  1117. //融资中金额 -- 正向保理
  1118. getAvailableBalanceForward() {
  1119. let queryParams = {}
  1120. queryParams.zfpType = "0"
  1121. getAvailableBalance(queryParams).then(res => {
  1122. this.availableBalanceForward = res.data.allAmount
  1123. })
  1124. },
  1125. //已生效金额
  1126. getEffectBalance() {
  1127. getEffectBalance().then(response => {
  1128. this.effectBalance = response.data.allAmount
  1129. })
  1130. },
  1131. //已生效金额 -- 正向保理
  1132. getEffectBalanceForward() {
  1133. let queryParams = {}
  1134. queryParams.zfpType = "0"
  1135. getEffectBalance(queryParams).then(res => {
  1136. this.effectBalanceForward = res.data.allAmount
  1137. })
  1138. },
  1139. //已放款金额
  1140. getLoanBalance() {
  1141. getLoanBalance().then(response => {
  1142. this.loanBalance = response.data.allAmount
  1143. })
  1144. },
  1145. //已放款金额 -- 正向保理
  1146. getLoanBalanceForward() {
  1147. let queryParams = {}
  1148. queryParams.zfpType = "0"
  1149. getLoanBalance(queryParams).then(res => {
  1150. this.loanBalanceForward = res.data.allAmount
  1151. })
  1152. },
  1153. //已失效金额
  1154. getLoseEffectBalance() {
  1155. getLoseEffectBalance().then(response => {
  1156. this.loseEffectBalance = response.data.allAmount
  1157. })
  1158. },
  1159. //已还款金额
  1160. getReturnBalance() {
  1161. getReturnBalance().then(response => {
  1162. this.returnBalance = response.data.allAmount
  1163. })
  1164. },
  1165. //融资业务数量
  1166. getFinanceNum() {
  1167. getFinanceNum().then(response => {
  1168. this.financeNum = response.data.num
  1169. })
  1170. },
  1171. //授信总额度
  1172. getCreditLineAll() {
  1173. getCreditLineAll().then(res => {
  1174. this.creditLineAll = res.data.allAmount
  1175. })
  1176. },
  1177. //授信总额度 -- 正向保理
  1178. getCreditLineAllForward() {
  1179. let queryParams = {}
  1180. queryParams.zfpType = "0"
  1181. getCreditLineAll(queryParams).then(res => {
  1182. this.creditLineAllForward = res.data.allAmount
  1183. })
  1184. },
  1185. //核心企业授信总额度 -- 反向
  1186. listCreditLineAll() {
  1187. let queryParams = {}
  1188. listCreditLineAll(queryParams).then(res => {
  1189. this.hxCreditLineAll = res.data.allAmount;
  1190. this.usableAmount = res.data.usableAmount;
  1191. })
  1192. },
  1193. //核心企业授信总额度 -- 正向保理
  1194. listCreditLineAllForward() {
  1195. let queryParams = {}
  1196. queryParams.zfpType = '0'
  1197. listCreditLineAll(queryParams).then(res => {
  1198. this.hxCreditLineAllForward = res.data.allAmountForward
  1199. this.usableAmountForward = res.data.usableAmountForward;
  1200. })
  1201. },
  1202. //核心企业我开立的融信
  1203. listCreditAll() {
  1204. let queryParams = {}
  1205. queryParams.hxDateType = this.hxDateType
  1206. listCreditAll(queryParams).then(res => {
  1207. this.hxCreditAll = res.data.allAmount;
  1208. })
  1209. },
  1210. //核心企业我确权的
  1211. listCreditAllForward() {
  1212. let queryParams = {}
  1213. queryParams.zfpType = '0'
  1214. queryParams.hxDateType = this.hxDateType
  1215. listCreditAll(queryParams).then(res => {
  1216. this.hxCreditAllForward = res.data.allAmount;
  1217. })
  1218. },
  1219. //核心企业已融资金额反向
  1220. listHasRaised() {
  1221. let queryParams = {}
  1222. queryParams.hxDateType = this.hxDateType
  1223. listHasRaised(queryParams).then(res => {
  1224. this.hxHasRaised = res.data.allAmount;
  1225. })
  1226. },
  1227. //核心企业已融资金额正向
  1228. listHasRaisedForward() {
  1229. let queryParams = {}
  1230. queryParams.zfpType = '0'
  1231. queryParams.hxDateType = this.hxDateType
  1232. listHasRaised(queryParams).then(res => {
  1233. this.hxHasRaisedForward = res.data.allAmount;
  1234. })
  1235. },
  1236. //核心企业已放款金额
  1237. listPendingRepayment() {
  1238. listPendingRepayment().then(res => {
  1239. this.hxPendingMoney = res.data.allAmount;
  1240. })
  1241. },
  1242. //核心企业已放款金额
  1243. listPendingRepaymentForward() {
  1244. let queryParams = {}
  1245. queryParams.zfpType = '0'
  1246. listPendingRepayment(queryParams).then(res => {
  1247. this.hxPendingMoneyForward = res.data.allAmount;
  1248. })
  1249. },
  1250. //核心企业已放款金额
  1251. listRepayment() {
  1252. let queryParams = {}
  1253. queryParams.hxDateType = this.hxDateType
  1254. listRepayment(queryParams).then(res => {
  1255. this.hxRepayment = res.data.allAmount;
  1256. })
  1257. },
  1258. //平台放款金额
  1259. getAllLoanBalance() {
  1260. return accAdd(this.loanBalance, this.returnBalance, 2)
  1261. },
  1262. //未融资金额
  1263. getNotUseAmt() {
  1264. return accAdd(this.effectBalance, this.loseEffectBalance, 2)
  1265. },
  1266. //平台开立融信
  1267. getFinancedNumAll() {
  1268. return accAdd(accAdd(accAdd(accAdd(this.effectBalance, this.availableBalance, 2), this.loanBalance, 2), this.loseEffectBalance, 2), this.returnBalance, 2)
  1269. },
  1270. //开立金额
  1271. getFinancedNum() {
  1272. return accAdd(accAdd(this.effectBalance, this.availableBalance, 2), this.loanBalance, 2)
  1273. },
  1274. //开立金额 -- 正向保理
  1275. getFinancedNumForward() {
  1276. return accAdd(accAdd(this.effectBalanceForward, this.availableBalanceForward, 2), this.loanBalanceForward, 2)
  1277. },
  1278. //剩余授信额度
  1279. getsubNum() {
  1280. return accSub(this.creditLineAll, this.getFinancedNum(), 2)
  1281. },
  1282. //剩余授信额度 -- 正向保理
  1283. getsubNumForward() {
  1284. return accSub(this.creditLineAllForward, this.getFinancedNumForward(), 2)
  1285. },
  1286. //平台资金 -- 饼图
  1287. getFinanceAmount() {
  1288. getFinanceAmount().then(response => {
  1289. this.financeAmountList = response.data;
  1290. this.initChartPie(response.data, '平台资金统计', ["#f9b51d", "#30d894", "#ff6d8a", "#4280f2"], '{name|{b}}\n{unit|{c} 元}')
  1291. })
  1292. },
  1293. //平台用户统计 -- 柱状图
  1294. getCompanyReport() {
  1295. let queryParams = {}
  1296. queryParams.dateType = this.dateType
  1297. getCompanyReport(queryParams).then((response) => {
  1298. this.companyDataList = response.data.dataList
  1299. this.companyExtraOption.xAxis[0].data = response.data.dateList
  1300. this.iniEcharBar('echarBarUser', response.data.dataList, response.data.dateList)
  1301. });
  1302. },
  1303. iniEcharBar(id, series, dateList) {
  1304. // 时间选择是周的时候进行转换 YYYY-MM-D 2 MM.D
  1305. if (this.dateType === '00') {
  1306. dateList = dateList.map(item => {
  1307. let arr = item.split('-').slice(1)
  1308. return arr.join('.')
  1309. })
  1310. }
  1311. let _series = series.map(item => {
  1312. item.type = 'bar'
  1313. item.barWidth = 12
  1314. item.barGap = '25%'
  1315. return item
  1316. })
  1317. // _series.push({
  1318. // name: '供应商',
  1319. // type: 'line',
  1320. // yAxisIndex: 1,
  1321. // data: _series[0].data.map(item => {
  1322. // return item / eval(_series[0].data.join('+')) * 100
  1323. // })
  1324. // })
  1325. // _series.push({
  1326. // name: '核心企业',
  1327. // type: 'line',
  1328. // yAxisIndex: 1,
  1329. // data: _series[1].data.map(item => {
  1330. // return item / eval(_series[1].data.join('+')) * 100
  1331. // })
  1332. // })
  1333. let option = {
  1334. tooltip: {
  1335. trigger: 'axis',
  1336. axisPointer: {
  1337. type: 'cross',
  1338. crossStyle: {
  1339. color: '#999'
  1340. }
  1341. }
  1342. },
  1343. color: ["#4280f2", "#30d894"],
  1344. xAxis: [{
  1345. type: 'category',
  1346. axisLine: {
  1347. show: false
  1348. },
  1349. axisTick: {
  1350. show: false //y轴坐标点消失
  1351. },
  1352. data: dateList,
  1353. axisPointer: {
  1354. type: 'shadow'
  1355. },
  1356. axisLabel: {
  1357. margin: 34,
  1358. fontSize: 16,
  1359. color: '#666666',
  1360. },
  1361. }],
  1362. yAxis: [{
  1363. type: 'value',
  1364. name: '',
  1365. axisLine: {
  1366. show: false //y轴线消失
  1367. },
  1368. axisTick: {
  1369. show: false //y轴坐标点消失
  1370. },
  1371. axisLabel: {
  1372. margin: 11,
  1373. fontSize: 16,
  1374. color: '#666666',
  1375. formatter: '{value}'
  1376. },
  1377. splitLine: {
  1378. lineStyle: {
  1379. color: ['#e5e5e5'],
  1380. width: 2
  1381. }
  1382. }
  1383. },
  1384. {
  1385. type: 'value',
  1386. name: '',
  1387. axisLine: {
  1388. show: false //y轴线消失
  1389. },
  1390. axisTick: {
  1391. show: false //y轴坐标点消失
  1392. },
  1393. // min: 0,
  1394. // max: 100,
  1395. // axisLabel: {
  1396. // margin: 11,
  1397. // fontSize: 16,
  1398. // color: '#666666',
  1399. // formatter: '{value}%'
  1400. // },
  1401. splitLine: {
  1402. lineStyle: {
  1403. color: ['#e5e5e5'],
  1404. width: 2
  1405. }
  1406. }
  1407. }
  1408. ],
  1409. series: _series
  1410. };
  1411. let chartBar = document.getElementById(id);
  1412. let myChart = echarts.init(chartBar);
  1413. myChart.clear()
  1414. myChart.setOption(option)
  1415. },
  1416. iniEchartBarCore(series, dateList) {
  1417. if (this.financeDateType === '00') {
  1418. dateList = dateList.map(item => {
  1419. let arr = item.split('-').slice(1)
  1420. return arr.join('.')
  1421. })
  1422. }
  1423. var barCore = document.getElementById('echarBarCore');
  1424. var myChart = echarts.init(barCore);
  1425. let _series = series.map(item => {
  1426. item.type = 'bar'
  1427. item.barWidth = 75
  1428. item.label = {
  1429. show: true
  1430. }
  1431. return item
  1432. })
  1433. var option = {
  1434. tooltip: {
  1435. trigger: 'axis',
  1436. axisPointer: {
  1437. type: 'shadow'
  1438. }
  1439. },
  1440. color: ["#4280f2", "#30d894"],
  1441. grid: {
  1442. left: '3%',
  1443. right: '4%',
  1444. bottom: '3%',
  1445. containLabel: true
  1446. },
  1447. xAxis: [{
  1448. type: 'category',
  1449. data: dateList,
  1450. axisLine: {
  1451. show: false //y轴线消失
  1452. },
  1453. axisTick: {
  1454. show: false //y轴坐标点消失
  1455. },
  1456. axisLabel: {
  1457. margin: 34,
  1458. fontSize: 16,
  1459. color: '#666666',
  1460. },
  1461. }],
  1462. yAxis: [{
  1463. show: false
  1464. }],
  1465. series: _series
  1466. };
  1467. option && myChart.setOption(option);
  1468. },
  1469. //核心企业额度比例 -- 柱状图
  1470. getFinanceAmountAll() {
  1471. let queryParams = {}
  1472. queryParams.pageNum = 1
  1473. queryParams.pageSize = 5
  1474. getFinanceAmountAll(queryParams).then((response) => {
  1475. this.coreFinanceAmountList = response.data.dataList
  1476. this.coreFinanceAmountExtraOption.yAxis[0].data = response.data.dateList
  1477. this.iniEchartBarCore(response.data.dataList, response.data.dateList)
  1478. });
  1479. },
  1480. //融资开立月度统计 -- 柱状图
  1481. getFinanceRecordMonth() {
  1482. let queryParams = {}
  1483. queryParams.dateType = this.financeDateType
  1484. financeRecordMonth(queryParams).then((response) => {
  1485. this.yearDataList = response.data.dataList
  1486. this.yearExtraOption.xAxis[0].data = response.data.dateList
  1487. this.iniEcharBar('echarBarBusiness', response.data.dataList, response.data.dateList)
  1488. });
  1489. },
  1490. //查询待办
  1491. getWorkList() {
  1492. listNotice(this.queryParamsWork).then((response) => {
  1493. this.workList = response.rows
  1494. this.workTotal = response.total
  1495. });
  1496. },
  1497. //查询消息
  1498. getNoticeList() {
  1499. listNotice(this.queryParamsNotice).then((response) => {
  1500. this.noticeList = response.rows
  1501. this.noticeTotal = response.total
  1502. });
  1503. },
  1504. //查询已办
  1505. getOldWorkList() {
  1506. listNotice(this.queryParamsOldWork).then((response) => {
  1507. this.oldWorkList = response.rows
  1508. this.oldWorkTotal = response.total
  1509. });
  1510. },
  1511. //企业即将到期额度(30天) -- 列表
  1512. getExpiredList() {
  1513. getExpiredList(this.queryParamsExpired).then(response => {
  1514. this.expiredList = response.data.records;
  1515. this.expiredTotal = response.data.total
  1516. })
  1517. },
  1518. //即将到期额度(30天)
  1519. getExpiredBalance() {
  1520. getExpiredBalance().then(response => {
  1521. this.expiredBalance = response.data.allAmount
  1522. })
  1523. },
  1524. //融资开立年度统计 -- 柱状图
  1525. getFinanceRecordYear() {
  1526. let queryParams = {}
  1527. queryParams.dateType = "01"
  1528. financeRecordMonth(queryParams).then((response) => {
  1529. this.monthDataList = response.data.dataList
  1530. this.monthExtraOption.xAxis[0].data = response.data.dateList
  1531. this.initEchartBarCapital('echartBarCapital', response.data.dataList, response.data.dateList)
  1532. });
  1533. },
  1534. //融资开立月度统计 -- 柱状图
  1535. getFinanceRecord() {
  1536. let queryParams = {}
  1537. queryParams.dateType = "03"
  1538. financeRecordMonth(queryParams).then((response) => {
  1539. this.monthDataList = response.data.dataList
  1540. this.monthExtraOption.xAxis[0].data = response.data.dateList
  1541. this.initEchartBarCapital('echartBarCapitalDay', response.data.dataList, response.data.dateList, true)
  1542. });
  1543. },
  1544. initEchartBarCapital(id, series, dateList, transform) {
  1545. if (transform) {
  1546. // 时间选择是周的时候进行转换 YYYY-MM-D 2 MM.D
  1547. dateList = dateList.map(item => {
  1548. let arr = item.split('-').slice(1)
  1549. return arr.join('.')
  1550. })
  1551. }
  1552. let _series = series.map(item => {
  1553. item.type = 'bar'
  1554. item.barWidth = 12
  1555. item.barGap = '20%'
  1556. return item
  1557. })
  1558. let option = {
  1559. tooltip: {
  1560. trigger: 'axis',
  1561. axisPointer: {
  1562. type: 'cross',
  1563. crossStyle: {
  1564. color: '#999'
  1565. }
  1566. }
  1567. },
  1568. grid: {
  1569. left: '20%'
  1570. },
  1571. color: ["#4280f2", "#fb738a"],
  1572. xAxis: [{
  1573. type: 'category',
  1574. axisLine: {
  1575. show: false
  1576. },
  1577. axisTick: {
  1578. show: false //y轴坐标点消失
  1579. },
  1580. data: dateList,
  1581. axisPointer: {
  1582. type: 'shadow'
  1583. },
  1584. axisLabel: {
  1585. margin: 34,
  1586. fontSize: 16,
  1587. color: '#666666',
  1588. },
  1589. }],
  1590. yAxis: [{
  1591. type: 'value',
  1592. name: '',
  1593. axisLine: {
  1594. show: false //y轴线消失
  1595. },
  1596. axisTick: {
  1597. show: false //y轴坐标点消失
  1598. },
  1599. axisLabel: {
  1600. margin: 11,
  1601. fontSize: 16,
  1602. color: '#666666',
  1603. formatter: '{value}'
  1604. },
  1605. splitLine: {
  1606. lineStyle: {
  1607. type: 'dashed',
  1608. color: ['#e5e5e5'],
  1609. }
  1610. }
  1611. },
  1612. {
  1613. type: 'value',
  1614. name: '',
  1615. axisLine: {
  1616. show: false //y轴线消失
  1617. },
  1618. axisTick: {
  1619. show: false //y轴坐标点消失
  1620. },
  1621. axisLabel: {
  1622. margin: 11,
  1623. fontSize: 16,
  1624. color: '#666666',
  1625. formatter: '{value}%'
  1626. },
  1627. splitLine: {
  1628. lineStyle: {
  1629. type: 'dashed',
  1630. color: ['#e5e5e5'],
  1631. }
  1632. }
  1633. }
  1634. ],
  1635. series: _series
  1636. };
  1637. let chartBar = document.getElementById(id);
  1638. let myChart = echarts.init(chartBar);
  1639. myChart.clear()
  1640. myChart.setOption(option)
  1641. },
  1642. //融信授权额度 -- 饼图
  1643. getCreditLine() {
  1644. getCoreCreditLine().then(response => {
  1645. this.dataList = response.data;
  1646. this.initChartPie(response.data, '融信授权额度', ['#ff6d8a', '#4280f2'], '{percent|{d}%}\n{percentUnit|{c} 元}')
  1647. })
  1648. },
  1649. //融信授权额度 -- 列表
  1650. getList() {
  1651. getCreditLineList(this.queryParams).then(response => {
  1652. this.creditLineList = response.data.records;
  1653. this.creditLineTotal = response.data.total
  1654. })
  1655. },
  1656. //融信统计 -- 列表
  1657. getNumList() {
  1658. getCreditLineNumList(this.queryParamsNum).then(response => {
  1659. this.creditLineNumList = response.data.records;
  1660. this.creditLineNumTotal = response.data.total
  1661. })
  1662. },
  1663. /* 金额展示 */
  1664. handleInput(str) {
  1665. return amtformat(str, 2, ".", ",");
  1666. },
  1667. /** 详情按钮操作 */
  1668. handleDetail(row) {
  1669. if (row.openType == '00') {
  1670. this.openWork = true
  1671. this.noticeId = row.noticeId
  1672. this.workType = row.workType
  1673. this.tableId = row.tableId
  1674. readWork(row.noticeId).then(response => {
  1675. this.getWorkList()
  1676. });
  1677. } else if (row.openType == '01') {
  1678. this.$router.push({
  1679. path: row.openUrl
  1680. });
  1681. readWork(row.noticeId).then(response => {
  1682. this.getWorkList()
  1683. });
  1684. }
  1685. },
  1686. // 取消按钮
  1687. cancel() {
  1688. this.getWorkList()
  1689. this.openWork = false;
  1690. },
  1691. //去融信
  1692. toCredit() {
  1693. this.$router.push({
  1694. path: "/Bill/credit"
  1695. });
  1696. },
  1697. //去授信
  1698. toCreditLine() {
  1699. this.$router.push({
  1700. path: "/Bill/creditLine"
  1701. });
  1702. },
  1703. //去还款
  1704. toRepayment() {
  1705. this.$router.push({
  1706. path: "/Bill/repayment"
  1707. });
  1708. },
  1709. //去融资
  1710. toFinanceRecord() {
  1711. this.$router.push({
  1712. path: "/Bill/financeRecord"
  1713. });
  1714. },
  1715. /** 详情按钮操作 */
  1716. handleInfo(row) {
  1717. const zfrId = row.zfrId;
  1718. Cookies.set("/repayment/detailRepayment/" + zfrId + "/", this.$route.fullPath);
  1719. this.$router.push({
  1720. path: "/repayment/detailRepayment/" + zfrId + "/"
  1721. });
  1722. },
  1723. /** 详情按钮操作 */
  1724. handleCreditDetail(row) {
  1725. const zfiId = row.zfiId;
  1726. Cookies.set("/credit/creditDetail/" + zfiId + "/", this.$route.fullPath);
  1727. this.$router.push({
  1728. path: "/credit/creditDetail/" + zfiId + "/"
  1729. });
  1730. },
  1731. },
  1732. };
  1733. </script>
  1734. <style>
  1735. .labelData .el-collapse-item__header {
  1736. height: 200px;
  1737. }
  1738. .app-main {
  1739. padding: 0 25px 30px 20px;
  1740. background-color: #f4f5f6;
  1741. }
  1742. </style><style lang="scss">
  1743. .zap-home__main .el-input--medium .el-input__inner {
  1744. font-size: 16px;
  1745. border-color: transparent;
  1746. }
  1747. .zap-home__main .el-col {
  1748. margin-bottom: 0 !important;
  1749. }
  1750. .zap-card {
  1751. margin-bottom: 0 !important;
  1752. padding: 30px 50px;
  1753. background-color: #ffffff;
  1754. cursor: pointer;
  1755. box-sizing: border-box;
  1756. }
  1757. .zap-card__title {
  1758. font-size: 16px;
  1759. font-weight: normal;
  1760. color: #333333;
  1761. }
  1762. .zap-card__wrap {
  1763. margin-top: 16px;
  1764. font-size: 0;
  1765. }
  1766. .zap-card__slash,
  1767. .zap-card__num {
  1768. display: inline-block;
  1769. line-height: 1;
  1770. font-size: 28px;
  1771. font-weight: bold;
  1772. }
  1773. .zap-card__slash {
  1774. padding: 0 8px;
  1775. }
  1776. .zap-card__unit {
  1777. display: inline-block;
  1778. line-height: 1;
  1779. font-size: 20px;
  1780. }
  1781. .zap-card__blue {
  1782. color: #2259BF;
  1783. }
  1784. .zap-card__gold {
  1785. color: #e6a71b;
  1786. }
  1787. .zap-card__pink {
  1788. color: #FF2F2F;
  1789. }
  1790. .zap-home__main {
  1791. .el-col {
  1792. margin-bottom: 20px;
  1793. }
  1794. .zap-home__title {
  1795. display: flex;
  1796. align-items: center;
  1797. justify-content: space-between;
  1798. height: 78px;
  1799. font-size: 18px;
  1800. color: #333333;
  1801. }
  1802. .zap-home-chart {
  1803. background-color: #ffffff;
  1804. }
  1805. .zap-home-chart__title {
  1806. display: flex;
  1807. align-items: center;
  1808. justify-content: space-between;
  1809. height: 78px;
  1810. padding: 0 30px;
  1811. font-size: 18px;
  1812. color: #333333;
  1813. white-space: nowrap;
  1814. }
  1815. .zap-home-chart__title--middle {
  1816. height: 58px;
  1817. }
  1818. .zap-home-chart__title--align-left {
  1819. justify-content: flex-start;
  1820. }
  1821. .zap-home-chart--space {
  1822. margin-top: 20px;
  1823. }
  1824. .zap-home-chart__wrap {
  1825. display: flex;
  1826. align-items: center;
  1827. }
  1828. .zap-home-chart__select {
  1829. width: 116px;
  1830. height: 40px;
  1831. margin-left: 26px;
  1832. background-image: linear-gradient(#ffffff,
  1833. #ffffff),
  1834. linear-gradient(#71befe,
  1835. #71befe);
  1836. background-blend-mode: normal,
  1837. normal;
  1838. border: solid 1px #ebebeb;
  1839. .el-input--medium .el-input__inner {
  1840. line-height: 38px;
  1841. height: 38px;
  1842. font-size: 14px;
  1843. }
  1844. }
  1845. // 自定义图例
  1846. .zap-home-chart__legend {
  1847. display: flex;
  1848. align-items: center;
  1849. }
  1850. .zap-home-chart__circle {
  1851. display: inline-block;
  1852. width: 11px;
  1853. height: 11px;
  1854. border-radius: 50%;
  1855. }
  1856. .zap-home-chart__circle--blue {
  1857. background-color: #4280f2;
  1858. }
  1859. .zap-home-chart__circle--green {
  1860. background-color: #30d894;
  1861. }
  1862. .zap-home-chart__circle--red {
  1863. background-color: #ff6d8a;
  1864. }
  1865. .zap-home-chart__circle--margin {
  1866. margin-left: 25px;
  1867. }
  1868. .zap-home-chart__text {
  1869. margin-left: 10px;
  1870. font-size: 14px;
  1871. color: #666666;
  1872. }
  1873. .zap-home-chart__search {
  1874. width: 199px;
  1875. height: 40px;
  1876. margin-left: 30px;
  1877. background-image: linear-gradient(#ffffff,
  1878. #ffffff),
  1879. linear-gradient(#71befe,
  1880. #71befe);
  1881. background-blend-mode: normal,
  1882. normal;
  1883. border: solid 1px #ebebeb;
  1884. .zap-home .el-input--medium .el-input__inner {
  1885. height: 38px;
  1886. line-height: 38px;
  1887. font-size: 14px;
  1888. }
  1889. }
  1890. .zap-margin {
  1891. margin-top: 25px;
  1892. }
  1893. // 消息列表
  1894. .el-card__body {
  1895. padding: 0 18px;
  1896. }
  1897. .el-tabs__item {
  1898. height: 54px;
  1899. line-height: 54px;
  1900. font-size: 16px;
  1901. color: #666;
  1902. }
  1903. .el-table th.el-table__cell.is-leaf,
  1904. .el-table td.el-table__cell {
  1905. text-align: left;
  1906. border-bottom: 1px dashed #999999;
  1907. }
  1908. .zap-padding-clear {
  1909. padding: 0;
  1910. }
  1911. .zap-list {
  1912. padding: 0 18px;
  1913. background-color: #ffffff;
  1914. }
  1915. .zap-chart-quto {
  1916. height: 358px;
  1917. }
  1918. .zap-statistics {
  1919. height: 358px;
  1920. padding: 0 20px;
  1921. }
  1922. .zap-padding {
  1923. padding: 0 20px;
  1924. }
  1925. .zap-bg {
  1926. background-color: #fff;
  1927. }
  1928. }
  1929. .zap-home__main .mb20 {
  1930. margin-bottom: 20px !important;
  1931. }
  1932. </style>