0.e5ee56e170ae61156d29.js.map 249 KB

1
  1. {"version":3,"sources":["webpack:///./src/api/subject.js","webpack:///./src/api/productAttr.js","webpack:///./node_modules/core-js/library/modules/_array-from-iterable.js","webpack:///./src/api/coupon.js","webpack:///./node_modules/core-js/library/fn/array/from.js","webpack:///./node_modules/core-js/library/modules/_array-species-constructor.js","webpack:///./node_modules/core-js/library/modules/_set-collection-of.js","webpack:///./node_modules/core-js/library/modules/_collection-strong.js","webpack:///./node_modules/core-js/library/fn/object/define-property.js","webpack:///./node_modules/core-js/library/modules/_array-methods.js","webpack:///./node_modules/core-js/library/modules/es7.set.to-json.js","webpack:///./node_modules/babel-runtime/core-js/object/define-property.js","webpack:///./node_modules/core-js/library/modules/es6.object.keys.js","webpack:///src/views/pms/product/components/ProductInfoDetail.vue","webpack:///./src/views/pms/product/components/ProductInfoDetail.vue?4e77","webpack:///./src/views/pms/product/components/ProductInfoDetail.vue","webpack:///src/views/pms/product/components/ProductSaleDetail.vue","webpack:///./src/api/memberLevel.js","webpack:///./src/views/pms/product/components/ProductSaleDetail.vue?3514","webpack:///./src/views/pms/product/components/ProductSaleDetail.vue","webpack:///src/components/Upload/multiUpload.vue","webpack:///./src/components/Upload/multiUpload.vue?0a90","webpack:///./src/components/Upload/multiUpload.vue","webpack:///src/components/Tinymce/components/editorImage.vue","webpack:///./src/components/Tinymce/components/editorImage.vue?0f19","webpack:///./src/components/Tinymce/components/editorImage.vue","webpack:///src/components/Tinymce/index.vue","webpack:///./src/components/Tinymce/index.vue?0c5f","webpack:///./src/components/Tinymce/index.vue","webpack:///src/views/pms/product/components/ProductAttrDetail.vue","webpack:///./src/views/pms/product/components/ProductAttrDetail.vue?fef4","webpack:///./src/views/pms/product/components/ProductAttrDetail.vue","webpack:///src/views/pms/product/components/ProductRelationDetail.vue","webpack:///./src/api/prefrenceArea.js","webpack:///./src/views/pms/product/components/ProductRelationDetail.vue?1e33","webpack:///./src/views/pms/product/components/ProductRelationDetail.vue","webpack:///src/views/pms/product/components/ProductDetail.vue","webpack:///./src/views/pms/product/components/ProductDetail.vue?9ca1","webpack:///./src/views/pms/product/components/ProductDetail.vue","webpack:///./src/api/order.js","webpack:///./node_modules/core-js/library/modules/_set-collection-from.js","webpack:///./src/api/productAttrCate.js","webpack:///./node_modules/core-js/library/modules/_validate-collection.js","webpack:///./src/api/homeAdvertise.js","webpack:///./src/api/resourceCategory.js","webpack:///./src/api/role.js","webpack:///src/components/Upload/singleUpload.vue","webpack:///./src/components/Upload/singleUpload.vue?ad3f","webpack:///./src/components/Upload/singleUpload.vue","webpack:///./src/api/product.js","webpack:///./static/tinymce4.7.5/langs/zh_CN.js","webpack:///./src/api/oss.js","webpack:///./node_modules/babel-runtime/helpers/defineProperty.js","webpack:///./src/api/menu.js","webpack:///./node_modules/babel-runtime/core-js/array/from.js","webpack:///./node_modules/core-js/library/modules/_create-property.js","webpack:///./node_modules/babel-runtime/core-js/object/keys.js","webpack:///./node_modules/core-js/library/modules/es7.set.from.js","webpack:///./node_modules/core-js/library/fn/object/keys.js","webpack:///./node_modules/babel-runtime/core-js/set.js","webpack:///./node_modules/core-js/library/modules/_collection-to-json.js","webpack:///./node_modules/core-js/library/modules/es6.object.define-property.js","webpack:///./src/api/productCate.js","webpack:///./node_modules/core-js/library/modules/es7.set.of.js","webpack:///./node_modules/core-js/library/modules/_array-species-create.js","webpack:///./node_modules/core-js/library/fn/set.js","webpack:///./node_modules/core-js/library/modules/_collection.js","webpack:///./node_modules/core-js/library/modules/es6.array.from.js","webpack:///./src/api/brand.js","webpack:///./node_modules/core-js/library/modules/es6.set.js","webpack:///./node_modules/core-js/library/modules/_object-sap.js","webpack:///./src/utils/date.js"],"names":["Object","__WEBPACK_IMPORTED_MODULE_0__utils_request__","url","method","params","cid","data","requestType","id","productCategoryId","forOf","__webpack_require__","module","exports","iter","ITERATOR","result","push","Array","from","isObject","isArray","SPECIES","original","C","constructor","prototype","undefined","$export","COLLECTION","S","of","length","arguments","A","this","dP","f","create","redefineAll","ctx","anInstance","$iterDefine","step","setSpecies","DESCRIPTORS","fastKey","validate","SIZE","getEntry","that","key","entry","index","_i","_f","n","k","getConstructor","wrapper","NAME","IS_MAP","ADDER","iterable","_t","_l","clear","r","p","i","delete","next","prev","forEach","callbackfn","v","has","get","def","value","setStrong","iterated","kind","_k","$Object","it","desc","defineProperty","IObject","toObject","toLength","asc","TYPE","$create","IS_FILTER","IS_SOME","IS_EVERY","IS_FIND_INDEX","NO_HOLES","$this","val","res","O","self","P","R","toJSON","default","__esModule","$keys","ProductInfoDetail","name","props","isEdit","type","Boolean","hasEditCreated","selectProductCateValue","productCateOptions","brandOptions","rules","required","message","trigger","min","max","brandId","description","requiredProp","price","originalPrice","created","getProductCateList","getBrandList","computed","productId","watch","newValue","console","log","handleEditCreated","productCategoryName","getCateNameById","methods","cateParentId","_this","productCate","then","response","list","children","j","label","_this2","brand","pageNum","pageSize","brandList","handleNext","formName","_this3","$refs","valid","$message","duration","$emit","handleBrandChange","brandName","components_ProductInfoDetail","render","_vm","_h","$createElement","_c","_self","staticStyle","margin-top","ref","width","attrs","model","label-width","size","prop","disabled","options","callback","$$v","expression","_v","$set","placeholder","on","change","item","staticClass","autocomplete","controls-position","text-align","click","$event","staticRenderFns","product_components_ProductInfoDetail","normalizeComponent","ssrContext","ProductSaleDetail","pickerOptions1","disabledDate","time","getTime","Date","now","defaultStatus","request","memberPriceList","memberLevelId","memberLevelName","selectServiceList","serviceIds","ids","split","Number","set","endsWith","substr","handleRemoveProductLadder","row","productLadderList","pop","count","discount","splice","handleAddProductLadder","handleRemoveFullReduction","fullReductionList","productFullReductionList","fullPrice","reducePrice","handleAddFullReduction","handlePrev","components_ProductSaleDetail","active-value","inactive-value","margin-right","margin-left","directives","rawName","promotionType","picker-options","class","littleMargin","_s","border","align","scopedSlots","_u","fn","scope","$index","product_components_ProductSaleDetail","ProductSaleDetail_normalizeComponent","multiUpload","maxCount","bucket_name","String","dataObj","policy","signature","KSSAccessKeyId","acl","dialogVisible","dialogImageUrl","useOss","ossUploadUrl","minioUploadUrl","fileList","emitInput","handleRemove","file","handlePreview","beforeUpload","promise_default","a","resolve","reject","obj","filename","bucketName","postData","unknowValueField","oss","kssAccessKeyId","ks3Options","uploadDomain","autoStart","document","body","ks3FileUploader","catch","err","handleUploadSuccess","handleExceed","files","Upload_multiUpload","action","list-type","file-list","before-upload","on-remove","on-success","on-preview","limit","on-exceed","visible","update:visible","src","alt","components_Upload_multiUpload","multiUpload_normalizeComponent","editorImage","color","listObj","checkAllSuccess","keys_default","every","hasSuccess","handleSubmit","arr","map","handleSuccess","uid","objKeyArr","len","fileName","height","components_editorImage","style","background","borderColor","icon","append-to-body","multiple","show-file-list","Tinymce_components_editorImage","editorImage_normalizeComponent","plugins","toolbar","Tinymce","components","menubar","hasChange","hasInit","tinymceId","$nextTick","window","tinymce","setContent","mounted","initTinymce","activated","deactivated","destroyTinymce","init","selector","language","body_class","object_resizing","end_container_on_empty_block","powerpaste_word_import","code_dialog_height","code_dialog_width","advlist_bullet_styles","advlist_number_styles","imagetools_cors_hosts","default_link_target","link_title","init_instance_callback","editor","getContent","destroy","imageSuccessCBK","insertContent","destroyed","components_Tinymce","contenteditable","successCBK","src_components_Tinymce","Tinymce_normalizeComponent","ProductAttrDetail","SingleUpload","singleUpload","MultiUpload","productAttributeCategoryOptions","selectProductAttr","selectProductParam","selectProductAttrPics","addProductAttrValue","activeHtmlName","hasAttrPic","selectProductPics","pics","pic","albumPics","skuStockList","getProductAttrCateList","productAttributeCategoryId","handleProductAttrChange","productAttrCate","getProductAttrList","param","productAttr","values","handAddStatus","getEditAttrOptions","getEditAttrValues","inputList","refreshProductAttrPics","getEditParamValue","inputType","productAttributeValueList","attrValue","productAttributeId","strArr","set_default","sku","spData","JSON","parse","add","_i2","_sku","_spData","_i3","_sku2","_spData2","from_default","getInputListArr","handleAddProductAttrValue","idx","indexOf","handleRemoveProductAttrValue","getProductSkuSp","handleRefreshProductSkuList","$confirm","confirmButtonText","cancelButtonText","refreshProductSkuList","handleSyncProductSkuPrice","_this4","tempSkuList","concat","handleSyncProductSkuStock","_this5","stock","lowStock","skuList","attr","stringify_default","attr0","attr1","_i4","_attr","_attr2","attr2","_i5","_j","_spData4","_spData3","getProductSkuPic","mergeProductAttrValue","getOptionStr","_i6","mergeProductAttrPics","str","handleRemoveProductSku","getParamInputList","skuCode","error","handleFinishCommit","components_ProductAttrDetail","shadow","display","clearable","_e","littleMarginTop","product_components_ProductAttrDetail","ProductAttrDetail_normalizeComponent","ProductRelationDetail","subjectList","subjectTitles","prefrenceAreaList","prefrenceAreaTitles","getSubjectList","getPrefrenceAreaList","selectSubject","subjects","subjectProductRelationList","subjectId","selectPrefrenceArea","prefrenceAreas","prefrenceAreaProductRelationList","prefrenceAreaId","filterMethod","query","subject","title","components_ProductRelationDetail","filterable","filter-method","filter-placeholder","titles","defaultProductParam","deleteStatus","detailDesc","detailHtml","detailMobileHtml","detailTitle","feightTemplateId","flashPromotionCount","flashPromotionId","flashPromotionPrice","flashPromotionSort","giftPoint","giftGrowth","keywords","newStatus","note","previewStatus","productSn","promotionEndTime","promotionPerLimit","promotionPrice","promotionStartTime","publishStatus","recommandStatus","sale","sort","subTitle","unit","usePointLimit","verifyStatus","weight","ProductDetail","ProductRelationDetail_normalizeComponent","active","productParam","assign_default","showStatus","$route","product","hideAll","prevStep","nextStep","finishCommit","$router","back","components_ProductDetail","finish-status","align-center","is-edit","ProductDetail_Component","ProductDetail_normalizeComponent","__webpack_exports__","aFunction","source","mapping","cb","mapFn","nextItem","TypeError","roleId","imageUrl","imageName","lastIndexOf","showFileList","Upload_singleUpload","slot","Component","__WEBPACK_IMPORTED_MODULE_1__utils_request__","__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_defineProperty___default","addI18n","Cut","Heading 5","Header 2","Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.","Heading 4","Div","Heading 2","Paste","Close","Font Family","Pre","Align right","New document","Blockquote","Numbered list","Heading 1","Headings","Increase indent","Formats","Headers","Select all","Header 3","Blocks","Undo","Strikethrough","Bullet list","Header 1","Superscript","Clear formatting","Font Sizes","Subscript","Header 6","Redo","Paragraph","Ok","Bold","Code","Italic","Align center","Header 5","Heading 6","Heading 3","Decrease indent","Header 4","Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.","Underline","Cancel","Justify","Inline","Copy","Align left","Visual aids","Lower Greek","Square","Default","Lower Alpha","Circle","Disc","Upper Alpha","Upper Roman","Lower Roman","Id should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.","Name","Anchor","Id","You have unsaved changes are you sure you want to navigate away?","Restore last draft","Special character","Source code","Language","Insert/Edit code sample","B","G","Color","Right to left","Left to right","Emoticons","Robots","Document properties","Title","Keywords","Encoding","Description","Author","Fullscreen","Horizontal line","Horizontal space","Insert/edit image","General","Advanced","Source","Border","Constrain proportions","Vertical space","Image description","Style","Dimensions","Insert image","Image","Zoom in","Contrast","Back","Gamma","Flip horizontally","Resize","Sharpen","Zoom out","Image options","Apply","Brightness","Rotate clockwise","Rotate counterclockwise","Edit image","Color levels","Crop","Orientation","Flip vertically","Invert","Date/time","Insert date/time","Remove link","Url","Text to display","Anchors","Insert link","Link","New window","None","The URL you entered seems to be an external link. Do you want to add the required http:// prefix?","Paste or type a link","Target","The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?","Insert/edit link","Insert/edit video","Media","Alternative source","Paste your embed code below:","Insert video","Poster","Insert/edit media","Embed","Nonbreaking space","Page break","Paste as text","Preview","Print","Save","Could not find the specified string.","Replace","Next","Whole words","Find and replace","Replace with","Find","Replace all","Match case","Prev","Spellcheck","Finish","Ignore all","Ignore","Add to Dictionary","Insert row before","Rows","Height","Paste row after","Alignment","Border color","Column group","Row","Insert column before","Split cell","Cell padding","Cell spacing","Row type","Insert table","Body","Caption","Footer","Delete row","Paste row before","Scope","Delete table","H Align","Top","Header cell","Column","Row group","Cell","Middle","Cell type","Copy row","Row properties","Table properties","Bottom","V Align","Header","Right","Insert column after","Cols","Insert row after","Width","Cell properties","Left","Cut row","Delete column","Center","Merge cells","Insert template","Templates","Background color","Custom...","Custom color","No color","Text color","Table of Contents","Show blocks","Show invisible characters","Words: {0}","Insert","File","Edit","Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help","Tools","View","Table","Format","headers","Content-Type","_defineProperty","_defineProperty2","enumerable","configurable","writable","parentId","$defineProperty","createDesc","object","keys","classof","F","speciesConstructor","Set","global","meta","fails","hide","setToStringTag","each","common","IS_WEAK","Base","proto","entries","target","KEY","IS_ADDER","b","NEED","W","call","isArrayIter","createProperty","getIterFn","arrayLike","iterator","aLen","mapfn","iterFn","done","strong","core","exec","exp","padLeftZero","date","fmt","test","replace","RegExp","$1","getFullYear","o","M+","getMonth","d+","getDate","h+","getHours","m+","getMinutes","s+","getSeconds"],"mappings":"iFACO,WACL,OAAOA,OAAAC,EAAA,EAAAD,EACLE,IAAI,mBACJC,OAAO,aAIJ,SAAmBC,GACxB,OAAOJ,OAAAC,EAAA,EAAAD,EACLE,IAAI,gBACJC,OAAO,MACPC,OAAOA,8DCXJ,SAAmBC,EAAID,GAC5B,OAAOJ,OAAAC,EAAA,EAAAD,EACLE,IAAI,0BAA0BG,EAC9BF,OAAO,MACPC,OAAOA,SAIJ,SAA2BE,GAChC,OAAON,OAAAC,EAAA,EAAAD,EACLE,IAAI,2BACJC,OAAO,OACPG,KAAKA,EACLC,YAAY,cAIT,SAA2BD,GAChC,OAAON,OAAAC,EAAA,EAAAD,EACLE,IAAI,2BACJC,OAAO,OACPG,KAAKA,SAIF,SAA2BE,EAAGF,GACnC,OAAON,OAAAC,EAAA,EAAAD,EACLE,IAAI,4BAA4BM,EAChCL,OAAO,OACPG,KAAKA,SAGF,SAAwBE,GAC7B,OAAOR,OAAAC,EAAA,EAAAD,EACLE,IAAI,qBAAqBM,EACzBL,OAAO,aAIJ,SAA4BM,GACjC,OAAOT,OAAAC,EAAA,EAAAD,EACLE,IAA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AA60B,EAAAx0B,EAAA,QACAoC,EAAApC,EAAA,QAIAC,EAAAC,QAAAF,EAAA,OAAAA,CAHA,MAGA,SAAAkE,GACA,kBAAyB,OAAAA,EAAA1C,KAAAF,UAAAD,OAAA,EAAAC,UAAA,QAAAN,MAGzBiZ,IAAA,SAAA7V,GACA,OAAAowB,EAAArwB,IAAA/B,EAAAZ,KARA,OAQA4C,EAAA,IAAAA,EAAA,EAAAA,OAECowB,yBCZD,IAAAvzB,EAAAjB,EAAA,QACAy0B,EAAAz0B,EAAA,QACA+yB,EAAA/yB,EAAA,QACAC,EAAAC,QAAA,SAAAuzB,EAAAiB,GACA,IAAArlB,GAAAolB,EAAAp1B,YAA6Bo0B,IAAAp0B,OAAAo0B,GAC7BkB,KACAA,EAAAlB,GAAAiB,EAAArlB,GACApO,IAAAE,EAAAF,EAAAyxB,EAAAK,EAAA,WAAqD1jB,EAAA,KAAS,SAAAslB,uCCa9D,SAASC,EAAY9X,GACnB,OAAQ,KAAOA,GAAKzP,OAAOyP,EAAIzb,YArB1B,SAAoBwzB,EAAMC,GAC3B,OAAOC,KAAKD,KACdA,EAAMA,EAAIE,QAAQC,OAAOC,IAAKL,EAAKM,cAAgB,IAAI9nB,OAAO,EAAI4nB,OAAOC,GAAG7zB,UAE9E,IAAI+zB,GACFC,KAAMR,EAAKS,WAAa,EACxBC,KAAMV,EAAKW,UACXC,KAAMZ,EAAKa,WACXC,KAAMd,EAAKe,aACXC,KAAMhB,EAAKiB,cAEb,IAAK,IAAIhzB,KAAKsyB,EACZ,GAAI,IAAIH,OAAJ,IAAenyB,EAAf,KAAqBiyB,KAAKD,GAAM,CAClC,IAAIhY,EAAMsY,EAAEtyB,GAAK,GACjBgyB,EAAMA,EAAIE,QAAQC,OAAOC,GAA0B,IAArBD,OAAOC,GAAG7zB,OAAgByb,EAAM8X,EAAY9X,IAG9E,OAAOgY","file":"static/js/0.e5ee56e170ae61156d29.js","sourcesContent":["import request from '@/utils/request'\nexport function fetchListAll() {\n return request({\n url:'/subject/listAll',\n method:'get',\n })\n}\n\nexport function fetchList(params) {\n return request({\n url:'/subject/list',\n method:'get',\n params:params\n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/api/subject.js","import request from '@/utils/request'\r\nexport function fetchList(cid,params) {\r\n return request({\r\n url:'/productAttribute/list/'+cid,\r\n method:'get',\r\n params:params\r\n })\r\n}\r\n\r\nexport function deleteProductAttr(data) {\r\n return request({\r\n url:'/productAttribute/delete',\r\n method:'post',\r\n data:data,\r\n requestType:'form'\r\n })\r\n}\r\n\r\nexport function createProductAttr(data) {\r\n return request({\r\n url:'/productAttribute/create',\r\n method:'post',\r\n data:data\r\n })\r\n}\r\n\r\nexport function updateProductAttr(id,data) {\r\n return request({\r\n url:'/productAttribute/update/'+id,\r\n method:'post',\r\n data:data\r\n })\r\n}\r\nexport function getProductAttr(id) {\r\n return request({\r\n url:'/productAttribute/'+id,\r\n method:'get'\r\n })\r\n}\r\n\r\nexport function getProductAttrInfo(productCategoryId) {\r\n return request({\r\n url:'/productAttribute/attrInfo/'+productCategoryId,\r\n method:'get'\r\n })\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/api/productAttr.js","var forOf = require('./_for-of');\n\nmodule.exports = function (iter, ITERATOR) {\n var result = [];\n forOf(iter, false, result.push, result, ITERATOR);\n return result;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_array-from-iterable.js\n// module id = 4WTo\n// module chunks = 0","import request from '@/utils/request'\nexport function fetchList(params) {\n return request({\n url:'/coupon/list',\n method:'get',\n params:params\n })\n}\n\nexport function createCoupon(data) {\n return request({\n url:'/coupon/create',\n method:'post',\n data:data\n })\n}\n\nexport function getCoupon(id) {\n return request({\n url:'/coupon/'+id,\n method:'get',\n })\n}\n\nexport function updateCoupon(id,data) {\n return request({\n url:'/coupon/update/'+id,\n method:'post',\n data:data\n })\n}\n\nexport function deleteCoupon(id) {\n return request({\n url:'/coupon/delete/'+id,\n method:'post',\n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/api/coupon.js","require('../../modules/es6.string.iterator');\nrequire('../../modules/es6.array.from');\nmodule.exports = require('../../modules/_core').Array.from;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/fn/array/from.js\n// module id = 5zde\n// module chunks = 0","var isObject = require('./_is-object');\nvar isArray = require('./_is-array');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (original) {\n var C;\n if (isArray(original)) {\n C = original.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? Array : C;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_array-species-constructor.js\n// module id = 7Doy\n// module chunks = 0","'use strict';\n// https://tc39.github.io/proposal-setmap-offrom/\nvar $export = require('./_export');\n\nmodule.exports = function (COLLECTION) {\n $export($export.S, COLLECTION, { of: function of() {\n var length = arguments.length;\n var A = new Array(length);\n while (length--) A[length] = arguments[length];\n return new this(A);\n } });\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_set-collection-of.js\n// module id = 9Bbf\n// module chunks = 0","'use strict';\nvar dP = require('./_object-dp').f;\nvar create = require('./_object-create');\nvar redefineAll = require('./_redefine-all');\nvar ctx = require('./_ctx');\nvar anInstance = require('./_an-instance');\nvar forOf = require('./_for-of');\nvar $iterDefine = require('./_iter-define');\nvar step = require('./_iter-step');\nvar setSpecies = require('./_set-species');\nvar DESCRIPTORS = require('./_descriptors');\nvar fastKey = require('./_meta').fastKey;\nvar validate = require('./_validate-collection');\nvar SIZE = DESCRIPTORS ? '_s' : 'size';\n\nvar getEntry = function (that, key) {\n // fast case\n var index = fastKey(key);\n var entry;\n if (index !== 'F') return that._i[index];\n // frozen object case\n for (entry = that._f; entry; entry = entry.n) {\n if (entry.k == key) return entry;\n }\n};\n\nmodule.exports = {\n getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {\n var C = wrapper(function (that, iterable) {\n anInstance(that, C, NAME, '_i');\n that._t = NAME; // collection type\n that._i = create(null); // index\n that._f = undefined; // first entry\n that._l = undefined; // last entry\n that[SIZE] = 0; // size\n if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n });\n redefineAll(C.prototype, {\n // 23.1.3.1 Map.prototype.clear()\n // 23.2.3.2 Set.prototype.clear()\n clear: function clear() {\n for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) {\n entry.r = true;\n if (entry.p) entry.p = entry.p.n = undefined;\n delete data[entry.i];\n }\n that._f = that._l = undefined;\n that[SIZE] = 0;\n },\n // 23.1.3.3 Map.prototype.delete(key)\n // 23.2.3.4 Set.prototype.delete(value)\n 'delete': function (key) {\n var that = validate(this, NAME);\n var entry = getEntry(that, key);\n if (entry) {\n var next = entry.n;\n var prev = entry.p;\n delete that._i[entry.i];\n entry.r = true;\n if (prev) prev.n = next;\n if (next) next.p = prev;\n if (that._f == entry) that._f = next;\n if (that._l == entry) that._l = prev;\n that[SIZE]--;\n } return !!entry;\n },\n // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)\n // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)\n forEach: function forEach(callbackfn /* , that = undefined */) {\n validate(this, NAME);\n var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);\n var entry;\n while (entry = entry ? entry.n : this._f) {\n f(entry.v, entry.k, this);\n // revert to the last existing entry\n while (entry && entry.r) entry = entry.p;\n }\n },\n // 23.1.3.7 Map.prototype.has(key)\n // 23.2.3.7 Set.prototype.has(value)\n has: function has(key) {\n return !!getEntry(validate(this, NAME), key);\n }\n });\n if (DESCRIPTORS) dP(C.prototype, 'size', {\n get: function () {\n return validate(this, NAME)[SIZE];\n }\n });\n return C;\n },\n def: function (that, key, value) {\n var entry = getEntry(that, key);\n var prev, index;\n // change existing entry\n if (entry) {\n entry.v = value;\n // create new entry\n } else {\n that._l = entry = {\n i: index = fastKey(key, true), // <- index\n k: key, // <- key\n v: value, // <- value\n p: prev = that._l, // <- previous entry\n n: undefined, // <- next entry\n r: false // <- removed\n };\n if (!that._f) that._f = entry;\n if (prev) prev.n = entry;\n that[SIZE]++;\n // add to index\n if (index !== 'F') that._i[index] = entry;\n } return that;\n },\n getEntry: getEntry,\n setStrong: function (C, NAME, IS_MAP) {\n // add .keys, .values, .entries, [@@iterator]\n // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11\n $iterDefine(C, NAME, function (iterated, kind) {\n this._t = validate(iterated, NAME); // target\n this._k = kind; // kind\n this._l = undefined; // previous\n }, function () {\n var that = this;\n var kind = that._k;\n var entry = that._l;\n // revert to the last existing entry\n while (entry && entry.r) entry = entry.p;\n // get next entry\n if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) {\n // or finish the iteration\n that._t = undefined;\n return step(1);\n }\n // return step by kind\n if (kind == 'keys') return step(0, entry.k);\n if (kind == 'values') return step(0, entry.v);\n return step(0, [entry.k, entry.v]);\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n // add [@@species], 23.1.2.2, 23.2.2.2\n setSpecies(NAME);\n }\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_collection-strong.js\n// module id = 9C8M\n// module chunks = 0","require('../../modules/es6.object.define-property');\nvar $Object = require('../../modules/_core').Object;\nmodule.exports = function defineProperty(it, key, desc) {\n return $Object.defineProperty(it, key, desc);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/fn/object/define-property.js\n// module id = 9bBU\n// module chunks = 0","// 0 -> Array#forEach\n// 1 -> Array#map\n// 2 -> Array#filter\n// 3 -> Array#some\n// 4 -> Array#every\n// 5 -> Array#find\n// 6 -> Array#findIndex\nvar ctx = require('./_ctx');\nvar IObject = require('./_iobject');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar asc = require('./_array-species-create');\nmodule.exports = function (TYPE, $create) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n var create = $create || asc;\n return function ($this, callbackfn, that) {\n var O = toObject($this);\n var self = IObject(O);\n var f = ctx(callbackfn, that, 3);\n var length = toLength(self.length);\n var index = 0;\n var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;\n var val, res;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n val = self[index];\n res = f(val, index, O);\n if (TYPE) {\n if (IS_MAP) result[index] = res; // map\n else if (res) switch (TYPE) {\n case 3: return true; // some\n case 5: return val; // find\n case 6: return index; // findIndex\n case 2: result.push(val); // filter\n } else if (IS_EVERY) return false; // every\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;\n };\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_array-methods.js\n// module id = ALrJ\n// module chunks = 0","// https://github.com/DavidBruant/Map-Set.prototype.toJSON\nvar $export = require('./_export');\n\n$export($export.P + $export.R, 'Set', { toJSON: require('./_collection-to-json')('Set') });\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/es7.set.to-json.js\n// module id = BDhv\n// module chunks = 0","module.exports = { \"default\": require(\"core-js/library/fn/object/define-property\"), __esModule: true };\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/babel-runtime/core-js/object/define-property.js\n// module id = C4MV\n// module chunks = 0","// 19.1.2.14 Object.keys(O)\nvar toObject = require('./_to-object');\nvar $keys = require('./_object-keys');\n\nrequire('./_object-sap')('keys', function () {\n return function keys(it) {\n return $keys(toObject(it));\n };\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/es6.object.keys.js\n// module id = Cdx3\n// module chunks = 0","<template>\r\n <div style=\"margin-top: 50px\">\r\n <el-form\r\n :model=\"value\"\r\n :rules=\"rules\"\r\n ref=\"productInfoForm\"\r\n label-width=\"120px\"\r\n style=\"width: 600px\"\r\n size=\"small\"\r\n >\r\n <el-form-item label=\"商品分类:\" prop=\"productCategoryId\">\r\n <el-cascader\r\n :disabled=\"!isEdit\"\r\n v-model=\"selectProductCateValue\"\r\n :options=\"productCateOptions\"\r\n >\r\n </el-cascader>\r\n </el-form-item>\r\n <el-form-item label=\"商品名称:\" prop=\"name\">\r\n <el-input v-model=\"value.name\" :disabled=\"!isEdit\"></el-input>\r\n </el-form-item>\r\n <!-- <el-form-item label=\"副标题:\" prop=\"subTitle\">\r\n <el-input v-model=\"value.subTitle\" :disabled=\"!isEdit\"></el-input>\r\n </el-form-item> -->\r\n <el-form-item label=\"商品品牌:\" prop=\"brandId\">\r\n <el-select\r\n v-model=\"value.brandId\"\r\n @change=\"handleBrandChange\"\r\n :disabled=\"!isEdit\"\r\n placeholder=\"请选择品牌\"\r\n >\r\n <el-option\r\n v-for=\"item in brandOptions\"\r\n :key=\"item.value\"\r\n :label=\"item.label\"\r\n :value=\"item.value\"\r\n >\r\n </el-option>\r\n </el-select>\r\n </el-form-item>\r\n <!-- <el-form-item label=\"商品介绍:\">\r\n <el-input\r\n :autoSize=\"true\"\r\n v-model=\"value.description\"\r\n :disabled=\"!isEdit\"\r\n type=\"textarea\"\r\n placeholder=\"请输入内容\"\r\n ></el-input>\r\n </el-form-item> -->\r\n <el-form-item label=\"商品货号:\">\r\n <el-input v-model=\"value.productSn\" :disabled=\"!isEdit\"></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"商品售价:\" prop=\"price\">\r\n <el-input-number\r\n v-model=\"value.price\"\r\n :disabled=\"!isEdit\"\r\n autocomplete=\"off\"\r\n controls-position=\"right\"\r\n class=\"number-input\"\r\n type=\"number\"\r\n ></el-input-number>\r\n </el-form-item>\r\n <el-form-item label=\"市场价:\" prop=\"originalPrice\">\r\n <el-input-number\r\n v-model=\"value.originalPrice\"\r\n type=\"number\"\r\n autocomplete=\"off\"\r\n controls-position=\"right\"\r\n class=\"number-input\"\r\n :disabled=\"!isEdit\"\r\n ></el-input-number>\r\n </el-form-item>\r\n <el-form-item label=\"商品库存:\">\r\n <el-input-number\r\n v-model=\"value.stock\"\r\n type=\"number\"\r\n autocomplete=\"off\"\r\n controls-position=\"right\"\r\n class=\"number-input\"\r\n :disabled=\"!isEdit\"\r\n ></el-input-number>\r\n </el-form-item>\r\n <!-- <el-form-item label=\"计量单位:\">\r\n <el-input-number\r\n v-model=\"value.unit\"\r\n :disabled=\"!isEdit\"\r\n ></el-input-number>\r\n </el-form-item> -->\r\n <!-- <el-form-item label=\"商品重量:\">\r\n <el-input-number\r\n v-model=\"value.weight\"\r\n type=\"number\"\r\n autocomplete=\"off\"\r\n controls-position=\"right\"\r\n class=\"number-input\"\r\n style=\"width: 300px\"\r\n :disabled=\"!isEdit\"\r\n ></el-input-number>\r\n <span style=\"margin-left: 20px\">克</span>\r\n </el-form-item> -->\r\n <el-form-item label=\"排序\">\r\n <el-input-number\r\n v-model=\"value.sort\"\r\n :disabled=\"!isEdit\"\r\n ></el-input-number>\r\n </el-form-item>\r\n <el-form-item style=\"text-align: center\">\r\n <el-button\r\n type=\"primary\"\r\n size=\"medium\"\r\n @click=\"handleNext('productInfoForm')\"\r\n >下一步,填写商品促销</el-button\r\n >\r\n </el-form-item>\r\n </el-form>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { fetchListWithChildren } from \"@/api/productCate\";\r\nimport { fetchList as fetchBrandList } from \"@/api/brand\";\r\nimport { getProduct } from \"@/api/product\";\r\n\r\nexport default {\r\n name: \"ProductInfoDetail\",\r\n props: {\r\n value: Object,\r\n isEdit: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n },\r\n data() {\r\n return {\r\n hasEditCreated: false,\r\n //选中商品分类的值\r\n selectProductCateValue: [],\r\n productCateOptions: [],\r\n brandOptions: [],\r\n rules: {\r\n name: [\r\n { required: true, message: \"请输入商品名称\", trigger: \"blur\" },\r\n {\r\n min: 2,\r\n max: 140,\r\n message: \"长度在 2 到 140 个字符\",\r\n trigger: \"blur\",\r\n },\r\n ],\r\n // subTitle: [\r\n // { required: true, message: \"请输入商品副标题\", trigger: \"blur\" },\r\n // ],\r\n productCategoryId: [\r\n { required: true, message: \"请选择商品分类\", trigger: \"blur\" },\r\n ],\r\n brandId: [\r\n { required: true, message: \"请选择商品品牌\", trigger: \"blur\" },\r\n ],\r\n description: [\r\n { required: true, message: \"请输入商品介绍\", trigger: \"blur\" },\r\n ],\r\n requiredProp: [\r\n { required: true, message: \"该项为必填项\", trigger: \"blur\" },\r\n ],\r\n price: [\r\n { required: true, message: \"请输入商品售价\", trigger: \"blur\" },\r\n ],\r\n originalPrice: [\r\n { required: true, message: \"请输入商品市场价\", trigger: \"blur\" },\r\n ],\r\n },\r\n };\r\n },\r\n created() {\r\n this.getProductCateList();\r\n this.getBrandList();\r\n },\r\n computed: {\r\n //商品的编号\r\n productId() {\r\n return this.value.id;\r\n },\r\n },\r\n watch: {\r\n productId: function (newValue) {\r\n console.log(\"productId\", newValue, this.isEdit);\r\n // if(!this.isEdit)return;\r\n if (this.hasEditCreated) return;\r\n if (newValue === undefined || newValue == null || newValue === 0) return;\r\n this.handleEditCreated();\r\n },\r\n selectProductCateValue: function (newValue) {\r\n console.log(newValue, \"newValue\");\r\n if (newValue != null && newValue.length === 2) {\r\n this.value.productCategoryId = newValue[1];\r\n this.value.productCategoryName = this.getCateNameById(\r\n this.value.productCategoryId\r\n );\r\n } else {\r\n this.value.productCategoryId = null;\r\n this.value.productCategoryName = null;\r\n }\r\n },\r\n },\r\n methods: {\r\n //处理编辑逻辑\r\n handleEditCreated() {\r\n if (this.value.productCategoryId != null) {\r\n this.selectProductCateValue.push(this.value.cateParentId);\r\n this.selectProductCateValue.push(this.value.productCategoryId);\r\n }\r\n this.hasEditCreated = true;\r\n },\r\n getProductCateList() {\r\n console.log(\"获取商品分类\");\r\n fetchListWithChildren().then((response) => {\r\n let list = response.data;\r\n this.productCateOptions = [];\r\n for (let i = 0; i < list.length; i++) {\r\n let children = [];\r\n if (list[i].children != null && list[i].children.length > 0) {\r\n for (let j = 0; j < list[i].children.length; j++) {\r\n children.push({\r\n label: list[i].children[j].name,\r\n value: list[i].children[j].id,\r\n });\r\n }\r\n }\r\n this.productCateOptions.push({\r\n label: list[i].name,\r\n value: list[i].id,\r\n children: children,\r\n });\r\n }\r\n });\r\n },\r\n getBrandList() {\r\n fetchBrandList({ pageNum: 1, pageSize: 100 }).then((response) => {\r\n this.brandOptions = [];\r\n let brandList = response.data.list;\r\n for (let i = 0; i < brandList.length; i++) {\r\n this.brandOptions.push({\r\n label: brandList[i].name,\r\n value: brandList[i].id,\r\n });\r\n }\r\n });\r\n },\r\n getCateNameById(id) {\r\n let name = null;\r\n for (let i = 0; i < this.productCateOptions.length; i++) {\r\n for (let j = 0; j < this.productCateOptions[i].children.length; j++) {\r\n if (this.productCateOptions[i].children[j].value === id) {\r\n name = this.productCateOptions[i].children[j].label;\r\n return name;\r\n }\r\n }\r\n }\r\n return name;\r\n },\r\n handleNext(formName) {\r\n this.$refs[formName].validate((valid) => {\r\n if (valid) {\r\n this.$emit(\"nextStep\");\r\n } else {\r\n this.$message({\r\n message: \"验证失败\",\r\n type: \"error\",\r\n duration: 1000,\r\n });\r\n return false;\r\n }\r\n });\r\n },\r\n handleBrandChange(val) {\r\n let brandName = \"\";\r\n for (let i = 0; i < this.brandOptions.length; i++) {\r\n if (this.brandOptions[i].value === val) {\r\n brandName = this.brandOptions[i].label;\r\n break;\r\n }\r\n }\r\n this.value.brandName = brandName;\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\ninput::-webkit-outer-spin-button,\r\ninput::-webkit-inner-spin-button {\r\n -webkit-appearance: none;\r\n}\r\n\r\ninput[type=\"number\"] {\r\n -moz-appearance: textfield;\r\n}\r\n\r\n.number-input {\r\n ::v-deep .el-input__inner {\r\n text-align: left;\r\n }\r\n\r\n width: 100%;\r\n}\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/pms/product/components/ProductInfoDetail.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{\"margin-top\":\"50px\"}},[_c('el-form',{ref:\"productInfoForm\",staticStyle:{\"width\":\"600px\"},attrs:{\"model\":_vm.value,\"rules\":_vm.rules,\"label-width\":\"120px\",\"size\":\"small\"}},[_c('el-form-item',{attrs:{\"label\":\"商品分类:\",\"prop\":\"productCategoryId\"}},[_c('el-cascader',{attrs:{\"disabled\":!_vm.isEdit,\"options\":_vm.productCateOptions},model:{value:(_vm.selectProductCateValue),callback:function ($$v) {_vm.selectProductCateValue=$$v},expression:\"selectProductCateValue\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"商品名称:\",\"prop\":\"name\"}},[_c('el-input',{attrs:{\"disabled\":!_vm.isEdit},model:{value:(_vm.value.name),callback:function ($$v) {_vm.$set(_vm.value, \"name\", $$v)},expression:\"value.name\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"商品品牌:\",\"prop\":\"brandId\"}},[_c('el-select',{attrs:{\"disabled\":!_vm.isEdit,\"placeholder\":\"请选择品牌\"},on:{\"change\":_vm.handleBrandChange},model:{value:(_vm.value.brandId),callback:function ($$v) {_vm.$set(_vm.value, \"brandId\", $$v)},expression:\"value.brandId\"}},_vm._l((_vm.brandOptions),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.label,\"value\":item.value}})}))],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"商品货号:\"}},[_c('el-input',{attrs:{\"disabled\":!_vm.isEdit},model:{value:(_vm.value.productSn),callback:function ($$v) {_vm.$set(_vm.value, \"productSn\", $$v)},expression:\"value.productSn\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"商品售价:\",\"prop\":\"price\"}},[_c('el-input-number',{staticClass:\"number-input\",attrs:{\"disabled\":!_vm.isEdit,\"autocomplete\":\"off\",\"controls-position\":\"right\",\"type\":\"number\"},model:{value:(_vm.value.price),callback:function ($$v) {_vm.$set(_vm.value, \"price\", $$v)},expression:\"value.price\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"市场价:\",\"prop\":\"originalPrice\"}},[_c('el-input-number',{staticClass:\"number-input\",attrs:{\"type\":\"number\",\"autocomplete\":\"off\",\"controls-position\":\"right\",\"disabled\":!_vm.isEdit},model:{value:(_vm.value.originalPrice),callback:function ($$v) {_vm.$set(_vm.value, \"originalPrice\", $$v)},expression:\"value.originalPrice\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"商品库存:\"}},[_c('el-input-number',{staticClass:\"number-input\",attrs:{\"type\":\"number\",\"autocomplete\":\"off\",\"controls-position\":\"right\",\"disabled\":!_vm.isEdit},model:{value:(_vm.value.stock),callback:function ($$v) {_vm.$set(_vm.value, \"stock\", $$v)},expression:\"value.stock\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"排序\"}},[_c('el-input-number',{attrs:{\"disabled\":!_vm.isEdit},model:{value:(_vm.value.sort),callback:function ($$v) {_vm.$set(_vm.value, \"sort\", $$v)},expression:\"value.sort\"}})],1),_vm._v(\" \"),_c('el-form-item',{staticStyle:{\"text-align\":\"center\"}},[_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"medium\"},on:{\"click\":function($event){_vm.handleNext('productInfoForm')}}},[_vm._v(\"下一步,填写商品促销\")])],1)],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-10a7af6c\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/pms/product/components/ProductInfoDetail.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-10a7af6c\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./ProductInfoDetail.vue\")\n}\nvar normalizeComponent = require(\"!../../../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./ProductInfoDetail.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./ProductInfoDetail.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-10a7af6c\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../../../node_modules/vue-loader/lib/selector?type=template&index=0!./ProductInfoDetail.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-10a7af6c\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/pms/product/components/ProductInfoDetail.vue\n// module id = null\n// module chunks = ","<template>\n <div style=\"margin-top: 50px\">\n <el-form :model=\"value\" ref=\"productSaleForm\" label-width=\"120px\" style=\"width: 600px\" size=\"small\">\n <!-- <el-form-item label=\"赠送积分:\">\n <el-input v-model=\"value.giftPoint\" :disabled=\"!isEdit\"></el-input>\n </el-form-item>\n <el-form-item label=\"赠送成长值:\">\n <el-input v-model=\"value.giftGrowth\" :disabled=\"!isEdit\"></el-input>\n </el-form-item>\n <el-form-item label=\"积分购买限制:\">\n <el-input v-model=\"value.usePointLimit\" :disabled=\"!isEdit\"></el-input>\n </el-form-item>\n <el-form-item label=\"预告商品:\">\n <el-switch\n :disabled=\"!isEdit\"\n v-model=\"value.previewStatus\"\n :active-value=\"1\"\n :inactive-value=\"0\">\n </el-switch>\n </el-form-item> -->\n <el-form-item label=\"商品上架:\">\n <el-switch\n v-model=\"value.publishStatus\"\n :disabled=\"!isEdit\"\n :active-value=\"1\"\n :inactive-value=\"0\">\n </el-switch>\n </el-form-item>\n <el-form-item label=\"商品推荐:\">\n <span style=\"margin-right: 10px\">新品</span>\n <el-switch\n v-model=\"value.newStatus\"\n :disabled=\"!isEdit\"\n :active-value=\"1\"\n :inactive-value=\"0\">\n </el-switch>\n <span style=\"margin-left: 10px;margin-right: 10px\">推荐</span>\n <el-switch\n v-model=\"value.recommandStatus\"\n :disabled=\"!isEdit\"\n :active-value=\"1\"\n :inactive-value=\"0\">\n </el-switch>\n </el-form-item>\n <!-- <el-form-item label=\"服务保证:\">\n <el-checkbox-group v-model=\"selectServiceList\" :disabled=\"!isEdit\">\n <el-checkbox :label=\"1\">无忧退货</el-checkbox>\n <el-checkbox :label=\"2\">快速退款</el-checkbox>\n <el-checkbox :label=\"3\">免费包邮</el-checkbox>\n </el-checkbox-group>\n </el-form-item>\n <el-form-item label=\"详细页标题:\">\n <el-input v-model=\"value.detailTitle\" :disabled=\"!isEdit\"></el-input>\n </el-form-item>\n <el-form-item label=\"详细页描述:\">\n <el-input v-model=\"value.detailDesc\" :disabled=\"!isEdit\"></el-input>\n </el-form-item>\n <el-form-item label=\"商品关键字:\">\n <el-input v-model=\"value.keywords\" :disabled=\"!isEdit\"></el-input>\n </el-form-item>\n <el-form-item label=\"商品备注:\">\n <el-input v-model=\"value.note\" type=\"textarea\" :autoSize=\"true\" :disabled=\"!isEdit\"></el-input>\n </el-form-item>\n <el-form-item label=\"选择优惠方式:\">\n <el-radio-group v-model=\"value.promotionType\" size=\"small\" :disabled=\"!isEdit\">\n <el-radio-button :label=\"0\">无优惠</el-radio-button>\n <el-radio-button :label=\"1\">特惠促销</el-radio-button>\n <el-radio-button :label=\"2\">会员价格</el-radio-button>\n <el-radio-button :label=\"3\">阶梯价格</el-radio-button>\n <el-radio-button :label=\"4\">满减价格</el-radio-button>\n </el-radio-group>\n </el-form-item> -->\n <el-form-item v-show=\"value.promotionType===1\">\n <div>\n 开始时间:\n <el-date-picker\n :disabled=\"!isEdit\"\n v-model=\"value.promotionStartTime\"\n type=\"datetime\"\n :picker-options=\"pickerOptions1\"\n placeholder=\"选择开始时间\">\n </el-date-picker>\n </div>\n <div class=\"littleMargin\">\n 结束时间:\n <el-date-picker\n v-model=\"value.promotionEndTime\"\n :disabled=\"!isEdit\"\n type=\"datetime\"\n :picker-options=\"pickerOptions1\"\n placeholder=\"选择结束时间\">\n </el-date-picker>\n </div>\n <div class=\"littleMargin\">\n 促销价格:\n <el-input style=\"width: 220px\" v-model=\"value.promotionPrice\" :disabled=\"!isEdit\" placeholder=\"输入促销价格\"></el-input>\n </div>\n\n </el-form-item>\n <el-form-item v-show=\"value.promotionType===2\">\n <div v-for=\"(item, index) in value.memberPriceList\" :class=\"{littleMargin:index!==0}\">\n {{item.memberLevelName}}:\n <el-input v-model=\"item.memberPrice\" :disabled=\"!isEdit\" style=\"width: 200px\"></el-input>\n </div>\n </el-form-item>\n <el-form-item v-show=\"value.promotionType===3\">\n <el-table :data=\"value.productLadderList\"\n style=\"width: 80%\" border>\n <el-table-column\n label=\"数量\"\n align=\"center\"\n width=\"120\">\n <template slot-scope=\"scope\">\n <el-input v-model=\"scope.row.count\" :disabled=\"!isEdit\"></el-input>\n </template>\n </el-table-column>\n <el-table-column\n label=\"折扣\"\n align=\"center\"\n width=\"120\">\n <template slot-scope=\"scope\">\n <el-input v-model=\"scope.row.discount\" :disabled=\"!isEdit\"></el-input>\n </template>\n </el-table-column>\n <el-table-column\n align=\"center\"\n label=\"操作\">\n <template slot-scope=\"scope\">\n <el-button type=\"text\" :disabled=\"!isEdit\" @click=\"handleRemoveProductLadder(scope.$index, scope.row)\">删除</el-button>\n <el-button type=\"text\" :disabled=\"!isEdit\" @click=\"handleAddProductLadder(scope.$index, scope.row)\">添加</el-button>\n </template>\n </el-table-column>\n </el-table>\n </el-form-item>\n <el-form-item v-show=\"value.promotionType===4\">\n <el-table :data=\"value.productFullReductionList\"\n style=\"width: 80%\" border>\n <el-table-column\n label=\"满\"\n align=\"center\"\n width=\"120\">\n <template slot-scope=\"scope\">\n <el-input v-model=\"scope.row.fullPrice\"></el-input>\n </template>\n </el-table-column>\n <el-table-column\n label=\"立减\"\n align=\"center\"\n width=\"120\">\n <template slot-scope=\"scope\">\n <el-input v-model=\"scope.row.reducePrice\"></el-input>\n </template>\n </el-table-column>\n <el-table-column\n align=\"center\"\n label=\"操作\">\n <template slot-scope=\"scope\">\n <el-button type=\"text\" :disabled=\"!isEdit\" @click=\"handleRemoveFullReduction(scope.$index, scope.row)\">删除</el-button>\n <el-button type=\"text\" :disabled=\"!isEdit\" @click=\"handleAddFullReduction(scope.$index, scope.row)\">添加</el-button>\n </template>\n </el-table-column>\n </el-table>\n </el-form-item>\n <el-form-item style=\"text-align: center\">\n <el-button size=\"medium\" @click=\"handlePrev\">上一步,填写商品信息</el-button>\n <el-button type=\"primary\" size=\"medium\" @click=\"handleNext\">下一步,填写商品属性</el-button>\n </el-form-item>\n </el-form>\n </div>\n</template>\n\n<script>\n import {fetchList as fetchMemberLevelList} from '@/api/memberLevel'\n\n export default {\n name: \"ProductSaleDetail\",\n props: {\n value: Object,\n isEdit: {\n type: Boolean,\n default: false\n }\n },\n data() {\n return {\n //日期选择器配置\n pickerOptions1: {\n disabledDate(time) {\n return time.getTime() < Date.now();\n }\n }\n }\n },\n created() {\n if (this.isEdit) {\n // this.handleEditCreated();\n } else {\n fetchMemberLevelList({defaultStatus: 0}).then(response => {\n let memberPriceList = [];\n for (let i = 0; i < response.data.length; i++) {\n let item = response.data[i];\n memberPriceList.push({memberLevelId: item.id, memberLevelName: item.name})\n }\n this.value.memberPriceList = memberPriceList;\n });\n }\n },\n computed: {\n //选中的服务保证\n selectServiceList: {\n get() {\n let list = [];\n if (this.value.serviceIds === undefined || this.value.serviceIds == null || this.value.serviceIds === '') return list;\n let ids = this.value.serviceIds.split(',');\n for (let i = 0; i < ids.length; i++) {\n list.push(Number(ids[i]));\n }\n return list;\n },\n set(newValue) {\n let serviceIds = '';\n if (newValue != null && newValue.length > 0) {\n for (let i = 0; i < newValue.length; i++) {\n serviceIds += newValue[i] + ',';\n }\n if (serviceIds.endsWith(',')) {\n serviceIds = serviceIds.substr(0, serviceIds.length - 1)\n }\n this.value.serviceIds = serviceIds;\n } else {\n this.value.serviceIds = null;\n }\n }\n }\n },\n methods: {\n handleEditCreated() {\n let ids = this.value.serviceIds.split(',');\n console.log('handleEditCreated', ids);\n for (let i = 0; i < ids.length; i++) {\n this.selectServiceList.push(Number(ids[i]));\n }\n },\n handleRemoveProductLadder(index, row) {\n let productLadderList = this.value.productLadderList;\n if (productLadderList.length === 1) {\n productLadderList.pop();\n productLadderList.push({\n count: 0,\n discount: 0,\n price: 0\n })\n } else {\n productLadderList.splice(index, 1);\n }\n },\n handleAddProductLadder(index, row) {\n let productLadderList = this.value.productLadderList;\n if (productLadderList.length < 3) {\n productLadderList.push({\n count: 0,\n discount: 0,\n price: 0\n })\n } else {\n this.$message({\n message: '最多只能添加三条',\n type: 'warning'\n });\n }\n },\n handleRemoveFullReduction(index, row) {\n let fullReductionList = this.value.productFullReductionList;\n if (fullReductionList.length === 1) {\n fullReductionList.pop();\n fullReductionList.push({\n fullPrice: 0,\n reducePrice: 0\n });\n } else {\n fullReductionList.splice(index, 1);\n }\n },\n handleAddFullReduction(index, row) {\n let fullReductionList = this.value.productFullReductionList;\n if (fullReductionList.length < 3) {\n fullReductionList.push({\n fullPrice: 0,\n reducePrice: 0\n });\n } else {\n this.$message({\n message: '最多只能添加三条',\n type: 'warning'\n });\n }\n },\n handlePrev() {\n this.$emit('prevStep')\n },\n handleNext() {\n this.$emit('nextStep')\n }\n }\n }\n</script>\n\n<style scoped>\n .littleMargin {\n margin-top: 10px;\n }\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/views/pms/product/components/ProductSaleDetail.vue","import request from '@/utils/request'\nexport function fetchList(params) {\n return request({\n url:'/memberLevel/list',\n method:'get',\n params:params\n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/api/memberLevel.js","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{\"margin-top\":\"50px\"}},[_c('el-form',{ref:\"productSaleForm\",staticStyle:{\"width\":\"600px\"},attrs:{\"model\":_vm.value,\"label-width\":\"120px\",\"size\":\"small\"}},[_c('el-form-item',{attrs:{\"label\":\"商品上架:\"}},[_c('el-switch',{attrs:{\"disabled\":!_vm.isEdit,\"active-value\":1,\"inactive-value\":0},model:{value:(_vm.value.publishStatus),callback:function ($$v) {_vm.$set(_vm.value, \"publishStatus\", $$v)},expression:\"value.publishStatus\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"商品推荐:\"}},[_c('span',{staticStyle:{\"margin-right\":\"10px\"}},[_vm._v(\"新品\")]),_vm._v(\" \"),_c('el-switch',{attrs:{\"disabled\":!_vm.isEdit,\"active-value\":1,\"inactive-value\":0},model:{value:(_vm.value.newStatus),callback:function ($$v) {_vm.$set(_vm.value, \"newStatus\", $$v)},expression:\"value.newStatus\"}}),_vm._v(\" \"),_c('span',{staticStyle:{\"margin-left\":\"10px\",\"margin-right\":\"10px\"}},[_vm._v(\"推荐\")]),_vm._v(\" \"),_c('el-switch',{attrs:{\"disabled\":!_vm.isEdit,\"active-value\":1,\"inactive-value\":0},model:{value:(_vm.value.recommandStatus),callback:function ($$v) {_vm.$set(_vm.value, \"recommandStatus\", $$v)},expression:\"value.recommandStatus\"}})],1),_vm._v(\" \"),_c('el-form-item',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.value.promotionType===1),expression:\"value.promotionType===1\"}]},[_c('div',[_vm._v(\"\\n 开始时间:\\n \"),_c('el-date-picker',{attrs:{\"disabled\":!_vm.isEdit,\"type\":\"datetime\",\"picker-options\":_vm.pickerOptions1,\"placeholder\":\"选择开始时间\"},model:{value:(_vm.value.promotionStartTime),callback:function ($$v) {_vm.$set(_vm.value, \"promotionStartTime\", $$v)},expression:\"value.promotionStartTime\"}})],1),_vm._v(\" \"),_c('div',{staticClass:\"littleMargin\"},[_vm._v(\"\\n 结束时间:\\n \"),_c('el-date-picker',{attrs:{\"disabled\":!_vm.isEdit,\"type\":\"datetime\",\"picker-options\":_vm.pickerOptions1,\"placeholder\":\"选择结束时间\"},model:{value:(_vm.value.promotionEndTime),callback:function ($$v) {_vm.$set(_vm.value, \"promotionEndTime\", $$v)},expression:\"value.promotionEndTime\"}})],1),_vm._v(\" \"),_c('div',{staticClass:\"littleMargin\"},[_vm._v(\"\\n 促销价格:\\n \"),_c('el-input',{staticStyle:{\"width\":\"220px\"},attrs:{\"disabled\":!_vm.isEdit,\"placeholder\":\"输入促销价格\"},model:{value:(_vm.value.promotionPrice),callback:function ($$v) {_vm.$set(_vm.value, \"promotionPrice\", $$v)},expression:\"value.promotionPrice\"}})],1)]),_vm._v(\" \"),_c('el-form-item',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.value.promotionType===2),expression:\"value.promotionType===2\"}]},_vm._l((_vm.value.memberPriceList),function(item,index){return _c('div',{class:{littleMargin:index!==0}},[_vm._v(\"\\n \"+_vm._s(item.memberLevelName)+\":\\n \"),_c('el-input',{staticStyle:{\"width\":\"200px\"},attrs:{\"disabled\":!_vm.isEdit},model:{value:(item.memberPrice),callback:function ($$v) {_vm.$set(item, \"memberPrice\", $$v)},expression:\"item.memberPrice\"}})],1)})),_vm._v(\" \"),_c('el-form-item',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.value.promotionType===3),expression:\"value.promotionType===3\"}]},[_c('el-table',{staticStyle:{\"width\":\"80%\"},attrs:{\"data\":_vm.value.productLadderList,\"border\":\"\"}},[_c('el-table-column',{attrs:{\"label\":\"数量\",\"align\":\"center\",\"width\":\"120\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-input',{attrs:{\"disabled\":!_vm.isEdit},model:{value:(scope.row.count),callback:function ($$v) {_vm.$set(scope.row, \"count\", $$v)},expression:\"scope.row.count\"}})]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"折扣\",\"align\":\"center\",\"width\":\"120\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-input',{attrs:{\"disabled\":!_vm.isEdit},model:{value:(scope.row.discount),callback:function ($$v) {_vm.$set(scope.row, \"discount\", $$v)},expression:\"scope.row.discount\"}})]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"align\":\"center\",\"label\":\"操作\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{attrs:{\"type\":\"text\",\"disabled\":!_vm.isEdit},on:{\"click\":function($event){_vm.handleRemoveProductLadder(scope.$index, scope.row)}}},[_vm._v(\"删除\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"text\",\"disabled\":!_vm.isEdit},on:{\"click\":function($event){_vm.handleAddProductLadder(scope.$index, scope.row)}}},[_vm._v(\"添加\")])]}}])})],1)],1),_vm._v(\" \"),_c('el-form-item',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.value.promotionType===4),expression:\"value.promotionType===4\"}]},[_c('el-table',{staticStyle:{\"width\":\"80%\"},attrs:{\"data\":_vm.value.productFullReductionList,\"border\":\"\"}},[_c('el-table-column',{attrs:{\"label\":\"满\",\"align\":\"center\",\"width\":\"120\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-input',{model:{value:(scope.row.fullPrice),callback:function ($$v) {_vm.$set(scope.row, \"fullPrice\", $$v)},expression:\"scope.row.fullPrice\"}})]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"立减\",\"align\":\"center\",\"width\":\"120\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-input',{model:{value:(scope.row.reducePrice),callback:function ($$v) {_vm.$set(scope.row, \"reducePrice\", $$v)},expression:\"scope.row.reducePrice\"}})]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"align\":\"center\",\"label\":\"操作\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{attrs:{\"type\":\"text\",\"disabled\":!_vm.isEdit},on:{\"click\":function($event){_vm.handleRemoveFullReduction(scope.$index, scope.row)}}},[_vm._v(\"删除\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"text\",\"disabled\":!_vm.isEdit},on:{\"click\":function($event){_vm.handleAddFullReduction(scope.$index, scope.row)}}},[_vm._v(\"添加\")])]}}])})],1)],1),_vm._v(\" \"),_c('el-form-item',{staticStyle:{\"text-align\":\"center\"}},[_c('el-button',{attrs:{\"size\":\"medium\"},on:{\"click\":_vm.handlePrev}},[_vm._v(\"上一步,填写商品信息\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"medium\"},on:{\"click\":_vm.handleNext}},[_vm._v(\"下一步,填写商品属性\")])],1)],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-77ab88bc\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/pms/product/components/ProductSaleDetail.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-77ab88bc\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!../../../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./ProductSaleDetail.vue\")\n}\nvar normalizeComponent = require(\"!../../../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./ProductSaleDetail.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./ProductSaleDetail.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-77ab88bc\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../../../node_modules/vue-loader/lib/selector?type=template&index=0!./ProductSaleDetail.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-77ab88bc\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/pms/product/components/ProductSaleDetail.vue\n// module id = null\n// module chunks = ","<template>\r\n  \r\n <div>\r\n <el-upload\r\n :disabled=\"disabled\"\r\n :action=\"ossUploadUrl\"\r\n :data=\"useOss ? dataObj : null\"\r\n list-type=\"picture-card\"\r\n :file-list=\"fileList\"\r\n :before-upload=\"beforeUpload\"\r\n :on-remove=\"handleRemove\"\r\n :on-success=\"handleUploadSuccess\"\r\n :on-preview=\"handlePreview\"\r\n :limit=\"maxCount\"\r\n :on-exceed=\"handleExceed\"\r\n >\r\n <i class=\"el-icon-plus\"></i>\r\n </el-upload>\r\n <el-dialog :visible.sync=\"dialogVisible\">\r\n <img width=\"100%\" :src=\"dialogImageUrl\" alt=\"\" />\r\n </el-dialog>\r\n </div>\r\n</template>\r\n<script>\r\nimport { policy } from \"@/api/oss\";\r\n\r\nexport default {\r\n name: \"multiUpload\",\r\n props: {\r\n //图片属性数组\r\n value: Array,\r\n //最大上传图片数量\r\n maxCount: {\r\n type: Number,\r\n default: 5,\r\n },\r\n disabled: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n bucket_name: {\r\n type: String,\r\n default: \"mall\",\r\n },\r\n },\r\n data() {\r\n return {\r\n dataObj: {\r\n policy: \"\",\r\n signature: \"\",\r\n key: \"\",\r\n KSSAccessKeyId: \"\",\r\n // dir: \"\",\r\n acl: \"public-read\",\r\n name: \"\",\r\n },\r\n dialogVisible: false,\r\n dialogImageUrl: null,\r\n useOss: true, //使用oss->true;使用MinIO->false\r\n // ossUploadUrl: \"https://ks3-cn-beijing.ksyuncs.com/\" + this.bucket_name,\r\n ossUploadUrl: `https://${this.bucket_name}.ks3-cn-beijing.ksyuncs.com`,\r\n minioUploadUrl: \"http://localhost:8080/minio/upload\",\r\n };\r\n },\r\n computed: {\r\n fileList() {\r\n let fileList = [];\r\n for (let i = 0; i < this.value.length; i++) {\r\n fileList.push({ url: this.value[i] });\r\n }\r\n return fileList;\r\n },\r\n },\r\n methods: {\r\n emitInput(fileList) {\r\n let value = [];\r\n for (let i = 0; i < fileList.length; i++) {\r\n value.push(fileList[i].url);\r\n }\r\n this.$emit(\"input\", value);\r\n },\r\n handleRemove(file, fileList) {\r\n this.emitInput(fileList);\r\n },\r\n handlePreview(file) {\r\n this.dialogVisible = true;\r\n this.dialogImageUrl = file.url;\r\n },\r\n beforeUpload(file) {\r\n let _self = this;\r\n if (!this.useOss) {\r\n //不使用oss不需要获取策略\r\n return true;\r\n }\r\n return new Promise((resolve, reject) => {\r\n // console.log(file, \"file\");\r\n let key = new Date().getTime() + file.name;\r\n let obj = {\r\n filename: file.name,\r\n bucketName: this.bucket_name,\r\n postData: {\r\n filename: file.name,\r\n acl: \"public-read\",\r\n key: key,\r\n unknowValueField: [],\r\n },\r\n };\r\n policy(obj)\r\n .then((response) => {\r\n _self.dataObj.policy = response.data.policy;\r\n _self.dataObj.signature = response.data.signature;\r\n _self.dataObj.KSSAccessKeyId = response.data.kssAccessKeyId;\r\n _self.dataObj.key = key;\r\n _self.dataObj.name = file.name;\r\n _self.dataObj.acl = \"public-read\";\r\n\r\n var ks3Options = {\r\n KSSAccessKeyId: response.data.kssAccessKeyId,\r\n policy: response.data.policy,\r\n signature: response.data.signature,\r\n key: key,\r\n acl: \"public-read\", //此处需要与policy中的acl值保持一致,默认值:private。\r\n uploadDomain:\r\n \"https://ks3-cn-beijing.ksyuncs.com/\" + this.bucket_name, //北京region\r\n autoStart: true,\r\n };\r\n var pluploadOptions = {\r\n drop_element: document.body,\r\n };\r\n var tempUpload = new ks3FileUploader(ks3Options);\r\n resolve(true);\r\n })\r\n .catch((err) => {\r\n console.log(err);\r\n reject(false);\r\n });\r\n });\r\n },\r\n handleUploadSuccess(res, file) {\r\n let url = this.ossUploadUrl + \"/\" + this.dataObj.key;\r\n if (!this.useOss) {\r\n //不使用oss直接获取图片路径\r\n url = res.data.url;\r\n }\r\n this.fileList.push({ name: file.name, url: url });\r\n this.emitInput(this.fileList);\r\n },\r\n handleExceed(files, fileList) {\r\n this.$message({\r\n message: \"最多只能上传\" + this.maxCount + \"张图片\",\r\n type: \"warning\",\r\n duration: 1000,\r\n });\r\n },\r\n },\r\n};\r\n</script>\r\n<style></style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/components/Upload/multiUpload.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-upload',{attrs:{\"disabled\":_vm.disabled,\"action\":_vm.ossUploadUrl,\"data\":_vm.useOss ? _vm.dataObj : null,\"list-type\":\"picture-card\",\"file-list\":_vm.fileList,\"before-upload\":_vm.beforeUpload,\"on-remove\":_vm.handleRemove,\"on-success\":_vm.handleUploadSuccess,\"on-preview\":_vm.handlePreview,\"limit\":_vm.maxCount,\"on-exceed\":_vm.handleExceed}},[_c('i',{staticClass:\"el-icon-plus\"})]),_vm._v(\" \"),_c('el-dialog',{attrs:{\"visible\":_vm.dialogVisible},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('img',{attrs:{\"width\":\"100%\",\"src\":_vm.dialogImageUrl,\"alt\":\"\"}})])],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-0a70e24a\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/Upload/multiUpload.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-0a70e24a\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./multiUpload.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./multiUpload.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./multiUpload.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-0a70e24a\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./multiUpload.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/Upload/multiUpload.vue\n// module id = null\n// module chunks = ","<template>\r\n <div class=\"upload-container\">\r\n <el-button\r\n :disabled=\"disabled\"\r\n icon=\"el-icon-upload\"\r\n size=\"mini\"\r\n :style=\"{ background: color, borderColor: color }\"\r\n @click=\"dialogVisible = true\"\r\n type=\"primary\"\r\n >上传图片\r\n </el-button>\r\n <el-dialog append-to-body :visible.sync=\"dialogVisible\">\r\n <el-upload\r\n :disabled=\"disabled\"\r\n class=\"editor-slide-upload\"\r\n :action=\"ossUploadUrl\"\r\n :data=\"dataObj\"\r\n :multiple=\"true\"\r\n :file-list=\"fileList\"\r\n :show-file-list=\"true\"\r\n list-type=\"picture-card\"\r\n :on-remove=\"handleRemove\"\r\n :on-success=\"handleSuccess\"\r\n :before-upload=\"beforeUpload\"\r\n >\r\n <el-button size=\"small\" type=\"primary\">点击上传</el-button>\r\n </el-upload>\r\n <el-button @click=\"dialogVisible = false\">取 消</el-button>\r\n <el-button type=\"primary\" @click=\"handleSubmit\">确 定</el-button>\r\n </el-dialog>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { policy } from \"@/api/oss\";\r\n\r\nexport default {\r\n name: \"editorSlideUpload\",\r\n props: {\r\n color: {\r\n type: String,\r\n default: \"#1890ff\",\r\n },\r\n disabled: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n bucket_name: {\r\n type: String,\r\n default: \"mall\",\r\n },\r\n },\r\n data() {\r\n return {\r\n dialogVisible: false,\r\n listObj: {},\r\n fileList: [],\r\n dataObj: {\r\n policy: \"\",\r\n signature: \"\",\r\n key: \"\",\r\n KSSAccessKeyId: \"\",\r\n // dir: \"\",\r\n acl: \"public-read\",\r\n name: \"\",\r\n },\r\n // ossUploadUrl: \"https://ks3-cn-beijing.ksyuncs.com/mall\",\r\n ossUploadUrl: \"https://mall.ks3-cn-beijing.ksyuncs.com\",\r\n };\r\n },\r\n methods: {\r\n checkAllSuccess() {\r\n return Object.keys(this.listObj).every(\r\n (item) => this.listObj[item].hasSuccess\r\n );\r\n },\r\n handleSubmit() {\r\n const arr = Object.keys(this.listObj).map((v) => this.listObj[v]);\r\n if (!this.checkAllSuccess()) {\r\n this.$message(\r\n \"请等待所有图片上传成功 或 出现了网络问题,请刷新页面重新上传!\"\r\n );\r\n return;\r\n }\r\n console.log(arr);\r\n this.$emit(\"successCBK\", arr);\r\n this.listObj = {};\r\n this.fileList = [];\r\n this.dialogVisible = false;\r\n },\r\n handleSuccess(response, file) {\r\n const uid = file.uid;\r\n\r\n const objKeyArr = Object.keys(this.listObj);\r\n console.log(objKeyArr, \"objKeyArr\", this.listObj);\r\n for (let i = 0, len = objKeyArr.length; i < len; i++) {\r\n if (this.listObj[objKeyArr[i]].uid === uid) {\r\n this.listObj[objKeyArr[i]].url =\r\n this.ossUploadUrl + \"/\" + this.listObj[objKeyArr[i]].key;\r\n this.listObj[objKeyArr[i]].hasSuccess = true;\r\n return;\r\n }\r\n }\r\n },\r\n handleRemove(file) {\r\n const uid = file.uid;\r\n const objKeyArr = Object.keys(this.listObj);\r\n for (let i = 0, len = objKeyArr.length; i < len; i++) {\r\n if (this.listObj[objKeyArr[i]].uid === uid) {\r\n delete this.listObj[objKeyArr[i]];\r\n return;\r\n }\r\n }\r\n },\r\n beforeUpload(file) {\r\n console.log(file, \"试试批量上传\");\r\n const _self = this;\r\n const fileName = file.uid;\r\n this.listObj[fileName] = {};\r\n return new Promise((resolve, reject) => {\r\n let key = new Date().getTime() + file.name;\r\n let obj = {\r\n filename: file.name,\r\n bucketName: this.bucket_name,\r\n postData: {\r\n filename: file.name,\r\n acl: \"public-read\",\r\n key: key,\r\n unknowValueField: [],\r\n },\r\n };\r\n policy(obj)\r\n .then((response) => {\r\n _self.dataObj.policy = response.data.policy;\r\n _self.dataObj.signature = response.data.signature;\r\n _self.dataObj.KSSAccessKeyId = response.data.kssAccessKeyId;\r\n _self.dataObj.key = key;\r\n _self.dataObj.name = file.name;\r\n _self.dataObj.acl = \"public-read\";\r\n _self.listObj[fileName] = {\r\n hasSuccess: false,\r\n uid: file.uid,\r\n width: this.width,\r\n height: this.height,\r\n name: file.name,\r\n key: key,\r\n };\r\n\r\n resolve(true);\r\n })\r\n .catch((err) => {\r\n console.log(err);\r\n reject(false);\r\n });\r\n });\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style rel=\"stylesheet/scss\" lang=\"scss\" scoped>\r\n.upload-container .editor-slide-upload {\r\n margin-bottom: 20px;\r\n}\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/components/Tinymce/components/editorImage.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"upload-container\"},[_c('el-button',{style:({ background: _vm.color, borderColor: _vm.color }),attrs:{\"disabled\":_vm.disabled,\"icon\":\"el-icon-upload\",\"size\":\"mini\",\"type\":\"primary\"},on:{\"click\":function($event){_vm.dialogVisible = true}}},[_vm._v(\"上传图片\\n \")]),_vm._v(\" \"),_c('el-dialog',{attrs:{\"append-to-body\":\"\",\"visible\":_vm.dialogVisible},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('el-upload',{staticClass:\"editor-slide-upload\",attrs:{\"disabled\":_vm.disabled,\"action\":_vm.ossUploadUrl,\"data\":_vm.dataObj,\"multiple\":true,\"file-list\":_vm.fileList,\"show-file-list\":true,\"list-type\":\"picture-card\",\"on-remove\":_vm.handleRemove,\"on-success\":_vm.handleSuccess,\"before-upload\":_vm.beforeUpload}},[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"}},[_vm._v(\"点击上传\")])],1),_vm._v(\" \"),_c('el-button',{on:{\"click\":function($event){_vm.dialogVisible = false}}},[_vm._v(\"取 消\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.handleSubmit}},[_vm._v(\"确 定\")])],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-816d571c\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/Tinymce/components/editorImage.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-816d571c\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./editorImage.vue\")\n}\nvar normalizeComponent = require(\"!../../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./editorImage.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./editorImage.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-816d571c\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../../node_modules/vue-loader/lib/selector?type=template&index=0!./editorImage.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-816d571c\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/Tinymce/components/editorImage.vue\n// module id = null\n// module chunks = ","<template>\r\n <div :class=\"disabled?'disable':''\">\r\n <div\r\n class=\"tinymce-container editor-container\"\r\n :disabled=\"disabled\"\r\n :contenteditable=\"disabled\"\r\n >\r\n <textarea\r\n class=\"tinymce-textarea\"\r\n :contenteditable=\"disabled\"\r\n :disabled=\"disabled\"\r\n :id=\"tinymceId\"\r\n ></textarea>\r\n <div class=\"editor-custom-btn-container\">\r\n <editorImage\r\n :disabled=\"disabled\"\r\n color=\"#1890ff\"\r\n class=\"editor-upload-btn\"\r\n @successCBK=\"imageSuccessCBK\"\r\n ></editorImage>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport editorImage from \"./components/editorImage\";\r\nimport \"../../../static/tinymce4.7.5/langs/zh_CN\";\r\n\r\nconst plugins = [\r\n `advlist anchor autolink autosave code codesample colorpicker colorpicker\r\n contextmenu directionality emoticons fullscreen hr image imagetools importcss insertdatetime\r\n legacyoutput link lists media nonbreaking noneditable pagebreak paste preview print save searchreplace\r\n spellchecker tabfocus table template textcolor textpattern visualblocks visualchars wordcount`,\r\n];\r\nconst toolbar = [\r\n `bold italic underline strikethrough alignleft aligncenter\r\n alignright outdent indent blockquote undo redo removeformat code`,\r\n `hr bullist numlist link image charmap\t preview anchor pagebreak\r\n fullscreen insertdatetime media table forecolor backcolor`,\r\n];\r\nexport default {\r\n name: \"tinymce\",\r\n components: { editorImage },\r\n props: {\r\n id: {\r\n type: String,\r\n },\r\n value: {\r\n type: String,\r\n default: \"\",\r\n },\r\n toolbar: {\r\n type: Array,\r\n required: false,\r\n default() {\r\n return [];\r\n },\r\n },\r\n menubar: {\r\n default: \"file edit insert view format table\",\r\n },\r\n height: {\r\n type: Number,\r\n required: false,\r\n default: 360,\r\n },\r\n width: {\r\n type: Number,\r\n required: false,\r\n default: 720,\r\n },\r\n disabled: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n },\r\n data() {\r\n return {\r\n hasChange: false,\r\n hasInit: false,\r\n tinymceId: this.id || \"vue-tinymce-\" + +new Date(),\r\n };\r\n },\r\n watch: {\r\n value(val) {\r\n if (!this.hasChange && this.hasInit) {\r\n this.$nextTick(() =>\r\n window.tinymce.get(this.tinymceId).setContent(val)\r\n );\r\n }\r\n },\r\n },\r\n mounted() {\r\n this.initTinymce();\r\n },\r\n activated() {\r\n this.initTinymce();\r\n },\r\n deactivated() {\r\n this.destroyTinymce();\r\n },\r\n methods: {\r\n initTinymce() {\r\n const _this = this;\r\n window.tinymce.init({\r\n selector: `#${this.tinymceId}`,\r\n width: this.width,\r\n height: this.height,\r\n language: \"zh_CN\",\r\n body_class: \"panel-body \",\r\n object_resizing: false,\r\n toolbar: this.toolbar.length > 0 ? this.toolbar : toolbar,\r\n menubar: false,\r\n plugins: plugins,\r\n end_container_on_empty_block: true,\r\n powerpaste_word_import: \"clean\",\r\n code_dialog_height: 450,\r\n code_dialog_width: 1000,\r\n advlist_bullet_styles: \"square\",\r\n advlist_number_styles: \"default\",\r\n imagetools_cors_hosts: [\"www.tinymce.com\", \"codepen.io\"],\r\n default_link_target: \"_blank\",\r\n link_title: false,\r\n init_instance_callback: (editor) => {\r\n if (_this.value) {\r\n editor.setContent(_this.value);\r\n }\r\n _this.hasInit = true;\r\n editor.on(\"NodeChange Change KeyUp SetContent\", () => {\r\n this.hasChange = true;\r\n this.$emit(\"input\", editor.getContent());\r\n });\r\n },\r\n });\r\n },\r\n destroyTinymce() {\r\n if (window.tinymce.get(this.tinymceId)) {\r\n window.tinymce.get(this.tinymceId).destroy();\r\n }\r\n },\r\n setContent(value) {\r\n window.tinymce.get(this.tinymceId).setContent(value);\r\n },\r\n getContent() {\r\n window.tinymce.get(this.tinymceId).getContent();\r\n },\r\n imageSuccessCBK(arr) {\r\n const _this = this;\r\n arr.forEach((v) => {\r\n window.tinymce\r\n .get(_this.tinymceId)\r\n .insertContent(`<img class=\"wscnph\" src=\"${v.url}\" >`);\r\n });\r\n },\r\n },\r\n destroyed() {\r\n this.destroyTinymce();\r\n },\r\n};\r\n</script>\r\n\r\n<style scoped>\r\n.tinymce-container {\r\n position: relative;\r\n}\r\n\r\n.tinymce-container >>> .mce-fullscreen {\r\n z-index: 10000;\r\n}\r\n\r\n.tinymce-textarea {\r\n visibility: hidden;\r\n z-index: -1;\r\n}\r\n\r\n.editor-custom-btn-container {\r\n position: absolute;\r\n right: 10px;\r\n top: 2px;\r\n /*z-index: 2005;*/\r\n}\r\n\r\n.editor-upload-btn {\r\n display: inline-block;\r\n}\r\n.disable {\r\n pointer-events: none;\r\n}\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/components/Tinymce/index.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.disabled?'disable':''},[_c('div',{staticClass:\"tinymce-container editor-container\",attrs:{\"disabled\":_vm.disabled,\"contenteditable\":_vm.disabled}},[_c('textarea',{staticClass:\"tinymce-textarea\",attrs:{\"contenteditable\":_vm.disabled,\"disabled\":_vm.disabled,\"id\":_vm.tinymceId}}),_vm._v(\" \"),_c('div',{staticClass:\"editor-custom-btn-container\"},[_c('editorImage',{staticClass:\"editor-upload-btn\",attrs:{\"disabled\":_vm.disabled,\"color\":\"#1890ff\"},on:{\"successCBK\":_vm.imageSuccessCBK}})],1)])])}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-6aa2be36\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/Tinymce/index.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-6aa2be36\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./index.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-6aa2be36\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./index.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-6aa2be36\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/Tinymce/index.vue\n// module id = null\n// module chunks = ","<template>\r\n <div style=\"margin-top: 50px\">\r\n <el-form\r\n :model=\"value\"\r\n ref=\"productAttrForm\"\r\n label-width=\"120px\"\r\n style=\"width: 720px\"\r\n size=\"small\"\r\n >\r\n <el-form-item label=\"属性类型:\">\r\n <el-select\r\n v-model=\"value.productAttributeCategoryId\"\r\n :disabled=\"!isEdit\"\r\n placeholder=\"请选择属性类型\"\r\n @change=\"handleProductAttrChange\"\r\n >\r\n <el-option\r\n v-for=\"item in productAttributeCategoryOptions\"\r\n :key=\"item.value\"\r\n :label=\"item.label\"\r\n :value=\"item.value\"\r\n >\r\n </el-option>\r\n </el-select>\r\n </el-form-item>\r\n <el-form-item\r\n label=\"商品规格:\"\r\n :rules=\"[\r\n { required: true, message: '请选择商品规格', trigger: 'blur' },\r\n ]\"\r\n >\r\n <el-card shadow=\"never\" class=\"cardBg\">\r\n <div v-for=\"(productAttr, idx) in selectProductAttr\">\r\n {{ productAttr.name }}:\r\n <el-checkbox-group\r\n v-if=\"productAttr.handAddStatus === 0\"\r\n v-model=\"selectProductAttr[idx].values\"\r\n :disabled=\"!isEdit\"\r\n >\r\n <el-checkbox\r\n v-for=\"item in getInputListArr(productAttr.inputList)\"\r\n :label=\"item\"\r\n :key=\"item\"\r\n :disabled=\"!isEdit\"\r\n class=\"littleMarginLeft\"\r\n ></el-checkbox>\r\n </el-checkbox-group>\r\n <div v-else>\r\n <el-checkbox-group\r\n v-model=\"selectProductAttr[idx].values\"\r\n :disabled=\"!isEdit\"\r\n >\r\n <div\r\n v-for=\"(item, index) in selectProductAttr[idx].options\"\r\n style=\"display: inline-block\"\r\n class=\"littleMarginLeft\"\r\n >\r\n <el-checkbox\r\n :label=\"item\"\r\n :key=\"item\"\r\n :disabled=\"!isEdit\"\r\n ></el-checkbox>\r\n <el-button\r\n :disabled=\"!isEdit\"\r\n type=\"text\"\r\n class=\"littleMarginLeft\"\r\n @click=\"handleRemoveProductAttrValue(idx, index)\"\r\n >删除\r\n </el-button>\r\n </div>\r\n </el-checkbox-group>\r\n <el-input\r\n v-model=\"addProductAttrValue\"\r\n :disabled=\"!isEdit\"\r\n style=\"width: 160px; margin-left: 10px\"\r\n clearable\r\n ></el-input>\r\n <el-button\r\n :disabled=\"!isEdit\"\r\n class=\"littleMarginLeft\"\r\n @click=\"handleAddProductAttrValue(idx)\"\r\n >增加</el-button\r\n >\r\n </div>\r\n </div>\r\n </el-card>\r\n <el-table\r\n style=\"width: 100%; margin-top: 20px\"\r\n :data=\"skuStockList\"\r\n border\r\n >\r\n <el-table-column\r\n v-for=\"(item, index) in selectProductAttr\"\r\n :label=\"item.name\"\r\n :key=\"item.id\"\r\n align=\"center\"\r\n >\r\n <template slot-scope=\"scope\">\r\n {{ getProductSkuSp(scope.row, index) }}\r\n </template>\r\n </el-table-column>\r\n <el-table-column label=\"销售价格\" width=\"80\" align=\"center\">\r\n <template slot-scope=\"scope\">\r\n <el-input\r\n v-model=\"scope.row.price\"\r\n :disabled=\"!isEdit\"\r\n ></el-input>\r\n </template>\r\n </el-table-column>\r\n <el-table-column label=\"商品库存\" width=\"80\" align=\"center\">\r\n <template slot-scope=\"scope\">\r\n <el-input\r\n v-model=\"scope.row.stock\"\r\n :disabled=\"!isEdit\"\r\n ></el-input>\r\n </template>\r\n </el-table-column>\r\n <el-table-column label=\"库存预警值\" width=\"80\" align=\"center\">\r\n <template slot-scope=\"scope\">\r\n <el-input\r\n v-model=\"scope.row.lowStock\"\r\n :disabled=\"!isEdit\"\r\n ></el-input>\r\n </template>\r\n </el-table-column>\r\n <el-table-column label=\"SKU编号\" align=\"center\">\r\n <template slot-scope=\"scope\">\r\n <el-input\r\n v-model=\"scope.row.skuCode\"\r\n :disabled=\"!isEdit\"\r\n ></el-input>\r\n </template>\r\n </el-table-column>\r\n <el-table-column label=\"操作\" width=\"80\" align=\"center\">\r\n <template slot-scope=\"scope\">\r\n <el-button\r\n :disabled=\"!isEdit\"\r\n type=\"text\"\r\n @click=\"handleRemoveProductSku(scope.$index, scope.row)\"\r\n >删除\r\n </el-button>\r\n </template>\r\n </el-table-column>\r\n </el-table>\r\n <el-button\r\n type=\"primary\"\r\n style=\"margin-top: 20px\"\r\n :disabled=\"!isEdit\"\r\n @click=\"handleRefreshProductSkuList\"\r\n >刷新列表\r\n </el-button>\r\n <el-button\r\n type=\"primary\"\r\n style=\"margin-top: 20px\"\r\n :disabled=\"!isEdit\"\r\n @click=\"handleSyncProductSkuPrice\"\r\n >同步价格\r\n </el-button>\r\n <el-button\r\n type=\"primary\"\r\n style=\"margin-top: 20px\"\r\n :disabled=\"!isEdit\"\r\n @click=\"handleSyncProductSkuStock\"\r\n >同步库存\r\n </el-button>\r\n </el-form-item>\r\n <el-form-item label=\"属性图片:\" v-if=\"hasAttrPic\">\r\n <el-card shadow=\"never\" class=\"cardBg\">\r\n <div v-for=\"(item, index) in selectProductAttrPics\">\r\n <span>{{ item.name }}:</span>\r\n <single-upload\r\n v-model=\"item.pic\"\r\n :disabled=\"!isEdit\"\r\n style=\"width: 300px; display: inline-block; margin-left: 10px\"\r\n ></single-upload>\r\n </div>\r\n </el-card>\r\n </el-form-item>\r\n <el-form-item label=\"商品参数:\">\r\n <el-card shadow=\"never\" class=\"cardBg\">\r\n <div\r\n v-for=\"(item, index) in selectProductParam\"\r\n :class=\"{ littleMarginTop: index !== 0 }\"\r\n >\r\n <div class=\"paramInputLabel\">{{ item.name }}:</div>\r\n <el-select\r\n v-if=\"item.inputType === 1\"\r\n :disabled=\"!isEdit\"\r\n class=\"paramInput\"\r\n v-model=\"selectProductParam[index].value\"\r\n >\r\n <el-option\r\n v-for=\"item in getParamInputList(item.inputList)\"\r\n :key=\"item\"\r\n :label=\"item\"\r\n :value=\"item\"\r\n >\r\n </el-option>\r\n </el-select>\r\n <el-input\r\n v-else\r\n class=\"paramInput\"\r\n :disabled=\"!isEdit\"\r\n v-model=\"selectProductParam[index].value\"\r\n ></el-input>\r\n </div>\r\n </el-card>\r\n </el-form-item>\r\n <el-form-item label=\"商品相册:\">\r\n <multi-upload\r\n v-model=\"selectProductPics\"\r\n :disabled=\"!isEdit\"\r\n ></multi-upload>\r\n </el-form-item>\r\n <el-form-item label=\"规格参数:\">\r\n <el-tabs v-model=\"activeHtmlName\" type=\"card\">\r\n <el-tab-pane label=\"电脑端详情\" name=\"pc\">\r\n <tinymce\r\n :width=\"595\"\r\n :height=\"300\"\r\n v-model=\"value.detailHtml\"\r\n :disabled=\"!isEdit\"\r\n ></tinymce>\r\n </el-tab-pane>\r\n <el-tab-pane label=\"移动端详情\" name=\"mobile\">\r\n <tinymce\r\n :width=\"595\"\r\n :height=\"300\"\r\n v-model=\"value.detailMobileHtml\"\r\n :disabled=\"!isEdit\"\r\n ></tinymce>\r\n </el-tab-pane>\r\n </el-tabs>\r\n </el-form-item>\r\n <el-form-item style=\"text-align: center\">\r\n <el-button size=\"medium\" @click=\"handlePrev\"\r\n >上一步,填写商品促销</el-button\r\n >\r\n <!-- <el-button type=\"primary\" size=\"medium\" @click=\"handleNext\"\r\n >下一步,选择商品关联</el-button\r\n > -->\r\n <el-button type=\"primary\" size=\"medium\" @click=\"handleFinishCommit\"\r\n >完成,提交商品</el-button\r\n >\r\n </el-form-item>\r\n </el-form>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { fetchList as fetchProductAttrCateList } from \"@/api/productAttrCate\";\r\nimport { fetchList as fetchProductAttrList } from \"@/api/productAttr\";\r\nimport SingleUpload from \"@/components/Upload/singleUpload\";\r\nimport MultiUpload from \"@/components/Upload/multiUpload\";\r\nimport Tinymce from \"@/components/Tinymce\";\r\n\r\nexport default {\r\n name: \"ProductAttrDetail\",\r\n components: { SingleUpload, MultiUpload, Tinymce },\r\n props: {\r\n value: Object,\r\n isEdit: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n },\r\n data() {\r\n return {\r\n //编辑模式时是否初始化成功\r\n hasEditCreated: false,\r\n //商品属性分类下拉选项\r\n productAttributeCategoryOptions: [],\r\n //选中的商品属性\r\n selectProductAttr: [],\r\n //选中的商品参数\r\n selectProductParam: [],\r\n //选中的商品属性图片\r\n selectProductAttrPics: [],\r\n //可手动添加的商品属性\r\n addProductAttrValue: \"\",\r\n //商品富文本详情激活类型\r\n activeHtmlName: \"pc\",\r\n };\r\n },\r\n computed: {\r\n //是否有商品属性图片\r\n hasAttrPic() {\r\n if (this.selectProductAttrPics.length < 1) {\r\n return false;\r\n }\r\n return true;\r\n },\r\n //商品的编号\r\n productId() {\r\n return this.value.id;\r\n },\r\n //商品的主图和画册图片\r\n selectProductPics: {\r\n get: function () {\r\n let pics = [];\r\n if (\r\n this.value.pic === undefined ||\r\n this.value.pic == null ||\r\n this.value.pic === \"\"\r\n ) {\r\n return pics;\r\n }\r\n pics.push(this.value.pic);\r\n if (\r\n this.value.albumPics === undefined ||\r\n this.value.albumPics == null ||\r\n this.value.albumPics === \"\"\r\n ) {\r\n return pics;\r\n }\r\n let albumPics = this.value.albumPics.split(\",\");\r\n for (let i = 0; i < albumPics.length; i++) {\r\n pics.push(albumPics[i]);\r\n }\r\n return pics;\r\n },\r\n set: function (newValue) {\r\n if (newValue == null || newValue.length === 0) {\r\n this.value.pic = null;\r\n this.value.albumPics = null;\r\n } else {\r\n this.value.pic = newValue[0];\r\n this.value.albumPics = \"\";\r\n if (newValue.length > 1) {\r\n for (let i = 1; i < newValue.length; i++) {\r\n this.value.albumPics += newValue[i];\r\n if (i !== newValue.length - 1) {\r\n this.value.albumPics += \",\";\r\n }\r\n }\r\n }\r\n }\r\n },\r\n },\r\n skuStockList() {\r\n // if (this.value&&this.value.skuStockList[0]&&this.value.skuStockList[0].productId){\r\n // console.log('调用')\r\n\r\n // };\r\n\r\n return this.value.skuStockList;\r\n },\r\n },\r\n created() {},\r\n mounted() {\r\n console.log(this.value.skuStockList);\r\n this.handleEditCreated();\r\n this.getProductAttrCateList();\r\n },\r\n watch: {\r\n productId: function (newValue) {\r\n // if (!this.isEdit) return;\r\n if (this.hasEditCreated) return;\r\n if (!newValue) return;\r\n this.handleEditCreated();\r\n },\r\n },\r\n methods: {\r\n handleEditCreated() {\r\n //根据商品属性分类id获取属性和参数\r\n if (this.value.productAttributeCategoryId != null) {\r\n this.handleProductAttrChange(this.value.productAttributeCategoryId);\r\n }\r\n this.hasEditCreated = true;\r\n },\r\n getProductAttrCateList() {\r\n let param = { pageNum: 1, pageSize: 100 };\r\n fetchProductAttrCateList(param).then((response) => {\r\n this.productAttributeCategoryOptions = [];\r\n let list = response.data.list;\r\n for (let i = 0; i < list.length; i++) {\r\n this.productAttributeCategoryOptions.push({\r\n label: list[i].name,\r\n value: list[i].id,\r\n });\r\n }\r\n });\r\n },\r\n getProductAttrList(type, cid) {\r\n console.log(\"getProductAttrList\", \"调用\");\r\n let param = { pageNum: 1, pageSize: 100, type: type };\r\n fetchProductAttrList(cid, param).then((response) => {\r\n let list = response.data.list;\r\n if (type === 0) {\r\n this.selectProductAttr = [];\r\n for (let i = 0; i < list.length; i++) {\r\n let options = [];\r\n let values = [];\r\n if (this.isEdit) {\r\n if (list[i].handAddStatus === 1) {\r\n //编辑状态下获取手动添加编辑属性\r\n options = this.getEditAttrOptions(list[i].id);\r\n }\r\n //编辑状态下获取选中属性\r\n values = this.getEditAttrValues(i);\r\n }\r\n this.selectProductAttr.push({\r\n id: list[i].id,\r\n name: list[i].name,\r\n handAddStatus: list[i].handAddStatus,\r\n inputList: list[i].inputList,\r\n values: values,\r\n options: options,\r\n });\r\n }\r\n if (this.isEdit) {\r\n //编辑模式下刷新商品属性图片\r\n this.refreshProductAttrPics();\r\n }\r\n } else {\r\n this.selectProductParam = [];\r\n for (let i = 0; i < list.length; i++) {\r\n let value = null;\r\n if (this.isEdit) {\r\n //编辑模式下获取参数属性\r\n value = this.getEditParamValue(list[i].id);\r\n }\r\n this.selectProductParam.push({\r\n id: list[i].id,\r\n name: list[i].name,\r\n value: value,\r\n inputType: list[i].inputType,\r\n inputList: list[i].inputList,\r\n });\r\n }\r\n }\r\n });\r\n },\r\n //获取设置的可手动添加属性值\r\n getEditAttrOptions(id) {\r\n let options = [];\r\n for (let i = 0; i < this.value.productAttributeValueList.length; i++) {\r\n let attrValue = this.value.productAttributeValueList[i];\r\n if (attrValue.productAttributeId === id) {\r\n let strArr = attrValue.value.split(\",\");\r\n for (let j = 0; j < strArr.length; j++) {\r\n options.push(strArr[j]);\r\n }\r\n break;\r\n }\r\n }\r\n return options;\r\n },\r\n //获取选中的属性值\r\n getEditAttrValues(index) {\r\n let values = new Set();\r\n if (index === 0) {\r\n for (let i = 0; i < this.value.skuStockList.length; i++) {\r\n let sku = this.value.skuStockList[i];\r\n let spData = JSON.parse(sku.spData);\r\n if (spData != null && spData.length >= 1) {\r\n values.add(spData[0].value);\r\n }\r\n }\r\n } else if (index === 1) {\r\n for (let i = 0; i < this.value.skuStockList.length; i++) {\r\n let sku = this.value.skuStockList[i];\r\n let spData = JSON.parse(sku.spData);\r\n if (spData != null && spData.length >= 2) {\r\n values.add(spData[1].value);\r\n }\r\n }\r\n } else {\r\n for (let i = 0; i < this.value.skuStockList.length; i++) {\r\n let sku = this.value.skuStockList[i];\r\n let spData = JSON.parse(sku.spData);\r\n if (spData != null && spData.length >= 3) {\r\n values.add(spData[2].value);\r\n }\r\n }\r\n }\r\n return Array.from(values);\r\n },\r\n //获取属性的值\r\n getEditParamValue(id) {\r\n for (let i = 0; i < this.value.productAttributeValueList.length; i++) {\r\n if (id === this.value.productAttributeValueList[i].productAttributeId) {\r\n return this.value.productAttributeValueList[i].value;\r\n }\r\n }\r\n },\r\n handleProductAttrChange(value) {\r\n this.getProductAttrList(0, value);\r\n this.getProductAttrList(1, value);\r\n },\r\n getInputListArr(inputList) {\r\n return inputList.split(\",\");\r\n },\r\n handleAddProductAttrValue(idx) {\r\n let options = this.selectProductAttr[idx].options;\r\n if (this.addProductAttrValue == null || this.addProductAttrValue == \"\") {\r\n this.$message({\r\n message: \"属性值不能为空\",\r\n type: \"warning\",\r\n duration: 1000,\r\n });\r\n return;\r\n }\r\n if (options.indexOf(this.addProductAttrValue) !== -1) {\r\n this.$message({\r\n message: \"属性值不能重复\",\r\n type: \"warning\",\r\n duration: 1000,\r\n });\r\n return;\r\n }\r\n this.selectProductAttr[idx].options.push(this.addProductAttrValue);\r\n this.addProductAttrValue = null;\r\n },\r\n handleRemoveProductAttrValue(idx, index) {\r\n this.selectProductAttr[idx].options.splice(index, 1);\r\n },\r\n getProductSkuSp(row, index) {\r\n let spData = JSON.parse(row.spData);\r\n if (spData != null && index < spData.length) {\r\n return spData[index].value;\r\n } else {\r\n return null;\r\n }\r\n },\r\n handleRefreshProductSkuList() {\r\n this.$confirm(\"刷新列表将导致sku信息重新生成,是否要刷新\", \"提示\", {\r\n confirmButtonText: \"确定\",\r\n cancelButtonText: \"取消\",\r\n type: \"warning\",\r\n }).then(() => {\r\n this.refreshProductAttrPics();\r\n this.refreshProductSkuList();\r\n });\r\n },\r\n handleSyncProductSkuPrice() {\r\n this.$confirm(\"将同步第一个sku的价格到所有sku,是否继续\", \"提示\", {\r\n confirmButtonText: \"确定\",\r\n cancelButtonText: \"取消\",\r\n type: \"warning\",\r\n }).then(() => {\r\n if (\r\n this.value.skuStockList !== null &&\r\n this.value.skuStockList.length > 0\r\n ) {\r\n let tempSkuList = [];\r\n tempSkuList = tempSkuList.concat(\r\n tempSkuList,\r\n this.value.skuStockList\r\n );\r\n let price = this.value.skuStockList[0].price;\r\n for (let i = 0; i < tempSkuList.length; i++) {\r\n tempSkuList[i].price = price;\r\n }\r\n this.value.skuStockList = [];\r\n this.value.skuStockList = this.value.skuStockList.concat(\r\n this.value.skuStockList,\r\n tempSkuList\r\n );\r\n }\r\n });\r\n },\r\n handleSyncProductSkuStock() {\r\n this.$confirm(\"将同步第一个sku的库存到所有sku,是否继续\", \"提示\", {\r\n confirmButtonText: \"确定\",\r\n cancelButtonText: \"取消\",\r\n type: \"warning\",\r\n }).then(() => {\r\n if (\r\n this.value.skuStockList !== null &&\r\n this.value.skuStockList.length > 0\r\n ) {\r\n let tempSkuList = [];\r\n tempSkuList = tempSkuList.concat(\r\n tempSkuList,\r\n this.value.skuStockList\r\n );\r\n let stock = this.value.skuStockList[0].stock;\r\n let lowStock = this.value.skuStockList[0].lowStock;\r\n for (let i = 0; i < tempSkuList.length; i++) {\r\n tempSkuList[i].stock = stock;\r\n tempSkuList[i].lowStock = lowStock;\r\n }\r\n this.value.skuStockList = [];\r\n this.value.skuStockList = this.value.skuStockList.concat(\r\n this.value.skuStockList,\r\n tempSkuList\r\n );\r\n }\r\n });\r\n },\r\n refreshProductSkuList() {\r\n this.value.skuStockList = [];\r\n let skuList = this.value.skuStockList;\r\n //只有一个属性时\r\n if (this.selectProductAttr.length === 1) {\r\n let attr = this.selectProductAttr[0];\r\n for (let i = 0; i < attr.values.length; i++) {\r\n skuList.push({\r\n spData: JSON.stringify([{ key: attr.name, value: attr.values[i] }]),\r\n });\r\n }\r\n } else if (this.selectProductAttr.length === 2) {\r\n let attr0 = this.selectProductAttr[0];\r\n let attr1 = this.selectProductAttr[1];\r\n for (let i = 0; i < attr0.values.length; i++) {\r\n if (attr1.values.length === 0) {\r\n skuList.push({\r\n spData: JSON.stringify([\r\n { key: attr0.name, value: attr0.values[i] },\r\n ]),\r\n });\r\n continue;\r\n }\r\n for (let j = 0; j < attr1.values.length; j++) {\r\n let spData = [];\r\n spData.push({ key: attr0.name, value: attr0.values[i] });\r\n spData.push({ key: attr1.name, value: attr1.values[j] });\r\n skuList.push({\r\n spData: JSON.stringify(spData),\r\n });\r\n }\r\n }\r\n } else {\r\n let attr0 = this.selectProductAttr[0];\r\n let attr1 = this.selectProductAttr[1];\r\n let attr2 = this.selectProductAttr[2];\r\n for (let i = 0; i < attr0.values.length; i++) {\r\n if (attr1.values.length === 0) {\r\n skuList.push({\r\n spData: JSON.stringify([\r\n { key: attr0.name, value: attr0.values[i] },\r\n ]),\r\n });\r\n continue;\r\n }\r\n for (let j = 0; j < attr1.values.length; j++) {\r\n if (attr2.values.length === 0) {\r\n let spData = [];\r\n spData.push({ key: attr0.name, value: attr0.values[i] });\r\n spData.push({ key: attr1.name, value: attr1.values[j] });\r\n skuList.push({\r\n spData: JSON.stringify(spData),\r\n });\r\n continue;\r\n }\r\n for (let k = 0; k < attr2.values.length; k++) {\r\n let spData = [];\r\n spData.push({ key: attr0.name, value: attr0.values[i] });\r\n spData.push({ key: attr1.name, value: attr1.values[j] });\r\n spData.push({ key: attr2.name, value: attr2.values[k] });\r\n skuList.push({\r\n spData: JSON.stringify(spData),\r\n });\r\n }\r\n }\r\n }\r\n }\r\n },\r\n refreshProductAttrPics() {\r\n this.selectProductAttrPics = [];\r\n if (this.selectProductAttr.length >= 1) {\r\n let values = this.selectProductAttr[0].values;\r\n for (let i = 0; i < values.length; i++) {\r\n let pic = null;\r\n if (this.isEdit) {\r\n //编辑状态下获取图片\r\n pic = this.getProductSkuPic(values[i]);\r\n }\r\n this.selectProductAttrPics.push({ name: values[i], pic: pic });\r\n }\r\n }\r\n },\r\n //获取商品相关属性的图片\r\n getProductSkuPic(name) {\r\n for (let i = 0; i < this.value.skuStockList.length; i++) {\r\n let spData = JSON.parse(this.value.skuStockList[i].spData);\r\n if (name === spData[0].value) {\r\n return this.value.skuStockList[i].pic;\r\n }\r\n }\r\n return null;\r\n },\r\n //合并商品属性\r\n mergeProductAttrValue() {\r\n this.value.productAttributeValueList = [];\r\n for (let i = 0; i < this.selectProductAttr.length; i++) {\r\n let attr = this.selectProductAttr[i];\r\n if (\r\n attr.handAddStatus === 1 &&\r\n attr.options != null &&\r\n attr.options.length > 0\r\n ) {\r\n this.value.productAttributeValueList.push({\r\n productAttributeId: attr.id,\r\n value: this.getOptionStr(attr.options),\r\n });\r\n }\r\n }\r\n for (let i = 0; i < this.selectProductParam.length; i++) {\r\n let param = this.selectProductParam[i];\r\n this.value.productAttributeValueList.push({\r\n productAttributeId: param.id,\r\n value: param.value,\r\n });\r\n }\r\n },\r\n //合并商品属性图片\r\n mergeProductAttrPics() {\r\n for (let i = 0; i < this.selectProductAttrPics.length; i++) {\r\n for (let j = 0; j < this.value.skuStockList.length; j++) {\r\n let spData = JSON.parse(this.value.skuStockList[j].spData);\r\n if (spData[0].value === this.selectProductAttrPics[i].name) {\r\n this.value.skuStockList[j].pic = this.selectProductAttrPics[i].pic;\r\n }\r\n }\r\n }\r\n },\r\n getOptionStr(arr) {\r\n let str = \"\";\r\n for (let i = 0; i < arr.length; i++) {\r\n str += arr[i];\r\n if (i != arr.length - 1) {\r\n str += \",\";\r\n }\r\n }\r\n return str;\r\n },\r\n handleRemoveProductSku(index, row) {\r\n let list = this.value.skuStockList;\r\n if (list.length === 1) {\r\n list.pop();\r\n } else {\r\n list.splice(index, 1);\r\n }\r\n },\r\n getParamInputList(inputList) {\r\n return inputList.split(\",\");\r\n },\r\n handlePrev() {\r\n this.$emit(\"prevStep\");\r\n },\r\n handleNext() {\r\n if (\r\n !this.value.skuStockList ||\r\n this.value.skuStockList.length <= 0 ||\r\n !(this.value.skuStockList[0].price + \"\") ||\r\n !(this.value.skuStockList[0].stock + \"\") ||\r\n !(this.value.skuStockList[0].lowStock + \"\") ||\r\n !(this.value.skuStockList[0].skuCode + \"\")\r\n ) {\r\n this.$message.error(\"请编辑商品规格\");\r\n return;\r\n }\r\n\r\n this.mergeProductAttrValue();\r\n this.mergeProductAttrPics();\r\n this.$emit(\"nextStep\");\r\n },\r\n\r\n handleFinishCommit() {\r\n if (\r\n !this.value.skuStockList ||\r\n this.value.skuStockList.length <= 0 ||\r\n !(this.value.skuStockList[0].price + \"\") ||\r\n !(this.value.skuStockList[0].stock + \"\") ||\r\n !(this.value.skuStockList[0].lowStock + \"\") ||\r\n !(this.value.skuStockList[0].skuCode + \"\")\r\n ) {\r\n this.$message.error(\"请编辑商品规格\");\r\n return;\r\n }\r\n\r\n this.mergeProductAttrValue();\r\n this.mergeProductAttrPics();\r\n this.$emit(\"finishCommit\", this.isEdit);\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style scoped>\r\n.littleMarginLeft {\r\n margin-left: 10px;\r\n}\r\n\r\n.littleMarginTop {\r\n margin-top: 10px;\r\n}\r\n\r\n.paramInput {\r\n width: 250px;\r\n}\r\n\r\n.paramInputLabel {\r\n display: inline-block;\r\n width: 100px;\r\n text-align: right;\r\n padding-right: 10px;\r\n}\r\n\r\n.cardBg {\r\n background: #f8f9fc;\r\n}\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/pms/product/components/ProductAttrDetail.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{\"margin-top\":\"50px\"}},[_c('el-form',{ref:\"productAttrForm\",staticStyle:{\"width\":\"720px\"},attrs:{\"model\":_vm.value,\"label-width\":\"120px\",\"size\":\"small\"}},[_c('el-form-item',{attrs:{\"label\":\"属性类型:\"}},[_c('el-select',{attrs:{\"disabled\":!_vm.isEdit,\"placeholder\":\"请选择属性类型\"},on:{\"change\":_vm.handleProductAttrChange},model:{value:(_vm.value.productAttributeCategoryId),callback:function ($$v) {_vm.$set(_vm.value, \"productAttributeCategoryId\", $$v)},expression:\"value.productAttributeCategoryId\"}},_vm._l((_vm.productAttributeCategoryOptions),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.label,\"value\":item.value}})}))],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"商品规格:\",\"rules\":[\n { required: true, message: '请选择商品规格', trigger: 'blur' } ]}},[_c('el-card',{staticClass:\"cardBg\",attrs:{\"shadow\":\"never\"}},_vm._l((_vm.selectProductAttr),function(productAttr,idx){return _c('div',[_vm._v(\"\\n \"+_vm._s(productAttr.name)+\":\\n \"),(productAttr.handAddStatus === 0)?_c('el-checkbox-group',{attrs:{\"disabled\":!_vm.isEdit},model:{value:(_vm.selectProductAttr[idx].values),callback:function ($$v) {_vm.$set(_vm.selectProductAttr[idx], \"values\", $$v)},expression:\"selectProductAttr[idx].values\"}},_vm._l((_vm.getInputListArr(productAttr.inputList)),function(item){return _c('el-checkbox',{key:item,staticClass:\"littleMarginLeft\",attrs:{\"label\":item,\"disabled\":!_vm.isEdit}})})):_c('div',[_c('el-checkbox-group',{attrs:{\"disabled\":!_vm.isEdit},model:{value:(_vm.selectProductAttr[idx].values),callback:function ($$v) {_vm.$set(_vm.selectProductAttr[idx], \"values\", $$v)},expression:\"selectProductAttr[idx].values\"}},_vm._l((_vm.selectProductAttr[idx].options),function(item,index){return _c('div',{staticClass:\"littleMarginLeft\",staticStyle:{\"display\":\"inline-block\"}},[_c('el-checkbox',{key:item,attrs:{\"label\":item,\"disabled\":!_vm.isEdit}}),_vm._v(\" \"),_c('el-button',{staticClass:\"littleMarginLeft\",attrs:{\"disabled\":!_vm.isEdit,\"type\":\"text\"},on:{\"click\":function($event){_vm.handleRemoveProductAttrValue(idx, index)}}},[_vm._v(\"删除\\n \")])],1)})),_vm._v(\" \"),_c('el-input',{staticStyle:{\"width\":\"160px\",\"margin-left\":\"10px\"},attrs:{\"disabled\":!_vm.isEdit,\"clearable\":\"\"},model:{value:(_vm.addProductAttrValue),callback:function ($$v) {_vm.addProductAttrValue=$$v},expression:\"addProductAttrValue\"}}),_vm._v(\" \"),_c('el-button',{staticClass:\"littleMarginLeft\",attrs:{\"disabled\":!_vm.isEdit},on:{\"click\":function($event){_vm.handleAddProductAttrValue(idx)}}},[_vm._v(\"增加\")])],1)],1)})),_vm._v(\" \"),_c('el-table',{staticStyle:{\"width\":\"100%\",\"margin-top\":\"20px\"},attrs:{\"data\":_vm.skuStockList,\"border\":\"\"}},[_vm._l((_vm.selectProductAttr),function(item,index){return _c('el-table-column',{key:item.id,attrs:{\"label\":item.name,\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"\\n \"+_vm._s(_vm.getProductSkuSp(scope.row, index))+\"\\n \")]}}])})}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"销售价格\",\"width\":\"80\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-input',{attrs:{\"disabled\":!_vm.isEdit},model:{value:(scope.row.price),callback:function ($$v) {_vm.$set(scope.row, \"price\", $$v)},expression:\"scope.row.price\"}})]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"商品库存\",\"width\":\"80\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-input',{attrs:{\"disabled\":!_vm.isEdit},model:{value:(scope.row.stock),callback:function ($$v) {_vm.$set(scope.row, \"stock\", $$v)},expression:\"scope.row.stock\"}})]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"库存预警值\",\"width\":\"80\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-input',{attrs:{\"disabled\":!_vm.isEdit},model:{value:(scope.row.lowStock),callback:function ($$v) {_vm.$set(scope.row, \"lowStock\", $$v)},expression:\"scope.row.lowStock\"}})]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"SKU编号\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-input',{attrs:{\"disabled\":!_vm.isEdit},model:{value:(scope.row.skuCode),callback:function ($$v) {_vm.$set(scope.row, \"skuCode\", $$v)},expression:\"scope.row.skuCode\"}})]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"操作\",\"width\":\"80\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{attrs:{\"disabled\":!_vm.isEdit,\"type\":\"text\"},on:{\"click\":function($event){_vm.handleRemoveProductSku(scope.$index, scope.row)}}},[_vm._v(\"删除\\n \")])]}}])})],2),_vm._v(\" \"),_c('el-button',{staticStyle:{\"margin-top\":\"20px\"},attrs:{\"type\":\"primary\",\"disabled\":!_vm.isEdit},on:{\"click\":_vm.handleRefreshProductSkuList}},[_vm._v(\"刷新列表\\n \")]),_vm._v(\" \"),_c('el-button',{staticStyle:{\"margin-top\":\"20px\"},attrs:{\"type\":\"primary\",\"disabled\":!_vm.isEdit},on:{\"click\":_vm.handleSyncProductSkuPrice}},[_vm._v(\"同步价格\\n \")]),_vm._v(\" \"),_c('el-button',{staticStyle:{\"margin-top\":\"20px\"},attrs:{\"type\":\"primary\",\"disabled\":!_vm.isEdit},on:{\"click\":_vm.handleSyncProductSkuStock}},[_vm._v(\"同步库存\\n \")])],1),_vm._v(\" \"),(_vm.hasAttrPic)?_c('el-form-item',{attrs:{\"label\":\"属性图片:\"}},[_c('el-card',{staticClass:\"cardBg\",attrs:{\"shadow\":\"never\"}},_vm._l((_vm.selectProductAttrPics),function(item,index){return _c('div',[_c('span',[_vm._v(_vm._s(item.name)+\":\")]),_vm._v(\" \"),_c('single-upload',{staticStyle:{\"width\":\"300px\",\"display\":\"inline-block\",\"margin-left\":\"10px\"},attrs:{\"disabled\":!_vm.isEdit},model:{value:(item.pic),callback:function ($$v) {_vm.$set(item, \"pic\", $$v)},expression:\"item.pic\"}})],1)}))],1):_vm._e(),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"商品参数:\"}},[_c('el-card',{staticClass:\"cardBg\",attrs:{\"shadow\":\"never\"}},_vm._l((_vm.selectProductParam),function(item,index){return _c('div',{class:{ littleMarginTop: index !== 0 }},[_c('div',{staticClass:\"paramInputLabel\"},[_vm._v(_vm._s(item.name)+\":\")]),_vm._v(\" \"),(item.inputType === 1)?_c('el-select',{staticClass:\"paramInput\",attrs:{\"disabled\":!_vm.isEdit},model:{value:(_vm.selectProductParam[index].value),callback:function ($$v) {_vm.$set(_vm.selectProductParam[index], \"value\", $$v)},expression:\"selectProductParam[index].value\"}},_vm._l((_vm.getParamInputList(item.inputList)),function(item){return _c('el-option',{key:item,attrs:{\"label\":item,\"value\":item}})})):_c('el-input',{staticClass:\"paramInput\",attrs:{\"disabled\":!_vm.isEdit},model:{value:(_vm.selectProductParam[index].value),callback:function ($$v) {_vm.$set(_vm.selectProductParam[index], \"value\", $$v)},expression:\"selectProductParam[index].value\"}})],1)}))],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"商品相册:\"}},[_c('multi-upload',{attrs:{\"disabled\":!_vm.isEdit},model:{value:(_vm.selectProductPics),callback:function ($$v) {_vm.selectProductPics=$$v},expression:\"selectProductPics\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"规格参数:\"}},[_c('el-tabs',{attrs:{\"type\":\"card\"},model:{value:(_vm.activeHtmlName),callback:function ($$v) {_vm.activeHtmlName=$$v},expression:\"activeHtmlName\"}},[_c('el-tab-pane',{attrs:{\"label\":\"电脑端详情\",\"name\":\"pc\"}},[_c('tinymce',{attrs:{\"width\":595,\"height\":300,\"disabled\":!_vm.isEdit},model:{value:(_vm.value.detailHtml),callback:function ($$v) {_vm.$set(_vm.value, \"detailHtml\", $$v)},expression:\"value.detailHtml\"}})],1),_vm._v(\" \"),_c('el-tab-pane',{attrs:{\"label\":\"移动端详情\",\"name\":\"mobile\"}},[_c('tinymce',{attrs:{\"width\":595,\"height\":300,\"disabled\":!_vm.isEdit},model:{value:(_vm.value.detailMobileHtml),callback:function ($$v) {_vm.$set(_vm.value, \"detailMobileHtml\", $$v)},expression:\"value.detailMobileHtml\"}})],1)],1)],1),_vm._v(\" \"),_c('el-form-item',{staticStyle:{\"text-align\":\"center\"}},[_c('el-button',{attrs:{\"size\":\"medium\"},on:{\"click\":_vm.handlePrev}},[_vm._v(\"上一步,填写商品促销\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"medium\"},on:{\"click\":_vm.handleFinishCommit}},[_vm._v(\"完成,提交商品\")])],1)],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-7f8dc0a2\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/pms/product/components/ProductAttrDetail.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-7f8dc0a2\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!../../../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./ProductAttrDetail.vue\")\n}\nvar normalizeComponent = require(\"!../../../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./ProductAttrDetail.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./ProductAttrDetail.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-7f8dc0a2\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../../../node_modules/vue-loader/lib/selector?type=template&index=0!./ProductAttrDetail.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-7f8dc0a2\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/pms/product/components/ProductAttrDetail.vue\n// module id = null\n// module chunks = ","<template>\r\n <div style=\"margin-top: 50px\">\r\n <el-form :model=\"value\"\r\n ref=\"productRelationForm\"\r\n label-width=\"120px\"\r\n style=\"width: 680px\"\r\n size=\"small\">\r\n <el-form-item label=\"关联专题:\">\r\n <el-transfer\r\n style=\"display: inline-block\"\r\n :disabled=\"!isEdit\"\r\n filterable\r\n :filter-method=\"filterMethod\"\r\n filter-placeholder=\"请输入专题名称\"\r\n v-model=\"selectSubject\"\r\n :titles=\"subjectTitles\"\r\n :data=\"subjectList\">\r\n </el-transfer>\r\n </el-form-item>\r\n <el-form-item label=\"关联优选:\">\r\n <el-transfer\r\n style=\"display: inline-block\"\r\n :disabled=\"!isEdit\"\r\n filterable\r\n :filter-method=\"filterMethod\"\r\n filter-placeholder=\"请输入优选名称\"\r\n v-model=\"selectPrefrenceArea\"\r\n :titles=\"prefrenceAreaTitles\"\r\n :data=\"prefrenceAreaList\">\r\n </el-transfer>\r\n </el-form-item>\r\n <el-form-item style=\"text-align: center\">\r\n <el-button size=\"medium\" @click=\"handlePrev\">上一步,填写商品属性</el-button>\r\n <el-button type=\"primary\" size=\"medium\" @click=\"handleFinishCommit\">完成,提交商品</el-button>\r\n </el-form-item>\r\n </el-form>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n import {fetchListAll as fetchSubjectList} from '@/api/subject'\r\n import {fetchList as fetchPrefrenceAreaList} from '@/api/prefrenceArea'\r\n\r\n export default {\r\n name: \"ProductRelationDetail\",\r\n props: {\r\n value: Object,\r\n isEdit: {\r\n type: Boolean,\r\n default: false\r\n }\r\n },\r\n data() {\r\n return {\r\n //所有专题列表\r\n subjectList: [],\r\n //专题左右标题\r\n subjectTitles: ['待选择', '已选择'],\r\n //所有专题列表\r\n prefrenceAreaList: [],\r\n //专题左右标题\r\n prefrenceAreaTitles: ['待选择', '已选择']\r\n };\r\n },\r\n created() {\r\n this.getSubjectList();\r\n this.getPrefrenceAreaList();\r\n },\r\n computed:{\r\n //选中的专题\r\n selectSubject:{\r\n get:function () {\r\n let subjects =[];\r\n if(this.value.subjectProductRelationList==null||this.value.subjectProductRelationList.length<=0){\r\n return subjects;\r\n }\r\n for(let i=0;i<this.value.subjectProductRelationList.length;i++){\r\n subjects.push(this.value.subjectProductRelationList[i].subjectId);\r\n }\r\n return subjects;\r\n },\r\n set:function (newValue) {\r\n this.value.subjectProductRelationList=[];\r\n for(let i=0;i<newValue.length;i++){\r\n this.value.subjectProductRelationList.push({subjectId:newValue[i]});\r\n }\r\n }\r\n },\r\n //选中的优选\r\n selectPrefrenceArea:{\r\n get:function () {\r\n let prefrenceAreas =[];\r\n if(this.value.prefrenceAreaProductRelationList==null||this.value.prefrenceAreaProductRelationList.length<=0){\r\n return prefrenceAreas;\r\n }\r\n for(let i=0;i<this.value.prefrenceAreaProductRelationList.length;i++){\r\n prefrenceAreas.push(this.value.prefrenceAreaProductRelationList[i].prefrenceAreaId);\r\n }\r\n return prefrenceAreas;\r\n },\r\n set:function (newValue) {\r\n this.value.prefrenceAreaProductRelationList=[];\r\n for(let i=0;i<newValue.length;i++){\r\n this.value.prefrenceAreaProductRelationList.push({prefrenceAreaId:newValue[i]});\r\n }\r\n }\r\n }\r\n },\r\n methods: {\r\n filterMethod(query, item) {\r\n return item.label.indexOf(query) > -1;\r\n },\r\n getSubjectList() {\r\n fetchSubjectList().then(response => {\r\n let list = response.data;\r\n for (let i = 0; i < list.length; i++) {\r\n this.subjectList.push({\r\n label: list[i].title,\r\n key: list[i].id,\r\n disabled:!this.isEdit\r\n });\r\n }\r\n });\r\n },\r\n getPrefrenceAreaList() {\r\n fetchPrefrenceAreaList().then(response=>{\r\n let list = response.data;\r\n for (let i = 0; i < list.length; i++) {\r\n this.prefrenceAreaList.push({\r\n label: list[i].name,\r\n key: list[i].id,\r\n disabled:!this.isEdit\r\n });\r\n }\r\n });\r\n },\r\n handlePrev(){\r\n this.$emit('prevStep')\r\n },\r\n handleFinishCommit(){\r\n this.$emit('finishCommit',this.isEdit);\r\n }\r\n }\r\n }\r\n</script>\r\n\r\n<style scoped>\r\n\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/pms/product/components/ProductRelationDetail.vue","import request from '@/utils/request'\nexport function fetchList() {\n return request({\n url:'/prefrenceArea/listAll',\n method:'get',\n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/api/prefrenceArea.js","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{\"margin-top\":\"50px\"}},[_c('el-form',{ref:\"productRelationForm\",staticStyle:{\"width\":\"680px\"},attrs:{\"model\":_vm.value,\"label-width\":\"120px\",\"size\":\"small\"}},[_c('el-form-item',{attrs:{\"label\":\"关联专题:\"}},[_c('el-transfer',{staticStyle:{\"display\":\"inline-block\"},attrs:{\"disabled\":!_vm.isEdit,\"filterable\":\"\",\"filter-method\":_vm.filterMethod,\"filter-placeholder\":\"请输入专题名称\",\"titles\":_vm.subjectTitles,\"data\":_vm.subjectList},model:{value:(_vm.selectSubject),callback:function ($$v) {_vm.selectSubject=$$v},expression:\"selectSubject\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"关联优选:\"}},[_c('el-transfer',{staticStyle:{\"display\":\"inline-block\"},attrs:{\"disabled\":!_vm.isEdit,\"filterable\":\"\",\"filter-method\":_vm.filterMethod,\"filter-placeholder\":\"请输入优选名称\",\"titles\":_vm.prefrenceAreaTitles,\"data\":_vm.prefrenceAreaList},model:{value:(_vm.selectPrefrenceArea),callback:function ($$v) {_vm.selectPrefrenceArea=$$v},expression:\"selectPrefrenceArea\"}})],1),_vm._v(\" \"),_c('el-form-item',{staticStyle:{\"text-align\":\"center\"}},[_c('el-button',{attrs:{\"size\":\"medium\"},on:{\"click\":_vm.handlePrev}},[_vm._v(\"上一步,填写商品属性\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"medium\"},on:{\"click\":_vm.handleFinishCommit}},[_vm._v(\"完成,提交商品\")])],1)],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-54c4e537\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/pms/product/components/ProductRelationDetail.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-54c4e537\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!../../../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./ProductRelationDetail.vue\")\n}\nvar normalizeComponent = require(\"!../../../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./ProductRelationDetail.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./ProductRelationDetail.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-54c4e537\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../../../node_modules/vue-loader/lib/selector?type=template&index=0!./ProductRelationDetail.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-54c4e537\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/pms/product/components/ProductRelationDetail.vue\n// module id = null\n// module chunks = ","<template>\r\n  \r\n <el-card class=\"form-container\" shadow=\"never\">\r\n <el-steps :active=\"active\" finish-status=\"success\" align-center>\r\n <el-step title=\"填写商品信息\"></el-step>\r\n <el-step title=\"填写商品促销\"></el-step>\r\n <el-step title=\"填写商品属性\"></el-step>\r\n <!-- <el-step title=\"选择商品关联\"></el-step> -->\r\n </el-steps>\r\n <product-info-detail\r\n v-show=\"showStatus[0]\"\r\n v-model=\"productParam\"\r\n :is-edit=\"isEdit\"\r\n @nextStep=\"nextStep\"\r\n >\r\n </product-info-detail>\r\n <product-sale-detail\r\n v-if=\"showStatus[1]\"\r\n v-model=\"productParam\"\r\n :is-edit=\"isEdit\"\r\n @nextStep=\"nextStep\"\r\n @prevStep=\"prevStep\"\r\n >\r\n </product-sale-detail>\r\n <product-attr-detail\r\n v-if=\"showStatus[2]\"\r\n v-model=\"productParam\"\r\n :is-edit=\"isEdit\"\r\n @nextStep=\"nextStep\"\r\n @prevStep=\"prevStep\"\r\n @finishCommit=\"finishCommit\"\r\n >\r\n </product-attr-detail>\r\n <!-- <product-relation-detail\r\n v-if=\"showStatus[3]\"\r\n v-model=\"productParam\"\r\n :is-edit=\"isEdit\"\r\n @prevStep=\"prevStep\"\r\n @finishCommit=\"finishCommit\"\r\n >\r\n </product-relation-detail> -->\r\n </el-card>\r\n</template>\r\n<script>\r\nimport ProductInfoDetail from \"./ProductInfoDetail\";\r\nimport ProductSaleDetail from \"./ProductSaleDetail\";\r\nimport ProductAttrDetail from \"./ProductAttrDetail\";\r\nimport ProductRelationDetail from \"./ProductRelationDetail\";\r\nimport { createProduct, getProduct, updateProduct } from \"@/api/product\";\r\n\r\nconst defaultProductParam = {\r\n albumPics: \"\",\r\n brandId: null,\r\n brandName: \"\",\r\n deleteStatus: 0,\r\n description: \"\",\r\n detailDesc: \"\",\r\n detailHtml: \"\",\r\n detailMobileHtml: \"\",\r\n detailTitle: \"\",\r\n feightTemplateId: 0,\r\n flashPromotionCount: 0,\r\n flashPromotionId: 0,\r\n flashPromotionPrice: 0,\r\n flashPromotionSort: 0,\r\n giftPoint: 0,\r\n giftGrowth: 0,\r\n keywords: \"\",\r\n lowStock: 0,\r\n name: \"\",\r\n newStatus: 0,\r\n note: \"\",\r\n originalPrice: 0,\r\n pic: \"\",\r\n //会员价格{memberLevelId: 0,memberPrice: 0,memberLevelName: null}\r\n memberPriceList: [],\r\n //商品满减\r\n productFullReductionList: [{ fullPrice: 0, reducePrice: 0 }],\r\n //商品阶梯价格\r\n productLadderList: [{ count: 0, discount: 0, price: 0 }],\r\n previewStatus: 0,\r\n price: 0,\r\n productAttributeCategoryId: null,\r\n //商品属性相关{productAttributeId: 0, value: ''}\r\n productAttributeValueList: [],\r\n //商品sku库存信息{lowStock: 0, pic: '', price: 0, sale: 0, skuCode: '', spData: '', stock: 0}\r\n skuStockList: [],\r\n //商品相关专题{subjectId: 0}\r\n subjectProductRelationList: [],\r\n //商品相关优选{prefrenceAreaId: 0}\r\n prefrenceAreaProductRelationList: [],\r\n productCategoryId: null,\r\n productCategoryName: \"\",\r\n productSn: \"\",\r\n promotionEndTime: \"\",\r\n promotionPerLimit: 0,\r\n promotionPrice: null,\r\n promotionStartTime: \"\",\r\n promotionType: 0,\r\n publishStatus: 0,\r\n recommandStatus: 0,\r\n sale: 0,\r\n serviceIds: \"\",\r\n sort: 0,\r\n stock: 0,\r\n subTitle: \"\",\r\n unit: \"\",\r\n usePointLimit: 0,\r\n verifyStatus: 0,\r\n weight: 0,\r\n};\r\nexport default {\r\n name: \"ProductDetail\",\r\n components: {\r\n ProductInfoDetail,\r\n ProductSaleDetail,\r\n ProductAttrDetail,\r\n ProductRelationDetail,\r\n },\r\n props: {\r\n isEdit: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n },\r\n data() {\r\n return {\r\n active: 0,\r\n productParam: Object.assign({}, defaultProductParam),\r\n showStatus: [true, false, false, false],\r\n };\r\n },\r\n created() {\r\n // if(this.isEdit){\r\n if (this.$route.query.id) {\r\n getProduct(this.$route.query.id).then((response) => {\r\n this.productParam = response.data;\r\n });\r\n }\r\n\r\n // }\r\n },\r\n methods: {\r\n hideAll() {\r\n for (let i = 0; i < this.showStatus.length; i++) {\r\n this.showStatus[i] = false;\r\n }\r\n },\r\n prevStep() {\r\n if (this.active > 0 && this.active < this.showStatus.length) {\r\n this.active--;\r\n this.hideAll();\r\n this.showStatus[this.active] = true;\r\n }\r\n },\r\n nextStep() {\r\n if (this.active < this.showStatus.length - 1) {\r\n this.active++;\r\n this.hideAll();\r\n this.showStatus[this.active] = true;\r\n }\r\n },\r\n finishCommit(isEdit) {\r\n if (this.$route.query.id && isEdit) {\r\n this.$confirm(\"是否要提交该产品\", \"提示\", {\r\n confirmButtonText: \"确定\",\r\n cancelButtonText: \"取消\",\r\n type: \"warning\",\r\n }).then(() => {\r\n updateProduct(this.$route.query.id, this.productParam).then(\r\n (response) => {\r\n this.$message({\r\n type: \"success\",\r\n message: \"提交成功\",\r\n duration: 1000,\r\n });\r\n this.$router.back();\r\n }\r\n );\r\n });\r\n } else if (!this.$route.query.id && isEdit) {\r\n this.$confirm(\"是否要提交该产品\", \"提示\", {\r\n confirmButtonText: \"确定\",\r\n cancelButtonText: \"取消\",\r\n type: \"warning\",\r\n }).then(() => {\r\n createProduct(this.productParam).then((response) => {\r\n this.$message({\r\n type: \"success\",\r\n message: \"提交成功\",\r\n duration: 1000,\r\n });\r\n this.$router.back();\r\n });\r\n });\r\n } else {\r\n this.$router.back();\r\n }\r\n },\r\n },\r\n};\r\n</script>\r\n<style>\r\n.form-container {\r\n width: 800px;\r\n}\r\n</style>\r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/pms/product/components/ProductDetail.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-card',{staticClass:\"form-container\",attrs:{\"shadow\":\"never\"}},[_c('el-steps',{attrs:{\"active\":_vm.active,\"finish-status\":\"success\",\"align-center\":\"\"}},[_c('el-step',{attrs:{\"title\":\"填写商品信息\"}}),_vm._v(\" \"),_c('el-step',{attrs:{\"title\":\"填写商品促销\"}}),_vm._v(\" \"),_c('el-step',{attrs:{\"title\":\"填写商品属性\"}})],1),_vm._v(\" \"),_c('product-info-detail',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showStatus[0]),expression:\"showStatus[0]\"}],attrs:{\"is-edit\":_vm.isEdit},on:{\"nextStep\":_vm.nextStep},model:{value:(_vm.productParam),callback:function ($$v) {_vm.productParam=$$v},expression:\"productParam\"}}),_vm._v(\" \"),(_vm.showStatus[1])?_c('product-sale-detail',{attrs:{\"is-edit\":_vm.isEdit},on:{\"nextStep\":_vm.nextStep,\"prevStep\":_vm.prevStep},model:{value:(_vm.productParam),callback:function ($$v) {_vm.productParam=$$v},expression:\"productParam\"}}):_vm._e(),_vm._v(\" \"),(_vm.showStatus[2])?_c('product-attr-detail',{attrs:{\"is-edit\":_vm.isEdit},on:{\"nextStep\":_vm.nextStep,\"prevStep\":_vm.prevStep,\"finishCommit\":_vm.finishCommit},model:{value:(_vm.productParam),callback:function ($$v) {_vm.productParam=$$v},expression:\"productParam\"}}):_vm._e()],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-721f87aa\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/pms/product/components/ProductDetail.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-721f87aa\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../../../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./ProductDetail.vue\")\n}\nvar normalizeComponent = require(\"!../../../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./ProductDetail.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./ProductDetail.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-721f87aa\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../../../node_modules/vue-loader/lib/selector?type=template&index=0!./ProductDetail.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/pms/product/components/ProductDetail.vue\n// module id = null\n// module chunks = ","import request from '@/utils/request'\r\nexport function fetchList(params) {\r\n return request({\r\n url:'/order/list',\r\n method:'get',\r\n params:params\r\n })\r\n}\r\n\r\nexport function closeOrder(params) {\r\n return request({\r\n url:'/order/update/close',\r\n method:'post',\r\n requestType:'form',\r\n // params:params,\r\n // noCleanDeep:true,\r\n data:params,\r\n\r\n })\r\n}\r\n\r\nexport function deleteOrder(params) {\r\n return request({\r\n url:'/order/delete',\r\n method:'post',\r\n params:params\r\n })\r\n}\r\n\r\nexport function deliveryOrder(data) {\r\n return request({\r\n url:'/order/update/delivery',\r\n method:'post',\r\n data:data\r\n });\r\n}\r\n\r\nexport function getOrderDetail(id) {\r\n return request({\r\n url:'/order/'+id,\r\n method:'get'\r\n });\r\n}\r\n\r\nexport function updateReceiverInfo(data) {\r\n return request({\r\n url:'/order/update/receiverInfo',\r\n method:'post',\r\n data:data\r\n });\r\n}\r\n\r\nexport function updateMoneyInfo(data) {\r\n return request({\r\n url:'/order/update/moneyInfo',\r\n method:'post',\r\n data:data\r\n });\r\n}\r\n\r\nexport function updateOrderNote(params) {\r\n return request({\r\n url:'/order/update/note',\r\n method:'post',\r\n params:params\r\n })\r\n}\r\n\r\n// 获取物流信息\r\nexport function getSelectCourier(params) {\r\n return request({\r\n url:'/order/selectCourier',\r\n method:'get',\r\n params:params\r\n })\r\n}\r\n\r\n// 刷新物流信息\r\nexport function refreshCourier(params) {\r\n return request({\r\n url:'/order/refreshCourier',\r\n method:'get',\r\n params:params\r\n })\r\n}\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/api/order.js","'use strict';\n// https://tc39.github.io/proposal-setmap-offrom/\nvar $export = require('./_export');\nvar aFunction = require('./_a-function');\nvar ctx = require('./_ctx');\nvar forOf = require('./_for-of');\n\nmodule.exports = function (COLLECTION) {\n $export($export.S, COLLECTION, { from: function from(source /* , mapFn, thisArg */) {\n var mapFn = arguments[1];\n var mapping, A, n, cb;\n aFunction(this);\n mapping = mapFn !== undefined;\n if (mapping) aFunction(mapFn);\n if (source == undefined) return new this();\n A = [];\n if (mapping) {\n n = 0;\n cb = ctx(mapFn, arguments[2], 2);\n forOf(source, false, function (nextItem) {\n A.push(cb(nextItem, n++));\n });\n } else {\n forOf(source, false, A.push, A);\n }\n return new this(A);\n } });\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_set-collection-from.js\n// module id = HpRW\n// module chunks = 0","import request from '@/utils/request'\r\nexport function fetchList(params) {\r\n return request({\r\n url:'/productAttribute/category/list',\r\n method:'get',\r\n params:params\r\n })\r\n}\r\n\r\nexport function createProductAttrCate(data) {\r\n return request({\r\n url:'/productAttribute/category/create',\r\n method:'post',\r\n data:data,\r\n requestType:'form'\r\n })\r\n}\r\n\r\nexport function deleteProductAttrCate(id) {\r\n return request({\r\n url:'/productAttribute/category/delete/'+id,\r\n method:'get'\r\n })\r\n}\r\n\r\nexport function updateProductAttrCate(id,data) {\r\n return request({\r\n url:'/productAttribute/category/update/'+id,\r\n method:'post',\r\n data:data,\r\n requestType:'form'\r\n })\r\n}\r\nexport function fetchListWithAttr() {\r\n return request({\r\n url:'/productAttribute/category/list/withAttr',\r\n method:'get'\r\n })\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/api/productAttrCate.js","var isObject = require('./_is-object');\nmodule.exports = function (it, TYPE) {\n if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!');\n return it;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_validate-collection.js\n// module id = LIJb\n// module chunks = 0","import request from '@/utils/request'\r\nexport function fetchList(params) {\r\n return request({\r\n url:'/home/advertise/list',\r\n method:'get',\r\n params:params\r\n })\r\n}\r\nexport function updateStatus(id,params) {\r\n return request({\r\n url:'/home/advertise/update/status/'+id,\r\n method:'post',\r\n params:params\r\n })\r\n}\r\nexport function deleteHomeAdvertise(data) {\r\n return request({\r\n url:'/home/advertise/delete',\r\n method:'post',\r\n data:data,\r\n requestType: 'form'\r\n })\r\n}\r\nexport function createHomeAdvertise(data) {\r\n return request({\r\n url:'/home/advertise/create',\r\n method:'post',\r\n data:data,\r\n\r\n })\r\n}\r\nexport function getHomeAdvertise(id) {\r\n return request({\r\n url:'/home/advertise/'+id,\r\n method:'get',\r\n })\r\n}\r\n\r\nexport function updateHomeAdvertise(id,data) {\r\n return request({\r\n url:'/home/advertise/update/'+id,\r\n method:'post',\r\n data:data\r\n })\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/api/homeAdvertise.js","import request from '@/utils/request'\n\nexport function listAllCate() {\n return request({\n url: '/resourceCategory/listAll',\n method: 'get'\n })\n}\n\nexport function createResourceCategory(data) {\n return request({\n url: '/resourceCategory/create',\n method: 'post',\n data: data\n })\n}\n\nexport function updateResourceCategory(id, data) {\n return request({\n url: '/resourceCategory/update/' + id,\n method: 'post',\n data: data\n })\n}\n\nexport function deleteResourceCategory(id) {\n return request({\n url: '/resourceCategory/delete/' + id,\n method: 'post'\n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/api/resourceCategory.js","import request from '@/utils/request'\r\n\r\nexport function fetchList(params) {\r\n return request({\r\n url: '/role/list',\r\n method: 'get',\r\n params: params\r\n })\r\n}\r\n\r\nexport function createRole(data) {\r\n return request({\r\n url: '/role/create',\r\n method: 'post',\r\n data: data\r\n })\r\n}\r\n\r\nexport function updateRole(id, data) {\r\n return request({\r\n url: '/role/update/' + id,\r\n method: 'post',\r\n data: data\r\n })\r\n}\r\n\r\nexport function updateStatus(id, params) {\r\n return request({\r\n url: '/role/updateStatus/' + id,\r\n method: 'post',\r\n params: params\r\n })\r\n}\r\n\r\nexport function deleteRole(data) {\r\n return request({\r\n url:'/role/delete',\r\n method:'post',\r\n data:data,\r\n requestType:'form'\r\n })\r\n}\r\n\r\nexport function fetchAllRoleList() {\r\n return request({\r\n url: '/role/listAll',\r\n method: 'get'\r\n })\r\n}\r\n\r\nexport function listMenuByRole(roleId) {\r\n return request({\r\n url: '/role/listMenu/'+roleId,\r\n method: 'get'\r\n })\r\n}\r\n\r\nexport function listResourceByRole(roleId) {\r\n return request({\r\n url: '/role/listResource/'+roleId,\r\n method: 'get'\r\n })\r\n}\r\n\r\nexport function allocMenu(data) {\r\n return request({\r\n url: '/role/allocMenu',\r\n method: 'post',\r\n data:data,\r\n requestType:'form'\r\n })\r\n}\r\n\r\nexport function allocResource(data) {\r\n return request({\r\n url: '/role/allocResource',\r\n method: 'post',\r\n data:data,\r\n requestType:'form'\r\n })\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/api/role.js","<template>\r\n  \r\n <div>\r\n <el-upload\r\n :disabled=\"disabled\"\r\n :action=\"ossUploadUrl\"\r\n :data=\"useOss ? dataObj : null\"\r\n list-type=\"picture\"\r\n :multiple=\"false\"\r\n :show-file-list=\"showFileList\"\r\n :file-list=\"fileList\"\r\n :before-upload=\"beforeUpload\"\r\n :on-remove=\"handleRemove\"\r\n :on-success=\"handleUploadSuccess\"\r\n :on-preview=\"handlePreview\"\r\n >\r\n <el-button size=\"small\" type=\"primary\">点击上传</el-button>\r\n <div slot=\"tip\" class=\"el-upload__tip\">\r\n 只能上传jpg/png文件,且不超过10MB\r\n </div>\r\n </el-upload>\r\n <el-dialog :visible.sync=\"dialogVisible\">\r\n <img width=\"100%\" :src=\"fileList[0].url\" alt=\"\" />\r\n </el-dialog>\r\n </div>\r\n</template>\r\n<script>\r\nimport { policy } from \"@/api/oss\";\r\nexport default {\r\n name: \"singleUpload\",\r\n props: {\r\n value: String,\r\n disabled: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n bucket_name: {\r\n type: String,\r\n default: \"mall\",\r\n },\r\n },\r\n computed: {\r\n imageUrl() {\r\n return this.value;\r\n },\r\n imageName() {\r\n if (this.value != null && this.value !== \"\") {\r\n return this.value.substr(this.value.lastIndexOf(\"/\") + 1);\r\n } else {\r\n return null;\r\n }\r\n },\r\n fileList() {\r\n return [\r\n {\r\n name: this.imageName,\r\n url: this.imageUrl,\r\n },\r\n ];\r\n },\r\n showFileList: {\r\n get: function () {\r\n return (\r\n this.value !== null && this.value !== \"\" && this.value !== undefined\r\n );\r\n },\r\n set: function (newValue) {},\r\n },\r\n },\r\n data() {\r\n return {\r\n dataObj: {\r\n policy: \"\",\r\n signature: \"\",\r\n key: \"\",\r\n KSSAccessKeyId: \"\",\r\n // dir: \"\",\r\n acl: \"public-read\",\r\n name: \"\",\r\n },\r\n dialogVisible: false,\r\n useOss: true, //使用oss->true;使用MinIO->false\r\n // ossUploadUrl: \"https://ks3-cn-beijing.ksyuncs.com/\" + this.bucket_name,\r\n ossUploadUrl: `https://${this.bucket_name}.ks3-cn-beijing.ksyuncs.com`,\r\n minioUploadUrl: \"http://localhost:8080/minio/upload\",\r\n };\r\n },\r\n methods: {\r\n emitInput(val) {\r\n this.$emit(\"input\", val);\r\n },\r\n handleRemove(file, fileList) {\r\n this.emitInput(\"\");\r\n },\r\n handlePreview(file) {\r\n this.dialogVisible = true;\r\n },\r\n beforeUpload(file) {\r\n let _self = this;\r\n if (!this.useOss) {\r\n //不使用oss不需要获取策略\r\n return true;\r\n }\r\n console.log(file, \"掉用beforeUpload\");\r\n\r\n return new Promise((resolve, reject) => {\r\n let key = new Date().getTime() + file.name;\r\n // let key = `20150115/${file.name}`\r\n let obj = {\r\n filename: file.name,\r\n bucketName: this.bucket_name,\r\n postData: {\r\n filename: file.name,\r\n acl: \"public-read\",\r\n key: key,\r\n unknowValueField: [],\r\n },\r\n };\r\n\r\n policy(obj)\r\n .then((response) => {\r\n _self.dataObj.policy = response.data.policy;\r\n _self.dataObj.signature = response.data.signature;\r\n _self.dataObj.KSSAccessKeyId = response.data.kssAccessKeyId;\r\n _self.dataObj.key = key;\r\n _self.dataObj.name = file.name;\r\n _self.dataObj.acl = \"public-read\";\r\n\r\n // _self.dataObj.host = response.data.host;\r\n // _self.dataObj.callback = response.data.callback;\r\n\r\n var ks3Options = {\r\n KSSAccessKeyId: response.data.kssAccessKeyId,\r\n policy: response.data.policy,\r\n signature: response.data.signature,\r\n\r\n key: key,\r\n acl: \"public-read\", //此处需要与policy中的acl值保持一致,默认值:private。\r\n uploadDomain:\r\n \"https://ks3-cn-beijing.ksyuncs.com/\" + this.bucket_name, //北京region\r\n autoStart: true,\r\n };\r\n console.log(ks3Options, \"ks3Options\");\r\n var pluploadOptions = {\r\n drop_element: document.body,\r\n };\r\n var tempUpload = new ks3FileUploader(ks3Options);\r\n // tempUpload.uploader.start()\r\n resolve(true);\r\n })\r\n .catch((err) => {\r\n console.log(err);\r\n reject(false);\r\n });\r\n });\r\n },\r\n handleUploadSuccess(res, file) {\r\n let url = this.ossUploadUrl + \"/\" + this.dataObj.key;\r\n this.showFileList = true;\r\n this.fileList.pop();\r\n if (!this.useOss) {\r\n //不使用oss直接获取图片路径\r\n url = res.data.url;\r\n }\r\n this.fileList.push({ name: file.name, url: url });\r\n this.emitInput(this.fileList[0].url);\r\n },\r\n },\r\n};\r\n</script>\r\n<style></style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/components/Upload/singleUpload.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-upload',{attrs:{\"disabled\":_vm.disabled,\"action\":_vm.ossUploadUrl,\"data\":_vm.useOss ? _vm.dataObj : null,\"list-type\":\"picture\",\"multiple\":false,\"show-file-list\":_vm.showFileList,\"file-list\":_vm.fileList,\"before-upload\":_vm.beforeUpload,\"on-remove\":_vm.handleRemove,\"on-success\":_vm.handleUploadSuccess,\"on-preview\":_vm.handlePreview}},[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"}},[_vm._v(\"点击上传\")]),_vm._v(\" \"),_c('div',{staticClass:\"el-upload__tip\",attrs:{\"slot\":\"tip\"},slot:\"tip\"},[_vm._v(\"\\n 只能上传jpg/png文件,且不超过10MB\\n \")])],1),_vm._v(\" \"),_c('el-dialog',{attrs:{\"visible\":_vm.dialogVisible},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('img',{attrs:{\"width\":\"100%\",\"src\":_vm.fileList[0].url,\"alt\":\"\"}})])],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-1b741de0\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/Upload/singleUpload.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-1b741de0\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./singleUpload.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./singleUpload.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./singleUpload.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-1b741de0\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./singleUpload.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/Upload/singleUpload.vue\n// module id = null\n// module chunks = ","import request from '@/utils/request'\r\nexport function fetchList(params) {\r\n return request({\r\n url:'/product/list',\r\n method:'get',\r\n params:params\r\n })\r\n}\r\n\r\nexport function fetchSimpleList(params) {\r\n return request({\r\n url:'/product/simpleList',\r\n method:'get',\r\n params:params\r\n })\r\n}\r\n\r\nexport function updateDeleteStatus(params) {\r\n return request({\r\n url:'/product/update/deleteStatus',\r\n method:'post',\r\n params:params\r\n })\r\n}\r\n\r\nexport function updateNewStatus(params) {\r\n return request({\r\n url:'/product/update/newStatus',\r\n method:'post',\r\n params:params\r\n })\r\n}\r\n\r\nexport function updateRecommendStatus(params) {\r\n return request({\r\n url:'/product/update/recommendStatus',\r\n method:'post',\r\n params:params,\r\n data:params,\r\n params\r\n })\r\n}\r\n\r\nexport function updatePublishStatus(params) {\r\n return request({\r\n url:'/product/update/publishStatus',\r\n method:'post',\r\n data:params,\r\n params\r\n })\r\n}\r\n\r\nexport function createProduct(data) {\r\n return request({\r\n url:'/product/create',\r\n method:'post',\r\n data:data\r\n })\r\n}\r\n\r\nexport function updateProduct(id,data) {\r\n return request({\r\n url:'/product/update/'+id,\r\n method:'post',\r\n data:data\r\n })\r\n}\r\n\r\nexport function getProduct(id) {\r\n return request({\r\n url:'/product/updateInfo/'+id,\r\n method:'get',\r\n })\r\n}\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/api/product.js","tinymce.addI18n('zh_CN',{\n\"Cut\": \"\\u526a\\u5207\",\n\"Heading 5\": \"\\u6807\\u98985\",\n\"Header 2\": \"\\u6807\\u98982\",\n\"Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\\/C\\/V keyboard shortcuts instead.\": \"\\u4f60\\u7684\\u6d4f\\u89c8\\u5668\\u4e0d\\u652f\\u6301\\u5bf9\\u526a\\u8d34\\u677f\\u7684\\u8bbf\\u95ee\\uff0c\\u8bf7\\u4f7f\\u7528Ctrl+X\\/C\\/V\\u952e\\u8fdb\\u884c\\u590d\\u5236\\u7c98\\u8d34\\u3002\",\n\"Heading 4\": \"\\u6807\\u98984\",\n\"Div\": \"Div\\u533a\\u5757\",\n\"Heading 2\": \"\\u6807\\u98982\",\n\"Paste\": \"\\u7c98\\u8d34\",\n\"Close\": \"\\u5173\\u95ed\",\n\"Font Family\": \"\\u5b57\\u4f53\",\n\"Pre\": \"\\u9884\\u683c\\u5f0f\\u6587\\u672c\",\n\"Align right\": \"\\u53f3\\u5bf9\\u9f50\",\n\"New document\": \"\\u65b0\\u6587\\u6863\",\n\"Blockquote\": \"\\u5f15\\u7528\",\n\"Numbered list\": \"\\u7f16\\u53f7\\u5217\\u8868\",\n\"Heading 1\": \"\\u6807\\u98981\",\n\"Headings\": \"\\u6807\\u9898\",\n\"Increase indent\": \"\\u589e\\u52a0\\u7f29\\u8fdb\",\n\"Formats\": \"\\u683c\\u5f0f\",\n\"Headers\": \"\\u6807\\u9898\",\n\"Select all\": \"\\u5168\\u9009\",\n\"Header 3\": \"\\u6807\\u98983\",\n\"Blocks\": \"\\u533a\\u5757\",\n\"Undo\": \"\\u64a4\\u6d88\",\n\"Strikethrough\": \"\\u5220\\u9664\\u7ebf\",\n\"Bullet list\": \"\\u9879\\u76ee\\u7b26\\u53f7\",\n\"Header 1\": \"\\u6807\\u98981\",\n\"Superscript\": \"\\u4e0a\\u6807\",\n\"Clear formatting\": \"\\u6e05\\u9664\\u683c\\u5f0f\",\n\"Font Sizes\": \"\\u5b57\\u53f7\",\n\"Subscript\": \"\\u4e0b\\u6807\",\n\"Header 6\": \"\\u6807\\u98986\",\n\"Redo\": \"\\u91cd\\u590d\",\n\"Paragraph\": \"\\u6bb5\\u843d\",\n\"Ok\": \"\\u786e\\u5b9a\",\n\"Bold\": \"\\u7c97\\u4f53\",\n\"Code\": \"\\u4ee3\\u7801\",\n\"Italic\": \"\\u659c\\u4f53\",\n\"Align center\": \"\\u5c45\\u4e2d\",\n\"Header 5\": \"\\u6807\\u98985\",\n\"Heading 6\": \"\\u6807\\u98986\",\n\"Heading 3\": \"\\u6807\\u98983\",\n\"Decrease indent\": \"\\u51cf\\u5c11\\u7f29\\u8fdb\",\n\"Header 4\": \"\\u6807\\u98984\",\n\"Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.\": \"\\u5f53\\u524d\\u4e3a\\u7eaf\\u6587\\u672c\\u7c98\\u8d34\\u6a21\\u5f0f\\uff0c\\u518d\\u6b21\\u70b9\\u51fb\\u53ef\\u4ee5\\u56de\\u5230\\u666e\\u901a\\u7c98\\u8d34\\u6a21\\u5f0f\\u3002\",\n\"Underline\": \"\\u4e0b\\u5212\\u7ebf\",\n\"Cancel\": \"\\u53d6\\u6d88\",\n\"Justify\": \"\\u4e24\\u7aef\\u5bf9\\u9f50\",\n\"Inline\": \"\\u6587\\u672c\",\n\"Copy\": \"\\u590d\\u5236\",\n\"Align left\": \"\\u5de6\\u5bf9\\u9f50\",\n\"Visual aids\": \"\\u7f51\\u683c\\u7ebf\",\n\"Lower Greek\": \"\\u5c0f\\u5199\\u5e0c\\u814a\\u5b57\\u6bcd\",\n\"Square\": \"\\u65b9\\u5757\",\n\"Default\": \"\\u9ed8\\u8ba4\",\n\"Lower Alpha\": \"\\u5c0f\\u5199\\u82f1\\u6587\\u5b57\\u6bcd\",\n\"Circle\": \"\\u7a7a\\u5fc3\\u5706\",\n\"Disc\": \"\\u5b9e\\u5fc3\\u5706\",\n\"Upper Alpha\": \"\\u5927\\u5199\\u82f1\\u6587\\u5b57\\u6bcd\",\n\"Upper Roman\": \"\\u5927\\u5199\\u7f57\\u9a6c\\u5b57\\u6bcd\",\n\"Lower Roman\": \"\\u5c0f\\u5199\\u7f57\\u9a6c\\u5b57\\u6bcd\",\n\"Id should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.\": \"\\u6807\\u8bc6\\u7b26\\u5e94\\u8be5\\u4ee5\\u5b57\\u6bcd\\u5f00\\u5934\\uff0c\\u540e\\u8ddf\\u5b57\\u6bcd\\u3001\\u6570\\u5b57\\u3001\\u7834\\u6298\\u53f7\\u3001\\u70b9\\u3001\\u5192\\u53f7\\u6216\\u4e0b\\u5212\\u7ebf\\u3002\",\n\"Name\": \"\\u540d\\u79f0\",\n\"Anchor\": \"\\u951a\\u70b9\",\n\"Id\": \"\\u6807\\u8bc6\\u7b26\",\n\"You have unsaved changes are you sure you want to navigate away?\": \"\\u4f60\\u8fd8\\u6709\\u6587\\u6863\\u5c1a\\u672a\\u4fdd\\u5b58\\uff0c\\u786e\\u5b9a\\u8981\\u79bb\\u5f00\\uff1f\",\n\"Restore last draft\": \"\\u6062\\u590d\\u4e0a\\u6b21\\u7684\\u8349\\u7a3f\",\n\"Special character\": \"\\u7279\\u6b8a\\u7b26\\u53f7\",\n\"Source code\": \"\\u6e90\\u4ee3\\u7801\",\n\"Language\": \"\\u8bed\\u8a00\",\n\"Insert\\/Edit code sample\": \"\\u63d2\\u5165\\/\\u7f16\\u8f91\\u4ee3\\u7801\\u793a\\u4f8b\",\n\"B\": \"B\",\n\"R\": \"R\",\n\"G\": \"G\",\n\"Color\": \"\\u989c\\u8272\",\n\"Right to left\": \"\\u4ece\\u53f3\\u5230\\u5de6\",\n\"Left to right\": \"\\u4ece\\u5de6\\u5230\\u53f3\",\n\"Emoticons\": \"\\u8868\\u60c5\",\n\"Robots\": \"\\u673a\\u5668\\u4eba\",\n\"Document properties\": \"\\u6587\\u6863\\u5c5e\\u6027\",\n\"Title\": \"\\u6807\\u9898\",\n\"Keywords\": \"\\u5173\\u952e\\u8bcd\",\n\"Encoding\": \"\\u7f16\\u7801\",\n\"Description\": \"\\u63cf\\u8ff0\",\n\"Author\": \"\\u4f5c\\u8005\",\n\"Fullscreen\": \"\\u5168\\u5c4f\",\n\"Horizontal line\": \"\\u6c34\\u5e73\\u5206\\u5272\\u7ebf\",\n\"Horizontal space\": \"\\u6c34\\u5e73\\u8fb9\\u8ddd\",\n\"Insert\\/edit image\": \"\\u63d2\\u5165\\/\\u7f16\\u8f91\\u56fe\\u7247\",\n\"General\": \"\\u666e\\u901a\",\n\"Advanced\": \"\\u9ad8\\u7ea7\",\n\"Source\": \"\\u5730\\u5740\",\n\"Border\": \"\\u8fb9\\u6846\",\n\"Constrain proportions\": \"\\u4fdd\\u6301\\u7eb5\\u6a2a\\u6bd4\",\n\"Vertical space\": \"\\u5782\\u76f4\\u8fb9\\u8ddd\",\n\"Image description\": \"\\u56fe\\u7247\\u63cf\\u8ff0\",\n\"Style\": \"\\u6837\\u5f0f\",\n\"Dimensions\": \"\\u5927\\u5c0f\",\n\"Insert image\": \"\\u63d2\\u5165\\u56fe\\u7247\",\n\"Image\": \"\\u56fe\\u7247\",\n\"Zoom in\": \"\\u653e\\u5927\",\n\"Contrast\": \"\\u5bf9\\u6bd4\\u5ea6\",\n\"Back\": \"\\u540e\\u9000\",\n\"Gamma\": \"\\u4f3d\\u9a6c\\u503c\",\n\"Flip horizontally\": \"\\u6c34\\u5e73\\u7ffb\\u8f6c\",\n\"Resize\": \"\\u8c03\\u6574\\u5927\\u5c0f\",\n\"Sharpen\": \"\\u9510\\u5316\",\n\"Zoom out\": \"\\u7f29\\u5c0f\",\n\"Image options\": \"\\u56fe\\u7247\\u9009\\u9879\",\n\"Apply\": \"\\u5e94\\u7528\",\n\"Brightness\": \"\\u4eae\\u5ea6\",\n\"Rotate clockwise\": \"\\u987a\\u65f6\\u9488\\u65cb\\u8f6c\",\n\"Rotate counterclockwise\": \"\\u9006\\u65f6\\u9488\\u65cb\\u8f6c\",\n\"Edit image\": \"\\u7f16\\u8f91\\u56fe\\u7247\",\n\"Color levels\": \"\\u989c\\u8272\\u5c42\\u6b21\",\n\"Crop\": \"\\u88c1\\u526a\",\n\"Orientation\": \"\\u65b9\\u5411\",\n\"Flip vertically\": \"\\u5782\\u76f4\\u7ffb\\u8f6c\",\n\"Invert\": \"\\u53cd\\u8f6c\",\n\"Date\\/time\": \"\\u65e5\\u671f\\/\\u65f6\\u95f4\",\n\"Insert date\\/time\": \"\\u63d2\\u5165\\u65e5\\u671f\\/\\u65f6\\u95f4\",\n\"Remove link\": \"\\u5220\\u9664\\u94fe\\u63a5\",\n\"Url\": \"\\u5730\\u5740\",\n\"Text to display\": \"\\u663e\\u793a\\u6587\\u5b57\",\n\"Anchors\": \"\\u951a\\u70b9\",\n\"Insert link\": \"\\u63d2\\u5165\\u94fe\\u63a5\",\n\"Link\": \"\\u94fe\\u63a5\",\n\"New window\": \"\\u5728\\u65b0\\u7a97\\u53e3\\u6253\\u5f00\",\n\"None\": \"\\u65e0\",\n\"The URL you entered seems to be an external link. Do you want to add the required http:\\/\\/ prefix?\": \"\\u4f60\\u6240\\u586b\\u5199\\u7684URL\\u5730\\u5740\\u5c5e\\u4e8e\\u5916\\u90e8\\u94fe\\u63a5\\uff0c\\u9700\\u8981\\u52a0\\u4e0ahttp:\\/\\/:\\u524d\\u7f00\\u5417\\uff1f\",\n\"Paste or type a link\": \"\\u7c98\\u8d34\\u6216\\u8f93\\u5165\\u94fe\\u63a5\",\n\"Target\": \"\\u6253\\u5f00\\u65b9\\u5f0f\",\n\"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?\": \"\\u4f60\\u6240\\u586b\\u5199\\u7684URL\\u5730\\u5740\\u4e3a\\u90ae\\u4ef6\\u5730\\u5740\\uff0c\\u9700\\u8981\\u52a0\\u4e0amailto:\\u524d\\u7f00\\u5417\\uff1f\",\n\"Insert\\/edit link\": \"\\u63d2\\u5165\\/\\u7f16\\u8f91\\u94fe\\u63a5\",\n\"Insert\\/edit video\": \"\\u63d2\\u5165\\/\\u7f16\\u8f91\\u89c6\\u9891\",\n\"Media\": \"\\u5a92\\u4f53\",\n\"Alternative source\": \"\\u955c\\u50cf\",\n\"Paste your embed code below:\": \"\\u5c06\\u5185\\u5d4c\\u4ee3\\u7801\\u7c98\\u8d34\\u5728\\u4e0b\\u9762:\",\n\"Insert video\": \"\\u63d2\\u5165\\u89c6\\u9891\",\n\"Poster\": \"\\u5c01\\u9762\",\n\"Insert\\/edit media\": \"\\u63d2\\u5165\\/\\u7f16\\u8f91\\u5a92\\u4f53\",\n\"Embed\": \"\\u5185\\u5d4c\",\n\"Nonbreaking space\": \"\\u4e0d\\u95f4\\u65ad\\u7a7a\\u683c\",\n\"Page break\": \"\\u5206\\u9875\\u7b26\",\n\"Paste as text\": \"\\u7c98\\u8d34\\u4e3a\\u6587\\u672c\",\n\"Preview\": \"\\u9884\\u89c8\",\n\"Print\": \"\\u6253\\u5370\",\n\"Save\": \"\\u4fdd\\u5b58\",\n\"Could not find the specified string.\": \"\\u672a\\u627e\\u5230\\u641c\\u7d22\\u5185\\u5bb9.\",\n\"Replace\": \"\\u66ff\\u6362\",\n\"Next\": \"\\u4e0b\\u4e00\\u4e2a\",\n\"Whole words\": \"\\u5168\\u5b57\\u5339\\u914d\",\n\"Find and replace\": \"\\u67e5\\u627e\\u548c\\u66ff\\u6362\",\n\"Replace with\": \"\\u66ff\\u6362\\u4e3a\",\n\"Find\": \"\\u67e5\\u627e\",\n\"Replace all\": \"\\u5168\\u90e8\\u66ff\\u6362\",\n\"Match case\": \"\\u533a\\u5206\\u5927\\u5c0f\\u5199\",\n\"Prev\": \"\\u4e0a\\u4e00\\u4e2a\",\n\"Spellcheck\": \"\\u62fc\\u5199\\u68c0\\u67e5\",\n\"Finish\": \"\\u5b8c\\u6210\",\n\"Ignore all\": \"\\u5168\\u90e8\\u5ffd\\u7565\",\n\"Ignore\": \"\\u5ffd\\u7565\",\n\"Add to Dictionary\": \"\\u6dfb\\u52a0\\u5230\\u5b57\\u5178\",\n\"Insert row before\": \"\\u5728\\u4e0a\\u65b9\\u63d2\\u5165\",\n\"Rows\": \"\\u884c\",\n\"Height\": \"\\u9ad8\",\n\"Paste row after\": \"\\u7c98\\u8d34\\u5230\\u4e0b\\u65b9\",\n\"Alignment\": \"\\u5bf9\\u9f50\\u65b9\\u5f0f\",\n\"Border color\": \"\\u8fb9\\u6846\\u989c\\u8272\",\n\"Column group\": \"\\u5217\\u7ec4\",\n\"Row\": \"\\u884c\",\n\"Insert column before\": \"\\u5728\\u5de6\\u4fa7\\u63d2\\u5165\",\n\"Split cell\": \"\\u62c6\\u5206\\u5355\\u5143\\u683c\",\n\"Cell padding\": \"\\u5355\\u5143\\u683c\\u5185\\u8fb9\\u8ddd\",\n\"Cell spacing\": \"\\u5355\\u5143\\u683c\\u5916\\u95f4\\u8ddd\",\n\"Row type\": \"\\u884c\\u7c7b\\u578b\",\n\"Insert table\": \"\\u63d2\\u5165\\u8868\\u683c\",\n\"Body\": \"\\u8868\\u4f53\",\n\"Caption\": \"\\u6807\\u9898\",\n\"Footer\": \"\\u8868\\u5c3e\",\n\"Delete row\": \"\\u5220\\u9664\\u884c\",\n\"Paste row before\": \"\\u7c98\\u8d34\\u5230\\u4e0a\\u65b9\",\n\"Scope\": \"\\u8303\\u56f4\",\n\"Delete table\": \"\\u5220\\u9664\\u8868\\u683c\",\n\"H Align\": \"\\u6c34\\u5e73\\u5bf9\\u9f50\",\n\"Top\": \"\\u9876\\u90e8\\u5bf9\\u9f50\",\n\"Header cell\": \"\\u8868\\u5934\\u5355\\u5143\\u683c\",\n\"Column\": \"\\u5217\",\n\"Row group\": \"\\u884c\\u7ec4\",\n\"Cell\": \"\\u5355\\u5143\\u683c\",\n\"Middle\": \"\\u5782\\u76f4\\u5c45\\u4e2d\",\n\"Cell type\": \"\\u5355\\u5143\\u683c\\u7c7b\\u578b\",\n\"Copy row\": \"\\u590d\\u5236\\u884c\",\n\"Row properties\": \"\\u884c\\u5c5e\\u6027\",\n\"Table properties\": \"\\u8868\\u683c\\u5c5e\\u6027\",\n\"Bottom\": \"\\u5e95\\u90e8\\u5bf9\\u9f50\",\n\"V Align\": \"\\u5782\\u76f4\\u5bf9\\u9f50\",\n\"Header\": \"\\u8868\\u5934\",\n\"Right\": \"\\u53f3\\u5bf9\\u9f50\",\n\"Insert column after\": \"\\u5728\\u53f3\\u4fa7\\u63d2\\u5165\",\n\"Cols\": \"\\u5217\",\n\"Insert row after\": \"\\u5728\\u4e0b\\u65b9\\u63d2\\u5165\",\n\"Width\": \"\\u5bbd\",\n\"Cell properties\": \"\\u5355\\u5143\\u683c\\u5c5e\\u6027\",\n\"Left\": \"\\u5de6\\u5bf9\\u9f50\",\n\"Cut row\": \"\\u526a\\u5207\\u884c\",\n\"Delete column\": \"\\u5220\\u9664\\u5217\",\n\"Center\": \"\\u5c45\\u4e2d\",\n\"Merge cells\": \"\\u5408\\u5e76\\u5355\\u5143\\u683c\",\n\"Insert template\": \"\\u63d2\\u5165\\u6a21\\u677f\",\n\"Templates\": \"\\u6a21\\u677f\",\n\"Background color\": \"\\u80cc\\u666f\\u8272\",\n\"Custom...\": \"\\u81ea\\u5b9a\\u4e49...\",\n\"Custom color\": \"\\u81ea\\u5b9a\\u4e49\\u989c\\u8272\",\n\"No color\": \"\\u65e0\",\n\"Text color\": \"\\u6587\\u5b57\\u989c\\u8272\",\n\"Table of Contents\": \"\\u5185\\u5bb9\\u5217\\u8868\",\n\"Show blocks\": \"\\u663e\\u793a\\u533a\\u5757\\u8fb9\\u6846\",\n\"Show invisible characters\": \"\\u663e\\u793a\\u4e0d\\u53ef\\u89c1\\u5b57\\u7b26\",\n\"Words: {0}\": \"\\u5b57\\u6570\\uff1a{0}\",\n\"Insert\": \"\\u63d2\\u5165\",\n\"File\": \"\\u6587\\u4ef6\",\n\"Edit\": \"\\u7f16\\u8f91\",\n\"Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help\": \"\\u5728\\u7f16\\u8f91\\u533a\\u6309ALT-F9\\u6253\\u5f00\\u83dc\\u5355\\uff0c\\u6309ALT-F10\\u6253\\u5f00\\u5de5\\u5177\\u680f\\uff0c\\u6309ALT-0\\u67e5\\u770b\\u5e2e\\u52a9\",\n\"Tools\": \"\\u5de5\\u5177\",\n\"View\": \"\\u89c6\\u56fe\",\n\"Table\": \"\\u8868\\u683c\",\n\"Format\": \"\\u683c\\u5f0f\"\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./static/tinymce4.7.5/langs/zh_CN.js\n// module id = WQDg\n// module chunks = 0","import request from '@/utils/request'\r\nimport qs from 'qs'\r\nexport function policy(data) {\r\n return request({\r\n url:'/api-admin/getUploadSign',\r\n method:'POST',\r\n headers: { 'Content-Type': 'application/json' },\r\n data\r\n })\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/api/oss.js","\"use strict\";\n\nexports.__esModule = true;\n\nvar _defineProperty = require(\"../core-js/object/define-property\");\n\nvar _defineProperty2 = _interopRequireDefault(_defineProperty);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (obj, key, value) {\n if (key in obj) {\n (0, _defineProperty2.default)(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/babel-runtime/helpers/defineProperty.js\n// module id = bOdI\n// module chunks = 0","import request from '@/utils/request'\n\nexport function fetchList(parentId, params) {\n return request({\n url: '/menu/list/' + parentId,\n method: 'get',\n params: params\n })\n}\n\nexport function deleteMenu(id) {\n return request({\n url: '/menu/delete/' + id,\n method: 'post'\n })\n}\n\nexport function createMenu(data) {\n return request({\n url: '/menu/create',\n method: 'post',\n data: data\n })\n}\n\nexport function updateMenu(id, data) {\n return request({\n url: '/menu/update/' + id,\n method: 'post',\n data: data\n })\n}\n\nexport function getMenu(id) {\n return request({\n url: '/menu/' + id,\n method: 'get',\n })\n}\n\nexport function updateHidden(id, params) {\n return request({\n url: '/menu/updateHidden/' + id,\n method: 'post',\n params: params\n })\n}\n\nexport function fetchTreeList() {\n return request({\n url: '/menu/treeList',\n method: 'get'\n })\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/api/menu.js","module.exports = { \"default\": require(\"core-js/library/fn/array/from\"), __esModule: true };\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/babel-runtime/core-js/array/from.js\n// module id = c/Tr\n// module chunks = 0","'use strict';\nvar $defineProperty = require('./_object-dp');\nvar createDesc = require('./_property-desc');\n\nmodule.exports = function (object, index, value) {\n if (index in object) $defineProperty.f(object, index, createDesc(0, value));\n else object[index] = value;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_create-property.js\n// module id = fBQ2\n// module chunks = 0","module.exports = { \"default\": require(\"core-js/library/fn/object/keys\"), __esModule: true };\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/babel-runtime/core-js/object/keys.js\n// module id = fZjL\n// module chunks = 0","// https://tc39.github.io/proposal-setmap-offrom/#sec-set.from\nrequire('./_set-collection-from')('Set');\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/es7.set.from.js\n// module id = ioQ5\n// module chunks = 0","require('../../modules/es6.object.keys');\nmodule.exports = require('../../modules/_core').Object.keys;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/fn/object/keys.js\n// module id = jFbC\n// module chunks = 0","module.exports = { \"default\": require(\"core-js/library/fn/set\"), __esModule: true };\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/babel-runtime/core-js/set.js\n// module id = lHA8\n// module chunks = 0","// https://github.com/DavidBruant/Map-Set.prototype.toJSON\nvar classof = require('./_classof');\nvar from = require('./_array-from-iterable');\nmodule.exports = function (NAME) {\n return function toJSON() {\n if (classof(this) != NAME) throw TypeError(NAME + \"#toJSON isn't generic\");\n return from(this);\n };\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_collection-to-json.js\n// module id = m9gC\n// module chunks = 0","var $export = require('./_export');\n// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)\n$export($export.S + $export.F * !require('./_descriptors'), 'Object', { defineProperty: require('./_object-dp').f });\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/es6.object.define-property.js\n// module id = mClu\n// module chunks = 0","import request from '@/utils/request'\r\nexport function fetchList(parentId,params) {\r\n return request({\r\n url:'/productCategory/list/'+parentId,\r\n method:'get',\r\n params:params\r\n })\r\n}\r\nexport function deleteProductCate(id) {\r\n return request({\r\n url:'/productCategory/delete/'+id,\r\n method:'post'\r\n })\r\n}\r\n\r\nexport function createProductCate(data) {\r\n return request({\r\n url:'/productCategory/create',\r\n method:'post',\r\n data:data\r\n })\r\n}\r\n\r\nexport function updateProductCate(id,data) {\r\n return request({\r\n url:'/productCategory/update/'+id,\r\n method:'post',\r\n data:data\r\n })\r\n}\r\n\r\nexport function getProductCate(id) {\r\n return request({\r\n url:'/productCategory/'+id,\r\n method:'get',\r\n })\r\n}\r\n\r\nexport function updateShowStatus(data) {\r\n return request({\r\n url:'/productCategory/update/showStatus',\r\n method:'post',\r\n data:data,\r\n params:data\r\n })\r\n}\r\n\r\nexport function updateNavStatus(data) {\r\n return request({\r\n url:'/productCategory/update/navStatus',\r\n method:'post',\r\n data:data,\r\n params:data\r\n })\r\n}\r\n\r\nexport function fetchListWithChildren() {\r\n return request({\r\n url:'/productCategory/list/withChildren',\r\n method:'get'\r\n })\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/api/productCate.js","// https://tc39.github.io/proposal-setmap-offrom/#sec-set.of\nrequire('./_set-collection-of')('Set');\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/es7.set.of.js\n// module id = oNmr\n// module chunks = 0","// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\nvar speciesConstructor = require('./_array-species-constructor');\n\nmodule.exports = function (original, length) {\n return new (speciesConstructor(original))(length);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_array-species-create.js\n// module id = oeOm\n// module chunks = 0","require('../modules/es6.object.to-string');\nrequire('../modules/es6.string.iterator');\nrequire('../modules/web.dom.iterable');\nrequire('../modules/es6.set');\nrequire('../modules/es7.set.to-json');\nrequire('../modules/es7.set.of');\nrequire('../modules/es7.set.from');\nmodule.exports = require('../modules/_core').Set;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/fn/set.js\n// module id = pPW7\n// module chunks = 0","'use strict';\nvar global = require('./_global');\nvar $export = require('./_export');\nvar meta = require('./_meta');\nvar fails = require('./_fails');\nvar hide = require('./_hide');\nvar redefineAll = require('./_redefine-all');\nvar forOf = require('./_for-of');\nvar anInstance = require('./_an-instance');\nvar isObject = require('./_is-object');\nvar setToStringTag = require('./_set-to-string-tag');\nvar dP = require('./_object-dp').f;\nvar each = require('./_array-methods')(0);\nvar DESCRIPTORS = require('./_descriptors');\n\nmodule.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {\n var Base = global[NAME];\n var C = Base;\n var ADDER = IS_MAP ? 'set' : 'add';\n var proto = C && C.prototype;\n var O = {};\n if (!DESCRIPTORS || typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () {\n new C().entries().next();\n }))) {\n // create collection constructor\n C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);\n redefineAll(C.prototype, methods);\n meta.NEED = true;\n } else {\n C = wrapper(function (target, iterable) {\n anInstance(target, C, NAME, '_c');\n target._c = new Base();\n if (iterable != undefined) forOf(iterable, IS_MAP, target[ADDER], target);\n });\n each('add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON'.split(','), function (KEY) {\n var IS_ADDER = KEY == 'add' || KEY == 'set';\n if (KEY in proto && !(IS_WEAK && KEY == 'clear')) hide(C.prototype, KEY, function (a, b) {\n anInstance(this, C, KEY);\n if (!IS_ADDER && IS_WEAK && !isObject(a)) return KEY == 'get' ? undefined : false;\n var result = this._c[KEY](a === 0 ? 0 : a, b);\n return IS_ADDER ? this : result;\n });\n });\n IS_WEAK || dP(C.prototype, 'size', {\n get: function () {\n return this._c.size;\n }\n });\n }\n\n setToStringTag(C, NAME);\n\n O[NAME] = C;\n $export($export.G + $export.W + $export.F, O);\n\n if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP);\n\n return C;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_collection.js\n// module id = qo66\n// module chunks = 0","'use strict';\nvar ctx = require('./_ctx');\nvar $export = require('./_export');\nvar toObject = require('./_to-object');\nvar call = require('./_iter-call');\nvar isArrayIter = require('./_is-array-iter');\nvar toLength = require('./_to-length');\nvar createProperty = require('./_create-property');\nvar getIterFn = require('./core.get-iterator-method');\n\n$export($export.S + $export.F * !require('./_iter-detect')(function (iter) { Array.from(iter); }), 'Array', {\n // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)\n from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n var O = toObject(arrayLike);\n var C = typeof this == 'function' ? this : Array;\n var aLen = arguments.length;\n var mapfn = aLen > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n var index = 0;\n var iterFn = getIterFn(O);\n var length, result, step, iterator;\n if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2);\n // if object isn't iterable or it's array with default iterator - use simple case\n if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) {\n for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) {\n createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value);\n }\n } else {\n length = toLength(O.length);\n for (result = new C(length); length > index; index++) {\n createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);\n }\n }\n result.length = index;\n return result;\n }\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/es6.array.from.js\n// module id = qyJz\n// module chunks = 0","import request from '@/utils/request'\r\nexport function fetchList(params) {\r\n return request({\r\n url:'/brand/list',\r\n method:'get',\r\n params:params\r\n })\r\n}\r\nexport function createBrand(data) {\r\n return request({\r\n url:'/brand/create',\r\n method:'post',\r\n data:data\r\n })\r\n}\r\nexport function updateShowStatus(data) {\r\n return request({\r\n url:'/brand/update/showStatus',\r\n method:'post',\r\n data:data,\r\n requestType:'form'\r\n })\r\n}\r\n\r\nexport function updateFactoryStatus(data) {\r\n return request({\r\n url:'/brand/update/factoryStatus',\r\n method:'post',\r\n data:data\r\n })\r\n}\r\n\r\nexport function deleteBrand(id) {\r\n return request({\r\n url:'/brand/delete/'+id,\r\n method:'get',\r\n })\r\n}\r\n\r\nexport function getBrand(id) {\r\n return request({\r\n url:'/brand/'+id,\r\n method:'get',\r\n })\r\n}\r\n\r\nexport function updateBrand(id,data) {\r\n return request({\r\n url:'/brand/update/'+id,\r\n method:'post',\r\n data:data\r\n })\r\n}\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/api/brand.js","'use strict';\nvar strong = require('./_collection-strong');\nvar validate = require('./_validate-collection');\nvar SET = 'Set';\n\n// 23.2 Set Objects\nmodule.exports = require('./_collection')(SET, function (get) {\n return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.2.3.1 Set.prototype.add(value)\n add: function add(value) {\n return strong.def(validate(this, SET), value = value === 0 ? 0 : value, value);\n }\n}, strong);\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/es6.set.js\n// module id = ttyz\n// module chunks = 0","// most Object methods by ES6 should accept primitives\nvar $export = require('./_export');\nvar core = require('./_core');\nvar fails = require('./_fails');\nmodule.exports = function (KEY, exec) {\n var fn = (core.Object || {})[KEY] || Object[KEY];\n var exp = {};\n exp[KEY] = exec(fn);\n $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_object-sap.js\n// module id = uqUo\n// module chunks = 0","// date.js\nexport function formatDate(date, fmt) {\n if (/(y+)/.test(fmt)) {\n fmt = fmt.replace(RegExp.$1, (date.getFullYear() + '').substr(4 - RegExp.$1.length));\n }\n let o = {\n 'M+': date.getMonth() + 1,\n 'd+': date.getDate(),\n 'h+': date.getHours(),\n 'm+': date.getMinutes(),\n 's+': date.getSeconds()\n };\n for (let k in o) {\n if (new RegExp(`(${k})`).test(fmt)) {\n let str = o[k] + '';\n fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? str : padLeftZero(str));\n }\n }\n return fmt;\n}\n\nfunction padLeftZero(str) {\n return ('00' + str).substr(str.length);\n}\n\nexport function str2Date(dateStr, separator) {\n if (!separator) {\n separator = \"-\";\n }\n let dateArr = dateStr.split(separator);\n let year = parseInt(dateArr[0]);\n let month;\n //处理月份为04这样的情况\n if (dateArr[1].indexOf(\"0\") == 0) {\n month = parseInt(dateArr[1].substring(1));\n } else {\n month = parseInt(dateArr[1]);\n }\n let day = parseInt(dateArr[2]);\n let date = new Date(year, month - 1, day);\n return date;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/utils/date.js"],"sourceRoot":""}