Authored by htoooth

web

  1 +webpackJsonp([0],{15:function(t,e,n){"use strict";function r(t){s||n(59)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(50),i=n(69),s=!1,o=n(14),c=r,u=o(a.a,i.a,!1,c,null,null);u.options.__file="src\\views\\similar\\list.vue",e.default=u.exports},48:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=n(4),i=(n.n(a),function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}()),s=a.create({baseURL:"/api/"});s.interceptors.response.use(function(t){return 200!==t.data.code?Promise.reject(new Error("服务器出错")):t},function(t){return Promise.reject(t)});var o=function(){function t(){r(this,t),this.request=s}return i(t,[{key:"list",value:function(t){return this.request.post("/label/list",t).then(function(t){return t.data.data})}},{key:"confirm",value:function(t){return this.request.post("/label/confirm",t).then(function(t){return t.data.data})}},{key:"cancel",value:function(t){return this.request.post("/label/cancel",t).then(function(t){return t.data.data})}},{key:"confirmAll",value:function(t){return this.request.post("/label/all",t).then(function(t){return t.data.data})}},{key:"getSortList",value:function(){return this.request.post("/label/sortlist",{}).then(function(t){return t.data.data})}}]),t}();e.a=o},50:function(t,e,n){"use strict";var r=n(48),a=n(60),i=n(63),s=n(66);e.a={data:function(){var t=this;this.$createElement;return{columns:[{title:"商品",width:180,render:function(t,e){var n=e.row;return t(a.a,{props:{src:n.product.url,skn:n.product.productSkn}})},className:"top"},{title:"相似图",key:"imgs",render:function(e,n){var r=n.row,a=t;return e(i.a,{props:{list:r.imageList},on:{"on-change":a.onClickForOne}})}},{title:"操作",width:150,render:function(e,n){var r=n.row;return e("div",null,[e("i-button",{on:{click:function(){return t.onClickForAll(r)}}},["全部通过"])])},className:"top"}],list:[],searchItem:{productSkn:"",startSkn:"",endSkn:"",source:0,maxSortId:0,middleSortId:0},sortList:[],pager:{rows:0,size:10,page:1}}},created:function(){this.api=new r.a,this.getList()},mounted:function(){document.addEventListener("keydown",this.keydown)},destroyed:function(){document.removeEventListener("keydown",this.keydown)},methods:{onPageChange:function(t){this.pager.page=t,this.getList()},onClickForSearch:function(){this.getList()},onClickForClear:function(){this.searchItem.productSkn="",this.searchItem.startSkn="",this.searchItem.endSkn="",this.searchItem.source=0,this.sortList=[]},onClickForAll:function(t){var e=this,n=t.imageList.map(function(t){return t.imageId}),r={imageId:n,isMark:1,productId:t.product.productId};this.api.confirmAll(r).then(function(n){t.imageList.forEach(function(t){t.isMark=1}),e.$Message.info("更新成功")}).catch(function(){e.$Message.error("更新失败")})},onClickForOne:function(){},getList:function(){var t=this,e=this.$Message.loading({content:"查询中......",duration:0});this.api.list(Object.assign({},this.searchItem,this.pager)).then(function(n){t.list=n.boList,t.pager.page=n.page,t.pager.rows=n.rows,t.pager.size=n.size,t.$nextTick(function(){t.$emit("backtop")}),e()}).catch(function(){e(),t.$Message.error("查询失败")})},keydown:function(t){"ArrowLeft"===t.code?this.goBack():"ArrowRight"===t.code&&this.goNext()},goNext:function(){this.$refs.page.next()},goBack:function(){this.$refs.page.prev()}},components:{ProductImage:a.a,CheckImage:i.a,SelectCategory:s.a},watch:{sortList:{handler:function(t){this.searchItem.maxSortId=t[0]&&t[0].value||"",this.searchItem.midSortId=t[1]&&t[1].value||""},deep:!0}}}},51:function(t,e,n){"use strict";e.a={props:["src","skn"],methods:{handle:function(){return this.src=this.src.replace("/w/78/h/78","/w/150/h150"),this.src}}}},52:function(t,e,n){"use strict";var r=n(48);e.a={props:["list"],created:function(){this.api=new r.a},methods:{onChange:function(t,e){var n=this,r=Object.assign({},t);r.imageId=[r.imageId],t.isMark?(r.isMark=0,this.api.cancel(r).then(function(){n.$emit("on-change"),t.isMark=0,n.$Message.info("更新成功")}).catch(function(){n.$Message.error("更新失败")})):(r.isMark=1,this.api.confirm(r).then(function(){n.$emit("on-change"),t.isMark=1,n.$Message.info("更新成功")}).catch(function(){n.$Message.error("更新失败")}))},splitUrl:function(t){return t=t.replace("{mode}",0),t=t.replace("{width}",150),t=t.replace("{height}",150)},onClick:function(t){this.onChange(t)}}}},53:function(t,e,n){"use strict";var r=n(48);e.a={props:{value:{type:Array,default:function(){return[]}}},data:function(){return{handleValue:this.value.map(function(t){return t.value}),categoryList:[]}},created:function(){this.api=new r.a,this.getSortList()},methods:{getSortList:function(){var t=this;this.api.getSortList().then(function(e){t.categoryList=e.list.map(function(t){var e={value:t.id,label:t.sortName};return t.subList&&(e.children=t.subList.map(function(t){return{value:t.id,label:t.sortName}})),e})})},selectChange:function(t){var e=(t.length,t[0]||""),n=t[1]||"",r=this.categoryList.find(function(t){return t.value==e})||{},a=r&&r.children&&r.children.find(function(t){return t.value==n})||{};this.$emit("input",[{value:e,label:r.label||""},{value:n,label:a.label||""}])}},watch:{value:function(t){this.handleValue=t.map(function(t){return t.value})}}}},59:function(t,e){},60:function(t,e,n){"use strict";function r(t){s||n(61)}var a=n(51),i=n(62),s=!1,o=n(14),c=r,u=o(a.a,i.a,!1,c,"data-v-0635733c",null);u.options.__file="src\\views\\similar\\components\\product-image.vue",e.a=u.exports},61:function(t,e){},62:function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"product-image"},[n("span",[t._v(t._s(t.skn))]),t._v(" "),n("img",{attrs:{src:t.handle(),alt:"",width:"150px",height:"150px"}})])},a=[];r._withStripped=!0;var i={render:r,staticRenderFns:a};e.a=i},63:function(t,e,n){"use strict";function r(t){s||n(64)}var a=n(52),i=n(65),s=!1,o=n(14),c=r,u=o(a.a,i.a,!1,c,"data-v-375dddd5",null);u.options.__file="src\\views\\similar\\components\\check-image.vue",e.a=u.exports},64:function(t,e){},65:function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"check-image"},t._l(t.list,function(e){return n("div",{staticClass:"check-image-cell"},[n("div",{on:{click:function(n){t.onClick(e,n)}}},[n("img",{attrs:{src:t.splitUrl(e.url),width:"150px",height:"150px"}})]),t._v(" "),n("Checkbox",{attrs:{value:1==e.isMark},on:{"on-change":function(n){t.onClick(e)}}},[t._v("检查")])],1)}))},a=[];r._withStripped=!0;var i={render:r,staticRenderFns:a};e.a=i},66:function(t,e,n){"use strict";function r(t){s||n(67)}var a=n(53),i=n(68),s=!1,o=n(14),c=r,u=o(a.a,i.a,!1,c,null,null);u.options.__file="src\\views\\similar\\components\\select-category.vue",e.a=u.exports},67:function(t,e){},68:function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("Cascader",{attrs:{data:t.categoryList,value:t.handleValue,"change-on-select":""},on:{"on-change":t.selectChange}})},a=[];r._withStripped=!0;var i={render:r,staticRenderFns:a};e.a=i},69:function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",[n("Form",{ref:"from",attrs:{inline:"","label-width":70}},[n("FormItem",{attrs:{label:"品类"}},[n("SelectCategory",{model:{value:t.sortList,callback:function(e){t.sortList=e},expression:"sortList"}})],1),t._v(" "),n("FormItem",{attrs:{label:"skn"}},[n("Input",{attrs:{type:"text",placeholder:"skn"},model:{value:t.searchItem.productSkn,callback:function(e){t.$set(t.searchItem,"productSkn",e)},expression:"searchItem.productSkn"}})],1),t._v(" "),n("FormItem",{attrs:{label:"开始skn"}},[n("Input",{attrs:{type:"text",placeholder:"skn"},model:{value:t.searchItem.startSkn,callback:function(e){t.$set(t.searchItem,"startSkn",e)},expression:"searchItem.startSkn"}})],1),t._v(" "),n("FormItem",{attrs:{label:"结束skn"}},[n("Input",{attrs:{type:"text",placeholder:"skn"},model:{value:t.searchItem.endSkn,callback:function(e){t.$set(t.searchItem,"endSkn",e)},expression:"searchItem.endSkn"}})],1),t._v(" "),n("FormItem",{attrs:{label:"来源"}},[n("Select",{model:{value:t.searchItem.source,callback:function(e){t.$set(t.searchItem,"source",e)},expression:"searchItem.source"}},[n("Option",{attrs:{value:0}},[t._v("全部")]),t._v(" "),n("Option",{attrs:{value:1}},[t._v("有货")]),t._v(" "),n("Option",{attrs:{value:2}},[t._v("天猫")])],1)],1),t._v(" "),n("Button",{attrs:{type:"primary"},on:{click:t.onClickForSearch}},[t._v("搜索")]),t._v(" "),n("Button",{attrs:{type:"error"},on:{click:t.onClickForClear}},[t._v("清除")])],1)],1),t._v(" "),n("Table",{attrs:{columns:t.columns,data:t.list}}),t._v(" "),n("Page",{ref:"page",staticStyle:{"margin-top":"20px","text-align":"right"},attrs:{total:t.pager.rows,current:t.pager.page,"page-size":t.pager.size,"show-elevator":""},on:{"on-change":t.onPageChange}})],1)},a=[];r._withStripped=!0;var i={render:r,staticRenderFns:a};e.a=i}});
No preview for this file type
  1 +webpackJsonp([1],{47:function(t,e,n){"use strict";function r(t){s||n(75)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(56),a=n(80),s=!1,o=n(14),c=r,u=o(i.a,a.a,!1,c,null,null);u.options.__file="src\\views\\similar\\fast.vue",e.default=u.exports},48:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=n(4),a=(n.n(i),function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}()),s=i.create({baseURL:"/api/"});s.interceptors.response.use(function(t){return 200!==t.data.code?Promise.reject(new Error("服务器出错")):t},function(t){return Promise.reject(t)});var o=function(){function t(){r(this,t),this.request=s}return a(t,[{key:"list",value:function(t){return this.request.post("/label/list",t).then(function(t){return t.data.data})}},{key:"confirm",value:function(t){return this.request.post("/label/confirm",t).then(function(t){return t.data.data})}},{key:"cancel",value:function(t){return this.request.post("/label/cancel",t).then(function(t){return t.data.data})}},{key:"confirmAll",value:function(t){return this.request.post("/label/all",t).then(function(t){return t.data.data})}},{key:"getSortList",value:function(){return this.request.post("/label/sortlist",{}).then(function(t){return t.data.data})}}]),t}();e.a=o},56:function(t,e,n){"use strict";var r=n(48);e.a={name:"Fast",created:function(){this.api=new r.a,this.start()},mounted:function(){document.addEventListener("keydown",this.keydown)},destroyed:function(){document.removeEventListener("keydown",this.keydown)},computed:{current:function(){if(this.pageDatas.length>=this.currentIndex)return this.pageDatas[this.currentIndex]},total:function(){return this.startOp.end-this.startOp.start+1},progress:function(){return parseInt((this.currentPage+1)/(this.startOp.end-this.startOp.start+1)*1e4,10)/100}},data:function(){return{startModel:!0,startOp:{start:0,end:0},currentPage:0,currentIndex:0,markIndex:0,pageDatas:[],postingText:"等待编辑"}},watch:{markIndex:function(t){var e=this.$el.querySelector(".img-item:nth-child("+(t+1)+")");if(e){var n=e.getBoundingClientRect(),r=n.top,i=r-200;this.$el.querySelector(".images").scrollTo(0,this.$el.querySelector(".images").scrollTop+i)}}},methods:{keydown:function(t){"ArrowUp"===t.code?t.shiftKey?this.allSelected():this.selected():"ArrowDown"===t.code?t.shiftKey?this.allUnSelected():this.cancel():"ArrowLeft"===t.code?t.shiftKey?this.prevPage():this.prevItem():"ArrowRight"===t.code&&(t.shiftKey?this.nextPage():this.nextItem())},start:function(){var t=this;this.startOp.start=parseInt(this.startOp.start,0),this.startOp.end=parseInt(this.startOp.end,0),this.startOp.start>0&&this.startOp.end>0&&this.startOp.end>this.startOp.start&&(this.startModel=!1,this.loadNextPage(this.currentPage).then(function(e){t.pageDatas=e}))},loadNextPage:function(t){var e=this;return this.api.list({rows:0,size:10,page:this.startOp.start+t}).then(function(t){return e.loadImages(t.boList),t.boList})},splitUrl:function(t){return t=t.replace("{mode}",0),t=t.replace("{width}",300),t=t.replace("{height}",300)},prevPage:function(){this.post(this.current),this.$el.querySelector(".images").scrollTo(0,0),this.currentIndex>0&&(this.currentIndex%10==0&&this.currentPage--,this.currentIndex--,this.markIndex=0)},nextPage:function(){var t=this;return this.post(this.current),this.$el.querySelector(".images").scrollTo(0,0),this.currentIndex>=10*this.total-1?void this.$Message.success("任务完成"):this.currentIndex<10*this.total-1&&(this.currentIndex++,this.markIndex=0,this.pageDatas.length-(this.currentIndex+1)<=5)?this.loadNextPage(this.currentPage+1).then(function(e){t.pageDatas=t.pageDatas.concat(e)}):void(this.currentIndex>0&&this.currentIndex%10==0&&this.currentPage<this.total&&this.currentPage++)},loadImages:function(t){var e=this;t.forEach(function(t){if(t.product.url){var n=t.product.url.replace("/w/78/h/78","/w/300/h300");(new Image).src=n}t.imageList.forEach(function(t){var n=e.splitUrl(t.url);(new Image).src=n})})},prevItem:function(){this.current&&(this.markIndex>0?this.markIndex--:this.prevPage())},nextItem:function(){this.current&&(this.markIndex<this.current.imageList.length-1?this.markIndex++:this.nextPage())},selected:function(t){this.current.imageList[t||this.markIndex].isMark=!0,this.current.imageList[t||this.markIndex]._change=!0,this.postingText="编辑中。。。",this.nextItem()},cancel:function(t){this.current.imageList[t||this.markIndex].isMark=!1,this.current.imageList[t||this.markIndex]._change=!0,this.postingText="编辑中。。。",this.nextItem()},clickImage:function(t){var e=this.current.imageList[t];e.isMark=!e.isMark,e._change=!0},allSelected:function(){this.current.imageList.forEach(function(t){t.isMark=!0,t._change=!0})},allUnSelected:function(){this.current.imageList.forEach(function(t){t.isMark=!1,t._change=!0})},post:function(t){var e=this,n={imageId:[],isMark:1,productId:t.product.productId},r={imageId:[],isMark:0,productId:t.product.productId};t.imageList.filter(function(t){return t._change}).forEach(function(t){t.isMark?n.imageId.push(t.imageId):r.imageId.push(t.imageId)});var i=[];n.imageId.length&&i.push(this.api.confirm(n)),r.imageId.length&&i.push(this.api.cancel(r)),i.length&&(this.postingText="正在提交。。。。",Promise.all(i).then(function(){e.postingText="提交OK"}))}}}},75:function(t,e,n){var r=n(76);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n(78)("733b6ff0",r,!1,{})},76:function(t,e,n){e=t.exports=n(77)(!1),e.push([t.i,"\n.fast-page {\n padding: 20px;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n.fast-page-box {\n height: 100%;\n display: flex;\n overflow: hidden;\n}\n.fast-page-box .example {\n width: 300px;\n height: 300px;\n margin-top: 5px;\n margin-right: 10px;\n}\n.fast-page-box .example img {\n width: 300px;\n height: 300px;\n}\n.fast-page-box .example .posting {\n margin-top: 20px;\n color: green;\n}\n.fast-page-box .images {\n flex: 1;\n height: 100%;\n overflow-y: auto;\n}\n.fast-page-box .images ul {\n list-style-type: none;\n}\n.fast-page-box .images .img-item {\n width: 212px;\n height: 220px;\n margin: 5px;\n float: left;\n border: solid 4px #fff;\n}\n.fast-page-box .images .img-item.marking {\n border: solid 4px #000;\n}\n.fast-page-box .images .img-item img {\n border-bottom: solid 8px red;\n}\n.fast-page-box .images .img-item.marked img {\n border-bottom: solid 8px limegreen;\n}\n.fast-page-box .images .img-item .img-box {\n border: solid 2px #fff;\n overflow: hidden;\n width: 204px;\n height: 212px;\n}\n.fast-page-box .images .img-item img {\n width: 200px;\n height: 208px;\n}\n",""])},77:function(t,e){function n(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"==typeof btoa){var a=r(i);return[n].concat(i.sources.map(function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"})).concat([a]).join("\n")}return[n].join("\n")}function r(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var r=n(e,t);return e[2]?"@media "+e[2]+"{"+r+"}":r}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},i=0;i<this.length;i++){var a=this[i][0];"number"==typeof a&&(r[a]=!0)}for(i=0;i<t.length;i++){var s=t[i];"number"==typeof s[0]&&r[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),e.push(s))}},e}},78:function(t,e,n){function r(t){for(var e=0;e<t.length;e++){var n=t[e],r=l[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(a(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{for(var s=[],i=0;i<n.parts.length;i++)s.push(a(n.parts[i]));l[n.id]={id:n.id,refs:1,parts:s}}}}function i(){var t=document.createElement("style");return t.type="text/css",p.appendChild(t),t}function a(t){var e,n,r=document.querySelector("style["+v+'~="'+t.id+'"]');if(r){if(f)return g;r.parentNode.removeChild(r)}if(x){var a=h++;r=d||(d=i()),e=s.bind(null,r,a,!1),n=s.bind(null,r,a,!0)}else r=i(),e=o.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}function s(t,e,n,r){var i=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=b(e,i);else{var a=document.createTextNode(i),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(a,s[e]):t.appendChild(a)}}function o(t,e){var n=e.css,r=e.media,i=e.sourceMap;if(r&&t.setAttribute("media",r),m.ssrId&&t.setAttribute(v,e.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var c="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!c)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var u=n(79),l={},p=c&&(document.head||document.getElementsByTagName("head")[0]),d=null,h=0,f=!1,g=function(){},m=null,v="data-vue-ssr-id",x="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());t.exports=function(t,e,n,i){f=n,m=i||{};var a=u(t,e);return r(a),function(e){for(var n=[],i=0;i<a.length;i++){var s=a[i],o=l[s.id];o.refs--,n.push(o)}e?(a=u(t,e),r(a)):a=[];for(var i=0;i<n.length;i++){var o=n[i];if(0===o.refs){for(var c=0;c<o.parts.length;c++)o.parts[c]();delete l[o.id]}}}};var b=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},79:function(t,e){t.exports=function(t,e){for(var n=[],r={},i=0;i<e.length;i++){var a=e[i],s=a[0],o=a[1],c=a[2],u=a[3],l={id:t+":"+i,css:o,media:c,sourceMap:u};r[s]?r[s].parts.push(l):n.push(r[s]={id:s,parts:[l]})}return n}},80:function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"fast-page"},[t.current?n("div",{staticClass:"fast-page-box"},[n("div",{staticClass:"example"},[n("img",{attrs:{src:t.current.product.url&&t.current.product.url.replace("/w/78/h/78","/w/300/h300"),alt:""}}),t._v(" "),n("div",{staticClass:"info"},[t._v("\n 从"+t._s(t.startOp.start)+"到"+t._s(t.startOp.end)+",共"+t._s(t.total)+"的第"+t._s(t.currentPage+1)+"页\n "),n("Progress",{attrs:{percent:t.progress}})],1),t._v(" "),t._m(0),t._v(" "),n("div",{staticClass:"posting"},[t._v("\n 提交状态:"+t._s(t.postingText)+"\n ")])]),t._v(" "),n("div",{staticClass:"images"},[n("ul",t._l(t.current.imageList,function(e,r){return n("li",{key:e.id,staticClass:"img-item",class:{marking:r===t.markIndex,marked:e.isMark}},[n("div",{staticClass:"img-box",on:{click:function(e){t.clickImage(r)}}},[n("img",{attrs:{src:t.splitUrl(e.url),alt:""}})])])}))])]):t._e(),t._v(" "),n("Modal",{attrs:{title:"开始任务",width:400},model:{value:t.startModel,callback:function(e){t.startModel=e},expression:"startModel"}},[n("Form",{ref:"formDatabase",attrs:{"label-position":"right","label-width":90}},[n("FormItem",{attrs:{label:"开始页码",prop:"db_user"}},[n("Input",{attrs:{type:"text",placeholder:"用户名"},model:{value:t.startOp.start,callback:function(e){t.$set(t.startOp,"start",e)},expression:"startOp.start"}})],1),t._v(" "),n("FormItem",{attrs:{label:"结束页码",prop:"db_password"}},[n("Input",{attrs:{type:"text",placeholder:"密码"},model:{value:t.startOp.end,callback:function(e){t.$set(t.startOp,"end",e)},expression:"startOp.end"}})],1)],1),t._v(" "),n("div",{attrs:{slot:"footer"},slot:"footer"},[n("Button",{attrs:{type:"text",size:"large"},nativeOn:{click:function(e){t.cancel(e)}}},[t._v("取消")]),t._v(" "),n("Button",{attrs:{type:"primary",size:"large"},nativeOn:{click:function(e){t.start(e)}}},[t._v("开始")])],1)],1)],1)},i=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"help"},[n("p",[t._v("说明:")]),t._v(" "),n("p",{staticStyle:{color:"red"}},[t._v("Up/Down:勾选/取消(同时右移一个)")]),t._v(" "),n("p",[t._v("Left:左移;Right:右移")]),t._v(" "),n("p",[t._v("Shift + Left:向左一个")]),t._v(" "),n("p",[t._v("Shift + Right:向右一个")]),t._v(" "),n("p",[t._v("Shift + Up:全部勾选")]),t._v(" "),n("p",[t._v("Shift + Down:全部取消勾选")])])}];r._withStripped=!0;var a={render:r,staticRenderFns:i};e.a=a}});
  1 +webpackJsonp([2],{45:function(t,e,n){"use strict";function i(t){c||n(70)}Object.defineProperty(e,"__esModule",{value:!0});var r=n(54),s=n(71),c=!1,a=n(14),u=i,f=a(r.a,s.a,!1,u,null,null);f.options.__file="src\\views\\image\\list.vue",e.default=f.exports},54:function(t,e,n){"use strict";e.a={}},70:function(t,e){},71:function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement;return(t._self._c||e)("img",{attrs:{src:n(72),alt:"",srcset:"",width:"800px"}})},r=[];i._withStripped=!0;var s={render:i,staticRenderFns:r};e.a=s},72:function(t,e,n){t.exports=n.p+"f63f53aa50114ac88c11f4d86bb84306.jpg"}});
No preview for this file type
No preview for this file type
  1 +webpackJsonp([3],{44:function(t,e,a){"use strict";function n(t){s||a(57)}Object.defineProperty(e,"__esModule",{value:!0});var i=a(49),r=a(58),s=!1,o=a(14),u=n,c=o(i.a,r.a,!1,u,"data-v-14e4fede",null);c.options.__file="src\\views\\layout.vue",e.default=c.exports},49:function(t,e,a){"use strict";e.a={created:function(){this.$router.push({name:"similar.list"})},methods:{open:function(t){this.$router.push({name:t})},goTop:function(){this.$refs.backtop.back()}}}},57:function(t,e){},58:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"layout"},[a("Layout",[a("Header",[a("Menu",{attrs:{mode:"horizontal",theme:"dark","active-name":"1"}},[a("div",{staticClass:"title"},[t._v("YOHO!人工智能平台")])])],1),t._v(" "),a("Layout",[a("Sider",{style:{background:"#fff"},attrs:{"hide-trigger":""}},[a("Menu",{attrs:{"active-name":"1-1",theme:"light",width:"auto","open-names":["1"]},on:{"on-select":t.open}},[a("Submenu",{attrs:{name:"1"}},[a("template",{slot:"title"},[a("Icon",{attrs:{type:"ios-navigate"}}),t._v("\n 数据生产\n ")],1),t._v(" "),a("MenuItem",{attrs:{name:"similar.list"}},[t._v("相似图")]),t._v(" "),a("MenuItem",{attrs:{name:"image.list"}},[t._v("商品识别")]),t._v(" "),a("MenuItem",{attrs:{name:"similar.fast"}},[t._v("fast")])],2)],1)],1),t._v(" "),a("Layout",{style:{padding:"0 24px 24px"}},[a("Breadcrumb",{style:{margin:"24px 0"}},[a("BreadcrumbItem",[t._v("首页")]),t._v(" "),a("BreadcrumbItem",[t._v("相似图")])],1),t._v(" "),a("Content",{style:{padding:"24px",minHeight:"280px",background:"#fff"}},[a("router-view",{on:{backtop:t.goTop}})],1)],1)],1),t._v(" "),a("Footer",{staticClass:"layout-footer-center"},[t._v("2011-2018 © YOHO")])],1),t._v(" "),a("BackTop",{ref:"backtop"})],1)},i=[];n._withStripped=!0;var r={render:n,staticRenderFns:i};e.a=r}});
  1 +webpackJsonp([4],{46:function(e,t,n){"use strict";function i(e){u||n(73)}Object.defineProperty(t,"__esModule",{value:!0});var r=n(55),s=n(74),u=!1,c=n(14),a=i,o=c(r.a,s.a,!1,a,null,null);o.options.__file="src\\views\\image\\editor.vue",t.default=o.exports},55:function(e,t,n){"use strict";t.a={}},73:function(e,t){},74:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div")},r=[];i._withStripped=!0;var s={render:i,staticRenderFns:r};t.a=s}});
This diff could not be displayed because it is too large.
  1 +<!DOCTYPE html>
  2 +<html lang="zh-CN">
  3 +
  4 +<head>
  5 + <title>Slowpoke 系统</title>
  6 + <meta charset="UTF-8">
  7 + <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
  8 + <link rel="stylesheet" href="/main.db6423e70f56d2e471c7.css">
  9 +</head>
  10 +
  11 +<body>
  12 + <div id="app"></div>
  13 + <script type="text/javascript" src="/vendors.db6423e70f56d2e471c7.js"></script>
  14 + <script type="text/javascript" src="/main.js"></script>
  15 +</body>
  16 +
  17 +</html>
This diff could not be displayed because it is too large.
  1 +webpackJsonp([5],{13:function(t,n,e){"use strict";n.a={data:function(){return{}},mounted:function(){},beforeDestroy:function(){},methods:{}}},14:function(t,n){t.exports=function(t,n,e,o,i,a){var r,u=t=t||{},c=typeof t.default;"object"!==c&&"function"!==c||(r=t,u=t.default);var s="function"==typeof u?u.options:u;n&&(s.render=n.render,s.staticRenderFns=n.staticRenderFns,s._compiled=!0),e&&(s.functional=!0),i&&(s._scopeId=i);var l;if(a?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},s._ssrRegister=l):o&&(l=o),l){var f=s.functional,p=f?s.render:s.beforeCreate;f?(s._injectStyles=l,s.render=function(t,n){return l.call(n),p(t,n)}):s.beforeCreate=p?[].concat(p,l):[l]}return{esModule:r,exports:u,options:s}}},16:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=e(1),i=e(6),a=e.n(i),r=e(7),u=e(19),c=e(37),s=e(39),l=e(41),f=(e.n(l),e(42));o.default.use(r.a),o.default.use(a.a),o.default.use(f.a);var p={mode:"history",routes:u.a},d=new r.a(p);d.beforeEach(function(t,n,e){a.a.LoadingBar.start(),c.a.title(t.meta.title),e()}),d.afterEach(function(){a.a.LoadingBar.finish(),window.scrollTo(0,0)}),new o.default({el:"#app",router:d,render:function(t){return t(s.a)}})},19:function(t,n,e){"use strict";var o=[{path:"/",component:function(t){return e.e(3).then(function(){var n=[e(44)];t.apply(null,n)}.bind(this)).catch(e.oe)},children:[{path:"index.html",name:"similar.index",component:function(t){return e.e(0).then(function(){var n=[e(15)];t.apply(null,n)}.bind(this)).catch(e.oe)}},{path:"similar.html",name:"similar.list",component:function(t){return e.e(0).then(function(){var n=[e(15)];t.apply(null,n)}.bind(this)).catch(e.oe)}},{path:"image.html",name:"image.list",component:function(t){return e.e(2).then(function(){var n=[e(45)];t.apply(null,n)}.bind(this)).catch(e.oe)}},{path:"image.html",name:"image.edit",component:function(t){return e.e(4).then(function(){var n=[e(46)];t.apply(null,n)}.bind(this)).catch(e.oe)}}]},{path:"/fast",name:"similar.fast",component:function(t){return e.e(1).then(function(){var n=[e(47)];t.apply(null,n)}.bind(this)).catch(e.oe)}}];n.a=o},37:function(t,n,e){"use strict";var o=e(4),i=e.n(o),a=e(38),r={};r.title=function(t){t=t?t+" - Home":"Slowpoke 系统",window.document.title=t};var u="development"===a.a?"http://tag.yohops.com:9999":"production"===a.a?"https://www.url.com":"https://debug.url.com";r.ajax=i.a.create({baseURL:u,timeout:3e4}),n.a=r},38:function(t,n,e){"use strict";n.a="production"},39:function(t,n,e){"use strict";var o=e(13),i=e(40),a=e(14),r=a(o.a,i.a,!1,null,null,null);r.options.__file="src\\app.vue",n.a=r.exports},40:function(t,n,e){"use strict";var o=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",[e("router-view")],1)},i=[];o._withStripped=!0;var a={render:o,staticRenderFns:i};n.a=a},41:function(t,n){},42:function(t,n,e){"use strict";var o=e(1),i=new o.default;n.a={install:function(t){Object.defineProperty(t,"$bus",{value:function(){return i}})}}}},[16]);
This diff could not be displayed because it is too large.