(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0114244c"],{"0554":function(t,n,i){"use strict";var o=i("704d"),e=i.n(o);e.a},"46b2":function(t,n){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAABGCAYAAABxLuKEAAAAAXNSR0IArs4c6QAADwBJREFUeF7NXAmMXVUZ/s99b6bT6cIUpi0QERRsQSIhijYajaDIJiguUDBGFEUslbJoIYLQQQQF1NJCSwnBxqSBUiyrCFSgLAJTrKGQqBEUZRuwHZgp09necn/zn+3+59xzl5nSMC9NOnPfvfed853v+/7l3HkCSryOXY6Touro0SKqHoUxHgYAH0SA3QGggiAAUP6TLzQ/sJ/99+Tv+qD52Z6j37O34ff2ryv4PABoAsLbCPASAmwWCBt6J1ce/NciMVo0bZF3wolL+zri9qnnAMAPEaHTjisTCHW7oska8FIA+WBy8EqCzj+f4WgXDAF6BeKKkeEd127pmtGfNf9MYL58U2O+QFyGALNLMcIBiwEUmGyQDeMFwbvOGWsewxD+BwLO6b6gelsInBQwJ63DSvOd+nJAcVZq5bPonzGp0jILyCVPSqVkxu7JJR649oa2ocqiR7tEgwPkAEOg4EBjLSJ8PU824wIMhfWhEAPH40N5sg3JKHS+Hsv67v0q8+Fk0TTgOMCcfHNjBQIqpuRIwPeIsuere47Nh0KrXcajClhifdCAhSBWdi+uLEwBc8pvG/MRcG3ZSdJ5mREoYM5pQw5Hs7FErDIRMIclTqCgX5oAp25aXF1LP8vlO3E1drSJ5guAOHMswFhJ5HhEMbvGH+532oe8xQUU2war0Zwt54l+Ccw3Vte7UMCSd99X0vlNlj+NR2bjDfe51yFe9tTili7x/RuxZXByowcQOvNMtXjlVQJTlnH5Hvaehvve4WmVvcW31jSOj2O8tzRbxjD5cUUvx/R33odCeU2xBCsniNPWNK5HxIV8EuOaEM8bdgK8bNaxcK/By8uwy5h4VrhHFCvEt9fUuxFgXiYYOUkdvUWkz5SZ/uRCeZVMD0r5UGC8zvjKlB0CNonv3FLfiggzx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w1sfyp+lYEnGlGFbrALSa9x0O1pNJsYkxhfpAAEE7+JGFSK54gy8fHpWLVlRGdQqxwWOT4mtgqrnu61o0I88yNMynHQrd1dZvLJMbLpSdZ5pik5jz3CPOHGp75hAKCMznOQpOt6kzX8cqM6jlXTgCbxPXd9Gc5sfwjSRue/MSHS0S/l36OzY1UIb/iE8va5s8Lx8k90wlc0Aoy5lFkvoC4Uly/qXE8YHyvO+jwM/0hn+ES4iHbsCXLJ1zDNE9VG4Kx8KvRKPCEFDOLzs8N1SBOEDduxpZms95DX1FgZORQkUmBT9aYsh/K7W4C16znGa7RJim6z6Kyk3NswDPZzEhrpMilrsbZu72nurcc1YpNo10CxBI/OQoalplkILdxygZ9cTjSZBSJdrBe+4N7ErthWeBKhepkPpddfUJLlxzB6mexY6TeeAERZxZ6jS4N+EqYdqeUFad+IMvkHuuAFvADdW5GEy3PP0rKL50PiW2IO+b+8viOPrt0N3SPngKRuLWU15gPzpCZAbcospjkJXWe1pp7PA1QYQjOiEhZDAIhTr3yWPYH6WYVb3imtlIALPAvzApt3IwNg1KmmwrXCWdS0s3Qvet5YZnlmWmWzzjHEVddcVzrAjM6R+xdG7G659TGbYD4VX5RphnTG7rdkAIvsFqOSeYUilZifqLnSPNdBEjAnZXW6sldRyTfCJJKP9etw0rffvXrQMCCUmZsAPAmmrWCvoeFQC+1wg67xu9DIMQq0VI5m4OinC3jteqZ0flCRMsAcHZe4sf9JOlfhMsByxj9DF0Z8EpFFMtOHvozxpCUDPKLdZYcWfKLdThOSzf2dbRPbT9XQLQQATvLAhRacWOUNofJiFhjA0KNNn1NjsyE6I1jXIHV6rVdR4ixfxUTB2j5iziprb95NEJ8FAhBX971AUDsQITWoB/4uUZZmeV6igtClu+5kUrUBIh+BPwPgtgcA2zYbaTy4KLjir+86/8Dz9niEaCedwAAAABJRU5ErkJggg=="},"4a8d":function(t,n,i){t.exports=i.p+"assets/img/icon22.72f922a7.png"},"4d66":function(t,n,i){t.exports=i.p+"assets/img/icon13.f8919019.png"},"593b":function(t,n,i){t.exports=i.p+"assets/img/tou.16b96025.png"},"704d":function(t,n,i){},"7abe":function(t,n,i){"use strict";i.r(n);var o=function(){var t=this,n=t.$createElement,o=t._self._c||n;return o("div",{staticClass:"content"},[o("div",{staticClass:"header"},[o("span",[t._v("工作台")]),o("van-icon",{attrs:{name:"setting-o"},on:{click:t.exit}})],1),o("div",{staticClass:"tab"},[o("div",{staticClass:"tabLeft"},[o("p",[t._v("项目名称:"+t._s(this.user.projectName))])]),o("div",{staticClass:"tabRight"},[o("img",{attrs:{src:i("593b"),alt:""}}),o("p",{staticStyle:{"margin-top":".05rem"}},[t._v(t._s(this.user.name))])])]),o("div",{staticClass:"text"},[o("p",[o("van-icon",{staticStyle:{margin:"0 .05rem"},attrs:{name:"description"}}),t._v("施工启动")],1),o("ul",t._l(t.constructionStart,(function(n,i){return o("li",{key:i,on:{click:function(i){return t.toStart(n)}}},[o("van-badge",{attrs:{dot:null!==n.type,color:1===n.type?"#01ec0c":"#d61f1c"}},[o("img",{attrs:{src:n.icon,alt:""}}),o("p",[t._v(t._s(n.title))])])],1)})),0)]),o("div",{staticClass:"text"},[o("p",[o("van-icon",{staticStyle:{margin:"0 .05rem"},attrs:{name:"records"}}),t._v("施工过程")],1),o("ul",t._l(t.constructionCourse,(function(n,i){return o("li",{key:i,on:{click:function(i){return t.toStart(n)}}},[o("van-badge",{attrs:{dot:null!==n.type,color:1===n.type?"#01ec0c":"#d61f1c"}},[o("img",{attrs:{src:n.icon,alt:""}}),o("p",[t._v(t._s(n.title))])])],1)})),0)]),o("div",{staticClass:"text"},[o("p",[o("van-icon",{staticStyle:{margin:"0 .05rem"},attrs:{name:"sign"}}),t._v("施工完工")],1),o("ul",t._l(t.constructionCompletion,(function(n,i){return o("li",{key:i,on:{click:function(i){return t.toStart(n)}}},[o("van-badge",{attrs:{dot:null!==n.type,color:1===n.type?"#01ec0c":"#d61f1c"}},[o("img",{attrs:{src:n.icon,alt:""}}),o("p",[t._v(t._s(n.title))])])],1)})),0)])])},e=[],c=(i("4160"),i("b0c0"),i("159b"),i("5530")),s=i("2f62"),a=i("3324"),r={name:"VueCli4VantIndex",data:function(){return{list:[],constructionCompletion:[{title:"施工评价",icon:i("f323"),type:null},{title:"完工报告",icon:i("c437"),type:null}],constructionCourse:[{title:"施工日报",icon:i("4a8d"),type:null},{title:"考勤",icon:i("c437"),type:null},{title:"文档",icon:i("46b2"),type:null}],constructionStart:[{title:"承包商录入",icon:i("f323"),type:null},{title:"安全教育",icon:i("c437"),type:null},{title:"项目启动",icon:i("46b2"),type:null},{title:"项目计划",icon:i("4d66"),type:null}]}},computed:Object(c["a"])({},Object(s["b"])("login",["user"])),mounted:function(){var t=this;this.list=this.$router.options.routes,this.getContractorBacklogNumber(),Object(a["k"])({projectNo:this.user.projectNo}).then((function(n){var i=n.data;console.log(i.data,"2224334"),t.$store.dispatch("num/getNum",{num:i.data}),console.log(t.num.num,"sss")}))},methods:{getContractorBacklogNumber:function(){var t=this;Object(a["i"])({projectNo:this.user.projectNo}).then((function(n){var i=n.data;console.log(i.data);var o=function(n){console.log(n),t.constructionCompletion.forEach((function(t){t.title===n&&(t.type=i.data[n])})),t.constructionCourse.forEach((function(t){t.title===n&&(t.type=i.data[n])})),t.constructionStart.forEach((function(t){t.title===n&&(t.type=i.data[n])}))};for(var e in i.data)o(e)})).catch((function(){t.$notify({type:"danger",message:"数据获取失败!",duration:1e3})}))},toStart:function(t){var n=this;console.log(t),this.list.forEach((function(i){t.title===i.meta.title&&("文档"===i.meta.title?(console.log(n.user.name+"-----------"+n.user.projectNo),window.suplink.launchApp({android:"cnooc://com.cnooc.construction.document?role=contractor&username="+n.user.name+"&projectNo="+n.user.projectNo+"&projectName="+n.user.projectName}).then((function(t){return console.log(t)}))):n.$router.push(i.path))}))},exit:function(){var t=this;this.$dialog({message:"确定要退出当前账号吗?",showCancelButton:!0}).then((function(){t.$store.dispatch("login/getUser",{}),t.$router.push("/login")})).catch((function(){}))}}},l=r,u=(i("0554"),i("2877")),p=Object(u["a"])(l,o,e,!1,null,"58cc6c9e",null);n["default"]=p.exports},c437:function(t,n,i){t.exports=i.p+"assets/img/icon32.af45ec48.png"},f323:function(t,n,i){t.exports=i.p+"assets/img/icon11.0b57d809.png"}}]);