index.js 7.3 KB

1
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/index"],{"3fac":function(e,t,s){"use strict";s.r(t);var a=s("bd85"),n=s.n(a);for(var i in a)["default"].indexOf(i)<0&&function(e){s.d(t,e,(function(){return a[e]}))}(i);t["default"]=n.a},"49ee":function(e,t,s){"use strict";s.d(t,"b",(function(){return a})),s.d(t,"c",(function(){return n})),s.d(t,"a",(function(){}));var a=function(){var e=this.$createElement;this._self._c},n=[]},"51d6":function(e,t,s){"use strict";(function(e,t){var a=s("4ea4");s("eaf5"),s("4a2a");a(s("66fd"));var n=a(s("82cf"));e.__webpack_require_UNI_MP_PLUGIN__=s,t(n.default)}).call(this,s("bc2e")["default"],s("543d")["createPage"])},"82cf":function(e,t,s){"use strict";s.r(t);var a=s("49ee"),n=s("3fac");for(var i in n)["default"].indexOf(i)<0&&function(e){s.d(t,e,(function(){return n[e]}))}(i);s("e957");var c=s("f0c5"),r=Object(c["a"])(n["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);t["default"]=r.exports},"9d55":function(e,t,s){},bd85:function(e,t,s){"use strict";(function(e){var a=s("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(s("2eee")),i=a(s("c973")),c=s("2679"),r={data:function(){return{mapList:[{label:"智慧党建",url:"https://hswkxc.idea-sf.com/fileService/static/slices/1@2x.png",path:"/pages/subPackages/buildmap/index"},{label:"企业库",url:"https://hswkxc.idea-sf.com/fileService/static/slices/2@2x.png",path:"/pages/subPackages/companyHouse/companyHouse"},{label:"企业查看",url:"https://hswkxc.idea-sf.com/fileService/static/slices/2@2x.png",path:"/pages/subPackages/companyHouseSee/companyHouseSee"},{label:"招商管理",url:"https://hswkxc.idea-sf.com/fileService/static/slices/5@2x.png",path:"/pages/subPackages/merchants/merchants"},{label:"我的待办",url:"https://hswkxc.idea-sf.com/fileService/static/slices/7@2x.png",path:"/pages/subPackages/todo/index"},{label:"我的待阅",url:"https://hswkxc.idea-sf.com/fileService/static/slices/6@2x.png",path:"/pages/subPackages/toread/index"},{label:"安全管理自检",url:"https://hswkxc.idea-sf.com/fileService/static/slices/8@2x.png",path:"/pages/subPackages/secureselftest2/index"},{label:"安全管理统计",url:"https://hswkxc.idea-sf.com/fileService/static/slices/8@2x.png",path:"/pages/subPackages/secureselftest/index"},{label:"安全自检计划",url:"https://hswkxc.idea-sf.com/fileService/static/slices/9@2x.png",path:"/pages/subPackages/secureselfplan/index"},{label:"政企服务",url:"https://hswkxc.idea-sf.com/fileService/static/slices/11@2x.png",path:"/pages/subPackages/repairDispatch-app/index"},{label:"服务确认",url:"https://hswkxc.idea-sf.com/fileService/static/slices/11@2x.png",path:"/pages/subPackages/serve-confirm/index"},{label:"服务处理",url:"https://hswkxc.idea-sf.com/fileService/static/slices/10@2x.png",path:"/pages/subPackages/repairprocessing-app/index"},{label:"案卷填报",url:"https://hswkxc.idea-sf.com/fileService/static/slices/15@2x.png",path:"/pages/subPackages/modifyReport/index"},{label:"案卷派单",url:"https://hswkxc.idea-sf.com/fileService/static/slices/14@2x.png",path:"/pages/subPackages/modifySend/index"},{label:"案卷处理",url:"https://hswkxc.idea-sf.com/fileService/static/slices/13@2x.png",path:"/pages/subPackages/modifyHandle/index"},{label:"可视化大屏",url:"https://hswkxc.idea-sf.com/fileService/static/slices/1@2x.png",path:"/pages/subPackages/bigscreen/bigscreen"},{label:"场馆审核",url:"https://hswkxc.idea-sf.com/fileService/static/slices/1@2x.png",path:"/pages/subPackages/venueRoom/meetingroom"},{label:"园区活动",url:"https://hswkxc.idea-sf.com/fileService/static/slices/1@2x.png",path:"/pages/subPackages/parkActivities/index"},{label:"通知公告",url:"https://hswkxc.idea-sf.com/fileService/static/slices/1@2x.png",path:"/pages/subPackages/announcement/index"}],MeetingNum:0,VenueNum:0,ReadSize:0,handleListNumber:0,zqfwNum:0,fwqrNum:0,fwclNum:0}},onShareAppMessage:function(){},mounted:function(){},onLoad:function(){this.getUserPower()},onShow:function(){this.getVenueAppointListAppCount(),this.getMeetingAppointListAppCount(),this.getReadSize(),this.handleListNum(),this.dispatchListNum(),this.confirmListNum(),this.handleListNum1()},methods:{dispatchListNum:function(){var e=this;return(0,i.default)(n.default.mark((function t(){var s;return n.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,c.dispatchListNum)();case 2:s=t.sent,console.log("政企服务",s),e.zqfwNum=s;case 5:case"end":return t.stop()}}),t)})))()},confirmListNum:function(){var e=this;return(0,i.default)(n.default.mark((function t(){var s;return n.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,c.confirmListNum)({userId:(0,c.getUserLocalStorageInfo)().user.id});case 2:s=t.sent,console.log("服务确认",s),e.fwqrNum=s;case 5:case"end":return t.stop()}}),t)})))()},handleListNum1:function(){var e=this;return(0,i.default)(n.default.mark((function t(){var s;return n.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,c.handleListNum1)({handleUserId:(0,c.getUserLocalStorageInfo)().user.id});case 2:s=t.sent,console.log("服务处理",s),e.fwclNum=s;case 5:case"end":return t.stop()}}),t)})))()},handleListNum:function(){var e=this;return(0,i.default)(n.default.mark((function t(){var s;return n.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,c.handleListNum)({types:"8,9,10,11",userId:(0,c.getUserLocalStorageInfo)().user.id});case 2:s=t.sent,e.handleListNumber=s.data,console.log("handleListNum",s);case 5:case"end":return t.stop()}}),t)})))()},getReadSize:function(){var e=this;return(0,i.default)(n.default.mark((function t(){var s;return n.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,c.getReadSize)({userId:(0,c.getUserLocalStorageInfo)().user.id});case 2:s=t.sent,e.ReadSize=s.data,console.log(s);case 5:case"end":return t.stop()}}),t)})))()},getVenueAppointListAppCount:function(){var e=this;return(0,i.default)(n.default.mark((function t(){var s;return n.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,c.getVenueAppointListAppCount)();case 2:s=t.sent,e.VenueNum=s.data,console.log(s);case 5:case"end":return t.stop()}}),t)})))()},getMeetingAppointListAppCount:function(){var e=this;return(0,i.default)(n.default.mark((function t(){var s;return n.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,c.getMeetingAppointListAppCount)();case 2:s=t.sent,e.MeetingNum=s.data,console.log(s);case 5:case"end":return t.stop()}}),t)})))()},getUserPower:function(){var e=this;return(0,i.default)(n.default.mark((function t(){var s,a,i,r,u,l;return n.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(1!=(0,c.getUserLocalStorageInfo)().user.id){t.next=2;break}return t.abrupt("return");case 2:return s=e,a=[],t.next=6,(0,c.getUserPower)((0,c.getUserLocalStorageInfo)().user.id);case 6:for(i=t.sent,r=i.data,u=function(e){var t=r.findIndex((function(t){return t==s.mapList[e].label}));-1!=t&&a.push(s.mapList[e])},l=0;l<s.mapList.length;l++)u(l);s.mapList=a;case 11:case"end":return t.stop()}}),t)})))()},jumpPage:function(t){e.navigateTo({url:t,fail:function(e){}})}}};t.default=r}).call(this,s("543d")["default"])},e957:function(e,t,s){"use strict";var a=s("9d55"),n=s.n(a);n.a}},[["51d6","common/runtime","common/vendor"]]]);