Authored by htoooth

fix

<<<<<<< HEAD
webpackJsonp([0],{16:function(t,e,n){"use strict";function r(t){s||n(69)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(59),i=n(79),s=!1,o=n(15),c=r,u=o(a.a,i.a,!1,c,null,null);u.options.__file="src\\views\\similar\\list.vue",e.default=u.exports},54: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},59:function(t,e,n){"use strict";var r=n(54),a=n(70),i=n(73),s=n(76);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}}}},60:function(t,e,n){"use strict";e.a={props:["src","skn"],data:function(){return{imageUrl:(this.src||"").replace("/w/78/h/78","/w/150/h150"),aUrl:"https://www.yohobuy.com/product/"+this.skn+".html"}},methods:{}}},61:function(t,e,n){"use strict";var r=n(54);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)}}}},62:function(t,e,n){"use strict";var r=n(54);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})}}}},69:function(t,e){},70:function(t,e,n){"use strict";function r(t){s||n(71)}var a=n(60),i=n(72),s=!1,o=n(15),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},71:function(t,e){},72: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",[n("a",{attrs:{href:t.aUrl,target:"_blank"}},[t._v(t._s(t.skn))])]),t._v(" "),n("img",{attrs:{src:t.imageUrl,alt:"",width:"150px",height:"150px"}})])},a=[];r._withStripped=!0;var i={render:r,staticRenderFns:a};e.a=i},73:function(t,e,n){"use strict";function r(t){s||n(74)}var a=n(61),i=n(75),s=!1,o=n(15),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},74:function(t,e){},75: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},76:function(t,e,n){"use strict";function r(t){s||n(77)}var a=n(62),i=n(78),s=!1,o=n(15),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},77:function(t,e){},78: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},79: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}});
=======
webpackJsonp([0],{16:function(t,e,n){"use strict";function r(t){s||n(65)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(56),i=n(75),s=!1,o=n(15),c=r,u=o(a.a,i.a,!1,c,null,null);u.options.__file="src/views/similar/list.vue",e.default=u.exports},54: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},56:function(t,e,n){"use strict";var r=n(54),a=n(66),i=n(69),s=n(72);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",[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}}}},57: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}}}},58:function(t,e,n){"use strict";var r=n(54);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)}}}},59:function(t,e,n){"use strict";var r=n(54);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})}}}},65:function(t,e){},66:function(t,e,n){"use strict";function r(t){s||n(67)}var a=n(57),i=n(68),s=!1,o=n(15),c=r,u=o(a.a,i.a,!1,c,"data-v-7484e382",null);u.options.__file="src/views/similar/components/product-image.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,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.src,alt:"",width:"150px",height:"150px"}})])},a=[];r._withStripped=!0;var i={render:r,staticRenderFns:a};e.a=i},69:function(t,e,n){"use strict";function r(t){s||n(70)}var a=n(58),i=n(71),s=!1,o=n(15),c=r,u=o(a.a,i.a,!1,c,"data-v-9d8eb0ca",null);u.options.__file="src/views/similar/components/check-image.vue",e.a=u.exports},70:function(t,e){},71: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},72:function(t,e,n){"use strict";function r(t){s||n(73)}var a=n(59),i=n(74),s=!1,o=n(15),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},73:function(t,e){},74: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},75: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}});
>>>>>>> c42854e14b8e815b8e7353713bdfbc0247aaa8ae
webpackJsonp([0],{16:function(t,e,n){"use strict";function r(t){s||n(69)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(59),i=n(79),s=!1,o=n(15),c=r,u=o(a.a,i.a,!1,c,null,null);u.options.__file="src\\views\\similar\\list.vue",e.default=u.exports},54: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},59:function(t,e,n){"use strict";var r=n(54),a=n(70),i=n(73),s=n(76);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}}}},60:function(t,e,n){"use strict";e.a={props:["src","skn"],data:function(){return{imageUrl:(this.src||"").replace("/w/78/h/78","/w/150/h150"),aUrl:"https://www.yohobuy.com/product/"+this.skn+".html"}},methods:{}}},61:function(t,e,n){"use strict";var r=n(54);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)}}}},62:function(t,e,n){"use strict";var r=n(54);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})}}}},69:function(t,e){},70:function(t,e,n){"use strict";function r(t){s||n(71)}var a=n(60),i=n(72),s=!1,o=n(15),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},71:function(t,e){},72: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",[n("a",{attrs:{href:t.aUrl,target:"_blank"}},[t._v(t._s(t.skn))])]),t._v(" "),n("img",{attrs:{src:t.imageUrl,alt:"",width:"150px",height:"150px"}})])},a=[];r._withStripped=!0;var i={render:r,staticRenderFns:a};e.a=i},73:function(t,e,n){"use strict";function r(t){s||n(74)}var a=n(61),i=n(75),s=!1,o=n(15),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},74:function(t,e){},75: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},76:function(t,e,n){"use strict";function r(t){s||n(77)}var a=n(62),i=n(78),s=!1,o=n(15),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},77:function(t,e){},78: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},79: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 newline at end of file
... ...
This diff could not be displayed because it is too large.
<<<<<<< HEAD
webpackJsonp([2],{53:function(t,e,n){"use strict";function r(t){s||n(93)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(66),a=n(95),s=!1,o=n(15),c=r,u=o(i.a,a.a,!1,c,null,null);u.options.__file="src\\views\\similar\\fast.vue",e.default=u.exports},54: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},55: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}},56: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(57),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")}}()},57: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}},66:function(t,e,n){"use strict";var r=n(54);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(),t.preventDefault()):"ArrowDown"===t.code?(t.shiftKey?this.allUnSelected():this.cancel(),t.preventDefault()):"ArrowLeft"===t.code?(t.shiftKey?this.prevPage():this.prevItem(),t.preventDefault()):"ArrowRight"===t.code&&(t.shiftKey?this.nextPage():this.nextItem(),t.preventDefault())},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"}))}}}},93:function(t,e,n){var r=n(94);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n(56)("733b6ff0",r,!1,{})},94:function(t,e,n){e=t.exports=n(55)(!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",""])},95: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}});
=======
webpackJsonp([2],{51:function(e,t,n){"use strict";function a(e){i||n(76)}Object.defineProperty(t,"__esModule",{value:!0});var r=n(60),s=n(77),i=!1,o=n(15),c=a,u=o(r.a,s.a,!1,c,null,null);u.options.__file="src/views/image/list.vue",t.default=u.exports},60:function(e,t,n){"use strict";var a=n(5);n.n(a);t.a={created:function(){},mounted:function(){var e=document.getElementById("myCanvas");console.log(this.$paper),console.log(this.$bus),a.setup(e);var t=new a.Path;t.strokeColor="black";var n=new a.Point(100,100);t.moveTo(n),t.lineTo(n.add([200,-50])),a.view.draw()}}},76:function(e,t){},77:function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement;e._self._c;return e._m(0)},r=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("img",{attrs:{src:n(78),alt:"",srcset:"",width:"800px"}}),e._v(" "),a("canvas",{attrs:{id:"myCanvas",resize:""}})])}];a._withStripped=!0;var s={render:a,staticRenderFns:r};t.a=s},78:function(e,t,n){e.exports=n.p+"f63f53aa50114ac88c11f4d86bb84306.jpg"}});
>>>>>>> c42854e14b8e815b8e7353713bdfbc0247aaa8ae
webpackJsonp([2],{53:function(t,e,n){"use strict";function r(t){s||n(93)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(66),a=n(95),s=!1,o=n(15),c=r,u=o(i.a,a.a,!1,c,null,null);u.options.__file="src\\views\\similar\\fast.vue",e.default=u.exports},54: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},55: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}},56: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(57),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")}}()},57: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}},66:function(t,e,n){"use strict";var r=n(54);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(),t.preventDefault()):"ArrowDown"===t.code?(t.shiftKey?this.allUnSelected():this.cancel(),t.preventDefault()):"ArrowLeft"===t.code?(t.shiftKey?this.prevPage():this.prevItem(),t.preventDefault()):"ArrowRight"===t.code&&(t.shiftKey?this.nextPage():this.nextItem(),t.preventDefault())},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"}))}}}},93:function(t,e,n){var r=n(94);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n(56)("733b6ff0",r,!1,{})},94:function(t,e,n){e=t.exports=n(55)(!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",""])},95: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}});
\ No newline at end of file
... ...
<<<<<<< HEAD
webpackJsonp([3],{50:function(t,e,a){"use strict";function n(t){s||a(67)}Object.defineProperty(e,"__esModule",{value:!0});var i=a(58),r=a(68),s=!1,o=a(15),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},58:function(t,e,a){"use strict";e.a={created:function(){this.$router.push({name:"image.list"})},methods:{open:function(t){this.$router.push({name:t})},goTop:function(){this.$refs.backtop.back()}}}},67:function(t,e){},68: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}});
=======
webpackJsonp([3],{50:function(t,e,a){"use strict";function n(t){s||a(63)}Object.defineProperty(e,"__esModule",{value:!0});var i=a(55),r=a(64),s=!1,o=a(15),u=n,c=o(i.a,r.a,!1,u,"data-v-8a54e678",null);c.options.__file="src/views/layout.vue",e.default=c.exports},55: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()}}}},63:function(t,e){},64: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}});
>>>>>>> c42854e14b8e815b8e7353713bdfbc0247aaa8ae
webpackJsonp([3],{50:function(t,e,a){"use strict";function n(t){s||a(67)}Object.defineProperty(e,"__esModule",{value:!0});var i=a(58),r=a(68),s=!1,o=a(15),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},58:function(t,e,a){"use strict";e.a={created:function(){this.$router.push({name:"image.list"})},methods:{open:function(t){this.$router.push({name:t})},goTop:function(){this.$refs.backtop.back()}}}},67:function(t,e){},68: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}});
\ No newline at end of file
... ...
<<<<<<< HEAD
webpackJsonp([4],{52:function(e,t,n){"use strict";function i(e){u||n(91)}Object.defineProperty(t,"__esModule",{value:!0});var r=n(65),s=n(92),u=!1,c=n(15),a=i,o=c(r.a,s.a,!1,a,null,null);o.options.__file="src\\views\\image\\editor.vue",t.default=o.exports},65:function(e,t,n){"use strict";t.a={}},91:function(e,t){},92: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}});
=======
webpackJsonp([4],{52:function(e,t,n){"use strict";function i(e){u||n(79)}Object.defineProperty(t,"__esModule",{value:!0});var r=n(61),s=n(80),u=!1,c=n(15),a=i,o=c(r.a,s.a,!1,a,null,null);o.options.__file="src/views/image/editor.vue",t.default=o.exports},61:function(e,t,n){"use strict";t.a={}},79:function(e,t){},80: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}});
>>>>>>> c42854e14b8e815b8e7353713bdfbc0247aaa8ae
webpackJsonp([4],{52:function(e,t,n){"use strict";function i(e){u||n(91)}Object.defineProperty(t,"__esModule",{value:!0});var r=n(65),s=n(92),u=!1,c=n(15),a=i,o=c(r.a,s.a,!1,a,null,null);o.options.__file="src\\views\\image\\editor.vue",t.default=o.exports},65:function(e,t,n){"use strict";t.a={}},91:function(e,t){},92: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}});
\ No newline at end of file
... ...
... ... @@ -5,20 +5,12 @@
<title>Slowpoke 系统</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
<<<<<<< HEAD
<link rel="stylesheet" href="/main.bb02b592f5bff265d46e.css">
=======
<link rel="stylesheet" href="/main.ffa4018224f614fd4249.css">
>>>>>>> c42854e14b8e815b8e7353713bdfbc0247aaa8ae
<link rel="stylesheet" href="/main.d0b2349e69c4a3e6516c.css">
</head>
<body>
<div id="app"></div>
<<<<<<< HEAD
<script type="text/javascript" src="/vendors.bb02b592f5bff265d46e.js"></script>
=======
<script type="text/javascript" src="/vendors.ffa4018224f614fd4249.js"></script>
>>>>>>> c42854e14b8e815b8e7353713bdfbc0247aaa8ae
<script type="text/javascript" src="/vendors.d0b2349e69c4a3e6516c.js"></script>
<script type="text/javascript" src="/main.js"></script>
</body>
... ...
This diff could not be displayed because it is too large.
<<<<<<< HEAD
webpackJsonp([5],{13:function(t,n,e){"use strict";n.a={data:function(){return{}},mounted:function(){},beforeDestroy:function(){},methods:{}}},15:function(t,n){t.exports=function(t,n,e,o,a,i){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),a&&(s._scopeId=a);var l;if(i?(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(i)},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}}},17:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=e(2),a=e(6),i=e.n(a),r=e(7),u=e(20),c=e(38),s=e(40),l=e(42),f=(e.n(l),e(43)),p=e(44);o.default.use(r.a),o.default.use(i.a),o.default.use(f.a),o.default.use(p.a);var d={mode:"history",routes:u.a},h=new r.a(d);h.beforeEach(function(t,n,e){i.a.LoadingBar.start(),c.a.title(t.meta.title),e()}),h.afterEach(function(){i.a.LoadingBar.finish(),window.scrollTo(0,0)}),new o.default({el:"#app",router:h,render:function(t){return t(s.a)}})},20:function(t,n,e){"use strict";var o=[{path:"/",component:function(t){return e.e(3).then(function(){var n=[e(50)];t.apply(null,n)}.bind(this)).catch(e.oe)},children:[{path:"/index",name:"similar.index",component:function(t){return e.e(0).then(function(){var n=[e(16)];t.apply(null,n)}.bind(this)).catch(e.oe)}},{path:"/similar",name:"similar.list",component:function(t){return e.e(0).then(function(){var n=[e(16)];t.apply(null,n)}.bind(this)).catch(e.oe)}},{path:"/image",name:"image.list",component:function(t){return e.e(1).then(function(){var n=[e(51)];t.apply(null,n)}.bind(this)).catch(e.oe)}},{path:"/image/edit",name:"image.edit",component:function(t){return e.e(4).then(function(){var n=[e(52)];t.apply(null,n)}.bind(this)).catch(e.oe)}}]},{path:"/fast",name:"similar.fast",component:function(t){return e.e(2).then(function(){var n=[e(53)];t.apply(null,n)}.bind(this)).catch(e.oe)}}];n.a=o},38:function(t,n,e){"use strict";var o=e(4),a=e.n(o),i=e(39),r={};r.title=function(t){t=t?t+" - Home":"Slowpoke 系统",window.document.title=t};var u="development"===i.a?"http://tag.yohops.com:9999":"production"===i.a?"https://www.url.com":"https://debug.url.com";r.ajax=a.a.create({baseURL:u,timeout:3e4}),n.a=r},39:function(t,n,e){"use strict";n.a="production"},40:function(t,n,e){"use strict";var o=e(13),a=e(41),i=e(15),r=i(o.a,a.a,!1,null,null,null);r.options.__file="src\\app.vue",n.a=r.exports},41: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)},a=[];o._withStripped=!0;var i={render:o,staticRenderFns:a};n.a=i},42:function(t,n){},43:function(t,n,e){"use strict";var o=e(2),a=new o.default;n.a={install:function(t){t.prototype.$bus=a}}},44:function(t,n,e){"use strict";var o=e(14);e.n(o);n.a={install:function(t){t.prototype.$fabric=o.fabric}}}},[17]);
=======
webpackJsonp([5],{14:function(t,n,e){"use strict";n.a={data:function(){return{}},mounted:function(){},beforeDestroy:function(){},methods:{}}},15:function(t,n){t.exports=function(t,n,e,a,i,o){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(o?(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__),a&&a.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},s._ssrRegister=l):a&&(l=a),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}}},17:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a=e(1),i=e(7),o=e.n(i),r=e(8),u=e(21),c=e(42),s=e(44),l=e(46),f=(e.n(l),e(47)),p=e(48);a.default.use(r.a),a.default.use(o.a),a.default.use(f.a),a.default.use(p.a);var d={mode:"history",routes:u.a},h=new r.a(d);h.beforeEach(function(t,n,e){o.a.LoadingBar.start(),c.a.title(t.meta.title),e()}),h.afterEach(function(){o.a.LoadingBar.finish(),window.scrollTo(0,0)}),new a.default({el:"#app",router:h,render:function(t){return t(s.a)}})},21:function(t,n,e){"use strict";var a=[{path:"/",component:function(t){return e.e(3).then(function(){var n=[e(50)];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(16)];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(16)];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(51)];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(52)];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(53)];t.apply(null,n)}.bind(this)).catch(e.oe)}}];n.a=a},42:function(t,n,e){"use strict";var a=e(4),i=e.n(a),o=e(43),r={};r.title=function(t){t=t?t+" - Home":"Slowpoke 系统",window.document.title=t};var u="development"===o.a?"http://tag.yohops.com:9999":"production"===o.a?"https://www.url.com":"https://debug.url.com";r.ajax=i.a.create({baseURL:u,timeout:3e4}),n.a=r},43:function(t,n,e){"use strict";n.a="production"},44:function(t,n,e){"use strict";var a=e(14),i=e(45),o=e(15),r=o(a.a,i.a,!1,null,null,null);r.options.__file="src/app.vue",n.a=r.exports},45:function(t,n,e){"use strict";var a=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",[e("router-view")],1)},i=[];a._withStripped=!0;var o={render:a,staticRenderFns:i};n.a=o},46:function(t,n){},47:function(t,n,e){"use strict";var a=e(1),i=new a.default;n.a={install:function(t){Object.defineProperty(t,"$bus",{value:function(){return i}})}}},48:function(t,n,e){"use strict";var a=e(5);e.n(a);n.a={install:function(t){Object.defineProperty(t,"$paper",{value:function(){return a}})}}}},[17]);
>>>>>>> c42854e14b8e815b8e7353713bdfbc0247aaa8ae
webpackJsonp([5],{13:function(t,n,e){"use strict";n.a={data:function(){return{}},mounted:function(){},beforeDestroy:function(){},methods:{}}},15:function(t,n){t.exports=function(t,n,e,o,a,i){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),a&&(s._scopeId=a);var l;if(i?(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(i)},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}}},17:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=e(2),a=e(6),i=e.n(a),r=e(7),u=e(20),c=e(38),s=e(40),l=e(42),f=(e.n(l),e(43)),p=e(44);o.default.use(r.a),o.default.use(i.a),o.default.use(f.a),o.default.use(p.a);var d={mode:"history",routes:u.a},h=new r.a(d);h.beforeEach(function(t,n,e){i.a.LoadingBar.start(),c.a.title(t.meta.title),e()}),h.afterEach(function(){i.a.LoadingBar.finish(),window.scrollTo(0,0)}),new o.default({el:"#app",router:h,render:function(t){return t(s.a)}})},20:function(t,n,e){"use strict";var o=[{path:"/",component:function(t){return e.e(3).then(function(){var n=[e(50)];t.apply(null,n)}.bind(this)).catch(e.oe)},children:[{path:"/index",name:"similar.index",component:function(t){return e.e(0).then(function(){var n=[e(16)];t.apply(null,n)}.bind(this)).catch(e.oe)}},{path:"/similar",name:"similar.list",component:function(t){return e.e(0).then(function(){var n=[e(16)];t.apply(null,n)}.bind(this)).catch(e.oe)}},{path:"/image",name:"image.list",component:function(t){return e.e(1).then(function(){var n=[e(51)];t.apply(null,n)}.bind(this)).catch(e.oe)}},{path:"/image/edit",name:"image.edit",component:function(t){return e.e(4).then(function(){var n=[e(52)];t.apply(null,n)}.bind(this)).catch(e.oe)}}]},{path:"/fast",name:"similar.fast",component:function(t){return e.e(2).then(function(){var n=[e(53)];t.apply(null,n)}.bind(this)).catch(e.oe)}}];n.a=o},38:function(t,n,e){"use strict";var o=e(4),a=e.n(o),i=e(39),r={};r.title=function(t){t=t?t+" - Home":"Slowpoke 系统",window.document.title=t};var u="development"===i.a?"http://tag.yohops.com:9999":"production"===i.a?"https://www.url.com":"https://debug.url.com";r.ajax=a.a.create({baseURL:u,timeout:3e4}),n.a=r},39:function(t,n,e){"use strict";n.a="production"},40:function(t,n,e){"use strict";var o=e(13),a=e(41),i=e(15),r=i(o.a,a.a,!1,null,null,null);r.options.__file="src\\app.vue",n.a=r.exports},41: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)},a=[];o._withStripped=!0;var i={render:o,staticRenderFns:a};n.a=i},42:function(t,n){},43:function(t,n,e){"use strict";var o=e(2),a=new o.default;n.a={install:function(t){t.prototype.$bus=a}}},44:function(t,n,e){"use strict";var o=e(14);e.n(o);n.a={install:function(t){t.prototype.$fabric=o.fabric}}}},[17]);
\ No newline at end of file
... ...
This diff could not be displayed because it is too large.