You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
36 KiB
10 lines
36 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0f7be345"],{"0e5c":function(t,e,i){"use strict";i.d(e,"a",(function(){return l}));var n=i("a34a"),r=i.n(n),a=i("8237"),o=i.n(a),s=i("91b6");function c(t,e,i,n,r,a,o){try{var s=t[a](o),c=s.value}catch(u){return void i(u)}s.done?e(c):Promise.resolve(c).then(n,r)}function u(t){return function(){var e=this,i=arguments;return new Promise((function(n,r){var a=t.apply(e,i);function o(t){c(a,n,r,o,s,"next",t)}function s(t){c(a,n,r,o,s,"throw",t)}o(void 0)}))}}var l=function(t){t.randoms;var e=t.file,i=t.pieceSize,n=void 0===i?2:i,a=t.pid,c=(t.progress,t.success),l=t.error,d=t.uploading;if(e){var h="",f=1024*n*1024,p=Math.ceil(e.size/f),m=function(){var t=new FileReader;t.readAsBinaryString(e),t.addEventListener("load",(function(t){var e=t.target.result;h=o()(e),g()}))},_=function(t,e,i){var n=e*i,r=Math.min(t.size,n+i),a=t.slice(n,r);return{start:n,end:r,chunk:a}},g=function(){var t=u(r.a.mark((function t(){var i,n,a;return r.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:i=0;case 1:if(!(i<p)){t.next=10;break}return n=_(e,i,f),a=n.chunk,console.log("总片数"+p),console.log("分片后的数据---测试:"+i),t.next=7,v({chunk:a,currentChunk:i,chunkCount:p});case 7:i++,t.next=1;break;case 10:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),v=function(t){return new Promise((function(i,n){var r={headers:{"Content-Type":"multipart/form-data"}},o=new FormData;o.append("chunkNumber",t.currentChunk+1),o.append("chunkSize",f),o.append("currentChunkSize",t.chunk.size),o.append("file",t.chunk),o.append("filename",e.name),o.append("totalChunks",t.chunkCount),o.append("md5",h),o.append("pid",a),Object(s["f"])(o,r).then((function(e){console.log("分片上传返回信息:",e),1==e.data.code?(d(t.currentChunk+1,t.chunkCount),i(!0)):2==e.data.code&&(t.currentChunk<t.chunkCount-1?console.log("分片上传成功"):t.currentChunk+1==t.chunkCount&&(console.log("文件开始------合并成功"),c(e.data)))})).catch((function(t){l&&l(t)}))}))};m()}}},"3c35":function(t,e){(function(e){t.exports=e}).call(this,{})},"50d5":function(t,e,i){},7774:function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"mt20 ml20"},[i("Form",[i("FormItem",{attrs:{label:"视频类型:"}},[i("RadioGroup",{on:{"on-change":t.changeVideo},model:{value:t.seletVideo,callback:function(e){t.seletVideo=e},expression:"seletVideo"}},[i("Radio",{staticClass:"radio",attrs:{label:0}},[t._v("本地视频")]),i("Radio",{attrs:{label:1}},[t._v("视频链接")])],1)],1),1==t.seletVideo?i("FormItem",{attrs:{label:"视频链接"}},[i("Input",{staticClass:"input-add mr14",attrs:{placeholder:"请输入视频链接"},model:{value:t.videoLink,callback:function(e){t.videoLink=e},expression:"videoLink"}}),i("Button",{attrs:{type:"primary"},on:{click:t.zh_uploadFile}},[t._v("确认添加")])],1):t._e(),0==t.seletVideo?i("FormItem",{attrs:{label:"本地上传:"}},[i("input",{ref:"refid",staticClass:"display-add",attrs:{type:"file"},on:{change:t.zh_uploadFile_change}}),"1"!==t.upload_type||t.videoLink?i("Button",{staticClass:"ml10",attrs:{type:"primary",icon:"ios-cloud-upload-outline"},on:{click:t.zh_uploadFile}},[t._v("上传视频")]):t._e(),"1"!==t.upload_type||t.videoLink?t._e():i("Upload",{staticClass:"ml10",staticStyle:{display:"inline-block"},attrs:{"show-upload-list":!1,action:t.fileUrl2,"before-upload":t.beforeUpload,data:t.uploadData,headers:t.header,multiple:!0,"on-success":t.handleSuccess}},[i("Button",{attrs:{type:"primary",icon:"ios-cloud-upload-outline"}},[t._v("上传视频")])],1),t.upload.videoIng?i("Progress",{attrs:{percent:t.progress,"stroke-width":5}}):t._e()],1):t._e()],1),t.formValidate.video_link?i("div",{staticClass:"iview-video-style"},[i("video",{staticClass:"video-style",attrs:{src:t.formValidate.video_link,controls:"controls"}},[t._v("\n 您的浏览器不支持 video 标签。\n ")]),i("div",{staticClass:"mark"}),i("Icon",{staticClass:"iconv",attrs:{type:"ios-trash-outline"},on:{click:t.delVideo}})],1):t._e()],1),i("div",{staticClass:"mt50 ml20"},[i("Button",{attrs:{type:"primary"},on:{click:t.uploads}},[t._v("确认")])],1)])},r=[],a=i("c4c8"),o=i("0e5c"),s=i("d708"),c=i("c276"),u={name:"vide11o",props:{pid:{type:Number,default:0}},data:function(){return{fileUrl:s["a"].apiBaseURL+"/file/upload",fileUrl2:s["a"].apiBaseURL+"/file/video_upload",upload:{videoIng:!1},progress:0,videoLink:"",formValidate:{video_link:""},upload_type:"",uploadData:{},header:{},seletVideo:0}},watch:{seletVideo:{handler:function(t,e){this.videoLink="",this.formValidate.video_link=""}}},created:function(){this.uploadType(),this.getToken()},methods:{delVideo:function(){var t=this;t.$set(t.formValidate,"video_link",""),t.$refs.refid.value=""},handleSuccess:function(t,e,i){200===t.status?(this.formValidate.video_link=t.data.src,this.$Message.success(t.msg)):this.$Message.error(t.msg)},getToken:function(){this.header["Authori-zation"]="Bearer "+c["a"].cookies.get("token")},uploadType:function(){var t=this;Object(a["K"])().then((function(e){t.upload_type=e.data.upload_type}))},beforeUpload:function(t){var e=this,i=["video/mp4"],n=-1!==i.indexOf(t.type);return n?(Object(o["a"])({randoms:"",file:t,pieceSize:3,pid:this.pid,success:function(t){e.formValidate.video_link=t.file_path,e.progress=100},error:function(t){e.$Message.error(t.msg)},uploading:function(t,i){e.videoIng=!0;var n=Math.floor(t/i*100);e.progress=n}}),!1):this.$Message.warning({content:"文件 "+t.name+" 格式不正确, 请选择格式正确的视频",duration:5})},zh_uploadFile:function(){if(this.videoLink&&"video"==this.$getFileType(this.videoLink))this.formValidate.video_link=this.videoLink;else{if(this.videoLink&&"video"!==this.$getFileType(this.videoLink)&&1==this.seletVideo)return this.$Message.error("请输入正确的视频链接");this.$refs.refid.click()}},zh_uploadFile_change:function(t){var e=this;if("video/mp4"!==t.target.files[0].type)return e.$Message.error("只能上传mp4文件");var i={key:t.target.files[0].name,contentType:t.target.files[0].type};Object(a["r"])(i).then((function(i){e.$videoCloud.videoUpload({type:i.data.type,evfile:t,res:i,uploading:function(t,n){e.upload.videoIng=t,200==i.status&&(e.progress=100)}}).then((function(t){e.formValidate.video_link=t.url,e.$Message.success("视频上传成功"),e.upload.videoIng=!1})).catch((function(t){e.$Message.error(t)}))})).catch((function(t){e.$Message.error(t.msg)}))},uploads:function(){0==this.seletVideo&&this.formValidate.video_link||0==this.seletVideo&&""==this.formValidate.video_link&&(this.$Message.error("请上传视频"),nowEditor.dialog.close(!0)),1==this.seletVideo&&""==this.videoLink&&(this.$Message.error("请上传视频"),nowEditor.dialog.close(!0)),this.videoLink&&"video"!==this.$getFileType(this.videoLink)&&1==this.seletVideo?this.$Message.error("请输入正确的视频链接"):((1==this.seletVideo||0==this.seletVideo&&1!=this.upload_type)&&Object(a["L"])({path:this.formValidate.video_link,pid:this.pid,upload_type:1==this.seletVideo?1:this.upload_type}).then((function(t){})),this.$emit("getVideo",this.formValidate.video_link),this.formValidate.video_link="",this.$refs.refid.value="")},changeVideo:function(t){this.videoLink=""}}},l=u,d=(i("874b"),i("2877")),h=Object(d["a"])(l,n,r,!1,null,"cf817122",null);e["a"]=h.exports},"803c":function(t,e,i){"use strict";var n=i("e806"),r=i.n(n);r.a},8237:function(module,exports,__webpack_require__){(function(process,global){var __WEBPACK_AMD_DEFINE_RESULT__;
|
|
/**
|
|
* [js-md5]{@link https://github.com/emn178/js-md5}
|
|
*
|
|
* @namespace md5
|
|
* @version 0.7.3
|
|
* @author Chen, Yi-Cyuan [emn178@gmail.com]
|
|
* @copyright Chen, Yi-Cyuan 2014-2017
|
|
* @license MIT
|
|
*/(function(){"use strict";var ERROR="input is invalid type",WINDOW="object"===typeof window,root=WINDOW?window:{};root.JS_MD5_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&"object"===typeof self,NODE_JS=!root.JS_MD5_NO_NODE_JS&&"object"===typeof process&&process.versions&&process.versions.node;NODE_JS?root=global:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_MD5_NO_COMMON_JS&&"object"===typeof module&&module.exports,AMD=__webpack_require__("3c35"),ARRAY_BUFFER=!root.JS_MD5_NO_ARRAY_BUFFER&&"undefined"!==typeof ArrayBuffer,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[128,32768,8388608,-2147483648],SHIFT=[0,8,16,24],OUTPUT_TYPES=["hex","array","digest","buffer","arrayBuffer","base64"],BASE64_ENCODE_CHAR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),blocks=[],buffer8;if(ARRAY_BUFFER){var buffer=new ArrayBuffer(68);buffer8=new Uint8Array(buffer),blocks=new Uint32Array(buffer)}!root.JS_MD5_NO_NODE_JS&&Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),!ARRAY_BUFFER||!root.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(t){return"object"===typeof t&&t.buffer&&t.buffer.constructor===ArrayBuffer});var createOutputMethod=function(t){return function(e){return new Md5(!0).update(e)[t]()}},createMethod=function(){var t=createOutputMethod("hex");NODE_JS&&(t=nodeWrap(t)),t.create=function(){return new Md5},t.update=function(e){return t.create().update(e)};for(var e=0;e<OUTPUT_TYPES.length;++e){var i=OUTPUT_TYPES[e];t[i]=createOutputMethod(i)}return t},nodeWrap=function(method){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),nodeMethod=function(t){if("string"===typeof t)return crypto.createHash("md5").update(t,"utf8").digest("hex");if(null===t||void 0===t)throw ERROR;return t.constructor===ArrayBuffer&&(t=new Uint8Array(t)),Array.isArray(t)||ArrayBuffer.isView(t)||t.constructor===Buffer?crypto.createHash("md5").update(new Buffer(t)).digest("hex"):method(t)};return nodeMethod};function Md5(t){if(t)blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks,this.buffer8=buffer8;else if(ARRAY_BUFFER){var e=new ArrayBuffer(68);this.buffer8=new Uint8Array(e),this.blocks=new Uint32Array(e)}else this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}Md5.prototype.update=function(t){if(!this.finalized){var e,i=typeof t;if("string"!==i){if("object"!==i)throw ERROR;if(null===t)throw ERROR;if(ARRAY_BUFFER&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!Array.isArray(t)&&(!ARRAY_BUFFER||!ArrayBuffer.isView(t)))throw ERROR;e=!0}var n,r,a=0,o=t.length,s=this.blocks,c=this.buffer8;while(a<o){if(this.hashed&&(this.hashed=!1,s[0]=s[16],s[16]=s[1]=s[2]=s[3]=s[4]=s[5]=s[6]=s[7]=s[8]=s[9]=s[10]=s[11]=s[12]=s[13]=s[14]=s[15]=0),e)if(ARRAY_BUFFER)for(r=this.start;a<o&&r<64;++a)c[r++]=t[a];else for(r=this.start;a<o&&r<64;++a)s[r>>2]|=t[a]<<SHIFT[3&r++];else if(ARRAY_BUFFER)for(r=this.start;a<o&&r<64;++a)n=t.charCodeAt(a),n<128?c[r++]=n:n<2048?(c[r++]=192|n>>6,c[r++]=128|63&n):n<55296||n>=57344?(c[r++]=224|n>>12,c[r++]=128|n>>6&63,c[r++]=128|63&n):(n=65536+((1023&n)<<10|1023&t.charCodeAt(++a)),c[r++]=240|n>>18,c[r++]=128|n>>12&63,c[r++]=128|n>>6&63,c[r++]=128|63&n);else for(r=this.start;a<o&&r<64;++a)n=t.charCodeAt(a),n<128?s[r>>2]|=n<<SHIFT[3&r++]:n<2048?(s[r>>2]|=(192|n>>6)<<SHIFT[3&r++],s[r>>2]|=(128|63&n)<<SHIFT[3&r++]):n<55296||n>=57344?(s[r>>2]|=(224|n>>12)<<SHIFT[3&r++],s[r>>2]|=(128|n>>6&63)<<SHIFT[3&r++],s[r>>2]|=(128|63&n)<<SHIFT[3&r++]):(n=65536+((1023&n)<<10|1023&t.charCodeAt(++a)),s[r>>2]|=(240|n>>18)<<SHIFT[3&r++],s[r>>2]|=(128|n>>12&63)<<SHIFT[3&r++],s[r>>2]|=(128|n>>6&63)<<SHIFT[3&r++],s[r>>2]|=(128|63&n)<<SHIFT[3&r++]);this.lastByteIndex=r,this.bytes+=r-this.start,r>=64?(this.start=r-64,this.hash(),this.hashed=!0):this.start=r}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Md5.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var t=this.blocks,e=this.lastByteIndex;t[e>>2]|=EXTRA[3&e],e>=56&&(this.hashed||this.hash(),t[0]=t[16],t[16]=t[1]=t[2]=t[3]=t[4]=t[5]=t[6]=t[7]=t[8]=t[9]=t[10]=t[11]=t[12]=t[13]=t[14]=t[15]=0),t[14]=this.bytes<<3,t[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},Md5.prototype.hash=function(){var t,e,i,n,r,a,o=this.blocks;this.first?(t=o[0]-680876937,t=(t<<7|t>>>25)-271733879<<0,n=(-1732584194^2004318071&t)+o[1]-117830708,n=(n<<12|n>>>20)+t<<0,i=(-271733879^n&(-271733879^t))+o[2]-1126478375,i=(i<<17|i>>>15)+n<<0,e=(t^i&(n^t))+o[3]-1316259209,e=(e<<22|e>>>10)+i<<0):(t=this.h0,e=this.h1,i=this.h2,n=this.h3,t+=(n^e&(i^n))+o[0]-680876936,t=(t<<7|t>>>25)+e<<0,n+=(i^t&(e^i))+o[1]-389564586,n=(n<<12|n>>>20)+t<<0,i+=(e^n&(t^e))+o[2]+606105819,i=(i<<17|i>>>15)+n<<0,e+=(t^i&(n^t))+o[3]-1044525330,e=(e<<22|e>>>10)+i<<0),t+=(n^e&(i^n))+o[4]-176418897,t=(t<<7|t>>>25)+e<<0,n+=(i^t&(e^i))+o[5]+1200080426,n=(n<<12|n>>>20)+t<<0,i+=(e^n&(t^e))+o[6]-1473231341,i=(i<<17|i>>>15)+n<<0,e+=(t^i&(n^t))+o[7]-45705983,e=(e<<22|e>>>10)+i<<0,t+=(n^e&(i^n))+o[8]+1770035416,t=(t<<7|t>>>25)+e<<0,n+=(i^t&(e^i))+o[9]-1958414417,n=(n<<12|n>>>20)+t<<0,i+=(e^n&(t^e))+o[10]-42063,i=(i<<17|i>>>15)+n<<0,e+=(t^i&(n^t))+o[11]-1990404162,e=(e<<22|e>>>10)+i<<0,t+=(n^e&(i^n))+o[12]+1804603682,t=(t<<7|t>>>25)+e<<0,n+=(i^t&(e^i))+o[13]-40341101,n=(n<<12|n>>>20)+t<<0,i+=(e^n&(t^e))+o[14]-1502002290,i=(i<<17|i>>>15)+n<<0,e+=(t^i&(n^t))+o[15]+1236535329,e=(e<<22|e>>>10)+i<<0,t+=(i^n&(e^i))+o[1]-165796510,t=(t<<5|t>>>27)+e<<0,n+=(e^i&(t^e))+o[6]-1069501632,n=(n<<9|n>>>23)+t<<0,i+=(t^e&(n^t))+o[11]+643717713,i=(i<<14|i>>>18)+n<<0,e+=(n^t&(i^n))+o[0]-373897302,e=(e<<20|e>>>12)+i<<0,t+=(i^n&(e^i))+o[5]-701558691,t=(t<<5|t>>>27)+e<<0,n+=(e^i&(t^e))+o[10]+38016083,n=(n<<9|n>>>23)+t<<0,i+=(t^e&(n^t))+o[15]-660478335,i=(i<<14|i>>>18)+n<<0,e+=(n^t&(i^n))+o[4]-405537848,e=(e<<20|e>>>12)+i<<0,t+=(i^n&(e^i))+o[9]+568446438,t=(t<<5|t>>>27)+e<<0,n+=(e^i&(t^e))+o[14]-1019803690,n=(n<<9|n>>>23)+t<<0,i+=(t^e&(n^t))+o[3]-187363961,i=(i<<14|i>>>18)+n<<0,e+=(n^t&(i^n))+o[8]+1163531501,e=(e<<20|e>>>12)+i<<0,t+=(i^n&(e^i))+o[13]-1444681467,t=(t<<5|t>>>27)+e<<0,n+=(e^i&(t^e))+o[2]-51403784,n=(n<<9|n>>>23)+t<<0,i+=(t^e&(n^t))+o[7]+1735328473,i=(i<<14|i>>>18)+n<<0,e+=(n^t&(i^n))+o[12]-1926607734,e=(e<<20|e>>>12)+i<<0,r=e^i,t+=(r^n)+o[5]-378558,t=(t<<4|t>>>28)+e<<0,n+=(r^t)+o[8]-2022574463,n=(n<<11|n>>>21)+t<<0,a=n^t,i+=(a^e)+o[11]+1839030562,i=(i<<16|i>>>16)+n<<0,e+=(a^i)+o[14]-35309556,e=(e<<23|e>>>9)+i<<0,r=e^i,t+=(r^n)+o[1]-1530992060,t=(t<<4|t>>>28)+e<<0,n+=(r^t)+o[4]+1272893353,n=(n<<11|n>>>21)+t<<0,a=n^t,i+=(a^e)+o[7]-155497632,i=(i<<16|i>>>16)+n<<0,e+=(a^i)+o[10]-1094730640,e=(e<<23|e>>>9)+i<<0,r=e^i,t+=(r^n)+o[13]+681279174,t=(t<<4|t>>>28)+e<<0,n+=(r^t)+o[0]-358537222,n=(n<<11|n>>>21)+t<<0,a=n^t,i+=(a^e)+o[3]-722521979,i=(i<<16|i>>>16)+n<<0,e+=(a^i)+o[6]+76029189,e=(e<<23|e>>>9)+i<<0,r=e^i,t+=(r^n)+o[9]-640364487,t=(t<<4|t>>>28)+e<<0,n+=(r^t)+o[12]-421815835,n=(n<<11|n>>>21)+t<<0,a=n^t,i+=(a^e)+o[15]+530742520,i=(i<<16|i>>>16)+n<<0,e+=(a^i)+o[2]-995338651,e=(e<<23|e>>>9)+i<<0,t+=(i^(e|~n))+o[0]-198630844,t=(t<<6|t>>>26)+e<<0,n+=(e^(t|~i))+o[7]+1126891415,n=(n<<10|n>>>22)+t<<0,i+=(t^(n|~e))+o[14]-1416354905,i=(i<<15|i>>>17)+n<<0,e+=(n^(i|~t))+o[5]-57434055,e=(e<<21|e>>>11)+i<<0,t+=(i^(e|~n))+o[12]+1700485571,t=(t<<6|t>>>26)+e<<0,n+=(e^(t|~i))+o[3]-1894986606,n=(n<<10|n>>>22)+t<<0,i+=(t^(n|~e))+o[10]-1051523,i=(i<<15|i>>>17)+n<<0,e+=(n^(i|~t))+o[1]-2054922799,e=(e<<21|e>>>11)+i<<0,t+=(i^(e|~n))+o[8]+1873313359,t=(t<<6|t>>>26)+e<<0,n+=(e^(t|~i))+o[15]-30611744,n=(n<<10|n>>>22)+t<<0,i+=(t^(n|~e))+o[6]-1560198380,i=(i<<15|i>>>17)+n<<0,e+=(n^(i|~t))+o[13]+1309151649,e=(e<<21|e>>>11)+i<<0,t+=(i^(e|~n))+o[4]-145523070,t=(t<<6|t>>>26)+e<<0,n+=(e^(t|~i))+o[11]-1120210379,n=(n<<10|n>>>22)+t<<0,i+=(t^(n|~e))+o[2]+718787259,i=(i<<15|i>>>17)+n<<0,e+=(n^(i|~t))+o[9]-343485551,e=(e<<21|e>>>11)+i<<0,this.first?(this.h0=t+1732584193<<0,this.h1=e-271733879<<0,this.h2=i-1732584194<<0,this.h3=n+271733878<<0,this.first=!1):(this.h0=this.h0+t<<0,this.h1=this.h1+e<<0,this.h2=this.h2+i<<0,this.h3=this.h3+n<<0)},Md5.prototype.hex=function(){this.finalize();var t=this.h0,e=this.h1,i=this.h2,n=this.h3;return HEX_CHARS[t>>4&15]+HEX_CHARS[15&t]+HEX_CHARS[t>>12&15]+HEX_CHARS[t>>8&15]+HEX_CHARS[t>>20&15]+HEX_CHARS[t>>16&15]+HEX_CHARS[t>>28&15]+HEX_CHARS[t>>24&15]+HEX_CHARS[e>>4&15]+HEX_CHARS[15&e]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[i>>4&15]+HEX_CHARS[15&i]+HEX_CHARS[i>>12&15]+HEX_CHARS[i>>8&15]+HEX_CHARS[i>>20&15]+HEX_CHARS[i>>16&15]+HEX_CHARS[i>>28&15]+HEX_CHARS[i>>24&15]+HEX_CHARS[n>>4&15]+HEX_CHARS[15&n]+HEX_CHARS[n>>12&15]+HEX_CHARS[n>>8&15]+HEX_CHARS[n>>20&15]+HEX_CHARS[n>>16&15]+HEX_CHARS[n>>28&15]+HEX_CHARS[n>>24&15]},Md5.prototype.toString=Md5.prototype.hex,Md5.prototype.digest=function(){this.finalize();var t=this.h0,e=this.h1,i=this.h2,n=this.h3;return[255&t,t>>8&255,t>>16&255,t>>24&255,255&e,e>>8&255,e>>16&255,e>>24&255,255&i,i>>8&255,i>>16&255,i>>24&255,255&n,n>>8&255,n>>16&255,n>>24&255]},Md5.prototype.array=Md5.prototype.digest,Md5.prototype.arrayBuffer=function(){this.finalize();var t=new ArrayBuffer(16),e=new Uint32Array(t);return e[0]=this.h0,e[1]=this.h1,e[2]=this.h2,e[3]=this.h3,t},Md5.prototype.buffer=Md5.prototype.arrayBuffer,Md5.prototype.base64=function(){for(var t,e,i,n="",r=this.array(),a=0;a<15;)t=r[a++],e=r[a++],i=r[a++],n+=BASE64_ENCODE_CHAR[t>>>2]+BASE64_ENCODE_CHAR[63&(t<<4|e>>>4)]+BASE64_ENCODE_CHAR[63&(e<<2|i>>>6)]+BASE64_ENCODE_CHAR[63&i];return t=r[a],n+=BASE64_ENCODE_CHAR[t>>>2]+BASE64_ENCODE_CHAR[t<<4&63]+"==",n};var exports=createMethod();COMMON_JS?module.exports=exports:(root.md5=exports,AMD&&(__WEBPACK_AMD_DEFINE_RESULT__=function(){return exports}.call(exports,__webpack_require__,exports,module),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)))})()}).call(this,__webpack_require__("f28c"),__webpack_require__("c8ba"))},"874b":function(t,e,i){"use strict";var n=i("50d5"),r=i.n(n);r.a},b0e7:function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"Modal"},[i("Row",[i("Col",{attrs:{span:"24"}},[i("Tabs",{on:{"on-click":t.onhangeTab},model:{value:t.uploadName.file_type,callback:function(e){t.$set(t.uploadName,"file_type",e)},expression:"uploadName.file_type"}},t._l(t.headTab,(function(t,e){return i("TabPane",{key:e,attrs:{label:t.title,name:t.name}})})),1)],1)],1),i("Row",{staticClass:"colLeft"},[i("Col",{staticClass:"colLeft left",attrs:{xl:6,lg:6,md:6,sm:6,xs:24}},[i("div",{staticClass:"Nav"},[i("div",{staticClass:"input"},[i("Input",{staticStyle:{width:"90%"},attrs:{search:"","enter-button":"",placeholder:"请输入分类名称"},on:{"on-search":t.changePage},model:{value:t.uploadName.name,callback:function(e){t.$set(t.uploadName,"name",e)},expression:"uploadName.name"}})],1),i("div",{staticClass:"trees-coadd"},[i("div",{staticClass:"scollhide"},[i("div",{staticClass:"trees"},[i("Tree",{ref:"tree",staticClass:"treeBox",attrs:{data:t.treeData,render:t.renderContent,"load-data":t.loadData}}),t.searchClass&&t.treeData.length<=1?i("div",{staticClass:"searchNo"},[t._v("此分类暂无数据")]):t._e()],1)])])])]),i("Col",{staticClass:"colLeft right",attrs:{xl:18,lg:18,md:18,sm:18,xs:24}},[i("div",{staticClass:"conter"},[i("div",{staticClass:"bnt acea-row row-middle"},[i("Col",{attrs:{span:"24"}},[0!==t.isShow?i("Button",{staticClass:"mr10",staticStyle:{width:"100px"},attrs:{type:"primary",disabled:0===t.checkPicList.length},on:{click:t.checkPics}},[t._v(t._s(1==t.uploadName.file_type?"使用选中图片":"使用选中视频"))]):t._e(),1==t.uploadName.file_type?i("Button",{attrs:{type:"primary"},on:{click:t.openUpload}},[t._v("上传图片")]):i("Button",{staticClass:"mr10",on:{click:t.uploadVideo}},[t._v("上传视频")]),i("Button",{staticClass:"mr10",attrs:{type:"error",disabled:0===t.checkPicList.length},on:{click:function(e){return e.stopPropagation(),t.editPicList("图片")}}},[t._v(t._s(1==t.uploadName.file_type?"删除图片":"删除视频"))]),i("i-select",{staticClass:"treeSel",staticStyle:{width:"250px"},attrs:{value:t.pids,placeholder:1==t.uploadName.file_type?"图片移动至":"视频移动至"}},[t._l(t.list,(function(e,n){return i("i-option",{key:n,staticStyle:{display:"none"},attrs:{value:e.value}},[t._v("\n "+t._s(e.title)+"\n ")])})),i("Tree",{ref:"reference",staticClass:"treeBox",attrs:{data:t.treeData2,render:t.renderContentSel,"load-data":t.loadData}})],2)],1)],1),i("div",{staticClass:"pictrueList acea-row"},[i("Row",{staticClass:"conter",attrs:{gutter:24}},[i("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowPic,expression:"isShowPic"}],staticClass:"imagesNo"},[i("Icon",{attrs:{type:"ios-images",size:"60",color:"#dbdbdb"}}),i("span",{staticClass:"imagesNo_sp"},[t._v(t._s(1==t.uploadName.file_type?"图片库为空":"视频库为空"))])],1),i("div",{staticClass:"acea-row mb10"},t._l(t.pictrueList,(function(e,n){return i("div",{key:n,staticClass:"pictrueList_pic mr10 mb10",on:{mouseenter:function(i){return t.enterMouse(e)},mouseleave:function(i){return t.enterMouse(e)}}},[e.num>0?i("p",{staticClass:"number"},[i("Badge",{attrs:{count:e.num,type:"error",offset:[11,12]}},[i("a",{staticClass:"demo-badge",attrs:{href:"#"}})])],1):t._e(),i("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.satt_dir,expression:"item.satt_dir"}],class:e.isSelect?"on":"",on:{click:function(i){return i.stopPropagation(),t.changImage(e,n,t.pictrueList)}}}),i("div",{staticStyle:{display:"flex","align-items":"center","justify-content":"space-between"},on:{mouseenter:function(i){return t.enterLeave(e)},mouseleave:function(i){return t.enterLeave(e)}}},[e.isEdit?i("Input",{staticStyle:{width:"80%"},attrs:{size:"small",type:"text"},on:{"on-blur":function(i){return t.bindTxt(e)}},model:{value:e.real_name,callback:function(i){t.$set(e,"real_name",i)},expression:"item.real_name"}}):i("p",[t._v("\n "+t._s(e.editName)+"\n ")]),e.isShowEdit?i("span",{staticClass:"iconfont iconbianji1",on:{click:function(t){e.isEdit=!e.isEdit}}}):t._e()],1),i("div",{directives:[{name:"show",rawName:"v-show",value:e.realName&&e.real_name,expression:"item.realName && item.real_name"}],staticClass:"nameStyle"},[t._v("\n "+t._s(e.real_name)+"\n ")])])})),0)])],1),i("div",{staticClass:"footer acea-row row-right"},[i("Page",{attrs:{total:t.total,"show-elevator":"","show-total":"",current:t.fileData.page,"page-size":t.fileData.limit},on:{"on-change":t.pageChange}})],1)])])],1),i("Modal",{attrs:{width:"1024px",scrollable:"","footer-hide":"",closable:"",title:"上传视频","mask-closable":!1,"z-index":9},model:{value:t.modalVideo,callback:function(e){t.modalVideo=e},expression:"modalVideo"}},[i("uploadVideo",{attrs:{pid:t.fileData.pid},on:{getVideo:t.getvideo}})],1)],1)},r=[],a=i("a34a"),o=i.n(a),s=i("12e0"),c=i("d708"),u=i("c276"),l=i("7774");function d(t){return p(t)||f(t)||h()}function h(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function f(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function p(t){if(Array.isArray(t)){for(var e=0,i=new Array(t.length);e<t.length;e++)i[e]=t[e];return i}}function m(t,e,i,n,r,a,o){try{var s=t[a](o),c=s.value}catch(u){return void i(u)}s.done?e(c):Promise.resolve(c).then(n,r)}function _(t){return function(){var e=this,i=arguments;return new Promise((function(n,r){var a=t.apply(e,i);function o(t){m(a,n,r,o,s,"next",t)}function s(t){m(a,n,r,o,s,"throw",t)}o(void 0)}))}}var g={name:"uploadPictures",components:{uploadVideo:l["a"]},props:{isChoice:{type:String,default:""},gridBtn:{type:Object,default:null},gridPic:{type:Object,default:null},isShow:{type:Number,default:1}},data:function(){return{searchClass:!1,spinShow:!1,fileUrl:c["a"].apiBaseURL+"/file/upload",modalPic:!1,treeData:[],treeData2:[],pictrueList:[],uploadData:{},checkPicList:[],uploadName:{name:"",file_type:"1"},FromData:null,treeId:0,isJudge:!1,buttonProps:{type:"default",size:"small"},fileData:{pid:0,page:1,limit:24},total:0,pids:0,list:[],modalTitleSs:"",isShowPic:!1,header:{},ids:[],headTab:[{title:"图片",name:"1"},{title:"视频",name:"2"}],modalVideo:!1,uploadList:[]}},watch:{pictrueList:function(){this.checkPicList=[]}},mounted:function(){this.getToken(),this.getList(),this.getFileList()},methods:{uploadVideo:function(){this.modalVideo=!0},getvideo:function(){this.modalVideo=!1,this.fileData.page=1,this.getFileList()},onhangeTab:function(){this.treeId=0,this.getList(),this.getFileList(),this.checkPicList=[]},enterMouse:function(t){t.realName=!t.realName},enterLeave:function(t){t.isShowEdit=!t.isShowEdit},getToken:function(){this.header["Authori-zation"]="Bearer "+u["a"].cookies.get("token")},renderContent:function(t,e){var i=this,n=e.root,r=e.node,a=e.data,o=[];return 0==a.pid&&o.push(t("div",{class:["ivu-dropdown-item"],on:{click:function(){i.append(n,r,a)}}},"添加分类")),""!==a.id&&o.push(t("div",{class:["ivu-dropdown-item"],on:{click:function(){i.editPic(n,r,a)}}},"编辑分类"),t("div",{class:["ivu-dropdown-item"],on:{click:function(){i.remove(n,r,a,"分类")}}},"删除分类")),t("span",{class:["ivu-span"],style:{display:"inline-block",width:"88%",height:"32px",lineHeight:"32px",position:"relative",color:"rgba(0,0,0,0.6)",cursor:"pointer"},on:{mouseenter:function(){i.onMouseOver(n,r,a)},mouseleave:function(){i.onMouseOver(n,r,a)}}},[t("span",{on:{click:function(t){i.checkPicList=[],i.appendBtn(n,r,a,t)}}},a.title),t("div",{style:{display:"inline-block",float:"right"}},[t("Icon",{props:{type:"ios-more"},style:{marginRight:"8px",fontSize:"20px",display:a.flag?"inline":"none"},on:{click:function(){i.onClick(n,r,a)}}}),t("div",{class:["right-menu ivu-poptip-inner"],style:{width:"80px",position:"absolute",zIndex:"9",top:"0",right:"0",display:a.flag2?"block":"none"}},o)])])},renderContentSel:function(t,e){var i=this,n=e.root,r=e.node,a=e.data;return t("div",{style:{display:"inline-block",width:"90%"}},[t("span",[t("span",{style:{cursor:"pointer"},class:["ivu-tree-title"],on:{click:function(t){i.handleCheckChange(n,r,a,t)}}},a.title)])])},handleCheckChange:function(t,e,i,n){this.list=[];var r=i.id,a=i.title;this.list.push({value:r,title:a}),this.ids.length?(this.pids=r,this.getMove()):this.$Message.warning("请先选择图片");for(var o=this.$refs.reference.$el.querySelectorAll(".ivu-tree-title-selected"),s=0;s<o.length;s++)o[s].className="ivu-tree-title";n.path[0].className="ivu-tree-title ivu-tree-title-selected"},getMove:function(){var t=this,e={pid:this.pids,images:this.ids.toString()};Object(s["g"])(e).then(function(){var e=_(o.a.mark((function e(i){return o.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.$Message.success(i.msg),t.getFileList(),t.pids=0,t.checkPicList=[],t.ids=[];case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$Message.error(e.msg)}))},editPicList:function(t){var e=this;this.tits=t;var i={ids:this.ids.toString()},n={title:1==this.uploadName.file_type?"删除选中图片":"删除选中视频",url:"file/file/delete",method:"POST",ids:i};this.$modalSure(n).then((function(t){e.$Message.success(t.msg),e.getFileList(),e.checkPicList=[]})).catch((function(t){e.$Message.error(t.msg)}))},onMouseOver:function(t,e,i){event.preventDefault(),i.flag=!i.flag,i.flag2&&(i.flag2=!1)},onClick:function(t,e,i){i.flag2=!i.flag2},appendBtn:function(t,e,i,n){this.treeId=i.id?i.id:0,this.fileData.page=1,this.getFileList();for(var r=this.$refs.tree.$el.querySelectorAll(".ivu-tree-title-selected"),a=0;a<r.length;a++)r[a].className="ivu-tree-title";n.path[0].className="ivu-tree-title ivu-tree-title-selected"},append:function(t,e,i){this.treeId=i.id,this.getFrom()},remove:function(t,e,i,n){var r=this;this.tits=n;var a={title:"删除 [ "+i.title+" ] 分类",url:"file/category/".concat(i.id),method:"DELETE",ids:""};this.$modalSure(a).then((function(t){r.$Message.success(t.msg),r.getList(),r.checkPicList=[]})).catch((function(t){r.$Message.error(t.msg)}))},editPic:function(t,e,i){var n=this;this.$modalForm(Object(s["a"])(i.id,{file_type:this.uploadName.file_type})).then((function(){return n.getList()}))},changePage:function(){this.getList("search")},getList:function(t){var e=this,i={title:1==this.uploadName.file_type?"全部图片":"全部视频",id:"",pid:0,selected:!0};Object(s["f"])(this.uploadName).then(function(){var n=_(o.a.mark((function n(r){return o.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:e.treeData=r.data.list,e.treeData.unshift(i),"search"!==t?e.treeData2=d(e.treeData):e.searchClass=!0,e.addFlag(e.treeData);case 4:case"end":return n.stop()}}),n)})));return function(t){return n.apply(this,arguments)}}()).catch((function(t){e.$Message.error(t.msg)}))},loadData:function(t,e){Object(s["f"])({pid:t.id,file_type:this.uploadName.file_type}).then(function(){var t=_(o.a.mark((function t(i){var n;return o.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:n=i.data.list,e(n);case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){}))},addFlag:function(t){var e=this;t.map((function(t){e.$set(t,"flag",!1),e.$set(t,"flag2",!1),t.children&&e.addFlag(t.children)}))},add:function(){this.treeId=0,this.getFrom()},getFileList:function(){var t=this;this.fileData.pid=this.treeId,this.fileData.file_type=this.uploadName.file_type,Object(s["d"])(this.fileData).then(function(){var e=_(o.a.mark((function e(i){return o.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:i.data.list.forEach((function(e){e.isSelect=!1,e.isEdit=!1,e.isShowEdit=!1,e.realName=!1,e.num=0,t.editName(e)})),t.pictrueList=i.data.list,t.pictrueList.length?t.isShowPic=!1:t.isShowPic=!0,t.total=i.data.count;case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$Message.error(e.msg)}))},pageChange:function(t){this.fileData.page=t,this.getFileList(),this.checkPicList=[]},getFrom:function(){var t=this;this.$modalForm(Object(s["b"])({id:this.treeId,file_type:this.uploadName.file_type})).then((function(e){t.getList()}))},beforeUpload:function(t){var e=this;if(this.uploadList.length>4)return!1;var i=["image/png","image/jpg","image/jpeg","image/gif"],n=-1!==i.indexOf(t.type);if(!n)return this.$Message.warning({content:"文件 "+t.name+" 格式不正确, 请选择格式正确的图片",duration:5}),!1;console.log(t.size,"文件大小");var r=localStorage.getItem("file_size_max"),a=t.size<r,o=r/1024/1024;if(!a)return this.$Message.warning({content:"文件体积过大,图片大小不能超过"+o+"M",duration:5}),!1;this.uploadList.push(t),this.uploadData={pid:this.treeId};var s=new Promise((function(t){e.$nextTick((function(){t(!0)}))}));return s},handleSuccess:function(t,e,i){200===t.status?(this.uploadList=[],this.fileData.page=1,this.$Message.success(t.msg),this.getFileList()):this.$Message.error(t.msg)},cancel:function(){this.$emit("changeCancel")},changImage:function(t,e,i){var n=this,r=0;t.isSelect?(t.isSelect=!1,this.checkPicList.map((function(e,i){e.att_id==t.att_id&&(r=i)})),this.checkPicList.splice(r,1)):(t.isSelect=!0,this.checkPicList.push(t)),this.ids=[],this.checkPicList.map((function(t,e){n.ids.push(t.att_id)})),this.pictrueList.map((function(t,e){t.isSelect?n.checkPicList.filter((function(e,i){t.att_id==e.att_id&&(t.num=i+1)})):t.num=0}))},checkPics:function(){if("单选"===this.isChoice){if(this.checkPicList.length>1)return this.$Message.warning("最多只能选一张图片");this.$emit("getPic",this.checkPicList[0])}else{var t=this.$route.query.maxLength;if(void 0!=t&&this.checkPicList.length>Number(t))return this.$Message.warning("最多只能选"+t+"张图片");this.$emit("getPicD",this.checkPicList),console.log(this.checkPicList)}},editName:function(t){var e=t.real_name.split("."),i=void 0==e[1]?[]:e[1];e[0].length,i.length;t.editName=t.real_name},bindTxt:function(t){var e=this;""==t.real_name&&this.$Message.error("请填写内容"),Object(s["e"])(t.att_id,{real_name:t.real_name}).then((function(i){e.editName(t),t.isEdit=!1,e.$Message.success(i.msg)})).catch((function(t){e.$Message.error(t.msg)}))},openUpload:function(){var t=this;this.$uploadImg({categories:this.treeData,categoryId:this.treeId,onClose:function(){t.fileData.page=1,t.getFileList()}})}}},v=g,y=(i("803c"),i("2877")),b=Object(y["a"])(v,n,r,!1,null,"2ac13eea",null);e["a"]=b.exports},c4c8:function(t,e,i){"use strict";i.d(e,"x",(function(){return r})),i.d(e,"u",(function(){return a})),i.d(e,"t",(function(){return o})),i.d(e,"B",(function(){return s})),i.d(e,"y",(function(){return c})),i.d(e,"H",(function(){return u})),i.d(e,"I",(function(){return l})),i.d(e,"l",(function(){return d})),i.d(e,"z",(function(){return h})),i.d(e,"w",(function(){return f})),i.d(e,"f",(function(){return p})),i.d(e,"h",(function(){return m})),i.d(e,"g",(function(){return _})),i.d(e,"q",(function(){return g})),i.d(e,"s",(function(){return v})),i.d(e,"r",(function(){return y})),i.d(e,"o",(function(){return b})),i.d(e,"e",(function(){return k})),i.d(e,"d",(function(){return C})),i.d(e,"p",(function(){return S})),i.d(e,"k",(function(){return w})),i.d(e,"C",(function(){return A})),i.d(e,"K",(function(){return E})),i.d(e,"i",(function(){return O})),i.d(e,"v",(function(){return R})),i.d(e,"j",(function(){return H})),i.d(e,"G",(function(){return L})),i.d(e,"E",(function(){return M})),i.d(e,"F",(function(){return N})),i.d(e,"c",(function(){return j})),i.d(e,"m",(function(){return F})),i.d(e,"n",(function(){return D})),i.d(e,"L",(function(){return P})),i.d(e,"a",(function(){return B})),i.d(e,"J",(function(){return x})),i.d(e,"A",(function(){return T})),i.d(e,"D",(function(){return $})),i.d(e,"b",(function(){return I}));var n=i("b6bd");function r(t){return Object(n["a"])({url:"product/product",method:"get",params:t})}function a(t){return Object(n["a"])({url:"product/product/".concat(t),method:"get"})}function o(t){return Object(n["a"])({url:"product/type_header",method:"get",params:t})}function s(){return Object(n["a"])({url:"product/product_label",method:"get"})}function c(t){return Object(n["a"])({url:"product/reply",method:"get",params:t})}function u(t,e){return Object(n["a"])({url:"product/reply/set_reply/".concat(e),method:"PUT",data:t})}function l(t,e){return Object(n["a"])({url:"product/product/set_show/".concat(t,"/").concat(e),method:"PUT"})}function d(t){return Object(n["a"])({url:"product/product/attrs/".concat(t),method:"get"})}function h(t,e){return Object(n["a"])({url:"product/product/saveStocks/".concat(e),method:"PUT",data:t})}function f(t){return Object(n["a"])({url:"/product/product/list",method:"get",params:t})}function p(t){return Object(n["a"])({url:"product/category/cascader_list/".concat(t),method:"get"})}function m(t){return Object(n["a"])({url:"product/product/".concat(t.id),method:"POST",data:t})}function _(t,e,i){return Object(n["a"])({url:"product/generate_attr/".concat(e,"/").concat(i),method:"POST",data:t})}function g(){return Object(n["a"])({url:"product/product/get_rule",method:"get"})}function v(){return Object(n["a"])({url:"product/product/get_template",method:"get"})}function y(t){return Object(n["a"])({url:"product/product/get_temp_keys",method:"get",params:t})}function b(){return Object(n["a"])({url:"product/cache",method:"get"})}function k(){return Object(n["a"])({url:"product/cache",method:"delete"})}function C(){return Object(n["a"])({url:"product/brand/cascader_list/2",method:"get"})}function S(){return Object(n["a"])({url:"product/category/create",method:"get"})}function w(t){return Object(n["a"])({url:"product/get_all_unit",method:"get"})}function A(t){return Object(n["a"])({url:"product/unit/create",method:"get"})}function E(){return Object(n["a"])({url:"file/upload_type",method:"get"})}function O(){return Object(n["a"])({url:"product/all_ensure",method:"get"})}function R(){return Object(n["a"])({url:"product/label/form",method:"get"})}function H(){return Object(n["a"])({url:"product/all_specs",method:"get"})}function L(t){return Object(n["a"])({url:"product/product/rule",method:"GET",params:t})}function M(t,e){return Object(n["a"])({url:"product/product/rule/".concat(e),method:"POST",data:t})}function N(t){return Object(n["a"])({url:"product/product/rule/".concat(t),method:"get"})}function j(){return Object(n["a"])({url:"product/brand/cascader_list",method:"get"})}function F(t){return Object(n["a"])({url:"product/brand",method:"POST",data:t})}function D(t,e){return Object(n["a"])({url:"product/brand/".concat(t),method:"put",data:e})}function P(t){return Object(n["a"])({url:"file/video_attachment",method:"post",data:t})}function B(){return Object(n["a"])({url:"system/form/all_system_form",method:"get"})}function x(t,e){return Object(n["a"])({url:"/system/form/info/".concat(t),method:"get",params:e})}function T(t){return Object(n["a"])({url:"product/product/product_show",method:"put",data:t})}function $(t){return Object(n["a"])({url:"product/product/product_unshow",method:"put",data:t})}function I(t){return Object(n["a"])({url:"product/batch_process",method:"post",data:t})}},e806:function(t,e,i){}}]); |