12 |
- (function(){var e={36890:function(e,t,n){"use strict";var o=n(44161);n(95410);function a(e,t){return new Promise(((n,a)=>{o.Z.post(e,t).then((e=>{n(e)}),(e=>{a(e)})).catch((e=>{a(e)}))}))}function r(e,t){return new Promise(((n,a)=>{o.Z.get(e,{params:t}).then((e=>{n(e)}),(e=>{a(e)})).catch((e=>{a(e)}))}))}o.Z.defaults.timeout=3e4,o.Z.defaults.headers.post["Content-Type"]="application/x-www-form-urlencoded",o.Z.interceptors.response.use((e=>{if(0==e.data.status){let t=e.data.token;sessionStorage.setItem("assess_token",t)}return e}),(e=>Promise.reject(e))),t["Z"]={get:r,post:a}},26125:function(e,t,n){"use strict";var o=n(36369),a=n(63822),r=n(36890);o["default"].use(a.ZP);const i=new a.ZP.Store({state:{isLogin:!1,luyou:1,userInfo:{userid:"",username:"",type:2},Notify:[],NotifyDig:!1,systemState:1,nCount:0,report:"",api:"http://10.16.30.130:7003/api"},mutations:{update(e,[t,n]){e[t]=n},getPlanEndProjectData(e){console.log("获取信息"),r.Z.get(e.api+"/SelectProjectEndData",{uid:e.userInfo.userid}).then((t=>{e.Notify=t["data"][0],e.Notify.length>0&&(e.NotifyDig=!0),console.log(t["data"][0])})).catch((e=>{console.log(e)}))}}});t["Z"]=i},59160:function(e,t,n){"use strict";var o=n(36369),a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"page core_dialogue"},[e.$route.meta.isAuth?t("el-header",[t("img",{attrs:{src:n(99026),alt:""}}),t("div",{staticClass:"homeExitContent"},[t("div",{staticClass:"Notify",on:{click:function(t){return e.$store.commit("update",["NotifyDig",!0])}}},[t("el-badge",{staticClass:"item",attrs:{"is-dot":e.$store.state.Notify.length>0}},[t("span",{staticClass:"el-icon-s-opportunity"})])],1),t("div",[e._v("你好,"+e._s(e.$store.state.userInfo))]),t("div",{staticClass:"homeExit",on:{click:e.homeExit}},[e._v("退出")])])]):e._e(),t("router-view"),t("el-dialog",{staticClass:"pageSubmitData",attrs:{title:"计划完成项目时间提醒",visible:e.$store.state.NotifyDig,width:"60%"},on:{"update:visible":function(t){return e.$set(e.$store.state,"NotifyDig",t)}}},[t("div",{staticStyle:{width:"100%"}},[t("el-table",{ref:"multipleTable",staticClass:"fontSize",attrs:{data:e.$store.state.Notify,"tooltip-effect":"dark",width:"100%",stripe:"","header-cell-style":{background:"#f2f2f2",color:"#000"}}},[t("el-table-column",{attrs:{prop:"ProjectNo",label:"项目编号",align:"center"}}),t("el-table-column",{attrs:{prop:"title",label:"项目名称",align:"center"}}),t("el-table-column",{attrs:{prop:"name",label:"分类",align:"center"}}),t("el-table-column",{attrs:{prop:"time",label:"计划完成时间",align:"center"}}),t("el-table-column",{attrs:{prop:"Remaining",label:"距离完结时间",align:"center"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("div",[e._v(" "+e._s(n.row.Remaining<0?"已超时":n.row.Remaining+"天")+" ")])]}}])})],1)],1),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{staticClass:"AllDialogBtn",on:{click:function(t){return e.$store.commit("update",["NotifyDig",!1])}}},[e._v("关闭")])],1)])],1)},r=[],i={data(){return{}},methods:{homeExit(){window.location.href="http://10.16.30.130/sso/caslogout.jsp"},CleanStorage(){sessionStorage.clear()}},mounted(){window.addEventListener("beforeunload",this.CleanStorage())},beforeDestroy(){window.removeEventListener("beforeunload",this.CleanStorage())}},c=i,s=n(1001),u=(0,s.Z)(c,a,r,!1,null,null,null),l=u.exports,m=(n(57658),n(72631)),p=n(26125);o["default"].use(m.ZP);const d=m.ZP.prototype.push;m.ZP.prototype.push=function(e){return d.call(this,e).catch((e=>e))};const f=[{path:"/",redirect:"/projectApplication"},{name:"login",path:"/login",component:()=>n.e(443).then(n.bind(n,62443)),meta:{isAuth:!1,checkPower:!0}},{name:"resultShowDetail",path:"/resultShowDetail",component:()=>Promise.all([n.e(245),n.e(688)]).then(n.bind(n,78688)),meta:{isAuth:!0,checkPower:!1}},{name:"test",path:"/test",component:()=>Promise.all([n.e(716),n.e(970),n.e(932),n.e(973),n.e(12),n.e(770)]).then(n.bind(n,53600)),meta:{isAuth:!0,checkPower:!0}},{name:"Word",path:"/Word",component:()=>Promise.all([n.e(716),n.e(973),n.e(12),n.e(549)]).then(n.bind(n,30449)),meta:{isAuth:!0,checkPower:!0}},{name:"CloseWeb",path:"/CloseWeb",component:()=>n.e(42).then(n.bind(n,43042)),meta:{isAuth:!0,checkPower:!1}},{name:"home",path:"/home",component:()=>n.e(768).then(n.bind(n,1768)),meta:{isAuth:!0,checkPower:!1},children:[{name:"makerActvity",path:"/makerActvity",component:()=>Promise.all([n.e(716),n.e(970),n.e(932),n.e(142)]).then(n.bind(n,74374)),meta:{isAuth:!0,checkPower:!1}},{name:"makerActivityWordDetail",path:"/makerActvityWordDetail",component:()=>Promise.all([n.e(970),n.e(932),n.e(3),n.e(718),n.e(355),n.e(964)]).then(n.bind(n,33263)),meta:{isAuth:!0,checkPower:!1}},{name:"projectApplication",path:"/projectApplication",component:()=>n.e(734).then(n.bind(n,88734)),meta:{isAuth:!0,checkPower:!1}},{name:"newStudentProjectApply",path:"/newStudentProjectApply",component:()=>Promise.all([n.e(481),n.e(328)]).then(n.bind(n,85645)),meta:{isAuth:!0,checkPower:!1}},{name:"newMarkerActivity",path:"/newMarkerActivity",component:()=>Promise.all([n.e(718),n.e(528)]).then(n.bind(n,33206)),meta:{isAuth:!0,checkPower:!1}},{name:"newNomMarkerActivity",path:"/newNomMarkerActivity",component:()=>Promise.all([n.e(355),n.e(763)]).then(n.bind(n,18548)),meta:{isAuth:!0,checkPower:!1}},{name:"projectApplicationDetailMain",path:"/projectApplicationDetailMain",component:()=>Promise.all([n.e(970),n.e(932),n.e(3),n.e(481),n.e(632),n.e(884)]).then(n.bind(n,32339)),meta:{isAuth:!0,checkPower:!1}},{name:"firm",path:"/firm",component:()=>Promise.all([n.e(716),n.e(779),n.e(164)]).then(n.bind(n,49488)),meta:{isAuth:!0,checkPower:!0}},{name:"makerfund",path:"/makerfund",component:()=>n.e(791).then(n.bind(n,14791)),meta:{isAuth:!0,checkPower:!1}},{name:"newMarkerfundApply",path:"/newMarkerfundApply",component:()=>Promise.all([n.e(716),n.e(970),n.e(973),n.e(957)]).then(n.bind(n,25537)),meta:{isAuth:!0,checkPower:!1}},{name:"newNomMarkerFundApply",path:"/newNomMarkerFundApply",component:()=>Promise.all([n.e(716),n.e(970),n.e(973),n.e(854)]).then(n.bind(n,3056)),meta:{isAuth:!0,checkPower:!1}},{name:"makerfundDetails",path:"/makerfundDetails",component:()=>Promise.all([n.e(716),n.e(970),n.e(973),n.e(128)]).then(n.bind(n,29968)),meta:{isAuth:!0,checkPower:!1}},{name:"messageNotification",path:"/messageNotification",component:()=>Promise.all([n.e(245),n.e(197)]).then(n.bind(n,3197)),meta:{isAuth:!0,checkPower:!1}},{name:"ProjectManagement",path:"/ProjectManagement",component:()=>Promise.all([n.e(716),n.e(462)]).then(n.bind(n,60689)),meta:{isAuth:!0,checkPower:!0}},{name:"ProjectManagementMain",path:"/ProjectManagementMain",component:()=>Promise.all([n.e(716),n.e(970),n.e(932),n.e(3),n.e(13)]).then(n.bind(n,74520)),meta:{isAuth:!0,checkPower:!0}},{name:"ProjectManagementFundDetail",path:"/ProjectManagementFundDetail",component:()=>n.e(894).then(n.bind(n,70894)),meta:{isAuth:!0,checkPower:!0}},{name:"projectSettlement",path:"/projectSettlement",component:()=>n.e(675).then(n.bind(n,64675)),meta:{isAuth:!0,checkPower:!0}},{name:"projectSettlementDetailMain",path:"/projectSettlementDetailMain",component:()=>Promise.all([n.e(716),n.e(3),n.e(29)]).then(n.bind(n,59937)),meta:{isAuth:!0,checkPower:!0}},{name:"resultsShow",path:"/resultsShow",component:()=>n.e(582).then(n.bind(n,74582)),meta:{isAuth:!0,checkPower:!0}},{name:"echarts",path:"/echarts",component:()=>n.e(652).then(n.bind(n,8652)),meta:{isAuth:!0,checkPower:!0}},{name:"/MakerSpaceApply",path:"/MakerSpaceApply",component:()=>Promise.all([n.e(632),n.e(982)]).then(n.bind(n,76066)),meta:{isAuth:!0,checkPower:!1}},{name:"system",path:"/system",component:()=>n.e(302).then(n.bind(n,70302)),meta:{isAuth:!0,checkPower:!0}},{name:"commission",path:"/commission",component:()=>n.e(774).then(n.bind(n,45774)),meta:{isAuth:!0,checkPower:!0}},{name:"commissionDetailMain",path:"/commissionDetailMain",component:()=>Promise.all([n.e(970),n.e(932),n.e(803)]).then(n.bind(n,26746)),meta:{isAuth:!0,checkPower:!0}}]}],h=new m.ZP({mode:"history",base:"/",routes:f});h.beforeEach(((e,t,n)=>{e.meta.checkPower?0==p.Z.state.userInfo.type?n():h.push("/projectApplication"):n()}));var b=h,g=n(8499),w=n.n(g);o["default"].use(w());var y=n(36890),v=n(50680);const P="vue_admin_template_token";function k(){return v.Z.get(P)}function A(e){return v.Z.set(P,e)}function j(e){if(p.Z.state.isLogin)return e(!0);y.Z.post(p.Z.state.api+"/userLogin",{id:k()}).then((t=>{"ERROR"!=t["data"]?(p.Z.commit("update",["userInfo",t["data"]]),p.Z.commit("update",["isLogin",!0]),e(!1)):console.error("错误")})).catch((e=>{console.log(e)}))}function S(e,t){y.Z.get(p.Z.state.api+"/getSystemState",{uid:p.Z.state.userInfo.userid}).then((n=>{let o=n["data"][0][0]["state"];return p.Z.commit("update",["systemState",o]),0!=o&&0!=p.Z.state.userInfo.type&&"CloseWeb"!=e.name?b.push("/CloseWeb"):0==o&&"CloseWeb"==e.name?b.push("/projectApplication"):void t(o)})).catch((e=>{console.log(e)}))}b.beforeEach((async(e,t,n)=>{try{const t=await y.Z.get("http://10.16.30.130/sso/api");console.log(t);let o=t.data.replaceAll("'",'"');o&&JSON.parse(o).uid?(A(JSON.parse(o).uid),j((t=>{S(e,(()=>{t||"resultShowDetail"==e.name||p.Z.commit("getPlanEndProjectData"),n()}))}))):window.location.href="http://10.16.30.130/sso/caslogin.jsp"}catch{window.location.href="http://10.16.30.130/sso/caslogin.jsp"}})),o["default"].prototype.ajax=y.Z,o["default"].config.productionTip=!1,new o["default"]({router:b,store:p.Z,render:e=>e(l)}).$mount("#app")},99026:function(e,t,n){"use strict";e.exports=n.p+"img/sclogo4.9056feca.png"},24654:function(){}},t={};function n(o){var a=t[o];if(void 0!==a)return a.exports;var r=t[o]={id:o,loaded:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}n.m=e,function(){n.amdO={}}(),function(){var e=[];n.O=function(t,o,a,r){if(!o){var i=1/0;for(l=0;l<e.length;l++){o=e[l][0],a=e[l][1],r=e[l][2];for(var c=!0,s=0;s<o.length;s++)(!1&r||i>=r)&&Object.keys(n.O).every((function(e){return n.O[e](o[s])}))?o.splice(s--,1):(c=!1,r<i&&(i=r));if(c){e.splice(l--,1);var u=a();void 0!==u&&(t=u)}}return t}r=r||0;for(var l=e.length;l>0&&e[l-1][2]>r;l--)e[l]=e[l-1];e[l]=[o,a,r]}}(),function(){n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t}}(),function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};n.t=function(o,a){if(1&a&&(o=this(o)),8&a)return o;if("object"===typeof o&&o){if(4&a&&o.__esModule)return o;if(16&a&&"function"===typeof o.then)return o}var r=Object.create(null);n.r(r);var i={};e=e||[null,t({}),t([]),t(t)];for(var c=2&a&&o;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((function(e){i[e]=function(){return o[e]}}));return i["default"]=function(){return o},n.d(r,i),r}}(),function(){n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}}(),function(){n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,o){return n.f[o](e,t),t}),[]))}}(),function(){n.u=function(e){return"js/"+e+"."+{3:"7ececa7b",12:"1248dba9",13:"d961ad3e",29:"4b575a88",42:"3dd80ba8",128:"007b4906",142:"20a28dbc",164:"db379a83",197:"534b946b",245:"1731ae5e",297:"6f7636f0",302:"c81f19f4",328:"4b729b04",355:"4611cbed",443:"b09251ab",462:"4475d6d3",481:"c4908ba3",528:"5a9722b6",549:"f5198bb5",582:"c04d5bc6",617:"48cb9f28",632:"b0695e5e",652:"3c31656e",675:"7f5e30ff",688:"0ed3b573",716:"f514e43f",718:"76ccbff3",734:"34d89d57",763:"4348a7f4",768:"1adc9e3e",770:"505c29cc",774:"b65d3321",779:"c9676d80",791:"7e231570",803:"17eb658e",854:"b2290af5",884:"5e1528df",894:"e43399ae",932:"7128dfe6",957:"70069245",964:"515e414d",970:"e60f892c",973:"c2070a2e",982:"0aea5c45"}[e]+".js"}}(),function(){n.miniCssF=function(e){return"css/"+e+"."+{13:"06781c16",29:"2be9a82a",42:"eaebfc13",128:"5e3479ae",142:"69b27c3d",164:"156aea74",197:"a570de87",302:"1c7db267",328:"a0ad4f5d",443:"ded7155e",462:"e6a8a9f9",528:"f9ae63c7",549:"4ca70753",582:"4f034e44",652:"5f070657",675:"17d7f0dc",688:"2ca453f2",734:"4f034e44",763:"97ef3372",768:"7c943431",770:"5b6cc4b6",774:"4f034e44",791:"42a0e45c",803:"ba23a9d3",854:"e859731d",884:"32cdb9d5",894:"90ad958e",957:"bd63e2bd",964:"e4582644",982:"726a72e4"}[e]+".css"}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="scproject:";n.l=function(o,a,r,i){if(e[o])e[o].push(a);else{var c,s;if(void 0!==r)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var m=u[l];if(m.getAttribute("src")==o||m.getAttribute("data-webpack")==t+r){c=m;break}}c||(s=!0,c=document.createElement("script"),c.charset="utf-8",c.timeout=120,n.nc&&c.setAttribute("nonce",n.nc),c.setAttribute("data-webpack",t+r),c.src=o),e[o]=[a];var p=function(t,n){c.onerror=c.onload=null,clearTimeout(d);var a=e[o];if(delete e[o],c.parentNode&&c.parentNode.removeChild(c),a&&a.forEach((function(e){return e(n)})),t)return t(n)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=p.bind(null,c.onerror),c.onload=p.bind(null,c.onload),s&&document.head.appendChild(c)}}}(),function(){n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e}}(),function(){n.p="/"}(),function(){if("undefined"!==typeof document){var e=function(e,t,n,o,a){var r=document.createElement("link");r.rel="stylesheet",r.type="text/css";var i=function(n){if(r.onerror=r.onload=null,"load"===n.type)o();else{var i=n&&("load"===n.type?"missing":n.type),c=n&&n.target&&n.target.href||t,s=new Error("Loading CSS chunk "+e+" failed.\n("+c+")");s.code="CSS_CHUNK_LOAD_FAILED",s.type=i,s.request=c,r.parentNode.removeChild(r),a(s)}};return r.onerror=r.onload=i,r.href=t,n?n.parentNode.insertBefore(r,n.nextSibling):document.head.appendChild(r),r},t=function(e,t){for(var n=document.getElementsByTagName("link"),o=0;o<n.length;o++){var a=n[o],r=a.getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(r===e||r===t))return a}var i=document.getElementsByTagName("style");for(o=0;o<i.length;o++){a=i[o],r=a.getAttribute("data-href");if(r===e||r===t)return a}},o=function(o){return new Promise((function(a,r){var i=n.miniCssF(o),c=n.p+i;if(t(i,c))return a();e(o,c,null,a,r)}))},a={143:0};n.f.miniCss=function(e,t){var n={13:1,29:1,42:1,128:1,142:1,164:1,197:1,302:1,328:1,443:1,462:1,528:1,549:1,582:1,652:1,675:1,688:1,734:1,763:1,768:1,770:1,774:1,791:1,803:1,854:1,884:1,894:1,957:1,964:1,982:1};a[e]?t.push(a[e]):0!==a[e]&&n[e]&&t.push(a[e]=o(e).then((function(){a[e]=0}),(function(t){throw delete a[e],t})))}}}(),function(){var e={143:0};n.f.j=function(t,o){var a=n.o(e,t)?e[t]:void 0;if(0!==a)if(a)o.push(a[2]);else{var r=new Promise((function(n,o){a=e[t]=[n,o]}));o.push(a[2]=r);var i=n.p+n.u(t),c=new Error,s=function(o){if(n.o(e,t)&&(a=e[t],0!==a&&(e[t]=void 0),a)){var r=o&&("load"===o.type?"missing":o.type),i=o&&o.target&&o.target.src;c.message="Loading chunk "+t+" failed.\n("+r+": "+i+")",c.name="ChunkLoadError",c.type=r,c.request=i,a[1](c)}};n.l(i,s,"chunk-"+t,t)}},n.O.j=function(t){return 0===e[t]};var t=function(t,o){var a,r,i=o[0],c=o[1],s=o[2],u=0;if(i.some((function(t){return 0!==e[t]}))){for(a in c)n.o(c,a)&&(n.m[a]=c[a]);if(s)var l=s(n)}for(t&&t(o);u<i.length;u++)r=i[u],n.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return n.O(l)},o=self["webpackChunkscproject"]=self["webpackChunkscproject"]||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))}();var o=n.O(void 0,[998],(function(){return n(59160)}));o=n.O(o)})();
- //# sourceMappingURL=app.ea8b3b5c.js.map
|