12345678910 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["about"],{"0099":function(t,e,r){},1157:function(t,e,r){"use strict";r("fff7")},1195:function(t,e,r){t.exports=r.p+"img/avatar.cfdd5425.png"},"1da1":function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));r("d3b7");function n(t,e,r,n,o,i,s){try{var a=t[i](s),c=a.value}catch(l){return void r(l)}a.done?e(c):Promise.resolve(c).then(n,o)}function o(t){return function(){var e=this,r=arguments;return new Promise((function(o,i){var s=t.apply(e,r);function a(t){n(s,o,i,a,c,"next",t)}function c(t){n(s,o,i,a,c,"throw",t)}a(void 0)}))}}},"38c6":function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("el-container",[r("el-header",[r("myheader")],1),r("el-container",{staticClass:"mymain"},[r("el-aside",{attrs:{width:"230px"}},[r("myaside")],1),r("el-container",[r("el-main",{directives:[{name:"loading",rawName:"v-loading",value:t.store.state.loadding,expression:"store.state.loadding"}],attrs:{"element-loading-text":"拼命加载中","element-loading-spinner":"el-icon-loading","element-loading-background":"rgba(255, 255, 255, 0.8)"}},[r("router-view")],1),r("el-footer",{staticClass:"flex-footer"},[r("p",[t._v("技术支持:海宁中纺科技有限公司")]),r("br")])],1)],1)],1)],1)},o=[],i=r("4360"),s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"flex"},[n("div",{staticClass:"logo"},[t._v("家纺城后端管理")]),n("div",{staticClass:"right-operation"},[n("el-dropdown",[n("span",{staticClass:"el-dropdown-link"},[n("div",{staticClass:"flex"},[n("img",{attrs:{height:"30",src:r("1195"),alt:""}}),t._v(" "+t._s(t.accountInfo.fname)),n("i",{staticClass:"el-icon-arrow-down el-icon--right"})])]),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[n("el-dropdown-item",{nativeOn:{click:function(e){return t.changeAccount()}}},[t._v("切换账号")]),n("el-dropdown-item",{attrs:{divided:""},nativeOn:{click:function(e){return t.loginOut()}}},[t._v("退出登录")])],1)],1)],1)])},a=[],c={data:function(){return{activeIndex:"",accountInfo:{}}},methods:{handleSelect:function(){},loginOut:function(){var t=this;this.$confirm("是否要退出当前账号?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){t.$router.push("/"),sessionStorage.clear()})).catch((function(){t.$message({type:"info",message:"已取消"})}))},changeAccount:function(){this.$router.push("/accounts")}},mounted:function(){this.accountInfo=JSON.parse(sessionStorage.getItem("active_account"))}},l=c,u=(r("d287"),r("2877")),h=Object(u["a"])(l,s,a,!1,null,"0fede109",null),f=h.exports,d=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("el-menu",{staticClass:"el-menu-vertical-demo",staticStyle:{height:"calc(100vh - 60px)","overflow-y":"scroll"},attrs:{"default-active":t.activePath,"background-color":"#f7f8fa","text-color":"#666","active-text-color":"#fff",router:""},on:{open:t.handleOpen,close:t.handleClose}},[r("el-menu-item",{attrs:{index:"home"}},[r("i",{staticClass:"el-icon-house"}),r("span",{attrs:{slot:"title"},slot:"title"},[t._v("首 页")])]),r("el-menu-item",{attrs:{index:"user"}},[r("i",{staticClass:"el-icon-user"}),r("span",{attrs:{slot:"title"},slot:"title"},[t._v("用户管理")])]),r("el-menu-item",{attrs:{index:"business"}},[r("i",{staticClass:"el-icon-data-board"}),r("span",{attrs:{slot:"title"},slot:"title"},[t._v("商户管理")])]),r("el-menu-item",{attrs:{index:"typeList"}},[r("i",{staticClass:"el-icon-collection-tag"}),r("span",{attrs:{slot:"title"},slot:"title"},[t._v("经营类目管理")])]),r("el-submenu",{attrs:{index:"1"}},[r("template",{slot:"title"},[r("i",{staticClass:"el-icon-video-camera"}),r("span",[t._v("展会管理")])]),r("el-menu-item-group",[r("el-menu-item",{attrs:{index:"activityList"}},[t._v("展会列表")]),r("el-menu-item",{attrs:{index:"actDataAnalysis"}},[t._v("展会大数据看板")])],1)],2),r("el-submenu",{attrs:{index:"2"}},[r("template",{slot:"title"},[r("i",{staticClass:"el-icon-discount"}),r("span",[t._v("供 需")])]),r("el-menu-item-group",[r("el-menu-item",{attrs:{index:"supplyanddemand_type"}},[t._v("供需分类管理")]),r("el-menu-item",{attrs:{index:"supplyanddemand"}},[t._v("供需管理")])],1)],2),r("el-menu-item",{attrs:{index:"live"}},[r("i",{staticClass:"el-icon-monitor"}),r("span",{attrs:{slot:"title"},slot:"title"},[t._v("直播管理")])]),r("el-menu-item",{attrs:{index:"notice"}},[r("i",{staticClass:"el-icon-document"}),r("span",{attrs:{slot:"title"},slot:"title"},[t._v("通告管理")])]),r("el-menu-item",{attrs:{index:"liveApply"}},[r("i",{staticClass:"el-icon-video-play"}),r("span",{attrs:{slot:"title"},slot:"title"},[t._v("直播申请")])]),r("el-menu-item",{attrs:{index:"Adv_management"}},[r("i",{staticClass:"el-icon-collection-tag"}),r("span",{attrs:{slot:"title"},slot:"title"},[t._v("广告位管理")])]),r("el-menu-item",{attrs:{index:"hotAgent"}},[r("i",{staticClass:"el-icon-s-custom"}),r("span",{attrs:{slot:"title"},slot:"title"},[t._v("热门商户")])]),r("el-menu-item",{attrs:{index:"hotProd"}},[r("i",{staticClass:"el-icon-document"}),r("span",{attrs:{slot:"title"},slot:"title"},[t._v("热门商品")])])],1)},p=[],m={data:function(){return{activePath:""}},methods:{handleOpen:function(){},handleClose:function(){}},watch:{$route:function(){var t=this.$route.path;this.activePath=t.substring(1,t.length)}}},_=m,v=(r("c388"),Object(u["a"])(_,d,p,!1,null,"0207134d",null)),g=v.exports,y={components:{myheader:f,myaside:g},data:function(){return{store:i["a"]}}},b=y,w=(r("de2e"),Object(u["a"])(b,n,o,!1,null,null,null));e["default"]=w.exports},"3c35":function(t,e){(function(e){t.exports=e}).call(this,{})},"3c9a":function(t,e,r){},"49e4":function(t,e,r){},"515e":function(t,e,r){},5530:function(t,e,r){},"5f11":function(t,e,r){},"7ca9":function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"login-wrap"},[n("div",[n("h4",{staticClass:"title"},[t._v("我的账号")]),n("div",{staticClass:"account"},t._l(t.account_list,(function(e){return n("div",{key:e.index,staticClass:"account-panel",on:{click:function(r){return t.selectAccount(e)}}},[n("img",{staticStyle:{"margin-right":"10px"},attrs:{src:r("1195"),width:"50",height:"50",alt:""}}),n("div",{staticStyle:{flex:"1"}},[t._v(" "+t._s(e.fagentname)),n("el-tag",{staticStyle:{"margin-left":"5px"},attrs:{size:"mini",type:"标准版"===e.fappmodel?"primary":"danger"}},[t._v(t._s(e.fappmodel))]),n("br"),n("small",{staticClass:"color-info"},[t._v("联系人:"+t._s(e.fname))]),n("el-divider",{attrs:{direction:"vertical"}}),n("small",{staticClass:"color-info"},[t._v("联系电话:"+t._s(e.fphonenumber))]),n("el-divider",{attrs:{direction:"vertical"}}),n("small",{staticClass:"color-info"},[t._v("职位:"+t._s(e.frole))])],1)])})),0)])])])},o=[],i=(r("e9c4"),{data:function(){return{account_list:[]}},methods:{selectAccount:function(t){sessionStorage.setItem("active_account",JSON.stringify(t)),this.$router.push("/main")}},created:function(){this.account_list=JSON.parse(sessionStorage.getItem("account_list")),1===this.account_list.length&&this.selectAccount(this.account_list[0])}}),s=i,a=(r("d425"),r("1157"),r("2877")),c=Object(a["a"])(s,n,o,!1,null,"0f741af4",null);e["default"]=c.exports},8237:function(module,exports,__webpack_require__){(function(process,global){var __WEBPACK_AMD_DEFINE_RESULT__;
- /**
- * [js-md5]{@link https://github.com/emn178/js-md5}
- *
- * @namespace md5
- * @version 0.7.3
- * @author Chen, Yi-Cyuan [emn178@gmail.com]
- * @copyright Chen, Yi-Cyuan 2014-2017
- * @license MIT
- */(function(){"use strict";var ERROR="input is invalid type",WINDOW="object"===typeof window,root=WINDOW?window:{};root.JS_MD5_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&"object"===typeof self,NODE_JS=!root.JS_MD5_NO_NODE_JS&&"object"===typeof process&&process.versions&&process.versions.node;NODE_JS?root=global:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_MD5_NO_COMMON_JS&&"object"===typeof module&&module.exports,AMD=__webpack_require__("3c35"),ARRAY_BUFFER=!root.JS_MD5_NO_ARRAY_BUFFER&&"undefined"!==typeof ArrayBuffer,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[128,32768,8388608,-2147483648],SHIFT=[0,8,16,24],OUTPUT_TYPES=["hex","array","digest","buffer","arrayBuffer","base64"],BASE64_ENCODE_CHAR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),blocks=[],buffer8;if(ARRAY_BUFFER){var buffer=new ArrayBuffer(68);buffer8=new Uint8Array(buffer),blocks=new Uint32Array(buffer)}!root.JS_MD5_NO_NODE_JS&&Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),!ARRAY_BUFFER||!root.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(t){return"object"===typeof t&&t.buffer&&t.buffer.constructor===ArrayBuffer});var createOutputMethod=function(t){return function(e){return new Md5(!0).update(e)[t]()}},createMethod=function(){var t=createOutputMethod("hex");NODE_JS&&(t=nodeWrap(t)),t.create=function(){return new Md5},t.update=function(e){return t.create().update(e)};for(var e=0;e<OUTPUT_TYPES.length;++e){var r=OUTPUT_TYPES[e];t[r]=createOutputMethod(r)}return t},nodeWrap=function(method){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),nodeMethod=function(t){if("string"===typeof t)return crypto.createHash("md5").update(t,"utf8").digest("hex");if(null===t||void 0===t)throw ERROR;return t.constructor===ArrayBuffer&&(t=new Uint8Array(t)),Array.isArray(t)||ArrayBuffer.isView(t)||t.constructor===Buffer?crypto.createHash("md5").update(new Buffer(t)).digest("hex"):method(t)};return nodeMethod};function Md5(t){if(t)blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks,this.buffer8=buffer8;else if(ARRAY_BUFFER){var e=new ArrayBuffer(68);this.buffer8=new Uint8Array(e),this.blocks=new Uint32Array(e)}else this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}Md5.prototype.update=function(t){if(!this.finalized){var e,r=typeof t;if("string"!==r){if("object"!==r)throw ERROR;if(null===t)throw ERROR;if(ARRAY_BUFFER&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!Array.isArray(t)&&(!ARRAY_BUFFER||!ArrayBuffer.isView(t)))throw ERROR;e=!0}var n,o,i=0,s=t.length,a=this.blocks,c=this.buffer8;while(i<s){if(this.hashed&&(this.hashed=!1,a[0]=a[16],a[16]=a[1]=a[2]=a[3]=a[4]=a[5]=a[6]=a[7]=a[8]=a[9]=a[10]=a[11]=a[12]=a[13]=a[14]=a[15]=0),e)if(ARRAY_BUFFER)for(o=this.start;i<s&&o<64;++i)c[o++]=t[i];else for(o=this.start;i<s&&o<64;++i)a[o>>2]|=t[i]<<SHIFT[3&o++];else if(ARRAY_BUFFER)for(o=this.start;i<s&&o<64;++i)n=t.charCodeAt(i),n<128?c[o++]=n:n<2048?(c[o++]=192|n>>6,c[o++]=128|63&n):n<55296||n>=57344?(c[o++]=224|n>>12,c[o++]=128|n>>6&63,c[o++]=128|63&n):(n=65536+((1023&n)<<10|1023&t.charCodeAt(++i)),c[o++]=240|n>>18,c[o++]=128|n>>12&63,c[o++]=128|n>>6&63,c[o++]=128|63&n);else for(o=this.start;i<s&&o<64;++i)n=t.charCodeAt(i),n<128?a[o>>2]|=n<<SHIFT[3&o++]:n<2048?(a[o>>2]|=(192|n>>6)<<SHIFT[3&o++],a[o>>2]|=(128|63&n)<<SHIFT[3&o++]):n<55296||n>=57344?(a[o>>2]|=(224|n>>12)<<SHIFT[3&o++],a[o>>2]|=(128|n>>6&63)<<SHIFT[3&o++],a[o>>2]|=(128|63&n)<<SHIFT[3&o++]):(n=65536+((1023&n)<<10|1023&t.charCodeAt(++i)),a[o>>2]|=(240|n>>18)<<SHIFT[3&o++],a[o>>2]|=(128|n>>12&63)<<SHIFT[3&o++],a[o>>2]|=(128|n>>6&63)<<SHIFT[3&o++],a[o>>2]|=(128|63&n)<<SHIFT[3&o++]);this.lastByteIndex=o,this.bytes+=o-this.start,o>=64?(this.start=o-64,this.hash(),this.hashed=!0):this.start=o}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Md5.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var t=this.blocks,e=this.lastByteIndex;t[e>>2]|=EXTRA[3&e],e>=56&&(this.hashed||this.hash(),t[0]=t[16],t[16]=t[1]=t[2]=t[3]=t[4]=t[5]=t[6]=t[7]=t[8]=t[9]=t[10]=t[11]=t[12]=t[13]=t[14]=t[15]=0),t[14]=this.bytes<<3,t[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},Md5.prototype.hash=function(){var t,e,r,n,o,i,s=this.blocks;this.first?(t=s[0]-680876937,t=(t<<7|t>>>25)-271733879<<0,n=(-1732584194^2004318071&t)+s[1]-117830708,n=(n<<12|n>>>20)+t<<0,r=(-271733879^n&(-271733879^t))+s[2]-1126478375,r=(r<<17|r>>>15)+n<<0,e=(t^r&(n^t))+s[3]-1316259209,e=(e<<22|e>>>10)+r<<0):(t=this.h0,e=this.h1,r=this.h2,n=this.h3,t+=(n^e&(r^n))+s[0]-680876936,t=(t<<7|t>>>25)+e<<0,n+=(r^t&(e^r))+s[1]-389564586,n=(n<<12|n>>>20)+t<<0,r+=(e^n&(t^e))+s[2]+606105819,r=(r<<17|r>>>15)+n<<0,e+=(t^r&(n^t))+s[3]-1044525330,e=(e<<22|e>>>10)+r<<0),t+=(n^e&(r^n))+s[4]-176418897,t=(t<<7|t>>>25)+e<<0,n+=(r^t&(e^r))+s[5]+1200080426,n=(n<<12|n>>>20)+t<<0,r+=(e^n&(t^e))+s[6]-1473231341,r=(r<<17|r>>>15)+n<<0,e+=(t^r&(n^t))+s[7]-45705983,e=(e<<22|e>>>10)+r<<0,t+=(n^e&(r^n))+s[8]+1770035416,t=(t<<7|t>>>25)+e<<0,n+=(r^t&(e^r))+s[9]-1958414417,n=(n<<12|n>>>20)+t<<0,r+=(e^n&(t^e))+s[10]-42063,r=(r<<17|r>>>15)+n<<0,e+=(t^r&(n^t))+s[11]-1990404162,e=(e<<22|e>>>10)+r<<0,t+=(n^e&(r^n))+s[12]+1804603682,t=(t<<7|t>>>25)+e<<0,n+=(r^t&(e^r))+s[13]-40341101,n=(n<<12|n>>>20)+t<<0,r+=(e^n&(t^e))+s[14]-1502002290,r=(r<<17|r>>>15)+n<<0,e+=(t^r&(n^t))+s[15]+1236535329,e=(e<<22|e>>>10)+r<<0,t+=(r^n&(e^r))+s[1]-165796510,t=(t<<5|t>>>27)+e<<0,n+=(e^r&(t^e))+s[6]-1069501632,n=(n<<9|n>>>23)+t<<0,r+=(t^e&(n^t))+s[11]+643717713,r=(r<<14|r>>>18)+n<<0,e+=(n^t&(r^n))+s[0]-373897302,e=(e<<20|e>>>12)+r<<0,t+=(r^n&(e^r))+s[5]-701558691,t=(t<<5|t>>>27)+e<<0,n+=(e^r&(t^e))+s[10]+38016083,n=(n<<9|n>>>23)+t<<0,r+=(t^e&(n^t))+s[15]-660478335,r=(r<<14|r>>>18)+n<<0,e+=(n^t&(r^n))+s[4]-405537848,e=(e<<20|e>>>12)+r<<0,t+=(r^n&(e^r))+s[9]+568446438,t=(t<<5|t>>>27)+e<<0,n+=(e^r&(t^e))+s[14]-1019803690,n=(n<<9|n>>>23)+t<<0,r+=(t^e&(n^t))+s[3]-187363961,r=(r<<14|r>>>18)+n<<0,e+=(n^t&(r^n))+s[8]+1163531501,e=(e<<20|e>>>12)+r<<0,t+=(r^n&(e^r))+s[13]-1444681467,t=(t<<5|t>>>27)+e<<0,n+=(e^r&(t^e))+s[2]-51403784,n=(n<<9|n>>>23)+t<<0,r+=(t^e&(n^t))+s[7]+1735328473,r=(r<<14|r>>>18)+n<<0,e+=(n^t&(r^n))+s[12]-1926607734,e=(e<<20|e>>>12)+r<<0,o=e^r,t+=(o^n)+s[5]-378558,t=(t<<4|t>>>28)+e<<0,n+=(o^t)+s[8]-2022574463,n=(n<<11|n>>>21)+t<<0,i=n^t,r+=(i^e)+s[11]+1839030562,r=(r<<16|r>>>16)+n<<0,e+=(i^r)+s[14]-35309556,e=(e<<23|e>>>9)+r<<0,o=e^r,t+=(o^n)+s[1]-1530992060,t=(t<<4|t>>>28)+e<<0,n+=(o^t)+s[4]+1272893353,n=(n<<11|n>>>21)+t<<0,i=n^t,r+=(i^e)+s[7]-155497632,r=(r<<16|r>>>16)+n<<0,e+=(i^r)+s[10]-1094730640,e=(e<<23|e>>>9)+r<<0,o=e^r,t+=(o^n)+s[13]+681279174,t=(t<<4|t>>>28)+e<<0,n+=(o^t)+s[0]-358537222,n=(n<<11|n>>>21)+t<<0,i=n^t,r+=(i^e)+s[3]-722521979,r=(r<<16|r>>>16)+n<<0,e+=(i^r)+s[6]+76029189,e=(e<<23|e>>>9)+r<<0,o=e^r,t+=(o^n)+s[9]-640364487,t=(t<<4|t>>>28)+e<<0,n+=(o^t)+s[12]-421815835,n=(n<<11|n>>>21)+t<<0,i=n^t,r+=(i^e)+s[15]+530742520,r=(r<<16|r>>>16)+n<<0,e+=(i^r)+s[2]-995338651,e=(e<<23|e>>>9)+r<<0,t+=(r^(e|~n))+s[0]-198630844,t=(t<<6|t>>>26)+e<<0,n+=(e^(t|~r))+s[7]+1126891415,n=(n<<10|n>>>22)+t<<0,r+=(t^(n|~e))+s[14]-1416354905,r=(r<<15|r>>>17)+n<<0,e+=(n^(r|~t))+s[5]-57434055,e=(e<<21|e>>>11)+r<<0,t+=(r^(e|~n))+s[12]+1700485571,t=(t<<6|t>>>26)+e<<0,n+=(e^(t|~r))+s[3]-1894986606,n=(n<<10|n>>>22)+t<<0,r+=(t^(n|~e))+s[10]-1051523,r=(r<<15|r>>>17)+n<<0,e+=(n^(r|~t))+s[1]-2054922799,e=(e<<21|e>>>11)+r<<0,t+=(r^(e|~n))+s[8]+1873313359,t=(t<<6|t>>>26)+e<<0,n+=(e^(t|~r))+s[15]-30611744,n=(n<<10|n>>>22)+t<<0,r+=(t^(n|~e))+s[6]-1560198380,r=(r<<15|r>>>17)+n<<0,e+=(n^(r|~t))+s[13]+1309151649,e=(e<<21|e>>>11)+r<<0,t+=(r^(e|~n))+s[4]-145523070,t=(t<<6|t>>>26)+e<<0,n+=(e^(t|~r))+s[11]-1120210379,n=(n<<10|n>>>22)+t<<0,r+=(t^(n|~e))+s[2]+718787259,r=(r<<15|r>>>17)+n<<0,e+=(n^(r|~t))+s[9]-343485551,e=(e<<21|e>>>11)+r<<0,this.first?(this.h0=t+1732584193<<0,this.h1=e-271733879<<0,this.h2=r-1732584194<<0,this.h3=n+271733878<<0,this.first=!1):(this.h0=this.h0+t<<0,this.h1=this.h1+e<<0,this.h2=this.h2+r<<0,this.h3=this.h3+n<<0)},Md5.prototype.hex=function(){this.finalize();var t=this.h0,e=this.h1,r=this.h2,n=this.h3;return HEX_CHARS[t>>4&15]+HEX_CHARS[15&t]+HEX_CHARS[t>>12&15]+HEX_CHARS[t>>8&15]+HEX_CHARS[t>>20&15]+HEX_CHARS[t>>16&15]+HEX_CHARS[t>>28&15]+HEX_CHARS[t>>24&15]+HEX_CHARS[e>>4&15]+HEX_CHARS[15&e]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[15&r]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[n>>4&15]+HEX_CHARS[15&n]+HEX_CHARS[n>>12&15]+HEX_CHARS[n>>8&15]+HEX_CHARS[n>>20&15]+HEX_CHARS[n>>16&15]+HEX_CHARS[n>>28&15]+HEX_CHARS[n>>24&15]},Md5.prototype.toString=Md5.prototype.hex,Md5.prototype.digest=function(){this.finalize();var t=this.h0,e=this.h1,r=this.h2,n=this.h3;return[255&t,t>>8&255,t>>16&255,t>>24&255,255&e,e>>8&255,e>>16&255,e>>24&255,255&r,r>>8&255,r>>16&255,r>>24&255,255&n,n>>8&255,n>>16&255,n>>24&255]},Md5.prototype.array=Md5.prototype.digest,Md5.prototype.arrayBuffer=function(){this.finalize();var t=new ArrayBuffer(16),e=new Uint32Array(t);return e[0]=this.h0,e[1]=this.h1,e[2]=this.h2,e[3]=this.h3,t},Md5.prototype.buffer=Md5.prototype.arrayBuffer,Md5.prototype.base64=function(){for(var t,e,r,n="",o=this.array(),i=0;i<15;)t=o[i++],e=o[i++],r=o[i++],n+=BASE64_ENCODE_CHAR[t>>>2]+BASE64_ENCODE_CHAR[63&(t<<4|e>>>4)]+BASE64_ENCODE_CHAR[63&(e<<2|r>>>6)]+BASE64_ENCODE_CHAR[63&r];return t=o[i],n+=BASE64_ENCODE_CHAR[t>>>2]+BASE64_ENCODE_CHAR[t<<4&63]+"==",n};var exports=createMethod();COMMON_JS?module.exports=exports:(root.md5=exports,AMD&&(__WEBPACK_AMD_DEFINE_RESULT__=function(){return exports}.call(exports,__webpack_require__,exports,module),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)))})()}).call(this,__webpack_require__("4362"),__webpack_require__("c8ba"))},"8bc0":function(t,e,r){"use strict";r("5530")},"8c44":function(t,e,r){"use strict";r("515e")},"929e":function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"conatiner"},[r("div",{staticClass:"login-wrap"},[r("div",[t._m(0),r("div",{staticClass:"login-form"},[r("h4",{staticClass:"title"},[t._v("登录")]),r("el-tabs",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[r("el-tab-pane",{attrs:{label:"家纺城账号",name:"first"}})],1),r("el-form",{ref:"loginForm",attrs:{rules:t.rules,model:t.loginForm}},[r("el-form-item",{attrs:{prop:"phonenumber"}},[r("el-input",{attrs:{placeholder:"账号"},model:{value:t.loginForm.phonenumber,callback:function(e){t.$set(t.loginForm,"phonenumber",e)},expression:"loginForm.phonenumber"}})],1),r("el-form-item",{attrs:{prop:"password"}},[r("el-input",{attrs:{placeholder:"密码"},model:{value:t.loginForm.password,callback:function(e){t.$set(t.loginForm,"password",e)},expression:"loginForm.password"}},[r("template",{slot:"append"},[r("el-button",{attrs:{disabled:t.count>0},on:{click:t.countDown}},[t._v(t._s(0===t.count?"获取验证码":t.count+"s"))])],1)],2)],1),r("el-form-item",[r("div",{staticClass:"flex-between"},[r("el-checkbox",{model:{value:t.checked,callback:function(e){t.checked=e},expression:"checked"}},[t._v("记住账号")]),r("el-button",{attrs:{type:"text"}},[t._v("忘记密码")])],1)]),r("el-form-item",[r("el-button",{staticStyle:{width:"100%"},attrs:{type:"primary"},on:{click:t.login}},[t._v("登 录")])],1)],1),r("el-divider",[r("span",{staticStyle:{color:"#999","font-weight":"300"}},[t._v("其他登录方式")])]),r("span",[t._v("敬请期待")])],1)])])])},o=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"logo"},[r("span",[t._v("布万家聊天")]),r("br"),r("small",[t._v("JFC-CHAT-SYSTEM")])])}],i=r("1da1"),s=(r("e9c4"),r("96cf"),r("8237")),a=r.n(s),c={data:function(){return{dialogFormVisible:!0,rules:{phonenumber:[{required:!0,message:"请输入账号",trigger:"blur"}],password:[{required:!0,message:"请输入账号密码",trigger:"blur"}]},loginForm:{phonenumber:""},activeName:"first",checked:!1,count:0}},mounted:function(){localStorage.getItem("phonenumber")&&(this.loginForm.phonenumber=localStorage.getItem("phonenumber"),this.checked=!0)},methods:{loginCode:function(){var t=this;this.$api.loginCode({phonenumber:this.loginForm.phonenumber,client:"web_customer"}).then((function(e){var r=t.$createElement;1===e.code?t.$notify({title:"获取验证码成功!",message:r("i",{style:"color: teal"},e.msg)}):t.$notify({title:"失败",message:e.msg,type:"error"})}))},countDown:function(){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.loginCode();case 2:t.count=5,r=setInterval((function(){t.count--,0===t.count&&clearInterval(r)}),1e3);case 4:case"end":return e.stop()}}),e)})))()},login:function(){var t=this;this.$api.login({phonenumber:this.loginForm.phonenumber,password:a()(this.loginForm.password),client:"web_customer"}).then((function(e){1===e.code?(sessionStorage.setItem("account_list",JSON.stringify(e.account_list)),t.checked?localStorage.setItem("phonenumber",t.loginForm.phonenumber):localStorage.clear("phonenumber"),t.$router.push({path:"/chat",query:{token:e.account_list[0].token,userid:e.account_list[0].userid}})):t.$notify({title:"失败",message:e.msg,type:"error"})}))}}},l=c,u=(r("d14a"),r("2877")),h=Object(u["a"])(l,n,o,!1,null,"1c4567be",null);e["default"]=h.exports},"96cf":function(t,e,r){var n=function(t){"use strict";var e,r=Object.prototype,n=r.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",a=o.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(N){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var o=e&&e.prototype instanceof _?e:_,i=Object.create(o.prototype),s=new k(n||[]);return i._invoke=C(t,r,s),i}function u(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(N){return{type:"throw",arg:N}}}t.wrap=l;var h="suspendedStart",f="suspendedYield",d="executing",p="completed",m={};function _(){}function v(){}function g(){}var y={};c(y,i,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(O([])));w&&w!==r&&n.call(w,i)&&(y=w);var E=g.prototype=_.prototype=Object.create(y);function A(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function r(o,i,s,a){var c=u(t[o],t,i);if("throw"!==c.type){var l=c.arg,h=l.value;return h&&"object"===typeof h&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){r("next",t,s,a)}),(function(t){r("throw",t,s,a)})):e.resolve(h).then((function(t){l.value=t,s(l)}),(function(t){return r("throw",t,s,a)}))}a(c.arg)}var o;function i(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}this._invoke=i}function C(t,e,r){var n=h;return function(o,i){if(n===d)throw new Error("Generator is already running");if(n===p){if("throw"===o)throw i;return F()}r.method=o,r.arg=i;while(1){var s=r.delegate;if(s){var a=x(s,r);if(a){if(a===m)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===h)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var c=u(t,e,r);if("normal"===c.type){if(n=r.done?p:f,c.arg===m)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=p,r.method="throw",r.arg=c.arg)}}}function x(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator["return"]&&(r.method="return",r.arg=e,x(t,r),"throw"===r.method))return m;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var o=u(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,m;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function R(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function H(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(R,this),this.reset(!0)}function O(t){if(t){var r=t[i];if(r)return r.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var o=-1,s=function r(){while(++o<t.length)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return s.next=s}}return{next:F}}function F(){return{value:e,done:!0}}return v.prototype=g,c(E,"constructor",g),c(g,"constructor",v),v.displayName=c(g,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"===typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,c(t,a,"GeneratorFunction")),t.prototype=Object.create(E),t},t.awrap=function(t){return{__await:t}},A(S.prototype),c(S.prototype,s,(function(){return this})),t.AsyncIterator=S,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var s=new S(l(e,r,n,o),i);return t.isGeneratorFunction(r)?s:s.next().then((function(t){return t.done?t.value:s.next()}))},A(E),c(E,a,"Generator"),c(E,i,(function(){return this})),c(E,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){while(e.length){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=O,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(H),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return a.type="throw",a.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var s=this.tryEntries[i],a=s.completion;if("root"===s.tryLoc)return o("end");if(s.tryLoc<=this.prev){var c=n.call(s,"catchLoc"),l=n.call(s,"finallyLoc");if(c&&l){if(this.prev<s.catchLoc)return o(s.catchLoc,!0);if(this.prev<s.finallyLoc)return o(s.finallyLoc)}else if(c){if(this.prev<s.catchLoc)return o(s.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return o(s.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var s=i?i.completion:{};return s.type=t,s.arg=e,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(s)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),H(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;H(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:O(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},t}(t.exports);try{regeneratorRuntime=n}catch(o){"object"===typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},"98f5":function(t,e,r){},af2e:function(t,e,r){},c388:function(t,e,r){"use strict";r("98f5")},d14a:function(t,e,r){"use strict";r("3c9a")},d287:function(t,e,r){"use strict";r("49e4")},d425:function(t,e,r){"use strict";r("af2e")},dc3f:function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"conatiner"},[r("div",{staticClass:"login-wrap"},[r("div",[t._m(0),r("div",{staticClass:"login-form"},[r("h4",{staticClass:"title"},[t._v("登录")]),r("el-tabs",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[r("el-tab-pane",{attrs:{label:"家纺城账号",name:"first"}})],1),r("el-form",{ref:"loginForm",attrs:{rules:t.rules,model:t.loginForm}},[r("el-form-item",{attrs:{prop:"phonenumber"}},[r("el-input",{attrs:{placeholder:"账号"},model:{value:t.loginForm.phonenumber,callback:function(e){t.$set(t.loginForm,"phonenumber",e)},expression:"loginForm.phonenumber"}})],1),r("el-form-item",{attrs:{prop:"password"}},[r("el-input",{attrs:{placeholder:"密码"},model:{value:t.loginForm.password,callback:function(e){t.$set(t.loginForm,"password",e)},expression:"loginForm.password"}},[r("template",{slot:"append"},[r("el-button",{attrs:{disabled:t.count>0},on:{click:t.countDown}},[t._v(t._s(0===t.count?"获取验证码":t.count+"s"))])],1)],2)],1),r("el-form-item",[r("div",{staticClass:"flex-between"},[r("el-checkbox",{model:{value:t.checked,callback:function(e){t.checked=e},expression:"checked"}},[t._v("记住账号")]),r("el-button",{attrs:{type:"text"}},[t._v("忘记密码")])],1)]),r("el-form-item",[r("el-button",{staticStyle:{width:"100%"},attrs:{type:"primary"},on:{click:t.login}},[t._v("登 录")])],1)],1),r("el-divider",[r("span",{staticStyle:{color:"#999","font-weight":"300"}},[t._v("其他登录方式")])]),r("span",[t._v("敬请期待")])],1)])])])},o=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"logo"},[r("span",[t._v("布万家管理端")]),r("br"),r("small",[t._v("JFC-MANAGE-SYSTEM")])])}],i=r("1da1"),s=(r("e9c4"),r("96cf"),r("8237")),a=r.n(s),c={data:function(){return{rules:{phonenumber:[{required:!0,message:"请输入账号",trigger:"blur"}],password:[{required:!0,message:"请输入验证码",trigger:"blur"}]},loginForm:{phonenumber:""},activeName:"first",checked:!1,count:0}},mounted:function(){localStorage.getItem("phonenumber")&&(this.loginForm.phonenumber=localStorage.getItem("phonenumber"),this.checked=!0)},methods:{loginCode:function(){var t=this;this.$api.loginCode({phonenumber:this.loginForm.phonenumber,client:"web_manage"}).then((function(e){var r=t.$createElement;1===e.code?t.$notify({title:"获取验证码成功!",message:r("i",{style:"color: teal"},e.msg)}):t.$notify({title:"失败",message:e.msg,type:"error"})}))},countDown:function(){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.loginCode();case 2:t.count=5,r=setInterval((function(){t.count--,0===t.count&&clearInterval(r)}),1e3);case 4:case"end":return e.stop()}}),e)})))()},login:function(){var t=this;this.$api.login({phonenumber:this.loginForm.phonenumber,password:a()(this.loginForm.password),client:"web_manage"}).then((function(e){1===e.code?(t.checked?localStorage.setItem("phonenumber",t.loginForm.phonenumber):localStorage.clear("phonenumber"),t.$router.push("/accounts"),sessionStorage.setItem("account_list",JSON.stringify(e.account_list))):t.$notify({title:"失败",message:e.msg,type:"error"})}))}}},l=c,u=(r("8c44"),r("2877")),h=Object(u["a"])(l,n,o,!1,null,"91eab208",null);e["default"]=h.exports},dc71:function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"login-wrap"},[n("div",[n("h4",{staticClass:"title"},[t._v("我的账号")]),n("div",{staticClass:"account"},t._l(t.account_list,(function(e){return n("div",{key:e.index,staticClass:"account-panel",on:{click:function(r){return t.selectAccount(e)}}},[n("img",{staticStyle:{"margin-right":"10px"},attrs:{src:r("1195"),width:"50",height:"50",alt:""}}),n("div",{staticStyle:{flex:"1"}},[t._v(" "+t._s(e.fagentname)),n("el-tag",{staticStyle:{"margin-left":"5px"},attrs:{size:"mini",type:"标准版"===e.fappmodel?"primary":"danger"}},[t._v(t._s(e.fappmodel))]),n("br"),n("small",{staticClass:"color-info"},[t._v("联系人:"+t._s(e.fname))]),n("el-divider",{attrs:{direction:"vertical"}}),n("small",{staticClass:"color-info"},[t._v("联系电话:"+t._s(e.fphonenumber))]),n("el-divider",{attrs:{direction:"vertical"}}),n("small",{staticClass:"color-info"},[t._v("职位:"+t._s(e.frole))])],1)])})),0)])])])},o=[],i=(r("e9c4"),{data:function(){return{account_list:[]}},methods:{selectAccount:function(t){sessionStorage.setItem("active_account",JSON.stringify(t)),this.$router.push("/chat")}},created:function(){this.account_list=JSON.parse(sessionStorage.getItem("account_list")),1===this.account_list.length&&this.selectAccount(this.account_list[0])}}),s=i,a=(r("ef40"),r("8bc0"),r("2877")),c=Object(a["a"])(s,n,o,!1,null,"7fdc76d9",null);e["default"]=c.exports},de2e:function(t,e,r){"use strict";r("5f11")},ef40:function(t,e,r){"use strict";r("0099")},fff7:function(t,e,r){}}]);
|