1.31 财务分析,财务数据模块完善,产业链桑基图展示

This commit is contained in:
尚政杰
2026-01-31 17:19:16 +08:00
parent 1c13386dfc
commit 0a2dab4936
527 changed files with 3390 additions and 604 deletions

View File

@@ -0,0 +1 @@
"use strict";const t=require("../../../common/vendor.js"),e=require("../../../request/api.js"),a=require("../../../utils/util.js"),i=require("../../../common/assets.js"),s={data:()=>({navH:t.inject("navHeight"),listTop:"",tabList:["评论我的","我评论的"],selectTab:0,commentList:[],page:1,loadAll:!1,getLocaleMonthDayHourMinte:a.getLocaleMonthDayHourMinte}),onLoad(){this.listTop=this.navH+85/750*t.inject("windowWidth"),this.getCommentListData()},onPullDownRefresh(){this.page=1,this.getCommentListData()},onReachBottom(){this.loadAll||(this.page++,this.getCommentListData())},methods:{clickTabItem(t){this.selectTab!=t&&(this.selectTab=t,this.getCommentListData())},clickEventItem(e){t.index.navigateTo({url:"/pages/index/eventDetails/eventDetails?id="+e})},getCommentListData(){let a={page:this.page,type:0==this.selectTab?"commented":"comments"};e.userActivityList(a).then((e=>{200==e.code?(1==e.data.current_page?this.commentList=e.data.activities:this.commentList=this.followList.concat(e.data.activities),e.data.current_page==e.data.pages&&(this.loadAll=!0)):t.index.showToast({title:e.message,icon:"none"})})).catch((t=>{}))}}};if(!Array){t.resolveComponent("navBar")()}Math;const n=t._export_sfc(s,[["render",function(e,a,s,n,o,c){return t.e({a:t.p({leftText:"评论回复"}),b:i._imports_0,c:t.f(o.tabList,((e,a,i)=>t.e({a:t.t(e),b:o.selectTab==a},(o.selectTab,{}),{c:t.n("item flex1 relative "+(o.selectTab==a?"select":"")),d:a,e:t.o((t=>c.clickTabItem(a)),a)}))),d:t.s("top:"+o.navH+"px;"),e:0==o.selectTab},0==o.selectTab?{f:t.f(o.commentList,((e,a,i)=>({a:t.t(e.event.importance),b:t.t(e.event.title),c:a})))}:{g:t.f(o.commentList,((e,a,i)=>({a:e.commenter.avatar_url,b:t.t(e.commenter.nickname),c:t.t(o.getLocaleMonthDayHourMinte(e.created_at)),d:t.t(e.content),e:t.t(e.event.importance),f:t.t(e.event.title),g:t.t(e.event.description),h:t.o((t=>c.clickEventItem(e.event.id)),a),i:a})))},{h:t.s("top:"+o.listTop+"px;")})}]]);wx.createPage(n);