gtsoft-snail-job-server/x-retry-server/src/main/resources/admin/js/chunk-1ab37f3c.6610a799.js
2023-01-14 21:02:26 +08:00

1 line
8.9 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1ab37f3c"],{"004c":function(t,e,r){"use strict";r.r(e);var a=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("page-header-wrapper",{scopedSlots:t._u([{key:"content",fn:function(){return[r("div",{staticClass:"page-header-content"},[r("div",{staticClass:"avatar"},[r("a-avatar",{attrs:{size:"large",src:t.currentUser.avatar}})],1),r("div",{staticClass:"content"},[r("div",{staticClass:"content-title"},[t._v(" "+t._s(t.timeFix)+""+t._s(t.user.name)),r("span",{staticClass:"welcome-text"},[t._v(""+t._s(t.welcome))])]),r("div",[t._v("前端工程师 | 蚂蚁金服 - 某某某事业群 - VUE平台")])])])]},proxy:!0},{key:"extraContent",fn:function(){return[r("div",{staticClass:"extra-content"},[r("div",{staticClass:"stat-item"},[r("a-statistic",{attrs:{title:"项目数",value:56}})],1),r("div",{staticClass:"stat-item"},[r("a-statistic",{attrs:{title:"团队内排名",value:8,suffix:"/ 24"}})],1),r("div",{staticClass:"stat-item"},[r("a-statistic",{attrs:{title:"项目访问",value:2223}})],1)])]},proxy:!0}])},[r("div",[r("a-row",{attrs:{gutter:24}},[r("a-col",{attrs:{xl:16,lg:24,md:24,sm:24,xs:24}},[r("a-card",{staticClass:"project-list",staticStyle:{"margin-bottom":"24px"},attrs:{loading:t.loading,bordered:!1,title:"进行中的项目","body-style":{padding:0}}},[r("a",{attrs:{slot:"extra"},slot:"extra"},[t._v("全部项目")]),r("div",t._l(t.projects,(function(e,a){return r("a-card-grid",{key:a,staticClass:"project-card-grid"},[r("a-card",{attrs:{bordered:!1,"body-style":{padding:0}}},[r("a-card-meta",[r("div",{staticClass:"card-title",attrs:{slot:"title"},slot:"title"},[r("a-avatar",{attrs:{size:"small",src:e.cover}}),r("a",[t._v(t._s(e.title))])],1),r("div",{staticClass:"card-description",attrs:{slot:"description"},slot:"description"},[t._v(" "+t._s(e.description)+" ")])]),r("div",{staticClass:"project-item"},[r("a",{attrs:{href:"/#/"}},[t._v("科学搬砖组")]),r("span",{staticClass:"datetime"},[t._v("9小时前")])])],1)],1)})),1)]),r("a-card",{attrs:{loading:t.loading,title:"动态",bordered:!1}},[r("a-list",t._l(t.activities,(function(e,a){return r("a-list-item",{key:a},[r("a-list-item-meta",[r("a-avatar",{attrs:{slot:"avatar",size:"small",src:e.user.avatar},slot:"avatar"}),r("div",{attrs:{slot:"title"},slot:"title"},[r("span",[t._v(t._s(e.user.nickname))]),t._v("  在 "),r("a",{attrs:{href:"#"}},[t._v(t._s(e.project.name))]),t._v("  "),r("span",[t._v(t._s(e.project.action))]),t._v("  "),r("a",{attrs:{href:"#"}},[t._v(t._s(e.project.event))])]),r("div",{attrs:{slot:"description"},slot:"description"},[t._v(t._s(e.time))])],1)],1)})),1)],1)],1),r("a-col",{staticStyle:{padding:"0 12px"},attrs:{xl:8,lg:24,md:24,sm:24,xs:24}},[r("a-card",{staticStyle:{"margin-bottom":"24px"},attrs:{title:"快速开始 / 便捷导航",bordered:!1,"body-style":{padding:0}}},[r("div",{staticClass:"item-group"},[r("a",[t._v("操作一")]),r("a",[t._v("操作二")]),r("a",[t._v("操作三")]),r("a",[t._v("操作四")]),r("a",[t._v("操作五")]),r("a",[t._v("操作六")]),r("a-button",{attrs:{size:"small",type:"primary",ghost:"",icon:"plus"}},[t._v("添加")])],1)]),r("a-card",{staticStyle:{"margin-bottom":"24px"},attrs:{title:"XX 指数",loading:t.radarLoading,bordered:!1,"body-style":{padding:0}}},[r("div",{staticStyle:{"min-height":"400px"}},[r("radar",{attrs:{data:t.radarData}})],1)]),r("a-card",{attrs:{loading:t.loading,title:"团队",bordered:!1}},[r("div",{staticClass:"members"},[r("a-row",t._l(t.teams,(function(e,a){return r("a-col",{key:a,attrs:{span:12}},[r("a",[r("a-avatar",{attrs:{size:"small",src:e.avatar}}),r("span",{staticClass:"member"},[t._v(t._s(e.name))])],1)])})),1)],1)])],1)],1)],1)])},s=[],n=r("5530"),i=r("ca00"),o=r("5880"),c=r("c0d2"),u=r("2af9"),l=r("0fea"),d=r("7104"),m={name:"Workplace",components:{PageHeaderWrapper:c["b"],Radar:u["h"]},data:function(){return{timeFix:Object(i["b"])(),avatar:"",user:{},projects:[],loading:!0,radarLoading:!0,activities:[],teams:[],axis1Opts:{dataKey:"item",line:null,tickLine:null,grid:{lineStyle:{lineDash:null},hideFirstLine:!1}},axis2Opts:{dataKey:"score",line:null,tickLine:null,grid:{type:"polygon",lineStyle:{lineDash:null}}},scale:[{dataKey:"score",min:0,max:80}],axisData:[{item:"引用",a:70,b:30,c:40},{item:"口碑",a:60,b:70,c:40},{item:"产量",a:50,b:60,c:40},{item:"贡献",a:40,b:50,c:40},{item:"热度",a:60,b:70,c:40},{item:"引用",a:70,b:50,c:40}],radarData:[]}},computed:Object(n["a"])(Object(n["a"])({},Object(o["mapState"])({nickname:function(t){return t.user.nickname},welcome:function(t){return t.user.welcome}})),{},{currentUser:function(){return{name:"Serati Ma",avatar:"https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png"}},userInfo:function(){return this.$store.getters.userInfo}}),created:function(){this.user=this.userInfo,this.avatar=this.userInfo.avatar,Object(l["l"])().then((function(t){})),Object(l["o"])().then((function(t){}))},mounted:function(){this.getProjects(),this.getActivity(),this.getTeams(),this.initRadar()},methods:{getProjects:function(){var t=this;this.$http.get("/list/search/projects").then((function(e){t.projects=e.result&&e.result.data,t.loading=!1}))},getActivity:function(){var t=this;this.$http.get("/workplace/activity").then((function(e){t.activities=e.result}))},getTeams:function(){var t=this;this.$http.get("/workplace/teams").then((function(e){t.teams=e.result}))},initRadar:function(){var t=this;this.radarLoading=!0,this.$http.get("/workplace/radar").then((function(e){var r=(new d.View).source(e.result);r.transform({type:"fold",fields:["个人","团队","部门"],key:"user",value:"score"}),t.radarData=r.rows,t.radarLoading=!1}))}}},p=m,g=(r("f5d4"),r("2877")),f=Object(g["a"])(p,a,s,!1,null,"7787cd1b",null);e["default"]=f.exports},"0fea":function(t,e,r){"use strict";r.d(e,"d",(function(){return n})),r.d(e,"b",(function(){return i})),r.d(e,"k",(function(){return o})),r.d(e,"h",(function(){return c})),r.d(e,"n",(function(){return u})),r.d(e,"m",(function(){return l})),r.d(e,"j",(function(){return d})),r.d(e,"i",(function(){return m})),r.d(e,"g",(function(){return p})),r.d(e,"f",(function(){return g})),r.d(e,"r",(function(){return f})),r.d(e,"a",(function(){return v})),r.d(e,"q",(function(){return b})),r.d(e,"p",(function(){return y})),r.d(e,"e",(function(){return h})),r.d(e,"c",(function(){return j})),r.d(e,"s",(function(){return _})),r.d(e,"t",(function(){return k})),r.d(e,"l",(function(){return L})),r.d(e,"o",(function(){return O}));var a=r("b775"),s={user:"/user",role:"/role",service:"/service",permission:"/permission",permissionNoPager:"/permission/no-pager",orgTree:"/org/tree",groupConfigForPage:"/group/list",saveGroup:"/group",groupConfigByGroupName:"/group",allGroupNameList:"/group/all/group-name/list",retryTaskPage:"/retry-task/list",retryTaskById:"/retry-task/",retryTaskLogPage:"/retry-task-log/list",retryTaskLogById:"/retry-task-log/",retryDeadLetterPage:"/retry-dead-letter/list",retryDeadLetterById:"/retry-dead-letter/",retryDeadLetterRollback:"/retry-dead-letter/rollback/",deleteRetryDeadLetter:"/retry-dead-letter/",scenePageList:"/scene-config/page/list",sceneList:"/scene-config/list",notifyConfigList:"/notify-config/list",userPageList:"/user/page/list",saveUser:"/user",systemUserByUserName:"/user/username/user-info"};function n(t){return Object(a["b"])({url:s.groupConfigForPage,method:"get",params:t})}function i(t){return Object(a["b"])({url:s.allGroupNameList,method:"get",params:t})}function o(t){return Object(a["b"])({url:s.retryTaskPage,method:"get",params:t})}function c(t,e){return Object(a["b"])({url:s.retryTaskById+t,method:"get",params:e})}function u(t){return Object(a["b"])({url:s.scenePageList,method:"get",params:t})}function l(t){return Object(a["b"])({url:s.sceneList,method:"get",params:t})}function d(t){return Object(a["b"])({url:s.retryTaskLogPage,method:"get",params:t})}function m(t){return Object(a["b"])({url:s.retryTaskLogById+t,method:"get"})}function p(t){return Object(a["b"])({url:s.retryDeadLetterPage,method:"get",params:t})}function g(t,e){return Object(a["b"])({url:s.retryDeadLetterById+t,method:"get",params:e})}function f(t,e){return Object(a["b"])({url:s.retryDeadLetterRollback+t,method:"get",params:e})}function v(t,e){return Object(a["b"])({url:s.deleteRetryDeadLetter+t,method:"delete",params:e})}function b(t){return Object(a["b"])({url:s.userPageList,method:"get",params:t})}function y(t){return Object(a["b"])({url:s.systemUserByUserName,method:"get",params:t})}function h(t){return Object(a["b"])({url:s.notifyConfigList,method:"get",params:t})}function j(t){return Object(a["b"])({url:s.groupConfigByGroupName+"/".concat(t),method:"get"})}function _(t){return Object(a["b"])({url:s.saveGroup,method:0===t.id?"post":"put",data:t})}function k(t){return Object(a["b"])({url:s.saveUser,method:void 0===t.id?"post":"put",data:t})}function L(t){return Object(a["b"])({url:s.role,method:"get",params:t})}function O(t){return Object(a["b"])({url:s.service,method:"get",params:t})}},"8d13":function(t,e,r){},f5d4:function(t,e,r){"use strict";r("8d13")}}]);