73340ad.js 159 KB

12
  1. /*! For license information please see LICENSES */
  2. (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{441:function(e,t,n){"use strict";n(71);var r=n(6),o=(n(30),{props:{action:{},pro:{},back:{type:Object}},data:function(){return{search:{pagesize:15,page:0,total:0},loading:!0,list:[]}},computed:{},watch:{},created:function(){},mounted:function(){this.getList()},methods:{handleClose:function(){this.back.drawer_obj.pub_log=!1,this.back.drawer_obj.id=""},getList:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var data,n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,(data=e.search).pro=e.pro,data.action=e.action,t.next=6,e.$post("/uapi/pub/info/user/behavior_log/list",data);case 6:n=t.sent,e.loading=!1,1==n.status&&(e.list=n.data.list,e.search.total=n.data.total);case 9:case"end":return t.stop()}}),t)})))()},page_event:function(e){this.search.page=e,this.getList()}}}),c=(n(646),n(4)),component=Object(c.a)(o,(function(){var e=this,t=e._self._c;return t("el-drawer",{ref:"drawer_close",attrs:{title:"操作日志",size:"40%","append-to-body":!1,"destroy-on-close":!0,visible:!0,"modal-append-to-body":!1,"before-close":e.handleClose,wrapperClosable:!1}},[t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"block",staticStyle:{"margin-top":"20px"}},[t("el-timeline",e._l(e.list,(function(n){return t("el-timeline-item",{attrs:{timestamp:n.addtime,placement:"top"}},[t("p",{staticStyle:{display:"flex","flex-direction":"row"}},[t("span",{staticStyle:{display:"flex","flex-direction":"column"}},[t("span",{style:"margin-right:5px;width: 40px;height: 40px;display: inline-block;border: 50%;background:url(".concat(n.user.icon_url,");background-size: contain;background-position: center;")}),e._v(" "),t("div",{staticStyle:{flex:"1"}})]),e._v(" "),t("span",{staticStyle:{flex:"1","line-height":"30px","word-break":"break-all"}},[t("a",{staticStyle:{color:"#006eff","margin-right":"5px"},attrs:{target:"_blank",href:"".concat(n.root_url,"/rooter/user/").concat(n.user.uid)}},[e._v(e._s(n.user.nickname))]),e._v(e._s(n.content)+"\n ")])])])})),1),e._v(" "),e.search.total>e.search.pagesize?t("el-pagination",{staticStyle:{"margin-left":"30px","margin-top":"30px"},attrs:{background:"",layout:"total,prev, pager, next","page-size":e.search.pagesize,total:e.search.total},on:{"current-change":e.page_event}}):e._e()],1)])}),[],!1,null,"8a2c41cc",null);t.a=component.exports},442:function(e,t,n){var r=n(433);n(12),n(85),n(86),n(28),n(18),n(192),n(41),n(141),n(15),n(37),n(33),n(428),n(103),n(434),n(191),n(87),n(72),function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=12)}([function(e,t,n){e.exports=function(){var e=e||function(e,t){var n=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),r={},o=r.lib={},i=o.Base={extend:function(e){var t=n(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},a=o.WordArray=i.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||u).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,o=e.sigBytes;if(this.clamp(),r%4)for(var i=0;i<o;i++){var a=n[i>>>2]>>>24-i%4*8&255;t[r+i>>>2]|=a<<24-(r+i)%4*8}else for(i=0;i<o;i+=4)t[r+i>>>2]=n[i>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=i.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var n,r=[],o=0;o<t;o+=4){var i=function(t){var n=987654321,r=4294967295;return function(){var o=((n=36969*(65535&n)+(n>>16)&r)<<16)+(t=18e3*(65535&t)+(t>>16)&r)&r;return o/=4294967296,(o+=.5)*(e.random()>.5?1:-1)}}(4294967296*(n||e.random()));n=987654071*i(),r.push(4294967296*i()|0)}return new a.init(r,t)}}),s=r.enc={},u=s.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o++){var i=t[o>>>2]>>>24-o%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new a.init(n,t/2)}},c=s.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o++){var i=t[o>>>2]>>>24-o%4*8&255;r.push(String.fromCharCode(i))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new a.init(n,t)}},l=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(c.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return c.parse(unescape(encodeURIComponent(e)))}},f=o.BufferedBlockAlgorithm=i.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=l.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n=this._data,r=n.words,o=n.sigBytes,i=this.blockSize,u=o/(4*i),c=(u=t?e.ceil(u):e.max((0|u)-this._minBufferSize,0))*i,l=e.min(4*c,o);if(c){for(var f=0;f<c;f+=i)this._doProcessBlock(r,f);var d=r.splice(0,c);n.sigBytes-=l}return new a.init(d,l)},clone:function(){var e=i.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),d=(o.Hasher=f.extend({cfg:i.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){f.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new d.HMAC.init(e,n).finalize(t)}}}),r.algo={});return r}(Math);return e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,null,[{key:"detectIEVersion",value:function(){for(var e=4,t=document.createElement("div"),n=t.getElementsByTagName("i");t.innerHTML="\x3c!--[if gt IE "+e+"]><i></i><![endif]--\x3e",n[0];)e++;return e>4&&e}},{key:"extend",value:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&t[n]&&(e[n]=t[n])}},{key:"isArray",value:function(e){return"[object Array]"===Object.prototype.toString.call(arg)}},{key:"getFileType",value:function(e){return e=e.toLowerCase(),/.mp4|.flv|.m3u8|.avi|.rm|.rmvb|.mpeg|.mpg|.mov|.wmv|.3gp|.asf|.dat|.dv|.f4v|.gif|.m2t|.m4v|.mj2|.mjpeg|.mpe|.mts|.ogg|.qt|.swf|.ts|.vob|.wmv|.webm/.test(e)?"video":/.mp3|.wav|.ape|.cda|.au|.midi|.mac|.aac|.ac3|.acm|.amr|.caf|.flac|.m4a|.ra|.wma/.test(e)?"audio":/.bmp|.jpg|.jpeg|.png/.test(e)?"img":"other"}},{key:"isImage",value:function(e){return e=e.toLowerCase(),!!/.jpg|.jpeg|.png/.test(e)}},{key:"ISODateString",value:function(e){function t(e){return e<10?"0"+e:e}return e.getUTCFullYear()+"-"+t(e.getUTCMonth()+1)+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())+"Z"}},{key:"isIntNum",value:function(e){return!!/^\d+$/.test(e)}}]),e}();t.default=i},function(e,t,n){e.exports=function(e){return function(t){function n(e,t,n,r,o,i,a){var s=e+(t&n|~t&r)+o+a;return(s<<i|s>>>32-i)+t}function r(e,t,n,r,o,i,a){var s=e+(t&r|n&~r)+o+a;return(s<<i|s>>>32-i)+t}function o(e,t,n,r,o,i,a){var s=e+(t^n^r)+o+a;return(s<<i|s>>>32-i)+t}function i(e,t,n,r,o,i,a){var s=e+(n^(t|~r))+o+a;return(s<<i|s>>>32-i)+t}var a=e,s=a.lib,u=s.WordArray,c=s.Hasher,l=a.algo,f=[];!function(){for(var e=0;e<64;e++)f[e]=4294967296*t.abs(t.sin(e+1))|0}();var d=l.MD5=c.extend({_doReset:function(){this._hash=new u.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var a=0;a<16;a++){var s=t+a,u=e[s];e[s]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}var c=this._hash.words,l=e[t+0],d=e[t+1],h=e[t+2],p=e[t+3],g=e[t+4],m=e[t+5],_=e[t+6],v=e[t+7],y=e[t+8],w=e[t+9],x=e[t+10],k=e[t+11],S=e[t+12],b=e[t+13],T=e[t+14],A=e[t+15],C=c[0],I=c[1],O=c[2],E=c[3];C=n(C,I,O,E,l,7,f[0]),E=n(E,C,I,O,d,12,f[1]),O=n(O,E,C,I,h,17,f[2]),I=n(I,O,E,C,p,22,f[3]),C=n(C,I,O,E,g,7,f[4]),E=n(E,C,I,O,m,12,f[5]),O=n(O,E,C,I,_,17,f[6]),I=n(I,O,E,C,v,22,f[7]),C=n(C,I,O,E,y,7,f[8]),E=n(E,C,I,O,w,12,f[9]),O=n(O,E,C,I,x,17,f[10]),I=n(I,O,E,C,k,22,f[11]),C=n(C,I,O,E,S,7,f[12]),E=n(E,C,I,O,b,12,f[13]),O=n(O,E,C,I,T,17,f[14]),C=r(C,I=n(I,O,E,C,A,22,f[15]),O,E,d,5,f[16]),E=r(E,C,I,O,_,9,f[17]),O=r(O,E,C,I,k,14,f[18]),I=r(I,O,E,C,l,20,f[19]),C=r(C,I,O,E,m,5,f[20]),E=r(E,C,I,O,x,9,f[21]),O=r(O,E,C,I,A,14,f[22]),I=r(I,O,E,C,g,20,f[23]),C=r(C,I,O,E,w,5,f[24]),E=r(E,C,I,O,T,9,f[25]),O=r(O,E,C,I,p,14,f[26]),I=r(I,O,E,C,y,20,f[27]),C=r(C,I,O,E,b,5,f[28]),E=r(E,C,I,O,h,9,f[29]),O=r(O,E,C,I,v,14,f[30]),C=o(C,I=r(I,O,E,C,S,20,f[31]),O,E,m,4,f[32]),E=o(E,C,I,O,y,11,f[33]),O=o(O,E,C,I,k,16,f[34]),I=o(I,O,E,C,T,23,f[35]),C=o(C,I,O,E,d,4,f[36]),E=o(E,C,I,O,g,11,f[37]),O=o(O,E,C,I,v,16,f[38]),I=o(I,O,E,C,x,23,f[39]),C=o(C,I,O,E,b,4,f[40]),E=o(E,C,I,O,l,11,f[41]),O=o(O,E,C,I,p,16,f[42]),I=o(I,O,E,C,_,23,f[43]),C=o(C,I,O,E,w,4,f[44]),E=o(E,C,I,O,S,11,f[45]),O=o(O,E,C,I,A,16,f[46]),C=i(C,I=o(I,O,E,C,h,23,f[47]),O,E,l,6,f[48]),E=i(E,C,I,O,v,10,f[49]),O=i(O,E,C,I,T,15,f[50]),I=i(I,O,E,C,m,21,f[51]),C=i(C,I,O,E,S,6,f[52]),E=i(E,C,I,O,p,10,f[53]),O=i(O,E,C,I,x,15,f[54]),I=i(I,O,E,C,d,21,f[55]),C=i(C,I,O,E,y,6,f[56]),E=i(E,C,I,O,A,10,f[57]),O=i(O,E,C,I,_,15,f[58]),I=i(I,O,E,C,b,21,f[59]),C=i(C,I,O,E,g,6,f[60]),E=i(E,C,I,O,k,10,f[61]),O=i(O,E,C,I,h,15,f[62]),I=i(I,O,E,C,w,21,f[63]),c[0]=c[0]+C|0,c[1]=c[1]+I|0,c[2]=c[2]+O|0,c[3]=c[3]+E|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,o=8*e.sigBytes;n[o>>>5]|=128<<24-o%32;var i=t.floor(r/4294967296),a=r;n[15+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),n[14+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),e.sigBytes=4*(n.length+1),this._process();for(var s=this._hash,u=s.words,c=0;c<4;c++){var l=u[c];u[c]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return s},clone:function(){var e=c.clone.call(this);return e._hash=this._hash.clone(),e}});a.MD5=c._createHelper(d),a.HmacMD5=c._createHmacHelper(d)}(Math),e.MD5}(n(0))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UPLOADSTATE={INIT:"init",UPLOADING:"uploading",COMPLETE:"complete",INTERRUPT:"interrupt"},t.UPLOADSTEP={INIT:"init",PART:"part",COMPLETE:"complete"},t.UPLOADDEFAULT={PARALLEL:5,PARTSIZE:1048576}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=r(n(5)),o=r(n(25)),c=r(n(6)),l=r(n(7)),p=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var n=l.default.os.name,r=l.default.os.version||"",i=l.default.browser.name,a=l.default.browser.version||"",u=window.location.href,o="";u&&(o=l.default.getHost(u));var f="pc";l.default.os.ipad?f="pad":(l.default.os.iphone||l.default.os.android)&&(f="phone"),this._ri=s.default.create(),this.initParam={APIVersion:"0.6.0",lv:"1",av:c.default.version,pd:"upload",sm:"upload",md:"uploader",uuid:e.getUuid(),os:n,ov:r,et:i,ev:a,uat:navigator.userAgent,app_n:o,tt:f,dm:"h5",ut:""}}return i(e,[{key:"log",value:function(e,t){t&&t.ri?(this._ri=t.ri,delete t.ri):this._ri=s.default.create(),t&&t.ut&&(this.initParam.ut=t.ut,delete t.ut),this.initParam.t=(new Date).getTime(),this.initParam.ll="20006"==e?"error":"info",this.initParam.ri=this._ri,this.initParam.e=e;var n=[];if(t)for(var r in t)n.push(r+"="+t[r]);var o=n.join("&");this.initParam.args=encodeURIComponent(""==o?"0":o);var i=[];for(var r in this.initParam)i.push(r+"="+this.initParam[r]);var a=i.join("&");AliyunUpload&&AliyunUpload.__logTestCallback__?AliyunUpload.__logTestCallback__(a):new Image(0,0).src="https://videocloud.cn-hangzhou.log.aliyuncs.com/logstores/upload/track?"+a}}],[{key:"getUuid",value:function(){var e=o.default.get("p_h5_upload_u");return e||(e=s.default.create(),o.default.set("p_h5_upload_u",e,730)),e}},{key:"getClientId",value:function(){return o.default.get("p_h5_upload_clientId")}},{key:"setClientId",value:function(e){return e||(e=s.default.create()),o.default.set("p_h5_upload_clientId",e,730),e}}]),e}();t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,null,[{key:"create",value:function(e,t){var n,i,r="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),o=[];if(t=t||r.length,e)for(n=0;n<e;n++)o[n]=r[0|Math.random()*t];else for(o[8]=o[13]=o[18]=o[23]="-",o[14]="4",n=0;n<36;n++)o[n]||(i=0|16*Math.random(),o[n]=r[19==n?3&i|8:i]);return o.join("")}}]),e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={version:"1.5.2"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=function(e){var t=navigator.userAgent.toLowerCase();return e.chrome?"Chrome":e.firefox?"Firefox":e.safari?"Safari":e.webview?"webview":e.ie?/edge/.test(t)?"Edge":"IE":/baiduspider/.test(t)?"Baiduspider":/ucweb/.test(t)||/UCBrowser/.test(t)?"UC":/opera/.test(t)?"Opera":/ucweb/.test(t)?"UC":/360se/.test(t)?"360浏览器":/bidubrowser/.test(t)?"百度浏览器":/metasr/.test(t)?"搜狗浏览器":/lbbrowser/.test(t)?"猎豹浏览器":/micromessenger/.test(t)?"微信内置浏览器":/qqbrowser/.test(t)?"QQ浏览器":/playstation/.test(t)?"PS4浏览器":void 0},u=function(){var e={},t={},n=navigator.userAgent,r=navigator.platform,o=n.match(/Web[kK]it[\/]{0,1}([\d.]+)/),u=n.match(/(Android);?[\s\/]+([\d.]+)?/),c=!!n.match(/\(Macintosh\; Intel /),l=n.match(/(iPad).*OS\s([\d_]+)/),f=n.match(/(iPod)(.*OS\s([\d_]+))?/),d=!l&&n.match(/(iPhone\sOS)\s([\d_]+)/),h=n.match(/(webOS|hpwOS)[\s\/]([\d.]+)/),p=/Win\d{2}|Windows/.test(r),g=n.match(/Windows Phone ([\d.]+)/),m=h&&n.match(/TouchPad/),_=n.match(/Kindle\/([\d.]+)/),v=n.match(/Silk\/([\d._]+)/),y=n.match(/(BlackBerry).*Version\/([\d.]+)/),w=n.match(/(BB10).*Version\/([\d.]+)/),x=n.match(/(RIM\sTablet\sOS)\s([\d.]+)/),k=n.match(/PlayBook/),S=n.match(/Chrome\/([\d.]+)/)||n.match(/CriOS\/([\d.]+)/),b=n.match(/Firefox\/([\d.]+)/),T=n.match(/\((?:Mobile|Tablet); rv:([\d.]+)\).*Firefox\/[\d.]+/),A=n.match(/MSIE\s([\d.]+)/)||n.match(/Trident\/[\d](?=[^\?]+).*rv:([0-9.].)/),C=!S&&n.match(/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/),I=C||n.match(/Version\/([\d.]+)([^S](Safari)|[^M]*(Mobile)[^S]*(Safari))/);if((t.webkit=!!o)&&(t.version=o[1]),u&&(e.android=!0,e.version=u[2]),d&&!f&&(e.ios=e.iphone=!0,e.version=d[2].replace(/_/g,".")),l&&(e.ios=e.ipad=!0,e.version=l[2].replace(/_/g,".")),f&&(e.ios=e.ipod=!0,e.version=f[3]?f[3].replace(/_/g,"."):null),g&&(e.wp=!0,e.version=g[1]),h&&(e.webos=!0,e.version=h[2]),m&&(e.touchpad=!0),y&&(e.blackberry=!0,e.version=y[2]),w&&(e.bb10=!0,e.version=w[2]),x&&(e.rimtabletos=!0,e.version=x[2]),k&&(t.playbook=!0),_&&(e.kindle=!0,e.version=_[1]),v&&(t.silk=!0,t.version=v[1]),!v&&e.android&&n.match(/Kindle Fire/)&&(t.silk=!0),S&&(t.chrome=!0,t.version=S[1]),b&&(t.firefox=!0,t.version=b[1]),T&&(e.firefoxos=!0,e.version=T[1]),A&&(t.ie=!0,t.version=A[1]),I&&(c||e.ios||p||u)&&(t.safari=!0,e.ios||(t.version=I[1])),C&&(t.webview=!0),c){var O=n.match(/[\d]*_[\d]*_[\d]*/);O&&O.length>0&&O[0]&&(e.version=O[0].replace(/_/g,"."))}return e.tablet=!!(l||k||u&&!n.match(/Mobile/)||b&&n.match(/Tablet/)||A&&!n.match(/Phone/)&&n.match(/Touch/)),e.phone=!(e.tablet||e.ipod||!(u||d||h||y||w||S&&n.match(/Android/)||S&&n.match(/CriOS\/([\d.]+)/)||b&&n.match(/Mobile/)||A&&n.match(/Touch/))),e.pc=!e.tablet&&!e.phone,c?e.name="macOS":p?(e.name="windows",e.version=function(){var e=navigator.userAgent,t="";return(e.indexOf("Windows NT 5.0")>-1||e.indexOf("Windows 2000")>-1)&&(t="2000"),(e.indexOf("Windows NT 5.1")>-1||e.indexOf("Windows XP")>-1)&&(t="XP"),(e.indexOf("Windows NT 5.2")>-1||e.indexOf("Windows 2003")>-1)&&(t="2003"),(e.indexOf("Windows NT 6.0")>-1||e.indexOf("Windows Vista")>-1)&&(t="Vista"),(e.indexOf("Windows NT 6.1")>-1||e.indexOf("Windows 7")>-1)&&(t="7"),(e.indexOf("Windows NT 6.2")>-1||e.indexOf("Windows 8")>-1)&&(t="8"),(e.indexOf("Windows NT 6.3")>-1||e.indexOf("Windows 8.1")>-1)&&(t="8.1"),(e.indexOf("Windows NT 10")>-1||e.indexOf("Windows 10")>-1)&&(t="10"),t}()):e.name=function(e){var t=navigator.userAgent,n="other";if(e.ios)return"iOS";if(e.android)return"android";if(t.indexOf("Baiduspider")>-1)return"Baiduspider";if(t.indexOf("PlayStation")>-1)return"PS4";var r="Win32"==navigator.platform||"Windows"==navigator.platform||t.indexOf("Windows")>-1,o="Mac68K"==navigator.platform||"MacPPC"==navigator.platform||"Macintosh"==navigator.platform||"MacIntel"==navigator.platform;return o&&(n="macOS"),"X11"==navigator.platform&&!r&&!o&&(n="Unix"),String(navigator.platform).indexOf("Linux")>-1&&(n="Linux"),r?"windows":n}(e),t.name=s(t),{os:e,browser:t}}(),o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,null,[{key:"getHost",value:function(e){var t="";if(void 0===e||null==e||""==e)return"";var n=e.indexOf("//"),r=e;n>-1&&(r=e.substring(n+2));t=r;var o=r.split("/");return o&&o.length>0&&(t=o[0]),(o=t.split(":"))&&o.length>0&&(t=o[0]),t}},{key:"os",get:function(){return u.os}},{key:"browser",get:function(){var e=u.browser;return e.name||(e.name=s()),e}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,null,[{key:"get",value:function(e,t,n,r,o){var i;n=n||function(){},"undefined"==typeof XMLHttpRequest&&(window.XMLHttpRequest=function(){try{return new window.ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new window.ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new window.ActiveXObject("Msxml2.XMLHTTP")}catch(e){}throw new Error("This browser does not support XMLHttpRequest.")}),(i=new XMLHttpRequest).onreadystatechange=function(){4===i.readyState&&(200===i.status?t(i.responseText):n(i.responseText))};try{void 0===r&&(r=!0),i.open("GET",e,r),o&&(i.withCredentials=!0)}catch(e){return void n(e)}try{i.send()}catch(e){n(e)}}}]),e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(27),a=n(30),s=(n(10),function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,null,[{key:"randomUUID",value:function(){for(var e=[],t="0123456789abcdef",n=0;n<36;n++)e[n]=t.substr(Math.floor(16*Math.random()),1);return e[14]="4",e[19]=t.substr(3&e[19]|8,1),e[8]=e[13]=e[18]=e[23]="-",e.join("")}},{key:"aliyunEncodeURI",value:function(e){var t=encodeURIComponent(e);return t.replace(/\+/g,"%20").replace(/\*/g,"%2A").replace(/%7E/g,"~").replace(/!/g,"%21").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/'/g,"%27")}},{key:"makeUTF8sort",value:function(t,n,r){if(!t)throw new Error("PrismPlayer Error: vid should not be null!");var o=[];for(var i in t)o.push(i);var a=o.sort(),s="",u=a.length;for(i=0;i<u;i++){var c=e.aliyunEncodeURI(a[i]),l=e.aliyunEncodeURI(t[a[i]]);""==s?s=c+n+l:s+=r+c+n+l}return s}},{key:"makeChangeSiga",value:function(t,n){if(!t)throw new Error("PrismPlayer Error: vid should not be null!");return a.stringify(i("GET&"+e.aliyunEncodeURI("/")+"&"+e.aliyunEncodeURI(e.makeUTF8sort(t,"=","&")),n+"&"))}}]),e}());t.default=s},function(e,t,n){e.exports=function(e){return e.enc.Utf8}(n(0))},function(e,t,n){e.exports=function(e){return e.enc.Hex}(n(0))},function(e,t,n){e.exports=n(13)},function(e,t,n){"use strict";var r,a=function(e){return e&&e.__esModule?e:{default:e}}(("function"==typeof Symbol&&Symbol.iterator,n(14))),s={Vod:a.default};void 0!==(r=function(){return s}.apply(t,[]))&&(e.exports=r),FileReader.prototype.readAsBinaryString||(FileReader.prototype.readAsBinaryString=function(e){var t="",n=this,r=new FileReader;r.onload=function(e){for(var o=new Uint8Array(r.result),i=o.byteLength,a=0;a<i;a++)t+=String.fromCharCode(o[a]);n.content=t,n.onload()},r.readAsArrayBuffer(e)}),window.AliyunUpload=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(15),s=n(3),o=r(n(16)),c=r(n(18)),l=r(n(24)),g=r(n(4)),f=r(n(1)),d=r(n(5)),h=r(n(26)),m=r(n(31)),_=r(n(32)),v=(n(2),function(){function e(t){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.options=t,this.options.partSize=this.options.partSize||s.UPLOADDEFAULT.PARTSIZE,this.options.parallel=this.options.parallel||s.UPLOADDEFAULT.PARALLEL,this.options.region=this.options.region||"cn-shanghai",this.options.cname=this.options.cname||!1,this.options.localCheckpoint=this.options.localCheckpoint||!1,this.options.enableUploadProgress=this.options.enableUploadProgress||!0,this._ossCreditor=new Object,this._state=a.VODSTATE.INIT,this._uploadList=[],this._curIndex=-1,this._ossUpload=null,this._log=new g.default,this._retryCount=0,this._retryTotal=this.options.retryCount||3,this._retryDuration=this.options.retryDuration||2,this._state=a.VODSTATE.INIT,this._uploadWay="vod",this._onbeforeunload=!1,this._invalidUserId=!1,this._initEvent()}return i(e,[{key:"init",value:function(e,t,n,r){return this._retryCount=0,!(n&&!r||!n&&r||e&&!t||!e&&t||(this._ossCreditor.accessKeyId=e,this._ossCreditor.accessKeySecret=t,this._ossCreditor.securityToken=n,this._ossCreditor.expireTime=r,0))}},{key:"addFile",value:function(e,t,n,r,o,i){if(!e)return!1;if(0==e.size)try{this.options.onUploadFailed({file:e},"EmptyFile","文件大小为0,不能上传")}catch(e){console.log(e)}for(var s=(this.options,0);s<this._uploadList.length;s++)if(this._uploadList[s].file==e)return!1;var u=new Object;if(u.file=e,u._endpoint=t,u._bucket=n,u._object=r,u.state=a.UPLOADSTATE.INIT,u.isImage=f.default.isImage(e.name),!u.isImage&&this.options.enableUploadProgress){var l=this;_.default.getMd5(e,(function(e){u.fileHash=e;var t=l._getCheckoutpoint(u);l.options.localCheckpoint||t||l._getCheckoutpointFromCloud(u,(function(e){if(e.UploadPoint){var t=JSON.parse(e.UploadPoint);1!=t.loaded&&(u.checkpoint=t.checkpoint,u.loaded=t.loaded,u.videoId=e.VideoId,l._saveCheckoutpoint(u,t.checkpoint))}}),(function(e){try{if((e=JSON.parse(e))&&"InvalidParameter"==e.Code&&e.Message.indexOf("UserId")>0){l._invalidUserId=!0;var t=e.Message+",正确账号ID(userId)请参考:https://help.aliyun.com/knowledge_detail/37196.html";console.log(t)}}catch(e){console.log(e)}}))}))}o&&(u.videoInfo=o?JSON.parse(o).Vod:{},u.userData=c.default.encode(o)),u.ri=d.default.create(),this._uploadList.push(u),this._reportLog("20001",u,{ql:this._uploadList.length});try{this.options.addFileSuccess&&this.options.addFileSuccess(u)}catch(e){console.log(e)}return!0}},{key:"deleteFile",value:function(e){return!!this.cancelFile(e)&&(this._uploadList.splice(e,1),!0)}},{key:"cleanList",value:function(){this.stopUpload(),this._uploadList.length=0,this._curIndex=-1}},{key:"cancelFile",value:function(e){if(this.options,e<0||e>=this._uploadList.length)return!1;var t=this._uploadList[e];if(e==this._curIndex&&t.state==a.UPLOADSTATE.UPLOADING){t.state=a.UPLOADSTATE.CANCELED;var n=this._getCheckoutpoint(t);n&&n.checkpoint&&(n=n.checkpoint),n&&this._ossUpload.abort(t),this._removeCheckoutpoint(t),this.nextUpload()}else t.state!=a.UPLOADSTATE.SUCCESS&&(t.state=a.UPLOADSTATE.CANCELED);return this._reportLog("20008",t),!0}},{key:"resumeFile",value:function(e){if(this.options,e<0||e>=this._uploadList.length)return!1;var t=this._uploadList[e];return t.state==a.UPLOADSTATE.CANCELED&&(t.state=a.UPLOADSTATE.INIT,!0)}},{key:"listFiles",value:function(){return this._uploadList}},{key:"getCheckpoint",value:function(e){return this._getCheckoutpoint({file:e})}},{key:"startUpload",value:function(e){if(this._retryCount=0,this.options,this._state!=a.VODSTATE.START&&this._state!=a.VODSTATE.EXPIRE)if(this._initState(),this._curIndex=this._findUploadIndex(),-1!=this._curIndex){var t=this._uploadList[this._curIndex];this._ossUpload=null,this._upload(t),this._state=a.VODSTATE.START}else this._state=a.VODSTATE.END;else console.log("already started or expired")}},{key:"nextUpload",value:function(){var e=this.options;if(this._state==a.VODSTATE.START)if(this._curIndex=this._findUploadIndex(),-1!=this._curIndex){var t=this._uploadList[this._curIndex];this._ossUpload=null,this._upload(t)}else{this._state=a.VODSTATE.END;try{e.onUploadEnd&&e.onUploadEnd(t)}catch(e){console.log(e)}}}},{key:"clear",value:function(e){for(var t=this.options,n=0,r=0;r<this._uploadList.length;r++)t.uploadList[r].state==a.UPLOADSTATE.SUCCESS&&n++,this._uploadList[r].state==e&&(t.uploadList.splice(r,1),r--);t.onClear&&t.onClear(t.uploadList.length,n)}},{key:"stopUpload",value:function(){if((this._state==a.VODSTATE.START||this._state==a.VODSTATE.FAILURE||-1==this._curIndex)&&-1!=this._curIndex){var e=this._uploadList[this._curIndex];this._state=a.VODSTATE.STOP,e.state=a.UPLOADSTATE.STOPED,this._changeState(e,a.UPLOADSTATE.STOPED),this._ossUpload.cancel()}}},{key:"resumeUploadWithAuth",value:function(e){if(!e)return!1;var t=JSON.parse(c.default.decode(e));return!!(t.AccessKeyId&&t.AccessKeySecret&&t.SecurityToken&&t.Expiration)&&this.resumeUploadWithToken(t.AccessKeyId,t.AccessKeySecret,t.SecurityToken,t.Expiration)}},{key:"resumeUploadWithToken",value:function(e,t,n,r){if(this.options,!(e&&t&&n&&r))return!1;if(this._state!=a.VODSTATE.EXPIRE)return!1;if(-1==this._curIndex)return!1;var o="";return this._uploadList.length>this._curIndex&&(o=this._uploadList[this._curIndex]),o&&(this.init(e,t,n,r),this._state=a.VODSTATE.START,this._ossUpload=null,this._uploadCore(o,o.retry),o.retry=!1),!0}},{key:"resumeUploadWithSTSToken",value:function(e,t,n){if(-1==this._curIndex)return!1;if(this._state!=a.VODSTATE.EXPIRE)return!1;if(this._uploadList.length>this._curIndex){var r=this._uploadList[this._curIndex];r.object?this._refreshSTSTokenUpload(r,e,t,n):this.setSTSToken(r,e,t,n)}}},{key:"setSTSTokenDirectlyUpload",value:function(e,t,n,r,o){if(!(t&&n&&r&&o))return console.log("accessKeyId、ccessKeySecret、securityToken and expiration should not be empty."),!1;this._ut="oss";var i=e;this.init(t,n,r,o),i.endpoint=i._endpoint,i.bucket=i._bucket,i.object=i._object,this._ossUpload=null,this._uploadCore(i,e.retry),e.retry=!1}},{key:"setSTSToken",value:function(e,t,n,r){if(!t||!n||!r)return console.log("accessKeyId、ccessKeySecret、securityToken should not be empty."),!1;this._ut="vod",this._uploadWay="sts";var o=e.videoInfo,i={accessKeyId:t,securityToken:r,accessKeySecret:n,fileName:e.file.name,title:o.Title,requestId:e.ri,region:this.options.region};o.ImageType&&(i.imageType=o.ImageType),o.ImageExt&&(i.imageExt=o.ImageExt),o.FileSize&&(i.fileSize=o.FileSize),o.Description&&(i.description=o.Description),o.CateId&&(i.cateId=o.CateId),o.Tags&&(i.tags=o.Tags),o.TemplateGroupId&&(i.templateGroupId=o.TemplateGroupId),o.StorageLocation&&(i.storageLocation=o.StorageLocation),o.CoverURL&&(i.coverUrl=o.CoverURL),o.TransCodeMode&&(i.transCodeMode=o.TransCodeMode),o.UserData&&(i.userData=o.UserData),o.WorkflowId&&(i.WorkflowId=o.WorkflowId);var s=this,u="getUploadAuth";e.videoId?(i.videoId=e.videoId,u="refreshUploadAuth"):e.isImage&&(u="getImageUploadAuth"),h.default[u](i,(function(t){e.videoId=t.VideoId?t.VideoId:e.videoId,s.setUploadAuthAndAddress(e,t.UploadAuth,t.UploadAddress),s._state=a.VODSTATE.START}),(function(t){s._error(e,{name:t.Code,code:t.Code,message:t.Message,requestId:t.RequestId})}))}},{key:"setUploadAuthAndAddress",value:function(e,t,n,r){if(!e||!t||!n)return!1;var o=JSON.parse(c.default.decode(t));if(!(o.AccessKeyId&&o.AccessKeySecret&&o.SecurityToken&&o.Expiration))return console.error("uploadauth is invalid"),!1;var i={},a=e;if(n){if(!(i=JSON.parse(c.default.decode(n))).Endpoint||!i.Bucket||!i.FileName)return console.error("uploadAddress is invalid"),!1}else i.Endpoint=a.endpoint,i.Bucket=a.bucket,i.FileName=a.object;this._ut="vod",this._uploadWay="vod",this.options.region=o.Region||this.options.region,this.init(o.AccessKeyId,o.AccessKeySecret,o.SecurityToken,o.Expiration),a.endpoint=a._endpoint?a._endpoint:i.Endpoint,a.bucket=a._bucket?a._bucket:i.Bucket,a.object=a._object?a._object:i.FileName,a.region=this.options.region,r&&(a.videoId=r),this._ossUpload=null,this._uploadCore(a,e.retry),e.retry=!1}},{key:"_refreshSTSTokenUpload",value:function(e,t,n,r){if(!t||!n||!r)return console.log("accessKeyId、ccessKeySecret、securityToken should not be empty."),!1;var o={accessKeyId:t,securityToken:r,accessKeySecret:n,videoId:e.object,requestId:e.ri,region:this.options.region},i=this,s="refreshUploadAuth";e.isImage&&(s="getImageUploadAuth"),h.default[s](o,(function(t){i.setUploadAuthAndAddress(e,t.UploadAuth,UploadAddress),i._state=a.VODSTATE.START}),(function(t){i._error(e,{name:t.Code,code:t.Code,message:t.Message,requestId:t.RequestId})}))}},{key:"_upload",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.options;if(e.retry=t,n.onUploadstarted&&!t)try{var r=this._getCheckoutpoint(e);r&&r.state!=a.UPLOADSTATE.UPLOADING&&(e.checkpoint=r,e.videoId=r.videoId),n.onUploadstarted(e)}catch(e){console.log(e)}}},{key:"_uploadCore",value:function(e){if(!this._ossCreditor.accessKeyId||!this._ossCreditor.accessKeySecret||!this._ossCreditor.securityToken)throw new Error("AccessKeyId、AccessKeySecret、securityToken should not be null");if(e.state=a.UPLOADSTATE.UPLOADING,!this._ossUpload){e.endpoint=e.endpoint||"http://oss-cn-hangzhou.aliyuncs.com";var t=this;this._ossUpload=new o.default({bucket:e.bucket,endpoint:e.endpoint,AccessKeyId:this._ossCreditor.accessKeyId,AccessKeySecret:this._ossCreditor.accessKeySecret,SecurityToken:this._ossCreditor.securityToken,timeout:this.options.timeout,cname:this.options.cname},{onerror:function(e,n){t._error.call(t,e,n)},oncomplete:function(e,n){t._complete.call(t,e,n)},onprogress:function(e,n,r){t._progress.call(t,e,n,r)}})}var n=f.default.getFileType(e.file.name),r=this._getCheckoutpoint(e),c="",i="";r&&r.checkpoint&&(i=r.state,c=r.videoId,r=r.checkpoint),r&&c==e.videoId&&i!=a.UPLOADSTATE.UPLOADING&&(r.file=e.file,e.checkpoint=r,r.uploadId);var s=this._adjustPartSize(e);this._reportLog("20002",e,{ft:n,fs:e.file.size,bu:e.bucket,ok:e.object,vid:e.videoId||"",fn:e.file.name,fw:null,fh:null,ps:s});var u={headers:{"x-oss-notification":e.userData?e.userData:""},partSize:s,parallel:this.options.parallel};this._ossUpload.upload(e,u)}},{key:"_findUploadIndex",value:function(){for(var e=-1,t=0;t<this._uploadList.length;t++)if(this._uploadList[t].state==a.UPLOADSTATE.INIT){e=t;break}return e}},{key:"_error",value:function(e,t){if("cancel"==t.name)try{this.options.onUploadCanceled(e,t)}catch(e){console.log(e)}else{if(t.message.indexOf("InvalidAccessKeyIdError")>0||"SignatureDoesNotMatchError"==t.name||"SecurityTokenExpired"==t.code||"InvalidSecurityToken.Expired"==t.code||"InvalidAccessKeyId"==t.code&&this._ossCreditor.securityToken){if(this.options.onUploadTokenExpired){this._state=a.VODSTATE.EXPIRE,e.state=a.UPLOADSTATE.FAIlURE;try{this.options.onUploadTokenExpired(e,t)}catch(e){console.log(e)}}return}if(("RequestTimeoutError"==t.name||"ConnectionTimeout"==t.name||"ConnectionTimeoutError"==t.name)&&this._retryTotal>this._retryCount){var n=this;return setTimeout((function(){n._uploadCore(e,!0)}),1e3*n._retryDuration),void this._retryCount++}"NoSuchUploadError"==t.name&&this._removeCheckoutpoint(e),this._handleError(e,t)}}},{key:"_handleError",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=a.UPLOADSTATE.FAIlURE;if(e.state!=a.UPLOADSTATE.CANCELED&&(e.state=a.UPLOADSTATE.FAIlURE,this._state=a.VODSTATE.FAILURE,this.options.onUploadFailed&&t&&t.code&&t.message))try{this.options.onUploadFailed(e,t.code,t.message)}catch(e){console.log(e)}if(n&&this._changeState(e,r),this._reportLog("20006",e,{code:t.name,message:t.message,requestId:t.requestId,fs:e.file.size,bu:e.bucket,ok:e.object,fn:e.file.name}),this._reportLog("20004",e,{requestId:t.requestId,fs:e.file.size,bu:e.bucket,ok:e.object,fn:e.file.name}),e.ri=d.default.create(),-1!=this._findUploadIndex()){var o=this;this._state=a.VODSTATE.START,setTimeout((function(){o.nextUpload()}),100)}}},{key:"_complete",value:function(e,t){if(e.state=a.UPLOADSTATE.SUCCESS,this.options.onUploadSucceed)try{this.options.onUploadSucceed(e)}catch(e){console.log(e)}var n=0;t&&t.res&&t.res.headers&&(n=t.res.headers["x-oss-request-id"]),this._removeCheckoutpoint(e);var r=this;setTimeout((function(){r.nextUpload()}),100),this._retryCount=0,this._reportLog("20003",e,{requestId:n})}},{key:"_progress",value:function(e,t,n){if(this.options.onUploadProgress)try{e.loaded=t.loaded,this.options.onUploadProgress(e,t.total,t.loaded)}catch(e){console.log(e)}var r=t.checkpoint,o=0;r&&(e.checkpoint=r,this._saveCheckoutpoint(e,r,a.UPLOADSTATE.UPLOADING),o=r.uploadId),this._retryCount=0;var i=this._getPortNumber(r),s=0;if(n&&n.headers&&(s=n.headers["x-oss-request-id"]),0!=t.loaded&&this._reportLog("20007",e,{pn:i,requestId:s}),1!=t.loaded&&this._reportLog("20005",e,{UploadId:o,pn:i+1,pr:e.retry?1:0,fs:e.file.size,bu:e.bucket,ok:e.object,fn:e.file.name}),!this._invalidUserId&&!e.isImage&&"vod"==this._ut&&this.options.enableUploadProgress){var u={file:e.file,checkpoint:t,userId:this.options.userId,videoId:e.videoId,region:this.options.region,fileHash:e.fileHash};try{var c=this;m.default.upload(u,(function(){}),(function(e){if((e=JSON.parse(e))&&"InvalidParameter"==e.Code&&e.Message.indexOf("UserId")>0){c._invalidUserId=!0;var t=e.Message+",正确账号ID(userId)请参考:https://help.aliyun.com/knowledge_detail/37196.html";console.log(t)}}))}catch(e){console.log(e)}}}},{key:"_getPortNumber",value:function(e){if(e){var t=e.doneParts;if(t&&t.length>0)return t[t.length-1].number}return 0}},{key:"_removeCheckoutpoint",value:function(e){var t=this._getCheckoutpointKey(e);l.default.remove(t)}},{key:"_getCheckoutpoint",value:function(e){var t=this._getCheckoutpointKey(e),n=l.default.get(t);if(n)try{return JSON.parse(n)}catch(e){}return""}},{key:"_saveCheckoutpoint",value:function(e,t,n){if(t){var r=this._getCheckoutpointKey(e),o=e.file,i={fileName:o.name,lastModified:o.lastModified,size:o.size,object:e.object,videoId:e.videoId,bucket:e.bucket,endpoint:e.endpoint,checkpoint:t,loaded:e.loaded,state:n};l.default.set(r,JSON.stringify(i))}}},{key:"_changeState",value:function(e,t){var n=this._getCheckoutpoint(e);n&&((this._onbeforeunload=!0)&&(t=a.UPLOADSTATE.STOPED),this._saveCheckoutpoint(e,n.checkpoint,t))}},{key:"_getCheckoutpointKey",value:function(e){return"upload_"+e.file.lastModified+"_"+e.file.name+"_"+e.file.size}},{key:"_getCheckoutpointFromCloud",value:function(e,t,n){var r={userId:this.options.userId,uploadInfoList:[{FileName:e.file.name,FileSize:e.file.size,FileCreateTime:e.file.lastModified,FileHash:e.fileHash}],region:this.options.region};m.default.get(r,(function(e){t(e)}),n)}},{key:"_reportLog",value:function(e,t,n){n||(n={}),n.ri=t.ri,this._ut&&(n.ut=this._ut),this._log.log(e,n)}},{key:"_initEvent",value:function(){var e=this;window&&(window.onbeforeunload=function(t){if(e._onbeforeunload=!0,-1!=e._curIndex&&e._uploadList.length>e._curIndex){var n=e._uploadList[e._curIndex];e._changeState(n,a.UPLOADSTATE.STOPED)}})}},{key:"_initState",value:function(){for(var e=0;e<this._uploadList.length;e++){var t=this._uploadList[e];t.state!=a.UPLOADSTATE.FAIlURE&&t.state!=a.UPLOADSTATE.STOPED||(t.state=a.UPLOADSTATE.INIT)}this._state=a.VODSTATE.INIT}},{key:"_adjustPartSize",value:function(e){return e.file.size/this.options.partSize>1e4?e.file.size/9999:this.options.partSize}}]),e}());t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UPLOADSTATE={INIT:"Ready",UPLOADING:"Uploading",SUCCESS:"Success",FAIlURE:"Failure",CANCELED:"Canceled",STOPED:"Stoped"},t.VODSTATE={INIT:"Init",START:"Start",STOP:"Stop",FAILURE:"Failure",EXPIRE:"Expire",END:"End"}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(3),u=(r(n(17)),n(1)),o=(r(u),function(){function e(t,n){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t){this._config=t,this.create(this._config),this._uploadInfo=null,this._callback={};var r=function(){};this._callback.onerror=n.onerror||r,this._callback.oncomplete=n.oncomplete||r,this._callback.onprogress=n.onprogress||r}}return i(e,[{key:"create",value:function(e){if(e.endpoint=e.endpoint||this._config.endpoint,e.bucket=e.bucket||this._config.bucket,!(e.AccessKeyId&&e.AccessKeySecret&&e.endpoint&&e.SecurityToken))throw new Error("AccessKeyId、AccessKeySecret、endpoint should not be null");var t={accessKeyId:e.AccessKeyId,accessKeySecret:e.AccessKeySecret,stsToken:e.SecurityToken,endpoint:e.endpoint||this._config.endpoint,bucket:e.bucket||this._config.bucket,secure:!0,cname:e.cname};e.timeout&&(t.timeout=e.timeout),this.oss=new OSS(t)}},{key:"abort",value:function(e){if(e.checkpoint){var t=e.checkpoint.uploadId;this.oss.abortMultipartUpload(e.object,t)}}},{key:"getVersion",value:function(){}},{key:"cancel",value:function(){this.oss.cancel&&this.oss.cancel()}},{key:"upload",value:function(e,t){this._uploadInfo=e;var n=this,r=function(e,t,o){r=n._progress(e,t,o)},o={parallel:t.parallel||this._config.parallel||a.UPLOADDEFAULT.PARALLEL,partSize:t.partSize||this._config.partSize||a.UPLOADDEFAULT.PARTSIZE,progress:r};t.headers&&(o.headers=t.headers),e.checkpoint&&(o.checkpoint=e.checkpoint),e.bucket||(this.oss.options.bucket=e.bucket),e.endpoint||(this.oss.options.endpoint=e.endpoint),this.oss.multipartUpload(e.object,e.file,o).then((function(e,t){n._complete(e)})).catch((function(e){n.oss.cancel&&(n.oss&&n.oss.isCancel()?console.log("oss is cancel as error"):n.oss.cancel()),n._error(e)}))}},{key:"header",value:function(e,t,n){this.oss.get(e.object).then((function(e){t(e)})).catch((function(e){n(e)}))}},{key:"_progress",value:function(e,t,n){this._callback.onprogress(this._uploadInfo,{loaded:e,total:this._uploadInfo.file.size,checkpoint:t},n)}},{key:"_error",value:function(e){this._callback.onerror(this._uploadInfo,e)}},{key:"_complete",value:function(e){this._callback.oncomplete(this._uploadInfo,e)}}]),e}());t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,null,[{key:"format",value:function(e){if(arguments.length<2)return null;for(var t=arguments[1],n=1;n<arguments.length;n++){var r=new RegExp("\\{"+(n-1)+"\\}","gm");t=t.replace(r,arguments[n+1])}return{code:e,message:t}}},{key:"CODE",get:function(){return{SUCCESS:"Successful",EmptyValue:"InvalidParameter.EmptyValue",STSInvalid:"InvalidParameter.TokenInvalid",ReadFileError:"ReadFileError",FILEDUPLICATION:"FileDuplication",UploadALEADRYSTARTED:"UploadAlearyStarted"}}},{key:"MESSAGE",get:function(){return{SUCCESS:"Successful",EmptyValue:"参数 {0} 不能为空。",STSInvalid:"STS参数非法, accessKeyId、accessKeySecret、secretToken、expireTime都不能为空。",ReadFileError:"读取文件{0}{1}失败.",FILEDUPLICATION:"文件重复添加 {0}",UploadALEADRYSTARTED:"重复开始."}}}]),e}();t.default=i},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=function(){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t)}return n(t,null,[{key:"encode",value:function(t){return new e(t).toString("base64")}},{key:"decode",value:function(t){return new e(t,"base64").toString()}}]),t}();t.default=r}).call(t,n(19).Buffer)},function(e,t,n){"use strict";(function(e){function r(){return i.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(e,t){if(r()<t)throw new RangeError("Invalid typed array length");return i.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=i.prototype:(null===e&&(e=new i(t)),e.length=t),e}function i(e,t,n){if(!(i.TYPED_ARRAY_SUPPORT||this instanceof i))return new i(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return c(this,e)}return a(this,e,t,n)}function a(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r),i.TYPED_ARRAY_SUPPORT?(e=t).__proto__=i.prototype:e=l(e,t),e}(e,t,n,r):"string"==typeof t?function(e,t,n){if("string"==typeof n&&""!==n||(n="utf8"),!i.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|f(t,n),a=(e=o(e,r)).write(t,n);return a!==r&&(e=e.slice(0,a)),e}(e,t,n):function(e,t){if(i.isBuffer(t)){var n=0|p(t.length);return 0===(e=o(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||function(e){return e!=e}(t.length)?o(e,0):l(e,t);if("Buffer"===t.type&&z(t.data))return l(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function s(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function c(e,t){if(s(t),e=o(e,t<0?0:0|p(t)),!i.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function l(e,t){var n=t.length<0?0:0|p(t.length);e=o(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function p(e){if(e>=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|e}function f(e,t){if(i.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return M(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return q(e).length;default:if(r)return M(e).length;t=(""+t).toLowerCase(),r=!0}}function d(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return I(this,t,n);case"utf8":case"utf-8":return T(this,t,n);case"ascii":return A(this,t,n);case"latin1":case"binary":return C(this,t,n);case"base64":return S(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function h(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function m(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=i.from(t,r)),i.isBuffer(t))return 0===t.length?-1:_(e,t,n,r,o);if("number"==typeof t)return t&=255,i.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):_(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function _(e,t,n,r,o){function i(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}var c,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}if(o){var l=-1;for(c=n;c<s;c++)if(i(e,c)===i(t,-1===l?0:c-l)){if(-1===l&&(l=c),c-l+1===u)return l*a}else-1!==l&&(c-=c-l),l=-1}else for(n+u>s&&(n=s-u),c=n;c>=0;c--){for(var f=!0,d=0;d<u;d++)if(i(e,c+d)!==i(t,d)){f=!1;break}if(f)return c}return-1}function v(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function y(e,t,n,r){return $(M(t,e.length-n),e,n,r)}function w(e,t,n,r){return $(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function b(e,t,n,r){return w(e,t,n,r)}function x(e,t,n,r){return $(q(t),e,n,r)}function k(e,t,n,r){return $(function(e,t){for(var n,r,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)r=(n=e.charCodeAt(a))>>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function S(e,t,n){return 0===t&&n===e.length?B.fromByteArray(e):B.fromByteArray(e.slice(t,n))}function T(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var u,c,l,f,i=e[o],a=null,s=i>239?4:i>223?3:i>191?2:1;if(o+s<=n)switch(s){case 1:i<128&&(a=i);break;case 2:128==(192&(u=e[o+1]))&&(f=(31&i)<<6|63&u)>127&&(a=f);break;case 3:u=e[o+1],c=e[o+2],128==(192&u)&&128==(192&c)&&(f=(15&i)<<12|(63&u)<<6|63&c)>2047&&(f<55296||f>57343)&&(a=f);break;case 4:u=e[o+1],c=e[o+2],l=e[o+3],128==(192&u)&&128==(192&c)&&128==(192&l)&&(f=(15&i)<<18|(63&u)<<12|(63&c)<<6|63&l)>65535&&f<1114112&&(a=f)}null===a?(a=65533,s=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),o+=s}return function(e){var t=e.length;if(t<=K)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=K));return n}(r)}function A(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function C(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function I(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i<n;++i)o+=D(e[i]);return o}function O(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function E(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function U(e,t,n,r,o,a){if(!i.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<a)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function F(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);o<i;++o)e[n+o]=(t&255<<8*(r?o:1-o))>>>8*(r?o:1-o)}function R(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);o<i;++o)e[n+o]=t>>>8*(r?o:3-o)&255}function P(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function j(e,t,n,r,o){return o||P(e,0,n,4),N.write(e,t,n,r,23,4),n+4}function L(e,t,n,r,o){return o||P(e,0,n,8),N.write(e,t,n,r,52,8),n+8}function D(e){return e<16?"0"+e.toString(16):e.toString(16)}function M(e,t){t=t||1/0;for(var n,r=e.length,o=null,i=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function q(e){return B.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(H,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function $(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}var B=n(21),N=n(22),z=n(23);t.Buffer=i,t.SlowBuffer=function(e){return+e!=e&&(e=0),i.alloc(+e)},t.INSPECT_MAX_BYTES=50,i.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=r(),i.poolSize=8192,i._augment=function(e){return e.__proto__=i.prototype,e},i.from=function(e,t,n){return a(null,e,t,n)},i.TYPED_ARRAY_SUPPORT&&(i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0})),i.alloc=function(e,t,n){return function(e,t,n,r){return s(t),t<=0?o(e,t):void 0!==n?"string"==typeof r?o(e,t).fill(n,r):o(e,t).fill(n):o(e,t)}(null,e,t,n)},i.allocUnsafe=function(e){return c(null,e)},i.allocUnsafeSlow=function(e){return c(null,e)},i.isBuffer=function(e){return!(null==e||!e._isBuffer)},i.compare=function(e,t){if(!i.isBuffer(e)||!i.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,o=0,a=Math.min(n,r);o<a;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},i.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.concat=function(e,t){if(!z(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return i.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=i.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var a=e[n];if(!i.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,o),o+=a.length}return r},i.byteLength=f,i.prototype._isBuffer=!0,i.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)h(this,t,t+1);return this},i.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)h(this,t,t+3),h(this,t+1,t+2);return this},i.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)h(this,t,t+7),h(this,t+1,t+6),h(this,t+2,t+5),h(this,t+3,t+4);return this},i.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?T(this,0,e):d.apply(this,arguments)},i.prototype.equals=function(e){if(!i.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===i.compare(this,e)},i.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},i.prototype.compare=function(e,t,n,r,o){if(!i.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var a=(o>>>=0)-(r>>>=0),s=(n>>>=0)-(t>>>=0),u=Math.min(a,s),c=this.slice(r,o),l=e.slice(t,n),f=0;f<u;++f)if(c[f]!==l[f]){a=c[f],s=l[f];break}return a<s?-1:s<a?1:0},i.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},i.prototype.indexOf=function(e,t,n){return m(this,e,t,n,!0)},i.prototype.lastIndexOf=function(e,t,n){return m(this,e,t,n,!1)},i.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return v(this,e,t,n);case"utf8":case"utf-8":return y(this,e,t,n);case"ascii":return w(this,e,t,n);case"latin1":case"binary":return b(this,e,t,n);case"base64":return x(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var K=4096;i.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),i.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=i.prototype;else{var o=t-e;n=new i(o,void 0);for(var a=0;a<o;++a)n[a]=this[a+e]}return n},i.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||E(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},i.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||E(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},i.prototype.readUInt8=function(e,t){return t||E(e,1,this.length),this[e]},i.prototype.readUInt16LE=function(e,t){return t||E(e,2,this.length),this[e]|this[e+1]<<8},i.prototype.readUInt16BE=function(e,t){return t||E(e,2,this.length),this[e]<<8|this[e+1]},i.prototype.readUInt32LE=function(e,t){return t||E(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},i.prototype.readUInt32BE=function(e,t){return t||E(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},i.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||E(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r},i.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||E(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},i.prototype.readInt8=function(e,t){return t||E(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},i.prototype.readInt16LE=function(e,t){t||E(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},i.prototype.readInt16BE=function(e,t){t||E(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},i.prototype.readInt32LE=function(e,t){return t||E(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},i.prototype.readInt32BE=function(e,t){return t||E(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},i.prototype.readFloatLE=function(e,t){return t||E(e,4,this.length),N.read(this,e,!0,23,4)},i.prototype.readFloatBE=function(e,t){return t||E(e,4,this.length),N.read(this,e,!1,23,4)},i.prototype.readDoubleLE=function(e,t){return t||E(e,8,this.length),N.read(this,e,!0,52,8)},i.prototype.readDoubleBE=function(e,t){return t||E(e,8,this.length),N.read(this,e,!1,52,8)},i.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||U(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},i.prototype.writeUIntBE=function(e,t,n,r){e=+e,t|=0,n|=0,r||U(this,e,t,n,Math.pow(2,8*n)-1,0);var o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},i.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,1,255,0),i.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},i.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):F(this,e,t,!0),t+2},i.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):F(this,e,t,!1),t+2},i.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):R(this,e,t,!0),t+4},i.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):R(this,e,t,!1),t+4},i.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);U(this,e,t,n,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<n&&(a*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},i.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);U(this,e,t,n,o-1,-o)}var i=n-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},i.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,1,127,-128),i.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},i.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):F(this,e,t,!0),t+2},i.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):F(this,e,t,!1),t+2},i.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,4,2147483647,-2147483648),i.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):R(this,e,t,!0),t+4},i.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),i.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):R(this,e,t,!1),t+4},i.prototype.writeFloatLE=function(e,t,n){return j(this,e,t,!0,n)},i.prototype.writeFloatBE=function(e,t,n){return j(this,e,t,!1,n)},i.prototype.writeDoubleLE=function(e,t,n){return L(this,e,t,!0,n)},i.prototype.writeDoubleBE=function(e,t,n){return L(this,e,t,!1,n)},i.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var o,a=r-n;if(this===e&&n<t&&t<r)for(o=a-1;o>=0;--o)e[o+t]=this[o+n];else if(a<1e3||!i.TYPED_ARRAY_SUPPORT)for(o=0;o<a;++o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+a),t);return a},i.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!i.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var a;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(a=t;a<n;++a)this[a]=e;else{var s=i.isBuffer(e)?e:M(new i(e,r).toString()),u=s.length;for(a=0;a<n-t;++a)this[a+t]=s[a%u]}return this};var H=/[^+\/0-9A-Za-z-_]/g}).call(t,n(20))},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==("undefined"==typeof window?"undefined":r(window))&&(n=window)}e.exports=n},function(e,t,n){"use strict";function r(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function s(e){return o[e>>18&63]+o[e>>12&63]+o[e>>6&63]+o[63&e]}function u(e,t,n){for(var r,o=[],i=t;i<n;i+=3)r=(e[i]<<16&16711680)+(e[i+1]<<8&65280)+(255&e[i+2]),o.push(s(r));return o.join("")}t.byteLength=function(e){var t=r(e),n=t[0],o=t[1];return 3*(n+o)/4-o},t.toByteArray=function(e){var t,n,o=r(e),a=o[0],s=o[1],u=new l(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),f=0,d=s>0?a-4:a;for(n=0;n<d;n+=4)t=c[e.charCodeAt(n)]<<18|c[e.charCodeAt(n+1)]<<12|c[e.charCodeAt(n+2)]<<6|c[e.charCodeAt(n+3)],u[f++]=t>>16&255,u[f++]=t>>8&255,u[f++]=255&t;return 2===s&&(t=c[e.charCodeAt(n)]<<2|c[e.charCodeAt(n+1)]>>4,u[f++]=255&t),1===s&&(t=c[e.charCodeAt(n)]<<10|c[e.charCodeAt(n+1)]<<4|c[e.charCodeAt(n+2)]>>2,u[f++]=t>>8&255,u[f++]=255&t),u},t.fromByteArray=function(e){for(var t,n=e.length,r=n%3,c=[],i=0,a=n-r;i<a;i+=16383)c.push(u(e,i,i+16383>a?a:i+16383));return 1===r?(t=e[n-1],c.push(o[t>>2]+o[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],c.push(o[t>>10]+o[t>>4&63]+o[t<<2&63]+"=")),c.join("")};for(var o=[],c=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=0,g=f.length;p<g;++p)o[p]=f[p],c[f.charCodeAt(p)]=p;c["-".charCodeAt(0)]=62,c["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,r,o){var i,a,s=8*o-r-1,u=(1<<s)-1,c=u>>1,l=-7,f=n?o-1:0,d=n?-1:1,h=e[t+f];for(f+=d,i=h&(1<<-l)-1,h>>=-l,l+=s;l>0;i=256*i+e[t+f],f+=d,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=r;l>0;a=256*a+e[t+f],f+=d,l-=8);if(0===i)i=1-c;else{if(i===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),i-=c}return(h?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,s,u,c=8*i-o-1,l=(1<<c)-1,f=l>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,p=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?d/u:d*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(t*u-1)*Math.pow(2,o),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[n+h]=255&s,h+=p,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;e[n+h]=255&a,h+=p,a/=256,c-=8);e[n+h-p]|=128*g}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,null,[{key:"set",value:function(e,t){try{window.localStorage&&localStorage.setItem(e,t)}catch(n){window[e+"_localStorage"]=t}}},{key:"get",value:function(e){try{if(window.localStorage)return localStorage.getItem(e)}catch(t){return window[e+"_localStorage"]}return""}},{key:"remove",value:function(e){try{window.localStorage&&localStorage.removeItem(e)}catch(t){delete window[e+"_localStorage"]}}}]),e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,null,[{key:"get",value:function(e){for(var t=e+"",n=document.cookie.split(";"),r=0;r<n.length;r++){var o=n[r].trim();if(0==o.indexOf(t))return unescape(o.substring(t.length+1,o.length))}return""}},{key:"set",value:function(e,t,n){var r=new Date;r.setTime(r.getTime()+24*n*60*60*1e3);var o="expires="+r.toGMTString();document.cookie=e+"="+escape(t)+"; "+o}}]),e}();t.default=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=r(n(8)),o=r(n(9)),c=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return i(e,null,[{key:"refreshUploadAuth",value:function(e,t,n){var r=(o.default.randomUUID(),o.default.randomUUID()),c={AccessKeyId:e.accessKeyId,SecurityToken:e.securityToken,Action:"RefreshUploadVideo",VideoId:e.videoId,Version:"2017-03-21",Format:"JSON",SignatureMethod:"HMAC-SHA1",SignatureVersion:"1.0",SignatureNonce:r,RequestId:e.requestId},i=o.default.makeUTF8sort(c,"=","&")+"&Signature="+o.default.aliyunEncodeURI(o.default.makeChangeSiga(c,e.accessKeySecret)),a="https://vod."+e.region+".aliyuncs.com/?"+i;s.default.get(a,(function(e){e=JSON.parse(e);t&&t(e)}),(function(e){if(n){var t=JSON.parse(e);n(t)}}))}},{key:"getUploadAuth",value:function(e,t,n){var r=(o.default.randomUUID(),o.default.randomUUID()),c={AccessKeyId:e.accessKeyId,SecurityToken:e.securityToken,Action:"CreateUploadVideo",Title:e.title,FileName:e.fileName,Version:"2017-03-21",Format:"JSON",SignatureMethod:"HMAC-SHA1",SignatureVersion:"1.0",SignatureNonce:r,RequestId:e.requestId};e.fileSize&&(c.FileSize=e.fileSize),e.description&&(c.Description=e.description),e.cateId&&(c.CateId=e.cateId),e.tags&&(c.Tags=e.tags),e.templateGroupId&&(c.TemplateGroupId=e.templateGroupId),e.storageLocation&&(c.StorageLocation=e.storageLocation),e.coverUrl&&(c.CoverURL=e.coverUrl),e.transCodeMode&&(c.TransCodeMode=e.transCodeMode),e.userData&&(c.UserData=JSON.stringify(e.userData)),e.WorkflowId&&(c.WorkflowId=e.WorkflowId);var i=o.default.makeUTF8sort(c,"=","&")+"&Signature="+o.default.aliyunEncodeURI(o.default.makeChangeSiga(c,e.accessKeySecret)),a="https://vod."+e.region+".aliyuncs.com/?"+i;s.default.get(a,(function(e){try{e=JSON.parse(e)}catch(e){if(n)return void n({Code:"GetUploadAuthFailed",Message:"获取uploadauth失败"})}t&&t(e)}),(function(e){if(n){var t={Code:"GetUploadAuthFailed",Message:"获取uploadauth失败"};try{t=JSON.parse(e)}catch(e){}n(t)}}))}},{key:"getImageUploadAuth",value:function(e,t,n){var r=(o.default.randomUUID(),o.default.randomUUID()),c={AccessKeyId:e.accessKeyId,SecurityToken:e.securityToken,Action:"CreateUploadImage",ImageType:e.imageType?e.imageType:"default",Version:"2017-03-21",Format:"JSON",SignatureMethod:"HMAC-SHA1",SignatureVersion:"1.0",SignatureNonce:r,RequestId:e.requestId};e.title&&(c.Title=e.title),e.imageExt&&(c.ImageExt=e.imageExt),e.tags&&(c.Tags=e.tags),e.storageLocation&&(c.StorageLocation=e.storageLocation);var i=o.default.makeUTF8sort(c,"=","&")+"&Signature="+o.default.aliyunEncodeURI(o.default.makeChangeSiga(c,e.accessKeySecret)),a="https://vod."+e.region+".aliyuncs.com/?"+i;s.default.get(a,(function(e){e=JSON.parse(e),t&&t(e)}),(function(e){if(n){var t=JSON.parse(e);n(t)}}))}}]),e}();t.default=c},function(e,t,n){e.exports=function(e){return e.HmacSHA1}(n(0),n(28),n(29))},function(e,t,n){e.exports=function(e){return function(){var t=e,n=t.lib,r=n.WordArray,o=n.Hasher,i=t.algo,a=[],s=i.SHA1=o.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],s=n[3],u=n[4],c=0;c<80;c++){if(c<16)a[c]=0|e[t+c];else{var l=a[c-3]^a[c-8]^a[c-14]^a[c-16];a[c]=l<<1|l>>>31}var f=(r<<5|r>>>27)+u+a[c];f+=c<20?1518500249+(o&i|~o&s):c<40?1859775393+(o^i^s):c<60?(o&i|o&s|i&s)-1894007588:(o^i^s)-899497514,u=s,s=i,i=o<<30|o>>>2,o=r,r=f}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+i|0,n[3]=n[3]+s|0,n[4]=n[4]+u|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA1=o._createHelper(s),t.HmacSHA1=o._createHmacHelper(s)}(),e.SHA1}(n(0))},function(e,t,n){e.exports=function(e){!function(){var t=e,n=t.lib.Base,i=t.enc.Utf8;t.algo.HMAC=n.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=i.parse(t));var n=e.blockSize,r=4*n;t.sigBytes>r&&(t=e.finalize(t)),t.clamp();for(var o=this._oKey=t.clone(),a=this._iKey=t.clone(),s=o.words,u=a.words,c=0;c<n;c++)s[c]^=1549556828,u[c]^=909522486;o.sigBytes=a.sigBytes=r,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,n=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(n))}})}()}(n(0))},function(e,t,n){e.exports=function(e){return function(){function t(e,t,n){for(var o=[],i=0,a=0;a<t;a++)if(a%4){var s=n[e.charCodeAt(a-1)]<<a%4*2,u=n[e.charCodeAt(a)]>>>6-a%4*2;o[i>>>2]|=(s|u)<<24-i%4*8,i++}return r.create(o,i)}var n=e,r=n.lib.WordArray;n.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var o=[],i=0;i<n;i+=3)for(var c=(t[i>>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,l=0;l<4&&i+.75*l<n;l++)o.push(r.charAt(c>>>6*(3-l)&63));var f=r.charAt(64);if(f)for(;o.length%4;)o.push(f);return o.join("")},parse:function(e){var n=e.length,r=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var i=0;i<r.length;i++)o[r.charCodeAt(i)]=i}var a=r.charAt(64);if(a){var s=e.indexOf(a);-1!==s&&(n=s)}return t(e,n,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),e.enc.Base64}(n(0))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=r(n(8)),o=r(n(7)),c=r(n(4)),l=r(n(6)),g=r(n(1)),f=r(n(9)),d=n(2),h=n(11),m=n(10),_=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return i(e,null,[{key:"getAuthInfo",value:function(e,t,n){var r=e+"|f#Ylm&^1TppeRhLg|"+n;return t&&(r=e+"|"+t+"|f#Ylm&^1TppeRhLg|"+n),d(m.parse(r)).toString(h)}},{key:"upload",value:function(t,n,r){var d=g.default.ISODateString(new Date),i=Math.floor((new Date).valueOf()/1e3),a=c.default.getClientId();a=c.default.setClientId(a);var u=e.getAuthInfo(t.userId,a,i),h=f.default.randomUUID(),m={Source:"WebSDK",BusinessType:"UploadVideo",Action:"ReportUploadProgress",TerminalType:"H5",DeviceModel:o.default.browser.name+(o.default.browser.version||""),AppVersion:l.default.version,AuthTimestamp:i,Timestamp:d,AuthInfo:u,FileName:t.file.name,FileSize:t.file.size,FileCreateTime:t.file.lastModified,FileHash:t.fileHash,UploadId:t.checkpoint.checkpoint.uploadId,PartSize:t.checkpoint.checkpoint.partSize,DonePartsCount:t.checkpoint.checkpoint.doneParts.length,UploadPoint:JSON.stringify(t.checkpoint),UploadRatio:t.checkpoint.loaded,UserId:t.userId,VideoId:t.videoId,Version:"2017-03-21",Format:"JSON",SignatureMethod:"HMAC-SHA1",SignatureVersion:"1.0",SignatureNonce:h};a&&(m.ClientId=a);var p=f.default.makeUTF8sort(m,"=","&")+"&Signature="+f.default.aliyunEncodeURI(f.default.makeChangeSiga(m,t.accessKeySecret)),_="https://vod."+t.region+".aliyuncs.com/?"+p;s.default.get(_,(function(e){n&&n()}),(function(e){e&&(r(e),console.log(e))}))}},{key:"get",value:function(t,n,r){var d=g.default.ISODateString(new Date),i=Math.floor((new Date).valueOf()/1e3),a=c.default.getClientId(),u=e.getAuthInfo(t.userId,a,i),h=f.default.randomUUID(),m={Source:"WebSDK",BusinessType:"UploadVideo",Action:"GetUploadProgress",TerminalType:"H5",DeviceModel:o.default.browser.name+(o.default.browser.version||""),AppVersion:l.default.version,AuthTimestamp:i,Timestamp:d,AuthInfo:u,UserId:t.userId,UploadInfoList:JSON.stringify(t.uploadInfoList),Version:"2017-03-21",Format:"JSON",SignatureMethod:"HMAC-SHA1",SignatureVersion:"1.0",SignatureNonce:h};a&&(m.ClientId=a);var p=f.default.makeUTF8sort(m,"=","&")+"&Signature="+f.default.aliyunEncodeURI(f.default.makeChangeSiga(m,t.accessKeySecret)),_="https://vod."+t.region+".aliyuncs.com/?"+p;s.default.get(_,(function(e){var t={},r=a;(e=e?JSON.parse(e):{}).UploadProgress&&e.UploadProgress.UploadProgressList&&e.UploadProgress.UploadProgressList.length>0&&(r=(t=e.UploadProgress.UploadProgressList[0]).ClientId),c.default.setClientId(r),n&&n(t)}),(function(e){e&&(r(e),console.log(e))}))}}]),e}();t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(2),a=n(33),s=(n(11),function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,null,[{key:"getMd5",value:function(e,t,n){var r=new FileReader;r.onload=function(e){try{if(e&&e.target){var n=i(a.parse(e.target.result)).toString();t(n)}}catch(e){console.log(e)}},r.onerror=function(e){console.log(e),errorCallback(e)};var s=(File.prototype.slice||File.prototype.mozSlice||File.prototype.webkitSlice).call(e,0,1024);r.readAsBinaryString(s)}}]),e}());t.default=s},function(e,t,n){e.exports=function(e){return e.enc.Latin1}(n(0))}])},443:function(e,t,n){"use strict";n.r(t);n(18);var r=n(6),o=(n(30),n(191),n(723)),c=n(430),l=n.n(c),f=n(580),d=n(444),h=n(583),m=(n(134),{props:{id:{type:Number,default:0}},components:{task_log:o.default,Tinymce:f.a,admin_user:d.a,admin_user_batch:h.a},data:function(){return{loading:!1,direction:"rtl",log:{id:0,type:4},postForm:{cate_id:"0",extra:[]},user_list:[],offer_list:[],apply_list_user:[],info:{enforcer_uid:""},activeName:"log"}},created:function(){this.getInfo()},methods:{copy:function(){var e=new l.a(".tag-read");e.on("success",(function(t){e.destroy()})),e.on("error",(function(t){e.destroy()}))},getInfo:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,e.$post("/uapi/pub/info/admin/task/info",{id:e.id});case 3:n=t.sent,e.info=n.data,e.log.id=e.id,e.loading=!1;case 7:case"end":return t.stop()}}),t)})))()},set_enforcer_uid:function(e){var t=this;return Object(r.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t.request_api("/uapi/pub/bool/admin/task/set_enforcer_uid",{enforcer_uid:e,task_id:t.id});case 1:case"end":return n.stop()}}),n)})))()},set_followers_uid:function(e){var t=this;return Object(r.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t.request_api("/uapi/pub/bool/admin/task_user/set_followers_uid",{followers_uid:e,task_id:t.id});case 1:case"end":return n.stop()}}),n)})))()},offer_drawer:function(e,t){var n=this;return Object(r.a)(regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:n.offer.drawer=!0,n.offer.project_id=e,n.offer.offer_id=t;case 3:case"end":return r.stop()}}),r)})))()},publish_child:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.activeName="edit";case 1:case"end":return t.stop()}}),t)})))()},prompt:function(e,t){var n=this;return Object(r.a)(regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:n.$prompt("请输入理由","操作",{confirmButtonText:"确定",cancelButtonText:"取消"}).then((function(r){var o=r.value;t.memo=o,n.request_api(e,t)})).catch((function(){}));case 1:case"end":return r.stop()}}),r)})))()},request_api:function(e,t){var n=this;return Object(r.a)(regeneratorRuntime.mark((function r(){var o;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n.loading=!0,r.next=3,n.$post(e,t);case 3:(o=r.sent)&&1===o.status?(n.$notify({title:"成功",message:"操作成功",type:"success",duration:2e3}),n.getInfo(),n.$refs.task_log.getList(),n.$refs.editor.set_content(""),n.$parent.$parent.getList()):n.$refs.editor.set_focus(),n.loading=!1;case 6:case"end":return r.stop()}}),r)})))()},confirm:function(e,t){var n=this;return Object(r.a)(regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:n.$confirm("是否确认操作","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){n.request_api(e,t)})).catch((function(){}));case 1:case"end":return r.stop()}}),r)})))()},tab_change:function(e,t){var n=this;return Object(r.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:"recommend"==n.activeName?n.user_list_api():"invite"==n.activeName?n.apply_list_user_api():"offer"==n.activeName&&n.offer_list_by_project();case 1:case"end":return e.stop()}}),e)})))()}}}),_=(n(598),n(599),n(4)),component=Object(_.a)(m,(function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"content"},[t("div",{staticClass:"left"},[1!=e.info.status||1e4==e.info.uid||e.info.uid!=e.info.login_uid&&e.info.login_uid!=e.info.enforcer_uid?e._e():t("div",{staticClass:"user_info",staticStyle:{"justify-content":"unset","padding-bottom":"30px"}},[t("el-button",{attrs:{type:"success"},on:{click:function(t){return e.confirm("/uapi/pub/bool/admin/task/end",{task_id:e.id})}}},[e._v("完成任务")]),e._v(" "),t("el-button",{attrs:{type:"success"},on:{click:function(t){return e.confirm("/uapi/pub/bool/admin/task/cancel",{task_id:e.id})}}},[e._v("取消任务")])],1),e._v(" "),1!=e.info.status||1e4!=e.info.uid||e.info.uid!=e.info.login_uid&&e.info.login_uid!=e.info.enforcer_uid?e._e():t("div",{staticClass:"user_info",staticStyle:{"justify-content":"unset","padding-bottom":"30px"}},[t("el-button",{attrs:{type:"success"},on:{click:function(t){return e.confirm("/uapi/pub/bool/admin/task/end",{task_id:e.id})}}},[e._v("审核通过")]),e._v(" "),t("el-button",{attrs:{type:"success"},on:{click:function(t){return e.prompt("/uapi/pub/bool/admin/task/cancel",{task_id:e.id})}}},[e._v("审核拒绝")])],1),e._v(" "),t("div",{staticClass:"title",staticStyle:{"font-weight":"600","font-size":"18px","line-height":"25px","margin-top":"10px","margin-bottom":"20px"}},[e._v("\n "+e._s(e.info.name)+"\n "),t("el-tag",{staticStyle:{"margin-left":"10px"},attrs:{size:"mini",type:e.info.priority_type,effect:"dark"}},[e._v("\n "+e._s(e.info.priority_text)+"任务\n ")])],1),e._v(" "),t("div",{staticClass:"date",staticStyle:{"margin-top":"20px",display:"flex",height:"40px","line-height":"40px","font-size":"12px","justify-content":"space-between"}},[t("span",[e._v("任务编号:")]),e._v(" "),t("span",[e._v(e._s(e.info.id)+"\n "),t("el-button",{staticClass:"tag-read",attrs:{size:"small","data-clipboard-text":"https://rooter.proginn.com/main/task?task_id=".concat(e.info.id),type:"success"},on:{click:e.copy}},[e._v("复制链接")])],1)]),e._v(" "),t("div",{staticClass:"date",staticStyle:{"margin-top":"20px",display:"flex",height:"40px","line-height":"40px","font-size":"12px","justify-content":"space-between"}},[t("span",[e._v("发起人:")]),e._v(" "),t("span",[e._v(e._s(e.info.uid)+"-"+e._s(e.info.uid_name))])]),e._v(" "),t("div",{staticClass:"date",staticStyle:{"margin-top":"20px",display:"flex",height:"40px","line-height":"40px","font-size":"12px","justify-content":"space-between"}},[t("span",[e._v("执行用户:")]),e._v(" "),t("admin_user",{staticStyle:{width:"150px"},attrs:{change:e.set_enforcer_uid},model:{value:e.info.enforcer_uid,callback:function(t){e.$set(e.info,"enforcer_uid",t)},expression:"info.enforcer_uid"}})],1),e._v(" "),t("div",{staticClass:"date",staticStyle:{"margin-top":"20px",display:"flex","line-height":"40px","font-size":"12px","justify-content":"space-between"}},[t("span",[e._v("通知用户:")]),e._v(" "),t("admin_user_batch",{staticStyle:{width:"250px",display:"flex","justify-content":"right"},attrs:{change:e.set_followers_uid},model:{value:e.info.followers,callback:function(t){e.$set(e.info,"followers",t)},expression:"info.followers"}})],1),e._v(" "),t("el-divider",[e._v("基础信息")]),e._v(" "),t("div",{staticClass:"date",staticStyle:{display:"flex",height:"40px","line-height":"40px","font-size":"12px","justify-content":"space-between","margin-top":"20px"}},[t("span",[e._v("结束时间:")]),e._v(" "),t("span",[t("el-date-picker",{attrs:{type:"date",placeholder:"选择日期",format:"yyyy 年 MM 月 dd 日","value-format":"yyyy-MM-dd"},on:{change:function(t){return e.request_api("/uapi/pub/bool/admin/task/set_etime",{task_id:e.id,etime:e.info.etime})}},model:{value:e.info.etime,callback:function(t){e.$set(e.info,"etime",t)},expression:"info.etime"}})],1)]),e._v(" "),e._l(e.info.extra,(function(n){return t("div",[t("el-divider",[t("span",{staticStyle:{"font-weight":"bold"}},[e._v(e._s(n.key))])]),e._v(" "),1==n.type?t("div",{staticClass:"date html",staticStyle:{"line-height":"30px","font-size":"14px","word-break":"break-all"},domProps:{innerHTML:e._s(n.val_value)}}):e._e(),e._v(" "),2==n.type?t("div",{staticClass:"date html",staticStyle:{"line-height":"30px","font-size":"14px","word-break":"break-all"},domProps:{innerHTML:e._s(n.val_value)}}):e._e(),e._v(" "),3==n.type?t("div",{staticClass:"date html",staticStyle:{"line-height":"30px","font-size":"14px","word-break":"break-all"},domProps:{innerHTML:e._s(n.val_value)}}):e._e(),e._v(" "),4==n.type?t("div",{staticClass:"date html",staticStyle:{"line-height":"30px","font-size":"14px","word-break":"break-all"},domProps:{innerHTML:e._s(n.val_value)}}):e._e(),e._v(" "),5==n.type?t("div",{staticClass:"date html",staticStyle:{"line-height":"30px","font-size":"14px","word-break":"break-all"}},e._l(n.val_value,(function(n,r){return t("a",{staticStyle:{"margin-right":"20px",color:"#1890ff"},attrs:{href:n.url,target:"_blank"}},[e._v("文件"+e._s(r+1))])})),0):e._e(),e._v(" "),6==n.type?t("div",{staticClass:"date html",staticStyle:{"line-height":"30px","font-size":"14px","word-break":"break-all"}},e._l(n.val_value,(function(n,r){return t("a",{staticStyle:{"margin-right":"20px",color:"#1890ff"},attrs:{href:n.url,target:"_blank"}},[e._v("文件"+e._s(r+1))])})),0):e._e(),e._v(" "),7==n.type?t("div",{staticClass:"date html",staticStyle:{"line-height":"30px","font-size":"14px","word-break":"break-all"}},[t("a",{staticStyle:{color:"blue"},attrs:{target:"_blank",href:n.val_value}},[e._v(e._s(n.val_value))])]):e._e()],1)})),e._v(" "),t("el-divider",[e._v("备注信息")]),e._v(" "),t("div",{staticClass:"date html",staticStyle:{"font-weight":"bold","line-height":"30px","font-size":"16px","word-break":"break-all"},domProps:{innerHTML:e._s(e.info.memo)}}),e._v(" "),1!=e.info.status?t("div",{staticClass:"user_info",staticStyle:{"justify-content":"unset","padding-bottom":"30px"}},[t("el-button",{staticStyle:{width:"100%"},attrs:{type:"success"},on:{click:function(t){return e.confirm("/uapi/pub/bool/admin/task/start",{task_id:e.id})}}},[e._v("重开任务")])],1):e._e()],2),e._v(" "),t("div",{staticClass:"right"},[t("task_log",{ref:"task_log",attrs:{id:e.id}})],1),e._v(" "),t("div",{staticClass:"left",staticStyle:{"margin-right":"0px","margin-left":"20px"}},[12==e.info.status?t("div",{staticClass:"user_info",staticStyle:{"justify-content":"unset"}},[t("el-button",{attrs:{type:"success"},on:{click:function(t){return e.offer_drawer(e.info.id,0)}}},[e._v("完成任务")]),e._v(" "),t("el-button",{attrs:{type:"success"},on:{click:function(t){return e.offer_drawer(e.info.id,0)}}},[e._v("取消任务")])],1):e._e(),e._v(" "),t("el-divider",[e._v("添加任务备注")]),e._v(" "),t("div",{staticClass:"user_info",staticStyle:{"justify-content":"right"}},[t("Tinymce",{ref:"editor",attrs:{height:300},model:{value:e.postForm.memo,callback:function(t){e.$set(e.postForm,"memo",t)},expression:"postForm.memo"}})],1),e._v(" "),t("div",{staticClass:"user_info",staticStyle:{"justify-content":"right"}},[t("el-button",{staticStyle:{width:"100%"},attrs:{type:"success"},on:{click:function(t){return e.request_api("/uapi/pub/bool/admin/task_log/add",{content:e.postForm.memo,task_id:e.id})}}},[e._v("添加备注")])],1)],1)])}),[],!1,null,"6188e26f",null);t.default=component.exports},444:function(e,t,n){"use strict";var r=n(6),o=(n(30),{data:function(){return{select_val:"",options:[]}},props:{change:{type:Function},value:{}},watch:{value:function(e,t){this.select_val=e}},mounted:function(){this.select_val=this.value,this.getCateGory()},methods:{handleChange:function(e){this.$emit("input",e),"function"==typeof this.change&&this.change(e)},getCateGory:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$post("/uapi/pub/list/admin/admin_user/list");case 2:n=t.sent,e.options=n.data;case 4:case"end":return t.stop()}}),t)})))()}}}),c=(n(596),n(4)),component=Object(c.a)(o,(function(){var e=this,t=e._self._c;return t("div",[t("el-select",{attrs:{placeholder:"请选择"},on:{change:e.handleChange},model:{value:e.select_val,callback:function(t){e.select_val=t},expression:"select_val"}},e._l(e.options,(function(e){return t("el-option",{key:e.uid,attrs:{label:e.real_name,value:e.uid}})})),1)],1)}),[],!1,null,"8a582e9a",null);t.a=component.exports},445:function(e,t,n){"use strict";var r=n(6),o=(n(30),{data:function(){return{img1:{url:"https://filescdn.proginn.com/works/60c994ae9f2d41aec531bd179fc3e9164cbde018.png",srcList:["https://filescdn.proginn.com/works/60c994ae9f2d41aec531bd179fc3e9164cbde018.png"]},form:{memo:"",type:1,memo_zdy:"",memo_type:1},info:{user:{},check:{},info:{},user_experience:{}},loading:!0}},components:{},props:{back:{type:Object}},mounted:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.get_info();case 1:case"end":return t.stop()}}),t)})))()},methods:{submit:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var data;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,1==(data=e.form).memo_type?data.memo="证明不合规或不清晰":2==data.memo_type?data.memo="证明无法证明该段工作经历":3==data.memo_type?data.memo="参保时间和工作时间相差过大":-1==data.memo_type&&(data.memo=data.memo_zdy),data.pro_id=e.back.drawer.id,data.id=e.back.drawer.id,t.next=7,e.$post("/uapi/pub/info/user/user_experience_rz/check",data);case 7:1==t.sent.status&&(e.$message.success("审核成功"),e.get_info(),e.back.getList(!1),e.back.get_status()),e.loading=!1;case 10:case"end":return t.stop()}}),t)})))()},get_info:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,e.$post("/uapi/pub/info/user/user_experience_rz/info",{id:e.back.drawer.id});case 3:1==(n=t.sent).status&&(e.info=n.data),e.loading=!1;case 6:case"end":return t.stop()}}),t)})))()}}}),c=(n(635),n(4)),component=Object(c.a)(o,(function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"info",attrs:{id:"workexp"}},[t("div",{staticStyle:{"border-bottom":"1px solid #ebeef5"}},[t("div",{staticStyle:{display:"flex","justify-content":"space-between","justify-items":"center","align-items":"center"}},[t("div",{staticClass:"show"},[t("h4",[t("a",{attrs:{href:"".concat(e.info.user.env,"/rooter/user/").concat(e.info.user.uid),target:"_blank"}},[t("span",{staticStyle:{color:"#2b2f3a",margin:"0px"}},[e._v(e._s(e.info.user.nickname))]),e._v("("+e._s(e.info.user.uid)+")")])])]),e._v(" "),t("div",[1==e.info.info.status?t("span",{staticStyle:{color:"#409eff"}},[e._v("待审核")]):e._e(),e._v(" "),2==e.info.info.status?t("span",{staticStyle:{color:"#67c23a"}},[e._v("已通过")]):e._e(),e._v(" "),3==e.info.info.status?t("span",{staticStyle:{color:"red"}},[e._v("已拒绝")]):e._e()])])]),e._v(" "),t("div",{staticStyle:{"border-bottom":"1px solid #ebeef5"}},[t("div",{staticStyle:{display:"flex","justify-content":"space-between","justify-items":"center","align-items":"center"}},[t("div",{staticClass:"show"},[t("h4",[t("span",[e._v(e._s("".concat(e.info.user_experience.start_time," - ").concat(e.info.user_experience.end_time||"至今"," ").concat(e.info.user_experience.company," ").concat(e.info.user_experience.title)))])]),e._v(" "),t("p",{staticClass:"desc"},[e._v(e._s(e.info.user_experience.description))])])])]),e._v(" "),t("div",{staticStyle:{"border-bottom":"1px solid #ebeef5"}},[t("div",{staticClass:"title"},[e._v("社保证明")]),e._v(" "),t("p",{staticClass:"desc"},e._l(e.info.info.img_list,(function(n,r){return t("span",[t("a",{attrs:{href:n,target:"_blank"}},[e._v("文件"+e._s(r+1))]),e._v("  ")])})),0),e._v(" "),e.info.info.memo?t("p",{staticClass:"desc"},[e._v("备注:"+e._s(e.info.info.memo))]):e._e()]),e._v(" "),t("div",{staticStyle:{"border-bottom":"1px solid #ebeef5"}},[t("div",{staticClass:"title"}),e._v(" "),t("div",[t("el-radio-group",{model:{value:e.form.type,callback:function(t){e.$set(e.form,"type",t)},expression:"form.type"}},[t("el-radio",{attrs:{label:1}},[e._v("通过")]),e._v(" "),t("el-radio",{attrs:{label:2}},[e._v("拒绝")])],1)],1),e._v(" "),2==e.form.type?t("div",{staticClass:"title"},[e._v("拒绝理由")]):e._e(),e._v(" "),2==e.form.type?t("div",[t("el-radio-group",{staticStyle:{display:"flex","flex-direction":"column"},model:{value:e.form.memo_type,callback:function(t){e.$set(e.form,"memo_type",t)},expression:"form.memo_type"}},[t("el-radio",{staticStyle:{"margin-bottom":"10px"},attrs:{label:1}},[e._v("证明不合规或不清晰")]),e._v(" "),t("el-radio",{staticStyle:{"margin-bottom":"10px"},attrs:{label:2}},[e._v("证明无法证明该段工作经历")]),e._v(" "),t("el-radio",{staticStyle:{"margin-bottom":"10px"},attrs:{label:3}},[e._v("参保时间和工作时间相差过大")]),e._v(" "),t("el-radio",{staticStyle:{"margin-bottom":"10px"},attrs:{label:-1}},[e._v("其它")])],1)],1):e._e(),e._v(" "),-1==e.form.memo_type?t("div",[t("el-input",{attrs:{placeholder:"请输入拒绝理由"},model:{value:e.form.memo_zdy,callback:function(t){e.$set(e.form,"memo_zdy",t)},expression:"form.memo_zdy"}})],1):e._e(),e._v(" "),t("div",{staticClass:"title"}),e._v(" "),t("div",[t("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.submit()}}},[e._v("确认")])],1),e._v(" "),t("div",{staticClass:"title"})]),e._v(" "),e.info.check.uid?t("div",[t("div",{staticClass:"title"},[e._v("审核记录:")]),e._v(" "),t("p",{staticClass:"desc"},[e._v("审核人: "),t("a",{attrs:{href:"".concat(e.info.check.env,"/rooter/user/").concat(e.info.check.uid),target:"_blank"}},[t("span",{staticStyle:{color:"#2b2f3a",margin:"0px"}},[e._v(e._s(e.info.check.nickname))]),e._v("("+e._s(e.info.check.uid)+")")])]),e._v(" "),t("p",{staticClass:"desc"},[e._v("审核时间:"+e._s(e.info.info.checktime))]),e._v(" "),t("p",{staticClass:"desc"},[e._v("审核内容:"+e._s(e.info.info.content))])]):e._e()])}),[],!1,null,"45a56d93",null);t.a=component.exports},446:function(e,t,n){"use strict";var r=n(6),o=(n(30),n(191),{props:{value:{},type:{type:Number,default:0},category_change:{type:Function}},data:function(){return{type_val:0,select_val:[],options:[]}},watch:{type:function(e,t){this.type_val=e,this.getCateGory()}},mounted:function(){this.type_val=this.type,this.getCateGory()},methods:{handleChange:function(e){this.$emit("input",e),"function"==typeof this.category_change&&this.category_change(this.select_val[1])},getCateGory:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$post("/uapi/pub/list/admin/category/get_cate_ab",{type:e.type_val});case 2:n=t.sent,e.options=n.data;case 4:case"end":return t.stop()}}),t)})))()}}}),c=(n(668),n(4)),component=Object(c.a)(o,(function(){var e=this,t=e._self._c;return t("div",[t("el-cascader",{attrs:{clearable:!0,placeholder:"请选择分类",options:e.options},on:{change:e.handleChange},model:{value:e.select_val,callback:function(t){e.select_val=t},expression:"select_val"}})],1)}),[],!1,null,"aa28622e",null);t.a=component.exports},451:function(e,t,n){},452:function(e,t,n){},453:function(e,t,n){},454:function(e,t,n){},455:function(e,t,n){},456:function(e,t,n){},457:function(e,t,n){},469:function(e,t,n){},470:function(e,t,n){},471:function(e,t,n){},482:function(e,t,n){},485:function(e,t,n){},486:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(14),o=n(21),c=(n(428),n(141),n(432));function l(e,t){"object"==Object(o.a)(e)&&e instanceof Blob&&(e=URL.createObjectURL(e));var n,r=document.createElement("a");r.href=e,r.download=t||"",window.MouseEvent?n=new MouseEvent("click"):(n=document.createEvent("MouseEvents")).initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),r.dispatchEvent(n)}function f(e,t){var n={SheetNames:[t=t||"sheet1"],Sheets:{}};n.Sheets[t]=e;var r=c.write(n,{bookType:"xlsx",bookSST:!1,type:"binary"});return new Blob([function(s){for(var e=new ArrayBuffer(s.length),view=new Uint8Array(e),i=0;i!=s.length;++i)view[i]=255&s.charCodeAt(i);return e}(r)],{type:"application/octet-stream"})}var d=function(data,e,t){var n=Object(r.a)(data),o=c.utils.aoa_to_sheet(n),d=Object(r.a)(e);o["!cols"]=d,l(f(o),t+".xlsx")}},494:function(e,t,n){},497:function(e,t,n){},505:function(e,t,n){},506:function(e,t,n){},516:function(e,t,n){},517:function(e,t,n){},520:function(e,t,n){},527:function(e,t,n){},528:function(e,t,n){},564:function(e,t,n){},578:function(e,t,n){"use strict";var r=n(6),o=(n(30),{data:function(){return{list:[],val:0}},computed:{},mounted:function(){this.getOptions()},methods:{handleChange:function(e){this.$emit("input",e)},getOptions:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$post("/api/recruit/getOptions");case 2:(n=t.sent)&&1===n.status&&(e.options=n.data||[]),e.getPositionType();case 5:case"end":return t.stop()}}),t)})))()},getPositionType:function(){for(var e=this.options.direction,t=[],n=function(i){var n={value:e[i].occupation_id,label:e[i].occupation_name,children:function(){if(e[i].children.length>0){for(var a=[],t=0;t<e[i].children.length;t++)a[t]={value:e[i].children[t].direction_id,label:e[i].children[t].direction_name};return a}}()};t[i]=n},i=0;i<e.length;i++)n(i);this.list=t}}}),c=n(4),l=Object(c.a)(o,(function(){var e=this,t=e._self._c;return t("div",[t("el-cascader",{attrs:{options:e.list},on:{change:e.handleChange},model:{value:e.val,callback:function(t){e.val=t},expression:"val"}})],1)}),[],!1,null,null,null).exports,f={data:function(){return{list:[],val:0,props:{multiple:!0}}},computed:{},mounted:function(){this.get_skill_multiple()},methods:{handleChange:function(e){this.$emit("input",e)},get_skill_multiple:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$post("/api/recruit/get_skill_multiple");case 2:n=t.sent,e.list=n.data.list||[];case 4:case"end":return t.stop()}}),t)})))()}}},d=Object(c.a)(f,(function(){var e=this,t=e._self._c;return t("div",[t("el-cascader",{attrs:{options:e.list,props:e.props,"show-all-levels":!1,filterable:"",clearable:""},on:{change:e.handleChange},model:{value:e.val,callback:function(t){e.val=t},expression:"val"}})],1)}),[],!1,null,null,null).exports,h=(n(18),{data:function(){return{list:[],val:0}},computed:{},mounted:function(){this.getOptions()},methods:{handleChange:function(e){this.$emit("input",e)},getOptions:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$post("/api/recruit/getOptions");case 2:(n=t.sent)&&1===n.status&&(e.options=n.data||[]),e.getAreas();case 5:case"end":return t.stop()}}),t)})))()},getAreas:function(){for(var e,dd,t,n=this.options.provinces,r=this.options.cities,data=[],i=0;i<n.length;i++){var o={value:e=n[i].id,label:n[i].name,children:function(){t=0,dd=[];for(var n=0;n<r.length;n++)if(r[n].prov_id==e){var o={value:r[n].id,label:r[n].name};dd[t]=o,t++}return dd}()};data[i]=o}this.list=data}}}),m={components:{occupation_direction:l,skill:d,area_select:Object(c.a)(h,(function(){var e=this,t=e._self._c;return t("div",[t("el-cascader",{attrs:{options:e.list},on:{change:e.handleChange},model:{value:e.val,callback:function(t){e.val=t},expression:"val"}})],1)}),[],!1,null,null,null).exports},props:{getInfoParent:{type:Function,default:null}},data:function(){return{loading:!1,postForm:{is_need_manager:"1",is_appoint_freelance:"1",ys_money_type:"1",occupation_direction:"",publish_present_hire:"0"}}},methods:{submitForm:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.loading){t.next=2;break}return t.abrupt("return");case 2:return e.loading=!0,t.next=5,e.$post("/api/admin/job/publish3",e.postForm);case 5:1==t.sent.status?(e.$notify({title:"成功",message:"发布成功",type:"success",duration:2e3}),e.getInfoParent()):e.loading=!1;case 7:case"end":return t.stop()}}),t)})))()}}},_=(n(624),Object(c.a)(m,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"createPost-container"},[t("el-form",{ref:"postForm",staticClass:"form-container"},[t("div",{staticClass:"createPost-main-container"},[t("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{label:"用户UID:"}},[t("el-input",{attrs:{rows:1,placeholder:""},model:{value:e.postForm.uid,callback:function(t){e.$set(e.postForm,"uid",t)},expression:"postForm.uid"}})],1),e._v(" "),t("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{label:"对接方向:"}},[t("occupation_direction",{model:{value:e.postForm.occupation_direction,callback:function(t){e.$set(e.postForm,"occupation_direction",t)},expression:"postForm.occupation_direction"}})],1),e._v(" "),t("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{label:"需要技能:"}},[t("skill",{model:{value:e.postForm.match_skills,callback:function(t){e.$set(e.postForm,"match_skills",t)},expression:"postForm.match_skills"}})],1),e._v(" "),t("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{label:"全职开发:"}},[t("el-radio",{attrs:{label:"1"},model:{value:e.postForm.is_appoint_freelance,callback:function(t){e.$set(e.postForm,"is_appoint_freelance",t)},expression:"postForm.is_appoint_freelance"}},[e._v("不需要")]),e._v(" "),t("el-radio",{attrs:{label:"2"},model:{value:e.postForm.is_appoint_freelance,callback:function(t){e.$set(e.postForm,"is_appoint_freelance",t)},expression:"postForm.is_appoint_freelance"}},[e._v("需要")])],1),e._v(" "),t("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{label:"驻场开发:"}},[t("el-radio",{attrs:{label:"0"},model:{value:e.postForm.publish_present_hire,callback:function(t){e.$set(e.postForm,"publish_present_hire",t)},expression:"postForm.publish_present_hire"}},[e._v("不需要")]),e._v(" "),t("el-radio",{attrs:{label:"1"},model:{value:e.postForm.publish_present_hire,callback:function(t){e.$set(e.postForm,"publish_present_hire",t)},expression:"postForm.publish_present_hire"}},[e._v("需要")])],1),e._v(" "),"1"==e.postForm.publish_present_hire?t("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{label:"驻场地区:"}},[t("area_select",{model:{value:e.postForm.area,callback:function(t){e.$set(e.postForm,"area",t)},expression:"postForm.area"}})],1):e._e(),e._v(" "),t("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{label:"项目经理:"}},[t("el-radio",{attrs:{label:"1"},model:{value:e.postForm.is_need_manager,callback:function(t){e.$set(e.postForm,"is_need_manager",t)},expression:"postForm.is_need_manager"}},[e._v("不需要")]),e._v(" "),t("el-radio",{attrs:{label:"2"},model:{value:e.postForm.is_need_manager,callback:function(t){e.$set(e.postForm,"is_need_manager",t)},expression:"postForm.is_need_manager"}},[e._v("需要")])],1),e._v(" "),t("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{label:"项目预算:"}},[t("el-radio",{attrs:{label:"1"},model:{value:e.postForm.ys_money_type,callback:function(t){e.$set(e.postForm,"ys_money_type",t)},expression:"postForm.ys_money_type"}},[e._v("6K以下")]),e._v(" "),t("el-radio",{attrs:{label:"2"},model:{value:e.postForm.ys_money_type,callback:function(t){e.$set(e.postForm,"ys_money_type",t)},expression:"postForm.ys_money_type"}},[e._v("6-12K")]),e._v(" "),t("el-radio",{attrs:{label:"3"},model:{value:e.postForm.ys_money_type,callback:function(t){e.$set(e.postForm,"ys_money_type",t)},expression:"postForm.ys_money_type"}},[e._v("12-18K")]),e._v(" "),t("el-radio",{attrs:{label:"4"},model:{value:e.postForm.ys_money_type,callback:function(t){e.$set(e.postForm,"ys_money_type",t)},expression:"postForm.ys_money_type"}},[e._v("18K+")])],1),e._v(" "),t("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{label:"需求描述:"}},[t("el-input",{attrs:{rows:10,type:"textarea",placeholder:""},model:{value:e.postForm.description,callback:function(t){e.$set(e.postForm,"description",t)},expression:"postForm.description"}})],1),e._v(" "),t("el-form-item",{staticStyle:{"margin-bottom":"30px"}},[t("el-button",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{"margin-left":"10px"},attrs:{type:"success"},on:{click:e.submitForm}},[e._v("\n 确定发布\n ")])],1)],1)])],1)}),[],!1,null,"08c5a647",null));t.a=_.exports},579:function(e,t,n){"use strict";n(71),n(18),n(426);var r=n(6),o=(n(30),{props:{action:{},pro:{},back:{type:Object}},data:function(){return{search:{pagesize:15,page:0,total:0},user_invoice_fileList:[],loading:!1,ruleForm:{type:"alipay",is_income:2}}},computed:{},watch:{},created:function(){},mounted:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.getInfo();case 1:case"end":return t.stop()}}),t)})))()},methods:{handleClose:function(){this.back.drawer_obj.config=!1,this.back.drawer_obj.id=""},getInfo:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,e.$post("/uapi/pub/info/admin/config/get_lingxinbao_tx_config",{});case 3:n=t.sent,e.loading=!1,1==n.status&&(e.ruleForm=n.data);case 6:case"end":return t.stop()}}),t)})))()},add:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var data,n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,data=e.ruleForm,t.next=4,e.$post("/uapi/pub/info/admin/config/set_lingxinbao_tx_config",data);case 4:n=t.sent,e.loading=!1,1==n.status&&(e.$message.success("设置成功"),e.back.drawer_obj.config=!1,e.back.drawer_obj.id="",e.back.get_config());case 7:case"end":return t.stop()}}),t)})))()}}}),c=(n(657),n(4)),l=Object(c.a)(o,(function(){var e=this,t=e._self._c;return t("el-drawer",{ref:"drawer_close",attrs:{title:"设置支付方式",size:"600px","append-to-body":!1,"destroy-on-close":!0,visible:!0,"modal-append-to-body":!1,"before-close":e.handleClose,wrapperClosable:!1}},[t("el-form",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"qs-form-add",staticStyle:{padding:"20px"},attrs:{"label-width":"100px"}},[t("el-form-item",{attrs:{label:"支付方式"}},[t("el-radio-group",{model:{value:e.ruleForm.type,callback:function(t){e.$set(e.ruleForm,"type",t)},expression:"ruleForm.type"}},[t("el-radio",{attrs:{label:"alipay"}},[e._v("支付宝")]),e._v(" "),t("el-radio",{attrs:{label:"bank"}},[e._v("银行卡")])],1)],1),e._v(" "),t("el-form-item",{attrs:{label:"市场审核人"}},[t("el-input",{model:{value:e.ruleForm.sc_uid,callback:function(t){e.$set(e.ruleForm,"sc_uid",t)},expression:"ruleForm.sc_uid"}})],1),e._v(" "),t("el-form-item",{attrs:{label:"财务审核人"}},[t("el-input",{model:{value:e.ruleForm.cw_uid,callback:function(t){e.$set(e.ruleForm,"cw_uid",t)},expression:"ruleForm.cw_uid"}})],1),e._v(" "),t("el-form-item",{attrs:{label:"老板审核"}},[t("el-input",{model:{value:e.ruleForm.boss_uid,callback:function(t){e.$set(e.ruleForm,"boss_uid",t)},expression:"ruleForm.boss_uid"}})],1),e._v(" "),t("el-form-item",[t("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(t){return e.add()}}},[e._v("确定")])],1)],1)],1)}),[],!1,null,"e5ff309c",null).exports,f=n(441),d=n(587),h={props:{status:{},role:{},invoice_type:{}},components:{config:l,pub_log:f.a,user_settlement:d.a},data:function(){return{loading:!0,pay_type:"",drawer_obj:{user_settlement:!1,user_invoice_add:!1,id:0,pub_log:!1,config:!1,obj:{}},search:{pagesize:10,total:0,status:1,name:"",invoice_type:[],is_sx_js:!0},status:[],list:[],payMoney:0}},computed:{},watch:{},created:function(){this.search.status=this.status,this.search.invoice_type=this.invoice_type},mounted:function(){this.getList(),this.get_status(),this.get_config()},methods:{export_data:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var data,n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,e.drawer=!1,(data=e.search).act="export",t.next=6,e.$post("/uapi/pub/info/user/user_settlement/admin_list",data);case 6:n=t.sent,e.loading=!1,1==n.status&&window.open(n.data.file);case 9:case"end":return t.stop()}}),t)})))()},show_config:function(){this.drawer_obj.id=0,this.drawer_obj.config=!0},show_pub_log:function(e){this.drawer_obj.id=e,this.drawer_obj.pub_log=!0},show_user_settlement:function(e){this.drawer_obj.obj=e,this.drawer_obj.id=e.id,this.drawer_obj.user_settlement=!0},show_user_invoice_add:function(e){this.drawer_obj.id=e,this.drawer_obj.user_invoice_add=!0},manager_space:function(e,t){"log"==e?(this.drawer_obj.id=t,this.drawer_obj.pub_log=!0):"del"==e?this.admin_del(t):"agree"==e?this.admin_agree(t):"refuse"==e?this.admin_refuse(t):"edit"==e&&this.show_user_invoice_add(t)},getList:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,e.drawer=!1,e.search.act="",t.next=6,e.$post("/uapi/pub/info/user/user_settlement/admin_list",e.search);case 6:n=t.sent,e.loading=!1,1==n.status&&(e.list=n.data.list,e.search.total=n.data.total,e.payMoney=n.data.payMoney);case 9:case"end":return t.stop()}}),t)})))()},get_config:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,e.$post("/uapi/pub/info/user/user_settlement/get_config",{});case 3:n=t.sent,e.loading=!1,1==n.status&&(e.pay_type=n.data);case 6:case"end":return t.stop()}}),t)})))()},get_status:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,e.$post("/uapi/pub/info/user/user_settlement/get_status",{act:e.role});case 3:n=t.sent,e.loading=!1,1==n.status&&(e.status=n.data.list);case 6:case"end":return t.stop()}}),t)})))()},confirm_reject:function(e){var t=this;return Object(r.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t.$prompt("请输入驳回的原因","提示",{confirmButtonText:"确定",cancelButtonText:"取消"}).then(function(){var n=Object(r.a)(regeneratorRuntime.mark((function n(r){var o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=r.value,t.loading=!0,n.next=4,t.$post("/uapi/pub/info/user/user_settlement/set_status",{id:e,reason:o,status:1});case 4:if(1!=n.sent.status){n.next=11;break}return t.$message({type:"success",message:"成功!"}),n.next=9,t.getList();case 9:return n.next=11,t.get_status();case 11:t.loading=!1;case 12:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()).catch((function(){t.$message({type:"info",message:"已取消"})}));case 1:case"end":return n.stop()}}),n)})))()},confirm_dj:function(e){var t=this;return Object(r.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t.$confirm("是否确认次操作,行为不可逆?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(Object(r.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t.loading=!0,n.next=3,t.$post("/uapi/pub/info/user/user_settlement/dj",{id:e,status:1});case 3:if(1!=n.sent.status){n.next=10;break}return t.$message({type:"success",message:"成功!"}),n.next=8,t.getList();case 8:return n.next=10,t.get_status();case 10:t.loading=!1;case 11:case"end":return n.stop()}}),n)})))).catch((function(){t.$message({type:"info",message:"已取消删除"})}));case 1:case"end":return n.stop()}}),n)})))()},confirm_refuse:function(e){var t=this;return Object(r.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t.$prompt("请输入拒绝的理由","提示",{confirmButtonText:"确定",cancelButtonText:"取消"}).then(function(){var n=Object(r.a)(regeneratorRuntime.mark((function n(r){var o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=r.value,t.loading=!0,n.next=4,t.$post("/uapi/pub/info/user/user_settlement/set_status",{id:e,reason:o,status:8});case 4:if(1!=n.sent.status){n.next=11;break}return t.$message({type:"success",message:"成功!"}),n.next=9,t.getList();case 9:return n.next=11,t.get_status();case 11:t.loading=!1;case 12:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()).catch((function(){t.$message({type:"info",message:"已取消"})}));case 1:case"end":return n.stop()}}),n)})))()},add_memo:function(e){var t=this;return Object(r.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t.$prompt("请输入备注信息","提示",{confirmButtonText:"确定",cancelButtonText:"取消"}).then(function(){var n=Object(r.a)(regeneratorRuntime.mark((function n(r){var o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=r.value,t.loading=!0,n.next=4,t.$post("/uapi/pub/info/user/user_settlement/add_memo",{id:e,memo:o});case 4:if(1!=n.sent.status){n.next=11;break}return t.$message({type:"success",message:"成功!"}),n.next=9,t.getList();case 9:return n.next=11,t.get_status();case 11:t.loading=!1;case 12:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()).catch((function(){t.$message({type:"info",message:"已取消"})}));case 1:case"end":return n.stop()}}),n)})))()},confirm_status:function(e,t,n){var o=this;return Object(r.a)(regeneratorRuntime.mark((function c(){return regeneratorRuntime.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:o.$confirm(t,"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o.loading=!0,t.next=3,o.$post("/uapi/pub/info/user/user_settlement/set_status",{id:e,status:n});case 3:if(1!=t.sent.status){t.next=10;break}return o.$message({type:"success",message:"成功!"}),t.next=8,o.getList();case 8:return t.next=10,o.get_status();case 10:o.loading=!1;case 11:case"end":return t.stop()}}),t)})))).catch((function(){o.$message({type:"info",message:"已取消删除"})}));case 1:case"end":return c.stop()}}),c)})))()},confirm_js:function(e,t){var n=this;return Object(r.a)(regeneratorRuntime.mark((function o(){return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:n.$confirm(t,"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.loading=!0,t.next=3,n.$post("/uapi/pub/info/user/user_settlement/confirm_js",{id:e});case 3:if(1!=t.sent.status){t.next=10;break}return n.$message({type:"success",message:"成功!"}),t.next=8,n.getList();case 8:return t.next=10,n.get_status();case 10:n.loading=!1;case 11:case"end":return t.stop()}}),t)})))).catch((function(){n.$message({type:"info",message:"已取消删除"})}));case 1:case"end":return o.stop()}}),o)})))()},admin_del:function(e){var t=this;return Object(r.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t.$confirm("是否确认删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(Object(r.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t.loading=!0,n.next=3,t.$post("/uapi/pub/info/user/user_invoice/admin_del",{id:e});case 3:if(1!=n.sent.status){n.next=8;break}return t.$message({type:"success",message:"成功!"}),n.next=8,t.getList();case 8:t.loading=!1;case 9:case"end":return n.stop()}}),n)})))).catch((function(){t.$message({type:"info",message:"已取消删除"})}));case 1:case"end":return n.stop()}}),n)})))()},page_event:function(e){this.search.page=e,this.getList()},getData_:function(e){this.search.status=e,this.search.page=0,this.getList()},search_:function(){this.search.page=0,this.getList()}}},m=h,_=(n(658),Object(c.a)(m,(function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{padding:"20px"}},["2"==e.role?t("div",{staticClass:"qs_search",staticStyle:{"margin-bottom":"10px"}},[e._v("\n 当前支付方式:"+e._s(e.pay_type)+"\n "),t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.show_config}},[e._v("结算渠道配置")]),e._v(" "),t("div",{staticClass:"flex_1"})],1):e._e(),e._v(" "),"2"==e.role?t("div",{staticClass:"qs_search",staticStyle:{"margin-bottom":"10px"}},[t("span",[e._v("待支付金额:"+e._s(e.payMoney)+"元")])]):e._e(),e._v(" "),t("div",{staticClass:"qs_search",staticStyle:{"margin-bottom":"10px"}},[e._l(e.status,(function(n){return t("el-tag",{key:n.id,attrs:{type:n.id===e.search.status?"success":"info"},on:{click:function(t){return e.getData_(n.id)}}},[e._v(e._s(n.name)+"\n ")])})),e._v(" "),0==e.search.status?t("el-switch",{attrs:{"active-text":"结算订单"},on:{change:function(t){return e.getData_(0)}},model:{value:e.search.is_sx_js,callback:function(t){e.$set(e.search,"is_sx_js",t)},expression:"search.is_sx_js"}}):e._e(),e._v(" "),t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.export_data}},[e._v("导出订单")]),e._v(" "),t("div",{staticClass:"flex_1"})],2),e._v(" "),t("div",{staticStyle:{"margin-bottom":"10px"}},[t("el-input",{staticStyle:{width:"200px"},attrs:{size:"small",placeholder:"用户的UID"},model:{value:e.search.uid,callback:function(t){e.$set(e.search,"uid",t)},expression:"search.uid"}}),e._v(" "),t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.search_}},[e._v("搜索")]),e._v(" "),t("div",{staticClass:"flex_1"})],1),e._v(" "),t("div",{staticStyle:{width:"100%"}},[t("el-table",{attrs:{"row-key":"id",data:e.list}},[t("el-table-column",{attrs:{prop:"order_no",fixed:"",width:"170px",label:"订单编号"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("span",{staticStyle:{cursor:"pointer"},on:{click:function(t){return e.show_pub_log(n.row.id)}}},[e._v(e._s(n.row.order_no))])]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"money",fixed:"",width:"160px",label:"用户UID"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("a",{staticStyle:{color:"#006eff"},attrs:{target:"_blank",href:n.row.user_info.link}},[e._v(e._s(n.row.user_info.realname)+"("+e._s(n.row.uid)+")")])]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"money",width:"140px",label:"应付金额"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("span",[e._v(e._s(n.row.y_money))])]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"is_income",width:"140px",label:"实付金额"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("span",[e._v(e._s(n.row.sf_money))]),e._v(" "),t("br"),e._v(" "),n.row.user_invoice.id?t("a",{attrs:{target:"_blank",href:n.row.user_invoice.file}},[e._v("查看发票")]):e._e(),e._v(" "),n.row.user_invoice.order_num>0?t("span",{staticStyle:{color:"red",cursor:"pointer"},on:{click:function(t){return e.show_user_settlement(n.row.user_invoice)}}},[t("br"),e._v("关联了"+e._s(n.row.user_invoice.order_num)+"个订单")]):e._e()]}}])}),e._v(" "),t("el-table-column",{attrs:{width:"400px",prop:"is_income",label:"收款账户"},scopedSlots:e._u([{key:"default",fn:function(n){return[n.row.account.account_name?t("div",[e._v("\n 收款姓名:"+e._s(n.row.account.account_name)),t("br"),e._v("\n 收款账号:"+e._s(n.row.account.card_number)),t("br"),e._v("\n 银行信息:"+e._s(n.row.account.bank_name)),t("br")]):e._e(),e._v(" "),n.row.account.account_name?e._e():t("div",[e._v("\n 收款姓名:************"),t("br"),e._v("\n 收款账号:************,*******************"),t("br"),e._v("\n 银行支行:************"),t("br")])]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"status",width:"100px",label:"订单状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.status_text)+"\n ")]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"is_income","show-overflow-tooltip":"",label:"系统备注"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.memo?t.row.memo:"-")+"\n ")]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"is_income",width:"150px",label:"结算服务费"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("span",[e._v(e._s(n.row.js_moeny)+"("+e._s(n.row.js_rate)+")")])]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"status",width:"100px",label:"发票"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.invoice_type_obj.name)+"\n ")]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"txtime",width:"160px",label:"提现时间"}}),e._v(" "),t("el-table-column",{attrs:{prop:"paytime",width:"160px",label:"到账时间"}}),e._v(" "),t("el-table-column",{attrs:{prop:"status",width:"100px",label:"关联项目"},scopedSlots:e._u([{key:"default",fn:function(n){return[n.row.link?t("a",{staticStyle:{color:"#006eff"},attrs:{href:n.row.link,target:"_blank"}},[e._v(e._s(n.row.title))]):e._e(),e._v(" "),n.row.link?e._e():t("span",[e._v("--")])]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"status",width:"100px",label:"备注"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("el-button",{attrs:{type:"text",size:"small"},on:{click:function(t){return e.add_memo(n.row.id,"添加备注")}}},[e._v("添加备注")])]}}])}),e._v(" "),t("el-table-column",{attrs:{fixed:"right","min-width":"200px",prop:"uid",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(n){return[1==n.row.status?t("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.confirm_dj(n.row.id,"是否确认帮客户代缴,操作不可逆?",3)}}},[e._v("公司代缴")]):e._e(),e._v(" "),2==n.row.status&&3!=n.row.invoice_type?t("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.confirm_status(n.row.id,"是否确认已核对?",3)}}},[e._v("审核通过")]):e._e(),e._v(" "),2==n.row.status&&3!=n.row.invoice_type?t("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.confirm_refuse(n.row.id)}}},[e._v("驳回订单")]):e._e(),e._v(" "),4==n.row.status&&"1"==e.role&&3!=n.row.invoice_type?t("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.confirm_status(n.row.id,"是否确认制单?",5)}}},[e._v("确认制单")]):e._e(),e._v(" "),5==n.row.status&&"1"==e.role&&3!=n.row.invoice_type?t("el-button",{attrs:{type:"danger",size:"small"},on:{click:function(t){return e.confirm_status(n.row.id,"是否确认打款?",6)}}},[e._v("确认打款")]):e._e(),e._v(" "),"2"!=e.role||3!=n.row.status&&7!=n.row.status?e._e():t("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.confirm_js(n.row.id,"是否确认付款?")}}},[e._v("确认付款")]),e._v(" "),"2"!=e.role||3!=n.row.status&&7!=n.row.status?e._e():t("el-button",{attrs:{type:"danger",size:"small"},on:{click:function(t){return e.confirm_reject(n.row.id,"是否确认驳回?")}}},[e._v("驳回提现")])]}}])})],1)],1),e._v(" "),t("el-pagination",{staticStyle:{"margin-top":"10px"},attrs:{background:"",layout:"total,prev, pager, next","current-page":e.search.page,"page-size":e.search.pagesize,total:e.search.total},on:{"current-change":e.page_event}}),e._v(" "),e.drawer_obj.pub_log?t("pub_log",{attrs:{back:this,pro:e.drawer_obj.id,action:"user_settlement"}}):e._e(),e._v(" "),e.drawer_obj.user_settlement?t("user_settlement",{attrs:{fp_info:e.drawer_obj.obj,back:this,pro:e.drawer_obj.id}}):e._e(),e._v(" "),e.drawer_obj.config?t("config",{attrs:{back:this,pro:e.drawer_obj.id}}):e._e()],1)}),[],!1,null,"ef484090",null));t.a=_.exports},580:function(e,t,n){"use strict";n(191),n(28),n(12),n(18),n(15),n(38),n(37),n(33);function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,l=!0,f=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){f=!0,c=e},f:function(){try{l||null==n.return||n.return()}finally{if(f)throw c}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var c=[];var l=function(e,t){var n=document.getElementById(e),o=t||function(){};if(!n){var script=document.createElement("script");script.src=e,script.id=e,document.body.appendChild(script),c.push(o);var l="onload"in script?function(script){script.onload=function(){this.onerror=this.onload=null;var e,t=r(c);try{for(t.s();!(e=t.n()).done;){(0,e.value)(null,script)}}catch(e){t.e(e)}finally{t.f()}c=null},script.onerror=function(){this.onerror=this.onload=null,o(new Error("Failed to load "+e),script)}}:function(script){script.onreadystatechange=function(){if("complete"===this.readyState||"loaded"===this.readyState){this.onreadystatechange=null;var e,t=r(c);try{for(t.s();!(e=t.n()).done;){(0,e.value)(null,script)}}catch(e){t.e(e)}finally{t.f()}c=null}}};l(script)}n&&o&&(window.tinymce?o(null,n):c.push(o))},f={name:"Tinymce",props:{id:{type:String,default:function(){return"vue-tinymce-"+ +new Date+(1e3*Math.random()).toFixed(0)}},value:{type:String,default:""},toolbar:{type:Array,required:!1,default:function(){return[]}},menubar:{type:String,default:"file edit insert view format table"},height:{type:[Number,String],required:!1,default:360},width:{type:[Number,String],required:!1,default:"100%"}},data:function(){return{hasChange:!1,hasInit:!1,tinymceId:this.id,fullscreen:!1,languageTypeList:{zh:"zh_CN"}}},computed:{containerWidth:function(){var e=this.width;return/^[\d]+(\.[\d]+)?$/.test(e)?"".concat(e,"px"):e}},watch:{value:function(e){var t=this;!this.hasChange&&this.hasInit&&this.$nextTick((function(){return window.tinymce.get(t.tinymceId).setContent(e||"")}))}},mounted:function(){this.init()},activated:function(){window.tinymce&&this.initTinymce()},deactivated:function(){this.destroyTinymce()},destroyed:function(){this.destroyTinymce()},methods:{init:function(){var e=this;l("https://stacdn.proginn.com/tinymce/tinymce.js",(function(t){t?e.$message.error(t.message):e.initTinymce()}))},initTinymce:function(){var e=this,t=this;window.tinymce.init({selector:"#".concat(this.tinymceId),content_style:"img {width:100%}",language:this.languageTypeList.zh,height:this.height,body_class:"panel-body ",object_resizing:!1,plugins:"paste,autoresize",autoresize_on_init:!0,paste_data_images:!0,images_upload_url:"/uapi/pub/upload_tinymce",init_instance_callback:function(n){t.value&&n.setContent(t.value),t.hasInit=!0,n.on("NodeChange Change KeyUp SetContent",(function(){e.hasChange=!0,e.$emit("input",n.getContent())}))},setup:function(e){e.on("FullscreenStateChanged",(function(e){t.fullscreen=e.state}))},convert_urls:!1})},set_content:function(e){window.tinymce.get(this.tinymceId).setContent(e),window.tinymce.get(this.tinymceId).focus()},set_focus:function(){window.tinymce.get(this.tinymceId).focus()},destroyTinymce:function(){var e=window.tinymce.get(this.tinymceId);this.fullscreen&&e.execCommand("mceFullScreen"),e&&e.destroy()},setContent:function(e){window.tinymce.get(this.tinymceId).setContent(e)},getContent:function(){window.tinymce.get(this.tinymceId).getContent()},imageSuccessCBK:function(e){var t=this;e.forEach((function(e){return window.tinymce.get(t.tinymceId).insertContent('<img style="max-width: 100%;" class="wscnph" src="'.concat(e.url,'" >'))}))}}},d=(n(595),n(4)),component=Object(d.a)(f,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"tinymce-container",class:{fullscreen:e.fullscreen},style:{width:e.containerWidth}},[t("textarea",{staticClass:"tinymce-textarea",attrs:{id:e.tinymceId}})])}),[],!1,null,"052613a5",null);t.a=component.exports},581:function(e,t,n){"use strict";n.r(t);n(18);var r=n(6),o=(n(30),n(580)),c=n(446),l=n(444),f=n(583),d={components:{category:c.a,Tinymce:o.a,admin_user:l.a,admin_user_batch:f.a},data:function(){return{postForm:{cate_id:"0",extra:[],enforcer_uid:""},loading:!1,priority:[{value:"1",label:"普通"},{value:"2",label:"中等"},{value:"3",label:"加急"}]}},methods:{submitForm:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var data;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.loading){t.next=2;break}return t.abrupt("return");case 2:return e.loading=!0,data=JSON.stringify(e.postForm),t.next=6,e.$post("/uapi/pub/bool/admin/task/save",{data:data});case 6:1==t.sent.status&&(e.$parent.$parent.getList(),e.$parent.$parent.drawer_close(),e.$notify({title:"成功",message:"发布成功",type:"success",duration:2e3})),e.loading=!1;case 9:case"end":return t.stop()}}),t)})))()},upload_success:function(e,t,n,r){if(1==t.status){var o=[];r.forEach((function(e){o.push({name:e.name,url:e.response?e.response.data.url:e.url})})),this.postForm.extra[e].val_value=o}},set_enforcer_uid:function(e){this.postForm.enforcer_uid=e},remove_success:function(e,t,n){this.postForm.extra[e].val_value=n},add_extra:function(){var e=this.postForm;e.extra.push({key:"",type:"",val:""}),this.postForm=e},category_change:function(e){var t=this;return Object(r.a)(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t.loading=!0,n.next=3,t.$post("/uapi/pub/info/admin/category/info",{id:e});case 3:void 0===(r=n.sent).data.extra?t.postForm.extra=[]:t.postForm.extra=r.data.extra,t.postForm.enforcer_uid=r.data.check_uid,t.loading=!1;case 7:case"end":return n.stop()}}),n)})))()}}},h=(n(669),n(4)),component=Object(h.a)(d,(function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"createPost-container"},[t("el-form",{ref:"postForm",staticClass:"form-container"},[t("div",{staticClass:"createPost-main-container",staticStyle:{"margin-top":"20px"}},[t("div",{staticStyle:{display:"flex","flex-direction":"row","justify-content":"space-between"}},[t("div",{staticStyle:{"margin-right":"20px",width:"300px"}},[t("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{label:"任务分类:"}},[t("category",{staticStyle:{"margin-right":"20px"},attrs:{category_change:e.category_change,type:7},model:{value:e.postForm.cate_id,callback:function(t){e.$set(e.postForm,"cate_id",t)},expression:"postForm.cate_id"}})],1)],1),e._v(" "),t("div",{staticStyle:{width:"100%"}},[t("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{label:"任务标题:"}},[t("el-input",{staticClass:"article-textarea",attrs:{maxlength:"30","show-word-limit":"",type:"input",autosize:"",placeholder:""},model:{value:e.postForm.name,callback:function(t){e.$set(e.postForm,"name",t)},expression:"postForm.name"}})],1)],1),e._v(" "),t("div",{staticStyle:{"margin-left":"40px"}},[t("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{label:"任务优先级:"}},[t("el-select",{attrs:{placeholder:"请选择"},model:{value:e.postForm.priority,callback:function(t){e.$set(e.postForm,"priority",t)},expression:"postForm.priority"}},e._l(e.priority,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)],1)]),e._v(" "),t("div",{staticStyle:{display:"flex","flex-direction":"row","justify-content":"space-between"}},[t("div",{staticStyle:{width:"100%","margin-right":"40px"}},[t("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{label:"执行用户:"}},[t("admin_user",{staticStyle:{"margin-right":"20px"},model:{value:e.postForm.enforcer_uid,callback:function(t){e.$set(e.postForm,"enforcer_uid",t)},expression:"postForm.enforcer_uid"}})],1)],1),e._v(" "),t("div",{staticStyle:{width:"100%"}},[t("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{label:"结束时间:"}},[t("el-date-picker",{attrs:{type:"date","value-format":"yyyy-MM-dd",placeholder:"选择日期"},model:{value:e.postForm.etime,callback:function(t){e.$set(e.postForm,"etime",t)},expression:"postForm.etime"}})],1)],1)]),e._v(" "),e.postForm.extra.length>0?t("el-divider",[e._v("扩展字段")]):e._e(),e._v(" "),t("div",{staticStyle:{display:"flex","flex-wrap":"wrap","justify-content":"space-between"}},e._l(e.postForm.extra,(function(n,i){return t("el-form-item",{staticStyle:{"margin-bottom":"20px",width:"45%"},attrs:{label:n.key}},[1==n.type?t("el-input",{staticClass:"article-textarea",attrs:{type:"input",autosize:"",placeholder:""},model:{value:n.val_value,callback:function(t){e.$set(n,"val_value",t)},expression:"v.val_value"}}):e._e(),e._v(" "),2==n.type?t("el-input",{staticClass:"article-textarea",attrs:{type:"textarea",autosize:"",placeholder:""},model:{value:n.val_value,callback:function(t){e.$set(n,"val_value",t)},expression:"v.val_value"}}):e._e(),e._v(" "),7==n.type?t("el-input",{staticClass:"article-textarea",attrs:{type:"input",autosize:"",placeholder:""},model:{value:n.val_value,callback:function(t){e.$set(n,"val_value",t)},expression:"v.val_value"}}):e._e(),e._v(" "),3==n.type?t("el-select",{attrs:{clearable:"",placeholder:"请选择"},model:{value:n.val_value,callback:function(t){e.$set(n,"val_value",t)},expression:"v.val_value"}},e._l(n.select,(function(e){return t("el-option",{key:e,attrs:{label:e,value:e}})})),1):e._e(),e._v(" "),4==n.type?t("el-date-picker",{attrs:{type:"date","value-format":"yyyy-MM-dd",placeholder:"选择日期"},model:{value:n.val_value,callback:function(t){e.$set(n,"val_value",t)},expression:"v.val_value"}}):e._e(),e._v(" "),5==n.type?t("div",[t("el-upload",{attrs:{action:"/uapi/pub/upload",data:{type:"task"},"list-type":"picture-card","file-list":n.val_value,"on-success":function(t,n,r){return e.upload_success(i,t,n,r)},"on-remove":function(t,n){return e.remove_success(i,t,n)}}},[t("i",{staticClass:"el-icon-plus"})])],1):e._e(),e._v(" "),6==n.type?t("div",[t("el-upload",{staticClass:"upload-demo",attrs:{data:{type:"task"},action:"/uapi/pub/upload","on-success":function(t,n,r){return e.upload_success(i,t,n,r)},"on-remove":function(t,n){return e.remove_success(i,t,n)},"file-list":n.val_value}},[t("el-button",{attrs:{size:"small",type:"primary"}},[e._v("点击上传")])],1)],1):e._e()],1)})),1),e._v(" "),t("el-divider",[e._v("任务备注(非必填)")]),e._v(" "),t("el-form-item",{staticStyle:{"margin-bottom":"30px"},attrs:{prop:"content"}},[t("Tinymce",{ref:"editor",attrs:{height:200},model:{value:e.postForm.memo,callback:function(t){e.$set(e.postForm,"memo",t)},expression:"postForm.memo"}})],1),e._v(" "),t("el-form-item",{staticStyle:{"margin-top":"40px"}},[t("el-button",{staticStyle:{"margin-left":"10px"},attrs:{type:"success"},on:{click:e.submitForm}},[e._v("\n 发布任务\n ")])],1)],1)])],1)}),[],!1,null,"2ff79ede",null);t.default=component.exports},582:function(e,t,n){"use strict";n(18);var r=n(6),o=(n(30),{props:{pro_id:{default:0},back:{type:Object}},data:function(){return{ruleForm:{name:""}}},methods:{set_name:function(e){this.ruleForm.name=e},handleClose:function(){this.back.drawer_obj.user_workfile_check=!1},refuse:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.pro_id>0){t.next=3;break}return e.$message({type:"error",message:"项目编号不存在!"}),t.abrupt("return");case 3:if(e.ruleForm.name){t.next=6;break}return e.$message({type:"error",message:"拒绝的原因必填!"}),t.abrupt("return");case 6:return e.loading=!0,t.next=9,e.$post("/api/admin/UserWorks/changeWorkFile",{id:e.pro_id,type:2,content:e.ruleForm.name});case 9:(n=t.sent)&&1===n.status&&(e.$message({type:"success",message:"操作成功!"}),e.back.drawer_obj.user_workfile_check=!1,e.back.getAuditList(),e.back.getTableData(),e.loading=!1);case 11:case"end":return t.stop()}}),t)})))()}}}),c=(n(705),n(4)),component=Object(c.a)(o,(function(){var e=this,t=e._self._c;return t("el-drawer",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"drawer_close",attrs:{title:"作品审核",size:"600px","append-to-body":!1,"destroy-on-close":!0,visible:!0,"modal-append-to-body":!1,"before-close":e.handleClose,wrapperClosable:!1}},[t("el-form",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"qs-form-add",staticStyle:{"padding-right":"20px","margin-top":"20px"},attrs:{"label-width":"100px"}},[t("el-form-item",{attrs:{label:"拒绝理由"}},[t("el-input",{attrs:{type:"textarea"},model:{value:e.ruleForm.name,callback:function(t){e.$set(e.ruleForm,"name",t)},expression:"ruleForm.name"}})],1),e._v(" "),t("el-form-item",[t("el-tag",{on:{click:function(t){return e.set_name("非源码")}}},[e._v("非源码")]),e._v(" "),t("el-tag",{on:{click:function(t){return e.set_name("价格明显不合理")}}},[e._v("价格明显不合理")])],1),e._v(" "),t("el-form-item",[t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.refuse()}}},[e._v("确认拒绝")])],1)],1)],1)}),[],!1,null,"64c51414",null);t.a=component.exports},583:function(e,t,n){"use strict";var r=n(6),o=(n(30),{data:function(){return{select_val:[],options:[]}},props:{change:{type:Function},value:{}},mounted:function(){this.select_val=this.value,this.getCateGory()},methods:{handleChange:function(e){this.$emit("input",e),"function"==typeof this.change&&this.change(e)},getCateGory:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$post("/uapi/pub/list/admin/admin_user/list");case 2:n=t.sent,e.options=n.data;case 4:case"end":return t.stop()}}),t)})))()}}}),c=(n(597),n(4)),component=Object(c.a)(o,(function(){var e=this,t=e._self._c;return t("div",[t("el-select",{attrs:{multiple:"",placeholder:"请选择"},on:{change:e.handleChange},model:{value:e.select_val,callback:function(t){e.select_val=t},expression:"select_val"}},e._l(e.options,(function(e){return t("el-option",{key:e.uid,attrs:{label:e.real_name,value:e.uid}})})),1)],1)}),[],!1,null,"75a02f2a",null);t.a=component.exports},584:function(e,t,n){"use strict";var r=n(6),o=(n(30),{props:{value:{type:String},type:{type:String}},data:function(){return{select_val:[],options:[]}},watch:{value:function(e,t){this.select_val=e+""},type:function(e,t){this.select_val=e,this.getCateGory()}},mounted:function(){this.select_val=this.type,this.getCateGory()},methods:{handleChange:function(e){this.$emit("input",e+"")},getCateGory:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$post("/uapi/pub/list/admin/category/get_cate_type");case 2:n=t.sent,e.options=n.data;case 4:case"end":return t.stop()}}),t)})))()}}}),c=(n(612),n(4)),component=Object(c.a)(o,(function(){var e=this,t=e._self._c;return t("div",[t("el-select",{attrs:{placeholder:"请选择"},on:{change:e.handleChange},model:{value:e.select_val,callback:function(t){e.select_val=t},expression:"select_val"}},e._l(e.options,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)}),[],!1,null,"425a97f1",null);t.a=component.exports},585:function(e,t,n){"use strict";var r=n(14),o=(n(191),n(61),n(18),n(436)),c={name:"Echarts",props:{width:{type:Number,default:800},height:{type:Number,default:400},title:{type:String,default:"表格标题"},source:{type:Object,default:function(){return{rows:[],data:[]}}}},data:function(){return{}},watch:{source:{deep:!0,handler:function(){var e=this;this.$nextTick((function(){e.initEcharts()}))}}},mounted:function(){this.initEcharts()},computed:{seriesParse:function(){if(0==this.source.data.length)return[];var e=this.source.data.map((function(e){return{name:e.title,data:Object(r.a)(e.data),type:"line"}}));return e.shift(),e},xAxisParse:function(){return this.source.rows},legendSelectArr:function(){return this.seriesParse.map((function(e){return e.name}))}},methods:{initEcharts:function(){var e=this;this.myChart||(this.myChart=o.a(document.getElementById("echarts")),this.myChart.off("legendselectchanged"),this.myChart.on("legendselectchanged",(function(t){e.selectedItem(t.name)}))),this.myChart.resize({height:this.height});var t={};this.legendSelectArr.forEach((function(e,n){t[e]=0==n})),this.myChart.setOption({legend:{orient:"vertical",y:"top",x:"right",selected:t,selector:!0},title:{text:this.title,show:!!this.title,textAlign:"auto"},tooltip:{trigger:"axis"},xAxis:{data:Object(r.a)(this.xAxisParse)},yAxis:{},series:Object(r.a)(this.seriesParse)},!0)},selectedItem:function(e){var t={};this.legendSelectArr.forEach((function(n,r){t[n]=n==e})),this.myChart.setOption({legend:{orient:"vertical",y:"top",x:"right",selected:t,selector:!0},title:{text:this.title,show:!!this.title,textAlign:"auto"},tooltip:{trigger:"axis"},xAxis:{data:Object(r.a)(this.xAxisParse)},yAxis:{},series:Object(r.a)(this.seriesParse)},!0)}}},l=(n(627),n(4)),component=Object(l.a)(c,(function(){this._self._c;return this._m(0)}),[function(){var e=this._self._c;return e("div",[e("div",{attrs:{id:"echarts"}})])}],!1,null,null,null);t.a=component.exports},586:function(e,t,n){"use strict";n(191);var r={data:function(){return{fileList:[],id:0}},props:{fileList:{type:Object},id:{type:Number}},methods:{success:function(e){1!=e.status?(this.fileList=[],this.$message({message:"文件上传失败",type:"error"})):this.$emit("click",this.id,e.data.url)}}},o=(n(638),n(4)),component=Object(o.a)(r,(function(){var e=this,t=e._self._c;return t("el-upload",{staticClass:"upload-demo",attrs:{action:"/uapi/pub/upload",data:{type:"freework_level"},multiple:"",limit:3,"on-success":e.success,"file-list":e.fileList}},[t("el-button",{attrs:{size:"small",type:"primary"}},[e._v("点击上传面试视频")])],1)}),[],!1,null,"e591981c",null);t.a=component.exports},587:function(e,t,n){"use strict";n(426);var r=n(6),o=(n(30),n(71),{props:{action:{},pro:{},back:{type:Object},fp_info:{type:Object}},data:function(){return{search:{pagesize:15,page:0,total:0},loading:!0,list:[]}},computed:{},watch:{},created:function(){},mounted:function(){this.getList()},methods:{handleClose:function(){this.back.drawer_obj.user_settlement=!1,this.back.drawer_obj.id=""},getList:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var data,n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,(data=e.search).user_invoice_id=e.pro,t.next=5,e.$post("/uapi/pub/info/user/user_settlement/admin_list",data);case 5:n=t.sent,e.loading=!1,1==n.status&&(e.list=n.data.list,e.search.total=n.data.total);case 8:case"end":return t.stop()}}),t)})))()},page_event:function(e){this.search.page=e,this.getList()}}}),c=(n(647),n(4)),component=Object(c.a)(o,(function(){var e=this,t=e._self._c;return t("el-drawer",{ref:"drawer_close",attrs:{title:"关联订单(发票总价:¥".concat(e.fp_info.money,")"),size:"60%","append-to-body":!1,"destroy-on-close":!0,visible:!0,"modal-append-to-body":!1,"before-close":e.handleClose,wrapperClosable:!1}},[t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"block",staticStyle:{padding:"20px"}},[t("el-table",{attrs:{"row-key":"id","show-summary":"",data:e.list}},[t("el-table-column",{attrs:{prop:"title",label:"关联项目"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("a",{staticStyle:{color:"#006eff"},attrs:{href:n.row.link,target:"_blank"}},[e._v(e._s(n.row.title))])]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"y_money",sortable:"",label:"应付金额"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("span",[e._v(e._s(n.row.y_money))])]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"sf_money",sortable:"",label:"实付金额"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("span",[e._v(e._s(n.row.sf_money))])]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"title",label:"结算费率"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("span",[e._v(e._s(n.row.js_rate))])]}}])}),e._v(" "),t("el-table-column",{attrs:{prop:"title",label:"开票类型"},scopedSlots:e._u([{key:"default",fn:function(n){return[t("span",[e._v(e._s(n.row.invoice_type_text))])]}}])})],1)],1)])}),[],!1,null,"50738e70",null);t.a=component.exports},588:function(e,t,n){"use strict";n(18),n(426);var r=n(6),o=(n(30),n(191),{components:{},props:{value:{type:Number,default:0},back:{type:Object}},mounted:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.get_config();case 2:case"end":return t.stop()}}),t)})))()},data:function(){return{loading:!1,ruleForm:{qs_g_user:[],is_lanchbox:0}}},methods:{get_config:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,e.$post("/uapi/admin/user/user_works_config/get_works_config",{wid:e.value});case 3:1==(n=t.sent).status&&(e.ruleForm=n.data),e.loading=!1;case 6:case"end":return t.stop()}}),t)})))()},handleClose:function(){this.back.child_page.type=""},del_user:function(e){var t=this;return Object(r.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t.ruleForm.qs_g_user.splice(e,1);case 1:case"end":return n.stop()}}),n)})))()},add_user:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.ruleForm.qs_g_user.push({});case 2:case"end":return t.stop()}}),t)})))()},save:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var data;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return data=e.ruleForm,t.next=3,e.$post("/uapi/admin/user/user_works_config/save",{wid:e.value,data:JSON.stringify(data)});case 3:if(1!=t.sent.status){t.next=8;break}return e.$message.success("设置成功"),t.next=8,e.get_config();case 8:case"end":return t.stop()}}),t)})))()}}}),c=(n(661),n(4)),component=Object(c.a)(o,(function(){var e=this,t=e._self._c;return t("div",[t("el-drawer",{ref:"drawer_close",attrs:{size:"800px","append-to-body":!0,"destroy-on-close":!0,visible:!0,modal:!1,title:"作品设置","modal-append-to-body":!0,"before-close":e.handleClose,wrapperClosable:!1}},[t("el-form",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"qs-form-add",staticStyle:{"padding-top":"20px","padding-right":"20px"},attrs:{"label-width":"100px"}},[t("el-form-item",{attrs:{label:"轻识收录"}},[t("el-radio-group",{model:{value:e.ruleForm.is_lanchbox,callback:function(t){e.$set(e.ruleForm,"is_lanchbox",t)},expression:"ruleForm.is_lanchbox"}},[t("el-radio",{attrs:{label:0}},[e._v("否")]),e._v(" "),t("el-radio",{attrs:{label:1}},[e._v("是")])],1)],1),e._v(" "),t("el-form-item",{attrs:{label:"轻识收录"}},[t("el-input",{staticStyle:{width:"300px"},attrs:{placeholder:"请输入收录的名称"},model:{value:e.ruleForm.qs_user_title,callback:function(t){e.$set(e.ruleForm,"qs_user_title",t)},expression:"ruleForm.qs_user_title"}}),e._v(" "),t("el-input",{staticStyle:{width:"350px"},attrs:{placeholder:"请输入收录的链接"},model:{value:e.ruleForm.qs_user_link,callback:function(t){e.$set(e.ruleForm,"qs_user_link",t)},expression:"ruleForm.qs_user_link"}})],1),e._v(" "),t("el-form-item",{attrs:{label:"共创用户"}},[t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.add_user}},[e._v("添加用户")]),e._v(" "),e._l(e.ruleForm.qs_g_user,(function(n,r){return t("div",{staticStyle:{display:"flex","justify-content":"space-between","margin-bottom":"10px","align-items":"center"}},[t("el-input",{staticStyle:{width:"200px"},attrs:{placeholder:"用户昵称"},model:{value:n.name,callback:function(t){e.$set(n,"name",t)},expression:"item.name"}}),e._v(" "),t("el-input",{staticStyle:{width:"450px"},attrs:{placeholder:"用户链接"},model:{value:n.link,callback:function(t){e.$set(n,"link",t)},expression:"item.link"}}),e._v(" "),t("i",{staticClass:"el-icon-close",staticStyle:{cursor:"pointer"},on:{click:function(t){return e.del_user(r)}}})],1)}))],2),e._v(" "),t("el-form-item",{attrs:{label:"相关报道"}},[t("div",{staticStyle:{display:"flex","justify-content":"space-between","margin-bottom":"10px","align-items":"center"}},[t("el-input",{staticStyle:{width:"300px"},attrs:{placeholder:"请输入相关报道标题"},model:{value:e.ruleForm.qs_news_title,callback:function(t){e.$set(e.ruleForm,"qs_news_title",t)},expression:"ruleForm.qs_news_title"}}),e._v(" "),t("el-input",{staticStyle:{width:"350px"},attrs:{placeholder:"请输入相关报道链接"},model:{value:e.ruleForm.qs_news_link,callback:function(t){e.$set(e.ruleForm,"qs_news_link",t)},expression:"ruleForm.qs_news_link"}})],1)]),e._v(" "),t("el-form-item",[t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.save()}}},[e._v("保存")])],1)],1)],1),e._v(" "),t("div",{staticClass:"ccf_modal"})],1)}),[],!1,null,"4b6cb748",null);t.a=component.exports},593:function(e,t,n){"use strict";n(451)},594:function(e,t,n){"use strict";n(452)},595:function(e,t,n){"use strict";n(453)},596:function(e,t,n){"use strict";n(454)},597:function(e,t,n){"use strict";n(455)},598:function(e,t,n){"use strict";n(456)},599:function(e,t,n){"use strict";n(457)},611:function(e,t,n){"use strict";n(469)},612:function(e,t,n){"use strict";n(470)},613:function(e,t,n){"use strict";n(471)},624:function(e,t,n){"use strict";n(482)},627:function(e,t,n){"use strict";n(485)},635:function(e,t,n){"use strict";n(494)},638:function(e,t,n){"use strict";n(497)},646:function(e,t,n){"use strict";n(505)},647:function(e,t,n){"use strict";n(506)},657:function(e,t,n){"use strict";n(516)},658:function(e,t,n){"use strict";n(517)},661:function(e,t,n){"use strict";n(520)},668:function(e,t,n){"use strict";n(527)},669:function(e,t,n){"use strict";n(528)},705:function(e,t,n){"use strict";n(564)},722:function(e,t,n){"use strict";n.r(t);n(18);var r=n(6),o=(n(30),n(191),{props:{value:{type:String},type:{type:String}},data:function(){return{select_val:[],type_val:"",options:[]}},watch:{value:function(e,t){this.select_val=e+""},type:function(e,t){this.type_val=e+"",this.select_val="",this.getCateGory()}},mounted:function(){this.getCateGory()},methods:{handleChange:function(e){this.select_val=e+"",this.$emit("input",e)},getCateGory:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$post("/uapi/pub/list/admin/category/get_cate_parent",{type:e.type_val});case 2:n=t.sent,e.options=n.data,e.select_val=e.value+"";case 5:case"end":return t.stop()}}),t)})))()}}}),c=(n(611),n(4)),l=Object(c.a)(o,(function(){var e=this,t=e._self._c;return t("div",[t("el-select",{attrs:{placeholder:"请选择"},on:{change:e.handleChange},model:{value:e.select_val,callback:function(t){e.select_val=t},expression:"select_val"}},e._l(e.options,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)}),[],!1,null,"01bdd884",null).exports,f=n(584),d=n(444),h={name:"ArticleDetail",components:{category_parent:l,category_type:f.a,admin_user:d.a},data:function(){return{postForm:{cate_id:"0",extra:[],type:"",parent_id:""},loading:!1,type:[{value:"1",label:"单行输入框"},{value:"2",label:"多行输入框"},{value:"3",label:"下拉选择"},{value:"4",label:"日期"},{value:"5",label:"图片上传"},{value:"6",label:"文件上传"},{value:"7",label:"链接地址"}]}},props:{category_type:{type:Number,default:0},id:{type:Number,default:0}},mounted:function(){this.postForm.type=this.category_type+"",this.getInfo()},methods:{submitForm:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var data;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return data=JSON.stringify(e.postForm),t.next=3,e.$post("/uapi/pub/bool/admin/category/save",{data:data});case 3:1==t.sent.status&&(e.$parent.$parent.getList(),e.$parent.$parent.drawer_close(),e.$notify({title:"成功",message:"发布成功",type:"success",duration:2e3}));case 5:case"end":return t.stop()}}),t)})))()},add_extra:function(){var e=this.postForm;e.extra.push({key:"",type:"",val:""}),this.postForm=e},del:function(e){var t=this.postForm.extra,n=[];t.forEach((function(t,i){if(parseInt(i)!=parseInt(e)){var data={key:t.key,type:t.type,val:t.val};n.push(data)}})),this.postForm.extra=n},getInfo:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e.id>0)){t.next=7;break}return e.loading=!0,t.next=4,e.$post("/uapi/pub/info/admin/category/info",{id:e.id});case 4:n=t.sent,e.postForm=n.data,e.loading=!1;case 7:case"end":return t.stop()}}),t)})))()}}},m=(n(613),Object(c.a)(h,(function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"createPost-container"},[t("el-form",{ref:"postForm",staticClass:"form-container"},[t("div",{staticClass:"createPost-main-container",staticStyle:{"margin-top":"20px"}},[t("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{label:"分类选择:"}},[t("category_type",{model:{value:e.postForm.type,callback:function(t){e.$set(e.postForm,"type",t)},expression:"postForm.type"}})],1),e._v(" "),t("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{label:"一级分类:"}},[t("category_parent",{attrs:{type:e.postForm.type},model:{value:e.postForm.parent_id,callback:function(t){e.$set(e.postForm,"parent_id",t)},expression:"postForm.parent_id"}})],1),e._v(" "),t("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{label:"分类名称:"}},[t("el-input",{staticClass:"article-textarea",attrs:{type:"input",autosize:"",placeholder:""},model:{value:e.postForm.name,callback:function(t){e.$set(e.postForm,"name",t)},expression:"postForm.name"}})],1),e._v(" "),t("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{label:"别名:"}},[t("el-input",{staticClass:"article-textarea",attrs:{type:"input",autosize:"",placeholder:""},model:{value:e.postForm.sub_title,callback:function(t){e.$set(e.postForm,"sub_title",t)},expression:"postForm.sub_title"}})],1),e._v(" "),t("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{label:"描述:"}},[t("el-input",{attrs:{type:"textarea",maxlength:"320","show-word-limit":""},model:{value:e.postForm.description,callback:function(t){e.$set(e.postForm,"description",t)},expression:"postForm.description"}})],1),e._v(" "),7==e.postForm.type?t("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{label:"审核人员:"}},[t("admin_user",{staticStyle:{"margin-right":"20px"},model:{value:e.postForm.check_uid,callback:function(t){e.$set(e.postForm,"check_uid",t)},expression:"postForm.check_uid"}})],1):e._e(),e._v(" "),t("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{label:"Title:"}},[t("el-input",{attrs:{type:"text",maxlength:"60","show-word-limit":""},model:{value:e.postForm.seo_title,callback:function(t){e.$set(e.postForm,"seo_title",t)},expression:"postForm.seo_title"}})],1),e._v(" "),t("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{label:"Keywords:"}},[t("el-input",{attrs:{type:"text",maxlength:"40","show-word-limit":""},model:{value:e.postForm.seo_keywords,callback:function(t){e.$set(e.postForm,"seo_keywords",t)},expression:"postForm.seo_keywords"}})],1),e._v(" "),t("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{label:"Description:"}},[t("el-input",{attrs:{type:"textarea",maxlength:"160","show-word-limit":""},model:{value:e.postForm.seo_description,callback:function(t){e.$set(e.postForm,"seo_description",t)},expression:"postForm.seo_description"}})],1),e._v(" "),7==e.postForm.type?t("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{label:"任务类型:"}},[t("el-input",{staticClass:"article-textarea",attrs:{type:"input",autosize:"",placeholder:"任务来源,0普通任务,1审核任务"},model:{value:e.postForm.check_type,callback:function(t){e.$set(e.postForm,"check_type",t)},expression:"postForm.check_type"}})],1):e._e(),e._v(" "),e._l(e.postForm.extra,(function(n,i){return t("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{label:"扩展字段:"}},[t("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center"}},[t("el-select",{staticStyle:{"margin-right":"10px",width:"450px"},attrs:{placeholder:"请选择字段类型"},model:{value:n.type,callback:function(t){e.$set(n,"type",t)},expression:"v.type"}},e._l(e.type,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1),e._v(" "),t("el-input",{attrs:{rows:1,type:"input",placeholder:"字段名称"},model:{value:n.key,callback:function(t){e.$set(n,"key",t)},expression:"v.key"}}),e._v(" "),t("el-input",{staticStyle:{"margin-left":"10px"},attrs:{rows:1,type:"input",placeholder:"字段值"},model:{value:n.val,callback:function(t){e.$set(n,"val",t)},expression:"v.val"}}),e._v(" "),t("el-input",{staticStyle:{"margin-left":"10px"},attrs:{rows:1,type:"input",placeholder:"参数名"},model:{value:n.field,callback:function(t){e.$set(n,"field",t)},expression:"v.field"}}),e._v(" "),t("i",{staticClass:"el-icon-delete",staticStyle:{"margin-left":"10px",cursor:"pointer"},on:{click:function(t){return e.del(i)}}})],1)])})),e._v(" "),7==e.postForm.type?t("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{label:"同意接口:"}},[t("el-input",{staticClass:"article-textarea",attrs:{type:"input",autosize:"",placeholder:""},model:{value:e.postForm.api_url,callback:function(t){e.$set(e.postForm,"api_url",t)},expression:"postForm.api_url"}})],1):e._e(),e._v(" "),7==e.postForm.type?t("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{label:"拒绝接口:"}},[t("el-input",{staticClass:"article-textarea",attrs:{type:"input",autosize:"",placeholder:""},model:{value:e.postForm.refuse_url,callback:function(t){e.$set(e.postForm,"refuse_url",t)},expression:"postForm.refuse_url"}})],1):e._e(),e._v(" "),t("el-form-item",{staticStyle:{"margin-top":"40px"}},[t("el-button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary"},on:{click:e.add_extra}},[e._v("\n 添加扩展字段\n ")]),e._v(" "),t("el-button",{staticStyle:{"margin-left":"10px"},attrs:{type:"success"},on:{click:e.submitForm}},[e._v("\n 发布分类\n ")])],1)],2)])],1)}),[],!1,null,"4a8b1a3e",null));t.default=m.exports},723:function(e,t,n){"use strict";n.r(t);var r=n(6),o=(n(30),n(191),{data:function(){return{list:[],id_:0,type_:0,drawer:!1,direction:"rtl",menuDialog:!1,loading:!1}},props:{id:{type:Number,default:0},type:{type:Number,default:0}},mounted:function(){this.getList()},methods:{getList:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,e.$post("/uapi/pub/info/admin/task_log/list",{task_id:e.id});case 3:(n=t.sent)&&1===n.status&&(e.list=n.data.list||[]),e.loading=!1;case 6:case"end":return t.stop()}}),t)})))()}}}),c=(n(593),n(594),n(4)),component=Object(c.a)(o,(function(){var e=this,t=e._self._c;return t("el-timeline",e._l(e.list,(function(n,r){return t("el-timeline-item",{key:r,attrs:{timestamp:n.addtime}},[t("span",{staticStyle:{color:"blue"}},[e._v(e._s(n.user_info.realname))]),t("p",{staticStyle:{"margin-top":"10px"},domProps:{innerHTML:e._s(n.content)}})])})),1)}),[],!1,null,"c08cf89e",null);t.default=component.exports}}]);