Merge remote-tracking branch 'upstream/main'

This commit is contained in:
2026-08-26 09:31:34 +08:00
parent 9b8c4bfab6
commit 394eb0285d
34137 changed files with 3589424 additions and 0 deletions
@@ -0,0 +1 @@
{"code":"(window[\"webpackJsonp\"]=window[\"webpackJsonp\"]||[]).push([[\"chunk-049a5c77\"],{\"07dc\":function(t,e,i){},\"176f\":function(t,e,i){\"use strict\";i(\"07dc\")},\"1e4b\":function(t,e,i){\"use strict\";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i(\"div\",{staticClass:\"app-container home\"},[i(\"el-row\",{staticClass:\"bottom-row\",attrs:{gutter:20}},[i(\"el-col\",{attrs:{xs:24,sm:24,md:24,lg:24}},[i(\"el-card\",{staticClass:\"module-card notice-card\",attrs:{shadow:\"hover\"}},[i(\"div\",{staticClass:\"card-header\",attrs:{slot:\"header\"},slot:\"header\"},[i(\"span\",[i(\"i\",{staticClass:\"el-icon-bell card-icon\"}),t._v(\" 通知公告\")]),i(\"el-button\",{staticClass:\"more-btn\",attrs:{type:\"text\"},on:{click:function(e){return t.handleMore(\"notice\")}}},[t._v(\"更多 \"),i(\"i\",{staticClass:\"el-icon-arrow-right\"})])],1),i(\"div\",{directives:[{name:\"loading\",rawName:\"v-loading\",value:t.noticeLoading,expression:\"noticeLoading\"}],staticClass:\"card-body notice-body\"},[0===t.noticeList.length?i(\"div\",{staticClass:\"empty-state mini-empty\"},[i(\"i\",{staticClass:\"el-icon-inbox empty-icon\"}),i(\"p\",[t._v(\"暂无公告\")])]):i(\"div\",{staticClass:\"notice-list\"},t._l(t.noticeList,(function(e){return i(\"div\",{key:e.noticeId,staticClass:\"notice-item\",on:{click:function(i){return t.handleViewNotice(e)}}},[i(\"div\",{staticClass:\"notice-main\"},[i(\"el-tag\",{staticClass:\"notice-tag\",attrs:{size:\"mini\",type:\"1\"===e.noticeType?\"warning\":\"success\"}},[t._v(\" \"+t._s(\"1\"===e.noticeType?\"通知\":\"公告\")+\" \")]),i(\"span\",{staticClass:\"notice-title\"},[t._v(t._s(e.noticeTitle))])],1),i(\"div\",{staticClass:\"notice-meta\"},[i(\"span\",[t._v(t._s(e.createBy||\"系统\"))]),i(\"span\",[t._v(t._s(e.createTime))])])])})),0)]),i(\"div\",{staticClass:\"card-footer\"},[i(\"el-pagination\",{attrs:{\"current-page\":t.noticePage.currentPage,\"page-sizes\":[5,10,20,50],\"page-size\":t.noticePage.pageSize,total:t.noticePage.total,layout:\"total, prev, pager, next\",small:\"\"},on:{\"size-change\":t.handleNoticeSizeChange,\"current-change\":t.handleNoticeCurrentChange}})],1)])],1)],1),i(\"notice-detail-view\",{ref:\"noticeViewRef\"})],1)},a=[],o=i(\"b85c\"),c=(i(\"14d9\"),i(\"8b29\")),s=i(\"25a2\"),r={name:\"Index\",components:{NoticeDetailView:s[\"a\"]},data:function(){return{version:\"3.9.2\",noticeList:[],noticeLoading:!1,noticePage:{currentPage:1,pageSize:10,total:0}}},mounted:function(){this.loadNoticeList()},methods:{goTarget:function(t){window.open(t,\"_blank\")},handleMore:function(t){var e={notice:\"通知公告\"},i=e[t];if(i){var n=this.$store.getters.sidebarRouters||[],a=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"\",c=Object(o[\"a\"])(t);try{for(c.s();!(e=c.n()).done;){var s=e.value,r=n?n+\"/\"+s.path:s.path;if(s.meta&&s.meta.title===i)return r;if(s.children&&s.children.length){var l=a(s.children,r);if(l)return l}}}catch(d){c.e(d)}finally{c.f()}return null},c=a(n);if(c)return void this.$router.push(c)}this.$message.info(\"更多功能暂未开放\")},loadNoticeList:function(){var t=this;this.noticeLoading=!0,Object(c[\"d\"])({pageNum:this.noticePage.currentPage,pageSize:this.noticePage.pageSize}).then((function(e){t.noticeList=e.rows||[],t.noticePage.total=e.total||0,t.noticeLoading=!1})).catch((function(){t.noticeLoading=!1}))},handleViewNotice:function(t){this.$refs.noticeViewRef.open(t)},handleNoticeSizeChange:function(t){this.noticePage.pageSize=t,this.noticePage.currentPage=1,this.loadNoticeList()},handleNoticeCurrentChange:function(t){this.noticePage.currentPage=t,this.loadNoticeList()}}},l=r,d=(i(\"176f\"),i(\"2877\")),u=Object(d[\"a\"])(l,n,a,!1,null,\"24c609f2\",null);e[\"default\"]=u.exports}}]);","extractedComments":[]}