webpackjsonp([69],{"/zsw":function(e,t,o){var a=o("37uo");"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);o("fiqi")("2f5c7922",a,!1,{sourcemap:!1})},"37uo":function(e,t,o){var a=o("l4zz");(e.exports=o("utlt")(!1)).push([e.i,'.projects{width:100%}.projects .tablename{padding:14px 0;text-align:center;font-size:24px;color:#4a4a4a}.projects .inquiry-form.el-form{display:inline-block}.projects .inquiry-form.el-form .el-button{padding:0;margin-left:15px;height:32px;width:76px;font-size:13px}.projects .inquiry-form.el-form .el-form-item{display:inline-block}.projects .inquiry-form.el-form .el-form-item__label{color:#4a4a4a;font-size:13px}.projects .inquiry-form.el-form .el-input__inner{height:30px;background:#f7f7f7;border:1px solid #e1e1e1;border-radius:2px}.projects .table-box{position:absolute;top:110px;bottom:50px;left:10px;right:10px;overflow-x:auto}.projects .table-box .el-table{height:100%;max-width:1566px;position:relative;font-size:13px}.projects .table-box .el-table .el-table__header-wrapper{background:#eef1f6}.projects .table-box .el-table .el-table__body-wrapper{position:absolute;top:40px;bottom:0;left:0;right:0;overflow-x:hidden}.projects .table-page{position:absolute;bottom:0;right:0}.projects .table-page .el-pagination{padding:10px}.projects .el-table td,.projects .el-table th{text-align:center}.projects .el-table button{width:auto}.projects .el-table .cell,.projects .el-table th>div{padding:0 5px!important}.projects .el-table .last-tr .cell{padding-right:20px!important}.el-select-dropdown{max-width:800px;left:404px}.projects .progress-desc{color:#e60012;font-size:16px;margin-bottom:8px}.projects .el-form-item.is-required .el-form-item__label:before{display:none}.projects .el-form-item.is-required .el-form-item__label:after,.projects .required .el-form-item__label:after{content:"*";color:#ff4949;margin-right:4px}.projects .sm-disabled{background-color:#eef1f6!important;border-color:#d1dbe5!important;color:#bbb;cursor:not-allowed!important}.projects .tips{text-align:right;color:#e60012;margin-bottom:20px}.projects .header{padding:29px 0;font-size:36px;text-align:center;color:#4a4a4a}.projects .area .el-select{width:190px}.projects .area .el-select+label{font-size:16px;padding:0 20px}.projects .el-select{width:100%}.projects .el-input__inner,.projects .el-textarea__inner,.projects .sim-input{height:36px;border-radius:4px;background:#f7f7f7;border:1px solid #e1e1e1;resize:none}.projects .sim-input{padding:0 10px;cursor:pointer}.projects .w-5{display:inline-block;width:48%}.projects .w-4{display:inline-block;width:22%}.projects .w-3{display:inline-block;width:31%}.projects .w-5.m-left{margin-left:4%}.projects .w-3.m-left{margin-left:3.5%}.projects .w-4.m-left{margin-left:4%}.projects .form-sub-item{width:48%;padding-left:16px;display:inline-block}.projects .form-sub-item .el-form-item__label{width:120px!important}.projects .form-sub-item .el-form-item__content{margin-left:0!important;display:inline-block}.projects .el-form-item{vertical-align:top}.projects .el-form-item__label{font-size:16px;color:#000}.projects .buttons{text-align:right}.projects .buttons .el-button{width:138px!important;height:40px!important}.projects .title-box{padding:7px 0;margin-bottom:20px;border-bottom:1px solid #77a9fd}.projects .title-box .title{color:#77a9fd;font-size:18px}.projects .title-box .tips{color:#e60012}.projects .promisebox{padding:0 20px;margin-bottom:26px;background:#fefef6;border:1px solid #e1dfd1;border-radius:2px}.projects .promisebox .pheader{padding:16px 0;text-align:center;font-size:16px;color:red;font-weight:700}.projects .upload-demo{margin-bottom:40px}.projects .upload-demo .el-button{width:148px!important;height:36px!important;margin-left:142px;border:1px solid #77a9fd;border-radius:4px;background:#fff;color:#77a9fd;font-size:16px;background:url('+a(o("widd"))+") no-repeat;background-position:20px}.projects .upload-demo .el-upload__tip{margin-left:15px;color:#d0021b;font-size:14px}.projects .fieldset{margin-top:30px;padding:25px;border:1px solid #dfdfdf;position:relative}.projects .fieldset .el-form-item__content{margin-left:0!important}.projects .fieldset .el-upload-btn .el-upload{width:90px;height:60px;line-height:60px;border:1px solid #77a9fd;border-radius:4px;font-size:16px;color:#77a9fd;text-align:center}.projects .fieldset .el-upload-btn .el-upload-list__item{width:90px;height:60px}.projects .fieldset .el-form-item__label{position:absolute;top:-19px;left:25px;background:#fff;width:125px!important;padding:11px 0 10px 11px}.projects .fieldset.fieldset-big .el-form-item__label{width:380px!important}.projects .el-form-item__error{padding-left:20px;background-position:2px 5px}.el-picker-panel__body button{width:auto!important;height:auto!important}.el-picker-panel .el-date-table__row td{line-height:32px}.el-table-column-left td,.el-table-column-left th{text-align:left!important}.return-back{float:right;font-size:16px;width:60px;height:30px;line-height:30px;background:#0d2ce0;color:#fff;border-radius:5px;cursor:pointer}.special-store-search-wrap{padding:0 10px;height:100%}.special-store-search-wrap .cell-inner{display:block;word-break:break-all}.special-store-search-wrap .last-note{padding-right:20px!important}.special-store-search-wrap .brand-list{margin-bottom:10px}.special-store-search-wrap .brand-list,.special-store-search-wrap .brand-list .brand-item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.special-store-search-wrap .brand-list .brand-item{min-width:100px;height:30px;line-height:30px;text-align:center;background:#c8c8c8;margin-right:10px;border-radius:20px;cursor:pointer;color:#fff;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.special-store-search-wrap .departbox{position:absolute;z-index:999999;top:40px;left:0;right:1px;background:#fff;border:1px solid #ddd;max-height:180px;overflow:auto;overflow-x:hidden}.special-store-search-wrap .departbox>li{font-size:14px;padding:8px 10px;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#48576a;height:36px;line-height:1.5;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer}.special-store-search-wrap .departbox>li:hover{background:#e4e8f1}.special-store-search-wrap .fade-enter-active,.special-store-search-wrap .fade-leave-active{-webkit-transition:.5s;transition:.5s;height:auto;overflow-y:hidden;opacity:1}.special-store-search-wrap .fade-enter,.special-store-search-wrap .fade-leave-to{height:0;overflow-y:hidden;opacity:0;-webkit-transition:.5s;transition:.5s}",""])},bawq:function(e,t,o){"use strict";object.defineproperty(t,"__esmodule",{value:!0});var a=i(o("4yfn")),r=(i(o("gcxn")),i(o("s/go")),o("9rma"));function i(e){return e&&e.__esmodule?e:{default:e}}t.default={layout:"project",head:function(){return{title:"工程专卖店-首页"}},data:function(){return{brandid:"",keyword:"",colorlist:["#08eac9","#39c51a","#faaf5b","#0d2ce0","#00a0ea","#db2417","#030303","#7cfc00","#008b00","#8a2be2","#8b6914","#698b22"],brandlists:[],pageno:1,pagesize:15,total:0,projectdata:[],isshow:!1,amap:null,map:null,markers:[],loading:!1,searchtype:1}},watch:{$route:function(e,t){this.pageno=1,this.loaddata()}},computed:(0,a.default)({},(0,r.mapgetters)({})),mounted:function(){var e=this;this.loaddata(),settimeout(function(){e.loadmap()},500)},created:function(){},methods:(0,a.default)({},(0,r.mapactions)({pageinst:"project/pageinst",selectbrands:"project/selectbrands",removeprotection:"protection/removeprotection"}),{handlechangebrand:function(e){this.brandlists=this.brandlists.map(function(t){return t.brandid==e.brandid&&(t.ischecked=!t.ischecked),t}),this.pageprotect(1)},handlechangeallbrand:function(){this.brandlists=this.brandlists.map(function(e){return e.ischecked=!0,e}),this.pageprotect(1)},handlesearch:function(e){this.searchtype=e,this.pageprotect(1)},loaddata:function(){this.pageprotect(),this.getselectbrands()},loadmap:function(){var e,t=this;e={resizeenable:!0,zoom:5,center:[121.59996,31.197646],events:{init:function(e){t.map=e}}},this.amap=e,console.log("this.amap:",e)},getselectbrands:function(){var e=this;this.selectbrands({brandname:""}).then(function(t){var o=t||[];o.foreach(function(t,o){t.ischecked=!1,o<12?e.colorlist.foreach(function(e,a){o==a&&(t.brandcolor=e)}):t.brandcolor="#030303"}),e.brandlists=o,e.handlechangeallbrand()})},pageprotect:function(e){var t=this;this.markers=[],this.loading=!0,1==this.searchtype?this.pagesize=15:(this.map&&this.map.clearmap(),this.pagesize=1e5);var o,a=[];this.brandlists.foreach(function(e){e.ischecked&&a.push(e.brandid)}),o=a.join(",");var r=e||this.pageno||1,i={keyword:this.keyword,brandids:o,pageno:r,pagesize:this.pagesize};this.pageinst(i).then(function(e){t.loading=!1,t.projectdata=e.list,t.projectdata.foreach(function(e,o){var a=number(e.longitude),i=number(e.latitude);e.orderno=(r-1)*t.pagesize+o+1,2==t.searchtype&&t.brandlists.foreach(function(r){if(r.brandid==e.brandid){var n=r.brandcolor.slice(1),l=new amap.icon({size:new amap.size(32,32),image:"/images/"+n+".png",imagesize:new amap.size(24,24),imageoffset:new amap.pixel(0,0)}),p=new amap.marker({position:new amap.lnglat(a,i),icon:l,offset:new amap.pixel(0,0)});p.setlabel({offset:new amap.pixel(-18,-24),content:"
"+e.proshopcode+"
",direction:"top"}),console.log("markerposition: ",p),t.map.add([p]),t.projectdata.length==o+1&&(t.amap.center=[a,i])}})}),t.total=number(e.total)}).catch(function(e){t.loading=!1})},currenchange:function(e){this.pageno=number(e),this.pageprotect()},handlereset:function(){this.keyword="",this.pageno=1,this.handlechangeallbrand()}}),components:{}}},widd:function(e,t){e.exports="data:image/png;base64,ivborw0kggoaaaansuheugaaabiaaaascayaaaehyb7baaaabgdbtueaalgpc/xhbqaaaxhjrefuobf9ve1ivfeu/u6d54yjpllap/2gfkxjmarubcgffi1abflrppxrqigzs+kh642/knqiowjrzykjilagaamqfbhmc/ipc0cdocrts0edee927n0+30trhzk795zvfoec79w7wf9ld89kg1coxl66an2y5aiff8jyatddceliq349pauppwrt6rodlyd1g4kogoqyi+wc2osf+g07sn00x6fgudnmq3xbejog12ixczjrfghg5glxdqjnbgrooam6msiplqntajpgtyawe0czt6ljsx+x6x4x1dyebfpnjdmzqjmz+ln2yggudvy8tkhswf+ujzaxb6tlafnxihgufl834oszmsoigdlpzwmbmzfigdftiiwzh+d2d0qzm06enkubsufkalwudyhhjilwelrxczy1osg4jjr8ik12uhu/ffwrxdsczvmuixedbcz6l0k33onpp6iadcss+xccwtkfojb4zwykgf1gvbbc9mauxagp7qdoltkdycijlh0qqxdmfwlcjsmkvgg68vycnjisaqmp17euq6fup9wmjinswkmdlcb76cyz9apjsi0s0d603xhbhtpxllimklgeokyaeytwfu+ea/q3mi7x2zsht8gmu3pmt/rfi/m8dx+c9p2kaskufx74p5ee2qbyfdrpnjwoq11w1ofwuz5aznyj+py5rt7jchljq+ewdwcykdoxknyjle8mifod2utwudkpjo5tlvhu7pr+z0uti2uqwoqlcgka5xdq972hwbiaxytqkupb5bgymeet3sobkiksprndksruragbc0gstopzq1rbbpvsuqxyqd+b159ptmjy4oaakdiigvwkiuvuahrdwc2ukyql9fjbliwq8liciije8ujlnxpy75r0ekkymsidr2gs1yvkif/yqa8ou+0+eifaljbfvzvqialvgcyeq8utqd94sjklyun9wzsmctvqjhygafbq/w1efqarlcxuppkrjbkhnkwpjdwdn7cs+f44gjfisbredldqwtqwumaa7vh6perosatvtp25oddk/tedpi1au8ccraaaaabjru5erkjggg=="},agmu:function(e,t,o){"use strict";object.defineproperty(t,"__esmodule",{value:!0});var a=o("bawq"),r=o.n(a);for(var i in a)"default"!==i&&function(e){o.d(t,e,function(){return a[e]})}(i);var n=o("qag8"),l=!1;var p=function(e){l||o("/zsw")},s=o("x4nt")(r.a,n.a,!1,p,null,null);s.options.__file="pages/projects/specialstoresearch.vue",t.default=s.exports},qag8:function(e,t,o){"use strict";var a=function(){var e=this,t=e.$createelement,o=e._self._c||t;return o("div",{staticclass:"special-store-search-wrap"},[o("div",{staticclass:"tablename"},[e._v("\n 全国美心门专卖店查询\n "),o("div",{staticclass:"return-back",on:{click:function(t){e.$router.back()}}},[e._v("返回")])]),o("div",{staticclass:"brand-list"},[e._l(e.brandlists,function(t,a){return o("div",{key:a,staticclass:"brand-item",style:t.ischecked?{background:t.brandcolor}:"",on:{click:function(o){e.handlechangebrand(t)}}},[e._v("\n "+e._s(t.brandname)+"\n "),t.ischecked?o("img",{staticstyle:{height:"20px","margin-left":"3px"},attrs:{src:"/images/selected.png"}}):e._e()])}),o("div",{staticclass:"brand-item",staticstyle:{background:"#ffa200"},on:{click:e.handlechangeallbrand}},[e._v("\n 全部门店\n ")])],2),o("el-form",{ref:"form",staticclass:"inquiry-form",attrs:{"label-width":"85px"}},[o("el-form-item",{attrs:{label:"关键字"}},[o("el-input",{staticstyle:{width:"280px"},attrs:{placeholder:"部门,地区、名称、经销商、地址,k号"},model:{value:e.keyword,callback:function(t){e.keyword=t},expression:"keyword"}})],1),o("el-button",{attrs:{type:"primary"},on:{click:function(t){e.handlesearch(1)}}},[e._v("文字查询")]),o("el-button",{attrs:{type:"primary"},on:{click:function(t){e.handlesearch(2)}}},[e._v("地图查询")])],1),o("div",{staticclass:"table-box",staticstyle:{top:"135px"}},[e.amap&&2==e.searchtype?o("el-amap",{staticclass:"amap-demo",attrs:{center:e.amap.center,zoom:e.amap.zoom,events:e.amap.events}}):e._e(),1==e.searchtype?o("el-table",{directives:[{name:"loading",rawname:"v-loading.body",value:e.loading,expression:"loading",modifiers:{body:!0}}],staticclass:"el-table-column-left",staticstyle:{width:"1640px"},attrs:{data:e.projectdata,border:""}},[o("el-table-column",{attrs:{prop:"orderno",label:"序号",width:"80"}}),o("el-table-column",{attrs:{prop:"brandname",label:"部门",width:"160"}}),o("el-table-column",{attrs:{prop:"proshopcode",label:"专卖店编号",width:"100"}}),o("el-table-column",{attrs:{prop:"proshoptypename",label:"店铺类型",width:"120"},scopedslots:e._u([{key:"default",fn:function(t){return[2===number(t.row.proshoptype)?o("el-tag",{attrs:{type:"danger"}},[e._v("旗舰店")]):o("el-tag",{attrs:{type:"success"}},[e._v("专卖店")])]}}])}),o("el-table-column",{attrs:{prop:"provincename",label:"授权地区",width:"100"}}),o("el-table-column",{attrs:{prop:"dealername",label:"经销商名称",width:"100"}}),o("el-table-column",{attrs:{prop:"dealercode",label:"k号",width:"100"}}),o("el-table-column",{attrs:{prop:"statename",label:"备案状态",width:"100"}}),o("el-table-column",{attrs:{prop:"proshopname",label:"门店名称",width:"180"}}),o("el-table-column",{attrs:{prop:"address",label:"详细地址"},scopedslots:e._u([{key:"default",fn:function(t){return[o("span",[e._v(e._s(t.row.provincename)+e._s(t.row.cityname)+e._s(t.row.areaname)+e._s(t.row.address))])]}}])})],1):e._e()],1),e.total>0&&1==e.searchtype?o("div",{staticclass:"custompage table-page"},[o("el-pagination",{attrs:{layout:"prev, pager, next,total","page-size":e.pagesize,"current-page":e.pageno,total:e.total},on:{"current-change":e.currenchange}})],1):e._e()],1)};a._withstripped=!0;var r={render:a,staticrenderfns:[]};t.a=r}});