app.cea85de4.js 16 KB

12
  1. (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:"https://cxcy.ssti.net.cn/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},76428: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.username))]),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+"天")+" ")])]}}])}),t("el-table-column",{attrs:{prop:"operation",align:"center",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.lookDetail(n.row,n.row.courseId,n.row.typeid)}}},[e._v("查看")])]}}])})],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=(n(57658),{data(){return{}},methods:{homeExit(){window.location.href="http://10.16.30.130/sso/caslogout.jsp"},CleanStorage(){sessionStorage.clear()},lookDetail(e,t,n){this.$store.commit("update",["NotifyDig",!1]),this.$router.push(`/projectApplicationDetailMain?tid=${n}&pid=${t}`)}},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,d=n(8499),f=n.n(d),p=n(72631),m=n(26125);o["default"].use(p.ZP);const h=p.ZP.prototype.push;p.ZP.prototype.push=function(e){return h.call(this,e).catch((e=>e))};const b=[{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(785)]).then(n.bind(n,73785)),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(331)]).then(n.bind(n,18188)),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(946).then(n.bind(n,85946)),meta:{isAuth:!0,checkPower:!1},children:[{name:"makerActvity",path:"/makerActvity",component:()=>Promise.all([n.e(716),n.e(970),n.e(932),n.e(501)]).then(n.bind(n,28508)),meta:{isAuth:!0,checkPower:!1}},{name:"makerActivityWordDetail",path:"/makerActvityWordDetail",component:()=>Promise.all([n.e(970),n.e(932),n.e(3),n.e(523),n.e(355),n.e(299)]).then(n.bind(n,33263)),meta:{isAuth:!0,checkPower:!1}},{name:"projectApplication",path:"/projectApplication",component:()=>n.e(802).then(n.bind(n,16802)),meta:{isAuth:!0,checkPower:!1}},{name:"newStudentProjectApply",path:"/newStudentProjectApply",component:()=>Promise.all([n.e(620),n.e(90)]).then(n.bind(n,7232)),meta:{isAuth:!0,checkPower:!1}},{name:"newMarkerActivity",path:"/newMarkerActivity",component:()=>Promise.all([n.e(523),n.e(178)]).then(n.bind(n,28617)),meta:{isAuth:!0,checkPower:!1}},{name:"newNomMarkerActivity",path:"/newNomMarkerActivity",component:()=>Promise.all([n.e(355),n.e(37)]).then(n.bind(n,87324)),meta:{isAuth:!0,checkPower:!1}},{name:"projectApplicationDetailMain",path:"/projectApplicationDetailMain",component:()=>Promise.all([n.e(970),n.e(932),n.e(3),n.e(620),n.e(627),n.e(304)]).then(n.bind(n,41082)),meta:{isAuth:!0,checkPower:!1}},{name:"firm",path:"/firm",component:()=>Promise.all([n.e(716),n.e(779),n.e(337)]).then(n.bind(n,99740)),meta:{isAuth:!0,checkPower:!0}},{name:"makerfund",path:"/makerfund",component:()=>n.e(25).then(n.bind(n,83025)),meta:{isAuth:!0,checkPower:!1}},{name:"newMarkerfundApply",path:"/newMarkerfundApply",component:()=>Promise.all([n.e(716),n.e(970),n.e(973),n.e(904)]).then(n.bind(n,43698)),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(19)]).then(n.bind(n,48020)),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(939)]).then(n.bind(n,2713)),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(799)]).then(n.bind(n,58550)),meta:{isAuth:!0,checkPower:!0}},{name:"ProjectManagementFundDetail",path:"/ProjectManagementFundDetail",component:()=>n.e(921).then(n.bind(n,96921)),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(709)]).then(n.bind(n,99293)),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(837).then(n.bind(n,14837)),meta:{isAuth:!0,checkPower:!0}},{name:"/MakerSpaceApply",path:"/MakerSpaceApply",component:()=>Promise.all([n.e(627),n.e(533)]).then(n.bind(n,16280)),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(0).then(n.bind(n,54e3)),meta:{isAuth:!0,checkPower:!0}},{name:"commissionDetailMain",path:"/commissionDetailMain",component:()=>Promise.all([n.e(970),n.e(932),n.e(639)]).then(n.bind(n,465)),meta:{isAuth:!0,checkPower:!0}}]}],g=new p.ZP({mode:"history",base:"/",routes:b});g.beforeEach(((e,t,n)=>{n()}));var y=g;o["default"].use(f());var w=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(m.Z.state.isLogin)return e(!0);w.Z.post(m.Z.state.api+"/userLogin",{id:k()}).then((t=>{"ERROR"!=t["data"]?(m.Z.commit("update",["userInfo",t["data"]]),m.Z.commit("update",["isLogin",!0]),e(!1)):console.error("错误")})).catch((e=>{console.log(e)}))}function S(e,t){w.Z.get(m.Z.state.api+"/getSystemState",{uid:m.Z.state.userInfo.userid}).then((n=>{let o=n["data"][0][0]["state"];return m.Z.commit("update",["systemState",o]),0!=o&&0!=m.Z.state.userInfo.type&&"CloseWeb"!=e.name?y.push("/CloseWeb"):0==o&&"CloseWeb"==e.name?y.push("/home"):void t(o)})).catch((e=>{console.log(e)}))}y.beforeEach((async(e,t,n)=>{try{const t=await w.Z.get("https://cxcy.ssti.net.cn/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||m.Z.commit("getPlanEndProjectData"),n()}))}))):window.location.href="https://cxcy.ssti.net.cn/sso/caslogin.jsp"}catch{window.location.href="https://cxcy.ssti.net.cn/sso/caslogin.jsp"}}));var C=n(24862),D=n.n(C);o["default"].prototype.ajax=w.Z,o["default"].use(D()),o["default"].config.productionTip=!1,o["default"].prototype.$loading=d.Loading,o["default"].prototype.openLoading=function(e){const t=this.$loading.service({lock:!0,background:"rgba(255, 255, 255, 0.7)",target:e||document.body,body:!0});return t},new o["default"]({router:y,store:m.Z,render:e=>e(l)}).$mount("#app")},99026:function(e,t,n){"use strict";e.exports=n.p+"img/sclogo4.9056feca.png"},24654:function(){},90331: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+"."+{0:"5a887cd2",3:"949b75fd",12:"1248dba9",19:"ddf0c45e",25:"a3d5a66f",37:"5c96d00e",42:"3dd80ba8",90:"494e0fb3",178:"f6a6b7de",197:"534b946b",245:"1731ae5e",297:"6f7636f0",299:"f9e0eff0",302:"c81f19f4",304:"0a8d50a4",331:"504c4a8d",337:"66101aa9",355:"4611cbed",404:"b94fef6a",443:"b09251ab",501:"3e3557b4",523:"3eed3fe3",533:"d36da68a",549:"f5198bb5",582:"c04d5bc6",617:"48cb9f28",620:"c3b28f69",627:"74db4278",639:"89034f5c",675:"7f5e30ff",709:"9328c1bc",716:"f514e43f",779:"c9676d80",785:"57686368",799:"eee1d474",802:"83437ccc",837:"7805deb8",854:"16e044b2",904:"fad4eb77",921:"56426edc",932:"7128dfe6",939:"dd167d7e",946:"ca6bb6ba",970:"e60f892c",973:"c2070a2e"}[e]+".js"}}(),function(){n.miniCssF=function(e){return"css/"+e+"."+{0:"4f034e44",19:"1d76bf47",25:"533ba243",37:"72a54e50",42:"eaebfc13",90:"304cd07c",178:"afd2c006",197:"a570de87",299:"1398f48d",302:"1c7db267",304:"dae44ff7",331:"25e2c5e3",337:"1d1f4262",443:"ded7155e",501:"5a864511",533:"a478a8d4",549:"4ca70753",582:"4f034e44",639:"63cc2bf8",675:"17d7f0dc",709:"efdc0914",785:"727f942a",799:"c4048a8c",802:"7a9062cd",837:"5f070657",854:"e859731d",904:"77df28e4",921:"90ad958e",939:"97e61cd7",946:"dc8ba039"}[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 d=u[l];if(d.getAttribute("src")==o||d.getAttribute("data-webpack")==t+r){c=d;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 f=function(t,n){c.onerror=c.onload=null,clearTimeout(p);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)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=f.bind(null,c.onerror),c.onload=f.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={0:1,19:1,25:1,37:1,42:1,90:1,178:1,197:1,299:1,302:1,304:1,331:1,337:1,443:1,501:1,533:1,549:1,582:1,639:1,675:1,709:1,785:1,799:1,802:1,837:1,854:1,904:1,921:1,939:1,946: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(76428)}));o=n.O(o)})();
  2. //# sourceMappingURL=app.cea85de4.js.map