Files
starRiverProperty/frontend-source/decompiled/cwos-portal/static/js/162.224fcb637fc3410055d8.js
T
反编译工作区 4f79e10bd6 chore: cleanup stray nested directories in frontend-source
Former-commit-id: 376f94edd602d3dfed1cbada6e08361ee7b08e73
2026-04-29 13:07:40 +08:00

1 line
2.7 KiB
JavaScript

webpackJsonp([162],{ELtZ:function(t,n,e){var a=e("TNEE");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);e("rjj0")("6c64fe77",a,!0)},TNEE:function(t,n,e){(t.exports=e("FZ+f")(!1)).push([t.i,"\n.app_black[data-v-8cdd3e2c] {\n text-align: center;\n vertical-align: middle;\n margin-top: 12%;\n}\n.m-title[data-v-8cdd3e2c] {\n font-size: 14px;\n font-weight: bold;\n margin: 10px 0 20px;\n width: 100%;\n}\n.citem[data-v-8cdd3e2c] {\n display: inline-block;\n width: 300px;\n height: 80px;\n overflow: hidden;\n padding: 15px 20px;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n background: white;\n -webkit-box-shadow: 0px 2px 5px 0px #e3e5ea;\n box-shadow: 0px 2px 5px 0px #e3e5ea;\n border-radius: 4px;\n border: 1px solid #e3e5ea;\n cursor: pointer;\n margin: 0 10px 10px 0;\n}\n.citem .icon[data-v-8cdd3e2c] {\n width: 50px;\n height: 50px;\n float: left;\n}\n.citem span[data-v-8cdd3e2c] {\n line-height: 50px;\n float: left;\n margin-left: 20px;\n}\n",""])},iwrV:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a=e("Xxa5"),i=e.n(a),o=e("exGp"),r=e.n(o),c=e("Dd8w"),s=e.n(c),p=e("NYxO"),d={data:function(){return{}},computed:s()({},Object(p.b)(["baseApps","sceneApps","auth_tree"]),{apps:function(){var t=this,n=[];return this.$store.state.product.riskControlApps.forEach(function(e){e.show&&(e.hasAuth&&t.auth_tree[e.serviceId]||!e.hasAuth)&&(e.icon&&-1!==e.icon.indexOf("avatar")&&(e.imageUrl="/cwos-portal/portal/fileManager/imgByPath?path="+e.icon),n.push(e))}),n}}),created:function(){this.getApps()},methods:{getApps:function(){this.$store.dispatch("FetchApps")},go:function(t){var n=this;return r()(i.a.mark(function e(){var a;return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:a=t.path,t.addCorpCode&&(a=t.path+"?code="+n.$store.getters.userInfo.encodedCorpCode),n.$store.dispatch("goProductByPath",a);case 3:case"end":return e.stop()}},e,n)}))()}},components:{}},l={render:function(){var t=this,n=t.$createElement,a=t._self._c||n;return a("div",{staticClass:"app-container"},[t.apps.length?a("el-card",{staticStyle:{"margin-top":"20px"}},t._l(t.apps,function(n,e){return a("div",{key:e,staticClass:"citem",on:{click:function(e){return t.go(n)}}},[[n.icon&&-1!==n.icon.indexOf("avatar")?a("img",{staticStyle:{float:"left",width:"50px",height:"50px"},attrs:{src:n.imageUrl,alt:""}}):a("svg-icon",{staticClass:"icon",attrs:{"icon-class":n.icon?n.icon:"icon_default"}})],t._v(" "),a("span",[t._v(t._s(n.text))])],2)}),0):a("div",{staticClass:"app_black"},[a("img",{attrs:{src:e("gIXt"),alt:""}}),t._v(" "),a("p",[t._v("无AI应用上架")])])],1)},staticRenderFns:[]};var h=e("VU/8")(d,l,!1,function(t){e("ELtZ")},"data-v-8cdd3e2c",null);n.default=h.exports}});